Home
last modified time | relevance | path

Searched refs:choice (Results 1 – 25 of 220) sorted by relevance

123456789

/freebsd/contrib/dialog/
H A Dformbox.c78 print_item(WINDOW *win, DIALOG_FORMITEM * item, int scrollamt, bool choice) in print_item() argument
107 this_item_attribute = choice in print_item()
135 print_form(WINDOW *win, DIALOG_FORMITEM * item, int total, int scrollamt, int choice) in print_form() argument
141 count += print_item(win, item + n, scrollamt, n == choice); in print_form()
151 set_choice(DIALOG_FORMITEM item[], int choice, int item_no, bool * noneditable) in set_choice() argument
156 if (!is_readonly(&item[choice])) { in set_choice()
157 result = choice; in set_choice()
193 is_first_field(DIALOG_FORMITEM item[], int choice) in is_first_field() argument
196 while (choice >= 0) { in is_first_field()
197 if (item[choice].text_flen > 0) { in is_first_field()
[all …]
H A Dmenubox.c66 int choice, in print_item() argument
74 int my_y = ItemToRow(choice); in print_item()
144 int choice, in input_menu_edit() argument
154 int y = ItemToRow(choice); in input_menu_edit()
165 print_item(data, data->menu, items, choice, Editing, TRUE); in input_menu_edit()
195 print_item(data, data->menu, items, choice, Selected, TRUE); in input_menu_edit()
203 handle_button(int code, DIALOG_LISTITEM * items, int choice) in handle_button() argument
210 dlg_add_string(items[choice].name); in handle_button()
213 dlg_add_help_listitem(&code, &help_result, &items[choice]); in handle_button()
244 print_menu(ALL_DATA * data, int choice, int scrollamt, int max_choice, bool is_inputmenu) in print_menu() argument
[all …]
H A Dchecklist.c60 int choice, in print_item() argument
74 (void) wmove(win, choice, 0); in print_item()
78 (void) wmove(win, choice, data->check_x); in print_item()
91 (void) wmove(win, choice, data->item_x); in print_item()
101 print_list(ALL_DATA * data, int choice, int scrollamt, int max_choice) in print_list() argument
112 i, i == choice); in print_list()
132 check_hotkey(DIALOG_LISTITEM * items, int choice) in check_hotkey() argument
138 ? items[choice].text in check_hotkey()
139 : items[choice].name))) { in check_hotkey()
197 int choice = dlg_default_listitem(items); in dlg_checklist() local
[all …]
H A Dtreeview.c57 int choice, in print_item() argument
71 (void) wmove(win, choice, 0); in print_item()
75 (void) wmove(win, choice, data->check_x); in print_item()
85 (void) wmove(win, choice, data->item_x + INDENT * i); in print_item()
90 (void) wmove(win, choice, data->item_x + INDENT * depths); in print_item()
102 int choice, in print_list() argument
116 i, i == choice); in print_list()
136 check_hotkey(DIALOG_LISTITEM * items, int choice) in check_hotkey() argument
142 ? items[choice].text in check_hotkey()
143 : items[choice].name))) { in check_hotkey()
[all …]
H A Dbuildlist.c76 index2row(ALL_DATA * all, int choice, int selected) in index2row() argument
81 if (okIndex(all, choice)) { in index2row()
86 choice, all->items + choice, in index2row()
88 if (myItem(data, row) == all->items + choice) { in index2row()
94 TRACE(("! index2row(choice %d, %s) = %d\n", choice, mySide(selected), result)); in index2row()
170 int choice, in print_1_list() argument
174 DIALOG_LISTITEM *target = (okIndex(all, choice) in print_1_list()
175 ? all->items + choice in print_1_list()
183 TRACE(("! print_1_list %d %s, top %d\n", choice, mySide(selected), top_row)); in print_1_list()
211 prev_item(ALL_DATA * all, int choice, int selected) in prev_item() argument
[all …]
H A Dfselect.c78 int choice; /* index of the selection */ member
96 list->choice = 0; in init_list()
121 return list->data[list->choice]; in data_of()
164 if (list->choice < list->offset) { in keep_visible()
165 list->offset = list->choice; in keep_visible()
167 if (list->choice - list->offset >= high) in keep_visible()
168 list->offset = list->choice - high + 1; in keep_visible()
176 int choice = list->choice; in find_choice() local
179 list->choice = 0; in find_choice()
208 list->choice = n; in find_choice()
[all …]
H A Dmixedform.c52 int choice = 0; in dialog_mixedform() local
89 &choice); in dialog_mixedform()
97 dlg_add_help_formitem(&result, &help_result, &listitems[choice]); in dialog_mixedform()
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_asid.c63 ASIdentifierChoice *choice,
68 if (choice == NULL)
71 switch (choice->type) {
76 for (i = 0; i < sk_ASIdOrRange_num(choice->u.asIdsOrRanges); i++) {
78 sk_ASIdOrRange_value(choice->u.asIdsOrRanges, i);
156 ASIdentifierChoice **choice; in X509v3_asid_add_inherit() local
161 choice = &asid->asnum; in X509v3_asid_add_inherit()
164 choice = &asid->rdi; in X509v3_asid_add_inherit()
169 if (*choice == NULL) { in X509v3_asid_add_inherit()
170 if ((*choice = ASIdentifierChoice_new()) == NULL) in X509v3_asid_add_inherit()
[all …]
/freebsd/crypto/heimdal/lib/asn1/
H A Dtemplate.c378 const struct asn1_template *choice = t->ptr; in _asn1_decode()
379 unsigned int *element = DPO(data, choice->offset); in _asn1_decode()
383 for (i = 1; i < A1_HEADER_LEN(choice) + 1; i++) { in _asn1_decode()
384 /* should match first tag instead, store it in choice.tt */ in _asn1_decode()
385 ret = _asn1_decode(choice[i].ptr, 0, p, len, in _asn1_decode()
386 DPO(data, choice[i].offset), &datalen); in _asn1_decode()
395 if (i >= A1_HEADER_LEN(choice) + 1) { in _asn1_decode()
396 if (choice->tt == 0) in _asn1_decode()
401 DPO(data, choice->tt), &datalen); in _asn1_decode()
663 const struct asn1_template *choice in _asn1_encode()
376 const struct asn1_template *choice = t->ptr; _asn1_decode() local
661 const struct asn1_template *choice = t->ptr; _asn1_encode() local
796 const struct asn1_template *choice = t->ptr; _asn1_length() local
902 const struct asn1_template *choice = t->ptr; _asn1_free() local
1063 const struct asn1_template *choice = t->ptr; _asn1_copy() local
[all...]
/freebsd/usr.sbin/bsdinstall/partedit/
H A Dgpart_ops.c118 int choice; in newfs_command() local
120 choice = bsddialog_checklist(&conf, "", 0, 0, 0, in newfs_command()
122 if (choice == BSDDIALOG_CANCEL) in newfs_command()
156 int choice; in newfs_command() local
158 choice = bsddialog_checklist(&conf, "", 0, 0, 0, in newfs_command()
160 if (choice == BSDDIALOG_CANCEL) in newfs_command()
200 int choice; in newfs_command() local
202 choice = bsddialog_radiolist(&conf, "", 0, 0, 0, in newfs_command()
204 if (choice == BSDDIALOG_CANCEL) in newfs_command()
235 int button, choice, i; in choose_part_type() local
[all …]
H A Dpart_wizard.c231 int choice; in wizard_partition() local
270 choice = bsddialog_yesno(&conf, message, 9, 45); in wizard_partition()
276 if (choice == BSDDIALOG_NO && scheme != NULL && !is_scheme_bootable(scheme)) { in wizard_partition()
298 if (scheme == NULL || choice == 0) { in wizard_partition()
302 choice = bsddialog_yesno(&conf, "This will erase " in wizard_partition()
304 if (choice != BSDDIALOG_YES) in wizard_partition()
322 choice /* Non-interactive for "Entire Disk" */); in wizard_partition()
/freebsd/usr.bin/fortune/fortune/
H A Dfortune.c940 int choice; in get_fort() local
945 choice = arc4random_uniform(100); in get_fort()
946 DPRINTF(1, (stderr, "choice = %d\n", choice)); in get_fort()
948 if (choice < fp->percent) in get_fort()
951 choice -= fp->percent; in get_fort()
954 fp->name, fp->percent, choice)); in get_fort()
959 fp->name, fp->percent, choice)); in get_fort()
966 choice = arc4random_uniform(Noprob_tbl.str_numstr); in get_fort()
967 DPRINTF(1, (stderr, "choice = %d (of %u) \n", choice, in get_fort()
969 while ((unsigned int)choice >= fp->tbl.str_numstr) { in get_fort()
[all …]
/freebsd/stand/lua/
H A Dmenu.lua114 name = function(idx, choice, all_choices)
128 choice .. color.resetfg()
133 func = function(_, choice, _)
134 bootenvSet(choice)
333 name = function(idx, choice, all_choices)
348 choice .. color.resetfg()
353 func = function(_, choice, _)
357 config.selectKernel(choice)
/freebsd/contrib/ofed/opensm/opensm/
H A Dmain.c433 uint32_t i, choice = 0; in get_port_guid() local
493 if (scanf("%u", &choice) <= 0) { in get_port_guid()
497 } else if (choice == 0) in get_port_guid()
499 else if (choice <= num_ports) in get_port_guid()
503 choice--; in get_port_guid()
505 cl_ntoh64(attr_array[choice].port_guid)); in get_port_guid()
506 return attr_array[choice].port_guid; in get_port_guid()
/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mtl_hca_guid.c548 uint32_t choice = 0; in get_port_guid() local
602 scanf("%u", &choice); in get_port_guid()
603 if (choice > num_ports) in get_port_guid()
611 attr_array[choice - 1].port_guid, in get_port_guid()
620 return (attr_array[choice - 1].port_guid); in get_port_guid()
/freebsd/bin/sh/tests/parser/
H A Ddollar-quote12.03 # Our choice is a parse error.
/freebsd/usr.sbin/tzsetup/
H A Dtzsetup.c108 int i, result, menurows, choice = 0; in xdialog_menu() local
128 BSDDIALOG_AUTOSIZE, menurows, item_no, listitems, &choice); in xdialog_menu()
134 if (ditems[choice].fire != NULL) { in xdialog_menu()
137 status = ditems[choice].fire(ditems + choice); in xdialog_menu()
/freebsd/usr.sbin/ppp/
H A Dbundle.c1939 struct datalink *dl, *choice, *otherlinkup; in bundle_AutoAdjust() local
1941 choice = otherlinkup = NULL; in bundle_AutoAdjust()
1946 if (choice) in bundle_AutoAdjust()
1947 otherlinkup = choice; in bundle_AutoAdjust()
1948 choice = dl; in bundle_AutoAdjust()
1952 choice = dl; in bundle_AutoAdjust()
1957 choice = NULL; in bundle_AutoAdjust()
1963 if (choice) { in bundle_AutoAdjust()
1966 percent, choice->name); in bundle_AutoAdjust()
1967 datalink_Up(choice, 1, 1); in bundle_AutoAdjust()
[all …]
/freebsd/contrib/ntp/sntp/
H A Dbincheck.mf2 # in sbindir. Now that we offer a choice, look in the "other" installation
/freebsd/contrib/ntp/
H A Dbincheck.mf2 # in sbindir. Now that we offer a choice, look in the "other" installation
/freebsd/sys/contrib/device-tree/Bindings/power/supply/
H A Dtwl-charger.txt7 The choice of phy cannot be configured at a hardware level, so there
/freebsd/usr.sbin/bsdconfig/include/
H A Dnetwork_device.hlp21 If you're using a modem then PPP is almost certainly your only choice.
41 adaptor is always a good choice! FreeBSD supports most common PC
/freebsd/sys/contrib/openzfs/cmd/zed/zed.d/
H A DREADME1 Shell scripts are the recommended choice for ZEDLETs that mostly call
/freebsd/crypto/openssl/doc/man3/
H A DOPENSSL_Applink.pod18 compiler of their choice and link it into the target application.
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.td450 // deopending on the choice of register.
472 // Expands to L, LY or LFH, depending on the choice of register.
516 // Expands to ST, STY or STFH, depending on the choice of register.
574 // depending on the choice of registers.
597 // Expands to LOCHI or LOCHHI, depending on the choice of register.
607 // depending on the choice of registers.
613 // Expands to LOC or LOCFH, depending on the choice of register.
618 // Expands to STOC or STOCFH, depending on the choice of register.
693 // depending on the choice of register.
701 // depending on the choice of register.
[all …]

123456789