Searched refs:selected (Results 1 - 25 of 54) sorted by relevance

123

/freebsd-10-stable/usr.sbin/bsdinstall/partedit/
H A Ddiskeditor.h45 struct partedit_item *items, int nitems, int *selected, int *scroll);
H A Ddiskeditor.c39 int item, int nscroll, int selected)
45 wattrset(partitions, selected ? item_selected_attr : item_attr);
63 struct partedit_item *items, int nitems, int *selected, int *nscroll)
70 "Add a new partition", "Delete selected partition or partitions",
153 if (selected != NULL)
154 cur_part = *selected;
279 if (selected != NULL)
280 *selected = cur_part;
38 print_partedit_item(WINDOW *partitions, struct partedit_item *items, int item, int nscroll, int selected) argument
62 diskeditor_show(const char *title, const char *cprompt, struct partedit_item *items, int nitems, int *selected, int *nscroll) argument
H A Dpart_wizard.c103 int i, err, selected, n = 0; local
156 n, disks, &selected, NULL);
158 chosen = (err == 0) ? strdup(disks[selected].name) : NULL;
/freebsd-10-stable/crypto/openssl/crypto/
H A Dconstant_time_test.c125 unsigned int selected = constant_time_select(CONSTTIME_TRUE, a, b); local
126 if (selected != a) {
129 CONSTTIME_TRUE, a, b, a, selected);
132 selected = constant_time_select(CONSTTIME_FALSE, a, b);
133 if (selected != b) {
136 CONSTTIME_FALSE, a, b, b, selected);
144 unsigned char selected = constant_time_select_8(CONSTTIME_TRUE_8, a, b); local
145 if (selected != a) {
148 CONSTTIME_TRUE, a, b, a, selected);
151 selected
163 int selected = constant_time_select_int(CONSTTIME_TRUE, a, b); local
[all...]
/freebsd-10-stable/contrib/dialog/
H A Dbuildlist.c61 * Print list item. The 'selected' parameter is true if 'choice' is the
69 int selected)
90 dlg_print_listitem(win, item->name, climit, first, selected);
97 dlg_print_listitem(win, show, climit, first, selected);
99 if (selected) {
106 * Prints either the left (unselected) or right (selected) list.
111 int selected)
113 MY_DATA *moi = data->list + selected;
123 } else if (!(selected ^ (data->items[ii].state != 0))) {
141 prev_item(ALL_DATA * data, int choice, int selected) argument
65 print_item(ALL_DATA * data, WINDOW *win, DIALOG_LISTITEM * item, int choice, int selected) argument
109 print_1_list(ALL_DATA * data, int choice, int selected) argument
159 stop_prev(ALL_DATA * data, int choice, int selected) argument
165 check_hotkey(DIALOG_LISTITEM * items, int choice, int selected) argument
185 next_item(ALL_DATA * data, int choice, int selected) argument
205 index2row(ALL_DATA * data, int choice, int selected) argument
223 first_item(ALL_DATA * data, int selected) argument
241 last_item(ALL_DATA * data, int selected) argument
259 row2index(ALL_DATA * data, int row, int selected) argument
275 skip_rows(ALL_DATA * data, int row, int skip, int selected) argument
304 closest_item(ALL_DATA * data, int choice, int selected) argument
340 int selected; local
372 set_top_item(ALL_DATA * data, int value, int selected) argument
387 fix_top_item(ALL_DATA * data, int cur_item, int selected) argument
[all...]
H A Dbuttons.c167 print_button(WINDOW *win, char *label, int hotkey, int y, int x, int selected) argument
173 chtype key_attr = (selected
176 chtype label_attr = (selected
181 (void) wattrset(win, selected
212 (void) wattrset(win, selected
327 int selected,
378 (selected == n) || (n == 0 && selected < 0));
379 if (selected == n)
688 * option was not specified, or if the selected butto
324 dlg_draw_buttons(WINDOW *win, int y, int x, const char **labels, int selected, int vertical, int limit) argument
[all...]
H A Dmenubox.c67 Mode selected,
83 switch (selected) {
98 (void) wattrset(win, (selected != Unselected) ? item_selected_attr : item_attr);
112 dlg_print_listitem(win, item->name, climit, first, selected);
129 dlg_print_listitem(win, show, my_width - my_x, first, selected);
131 if (selected) {
63 print_item(ALL_DATA * data, WINDOW *win, DIALOG_LISTITEM * item, int choice, Mode selected, bool is_inputmenu) argument
H A Dchecklist.c52 * Print list item. The 'selected' parameter is true if 'choice' is the
61 int selected)
79 (void) wattrset(win, selected ? check_selected_attr : check_attr);
87 dlg_print_listitem(win, item->name, climit, first, selected);
92 dlg_print_listitem(win, show, climit, first, selected);
94 if (selected) {
217 * selected initially. Allow none to be selected, since some users may
384 key = ' '; /* force the selected item to toggle */
396 * (any number of items can be selected) o
56 print_item(ALL_DATA * data, WINDOW *win, DIALOG_LISTITEM * item, const char *states, int choice, int selected) argument
[all...]
H A Dtreeview.c49 * Print list item. The 'selected' parameter is true if 'choice' is the
58 int selected)
76 (void) wattrset(win, selected ? check_selected_attr : check_attr);
82 (void) wattrset(win, selected ? item_selected_attr : item_attr);
92 dlg_print_listitem(win, show, climit, first, selected);
94 if (selected) {
229 * selected initially. Allow none to be selected, since some users may
375 key = ' '; /* force the selected item to toggle */
53 print_item(ALL_DATA * data, DIALOG_LISTITEM * item, const char *states, int depths, int choice, int selected) argument
/freebsd-10-stable/games/random/
H A Drandom.c69 selected, unique_output, unbuffer_output; local
169 selected = (int)(denom * random() / RANDOM_MAX_PLUS1) == 0;
171 if (selected)
179 selected = (int)(denom * random() /
H A Drandomize_fd.c99 u_long i, j, numnode, selected; local
213 selected = random() % numnode;
216 if (j == selected) {
/freebsd-10-stable/bin/pkill/
H A Dpkill.c96 static char *selected; variable
332 if ((selected = malloc(nproc)) == NULL) {
336 memset(selected, 0, nproc);
377 selected[i] = 1;
379 selected[i] = 1;
388 if (selected[i])
403 selected[i] = 0;
411 selected[i] = 0;
419 selected[i] = 0;
427 selected[
[all...]
/freebsd-10-stable/contrib/ofed/management/opensm/include/vendor/
H A Dosm_vendor.h69 #error No MAD Interface selected!
/freebsd-10-stable/usr.sbin/bsdinstall/scripts/
H A Ddocsinstall118 local selected
119 selected=$( eval $DIALOG \
132 f_dialog_menutag_store -s "$selected"
149 f_dialog_menutag_fetch selected
155 # Install each of the selected packages
158 for lang in $selected; do
/freebsd-10-stable/lib/libdevstat/
H A Ddevstat.c486 * Devices are selected/deselected based upon the following criteria:
491 * devices haven't already been selected and if the user has not
496 * - current number of devices selected (num_selected)
511 * - number of devices selected on the command line by the user
515 * selected by the user or devices matching a pattern given by the
516 * user will be selected in addition to devices that are already
517 * selected. Additional devices will be selected, up to maxshowdevs
521 * given by the user will be selected. No other devices will be
522 * selected
[all...]
H A Ddevstat.h125 int selected; member in struct:device_selection
/freebsd-10-stable/contrib/dialog/samples/
H A Ddialog.py28 # *any* objects to be displayed and selected, not just strings.
55 # - 'selected' option to radiolist dialog; clicking "Cancel" is now
159 The selected object is returned, or None if the dialog was canceled.
174 Returns a list of the selected objects.
175 Returns an empty list if nothing was selected.
198 if c == 0: # Nothing was selected
203 def radiolist(self, text, height=15, width=54, list=[], selected=0):
205 Return the selected object.
206 Returns empty string if no choice was selected.
208 selected
[all...]
/freebsd-10-stable/contrib/wpa/wpa_supplicant/
H A Dwps_supplicant.h44 struct wpa_bss *selected, struct wpa_ssid *ssid);
115 struct wpa_bss *selected,
114 wpas_wps_scan_pbc_overlap(struct wpa_supplicant *wpa_s, struct wpa_bss *selected, struct wpa_ssid *ssid) argument
H A Dinterworking.c987 struct wpa_cred *cred, *selected = NULL; local
1014 if (selected == NULL ||
1015 selected->priority < cred->priority)
1016 selected = cred;
1019 return selected;
1345 struct wpa_cred *cred, *selected = NULL; local
1387 if (selected == NULL ||
1388 selected->priority < cred->priority)
1389 selected = cred;
1393 return selected;
1400 struct wpa_cred *cred, *selected = NULL; local
1582 struct wpa_bss *bss, *selected = NULL, *selected_home = NULL; local
[all...]
H A Devents.c399 wpa_dbg(wpa_s, MSG_DEBUG, " selected based on TSN "
439 wpa_dbg(wpa_s, MSG_DEBUG, " selected based on RSN IE");
456 wpa_dbg(wpa_s, MSG_DEBUG, " selected based on TSN "
485 wpa_dbg(wpa_s, MSG_DEBUG, " selected based on WPA IE");
819 wpa_dbg(wpa_s, MSG_DEBUG, " selected BSS " MACSTR
834 struct wpa_bss *selected = NULL; local
841 while (selected == NULL) {
843 selected = wpa_supplicant_select_bss(
846 if (selected)
850 if (selected
887 wpa_supplicant_connect(struct wpa_supplicant *wpa_s, struct wpa_bss *selected, struct wpa_ssid *ssid) argument
983 wpa_supplicant_need_to_roam(struct wpa_supplicant *wpa_s, struct wpa_bss *selected, struct wpa_ssid *ssid) argument
1193 struct wpa_bss *selected; local
[all...]
/freebsd-10-stable/contrib/openbsm/bin/auditreduce/
H A Dauditreduce.c485 * Read each record from the audit trail. Check if it is selected after
496 int selected; local
504 selected = 1;
505 while ((selected == 1) && (bytesread < reclen)) {
519 selected = select_hdr32(tok,
526 selected = select_proc32(tok,
531 selected = select_subj32(tok,
536 selected = select_ipcobj(
542 selected = select_filepath(
547 selected
[all...]
/freebsd-10-stable/usr.bin/systat/
H A Diostat.c199 if (dev_select[i].selected)
214 if (dev_select[i].selected) {
241 if (dev_select[i].selected) {
276 if (dev_select[i].selected) {
289 if (dev_select[i].selected) {
/freebsd-10-stable/usr.sbin/iostat/
H A Diostat.c565 * mode. This is the only mode where the devices selected
739 if ((dev_select[i].selected != 0)
740 && (dev_select[i].selected <= maxshowdevs)) {
761 if ((dev_select[i].selected != 0)
762 && (dev_select[i].selected <= maxshowdevs)) {
824 if (((perf_select == 0) && (dev_select[dn].selected == 0))
825 || (dev_select[dn].selected > maxshowdevs))
857 if ((dev_select[dn].selected == 0)
858 || (dev_select[dn].selected > maxshowdevs))
/freebsd-10-stable/contrib/ntp/sntp/unity/
H A Dunity_fixture.c49 static int selected(const char * filter, const char * name) function
58 return selected(UnityFixture.NameFilter, test);
63 return selected(UnityFixture.GroupFilter, group);
/freebsd-10-stable/sbin/fsck/
H A Dfsck.c76 static int selected(const char *);
254 if (!selected(fs->fs_vfstype))
415 selected(const char *type) function
419 /* If no type specified, it's always selected. */

Completed in 169 milliseconds

123