/freebsd-10-stable/contrib/ncurses/menu/ |
H A D | m_items.c | 35 * Connect and disconnect items to and from menus * 44 | Function : int set_menu_items(MENU *menu, ITEM **items) 50 | E_CONNECTED - one or more items are already connected 56 set_menu_items(MENU * menu, ITEM ** items) argument 58 T((T_CALLED("set_menu_items(%p,%p)"), menu, items)); 60 if (!menu || (items && !(*items))) 66 if (menu->items) 69 if (items) 71 if (!_nc_Connect_Items(menu, items)) [all...] |
H A D | m_new.c | 44 | Function : MENU *new_menu(ITEM **items) 47 | array items and returns a pointer to the new menu. 54 new_menu(ITEM ** items) argument 59 T((T_CALLED("new_menu(%p)"), items)); 66 if (items && *items) 68 if (!_nc_Connect_Items(menu, items)) 104 if (menu->items)
|
H A D | m_scale.c | 51 | E_NOT_CONNECTED - no items are connected to menu 61 if (menu->items && *(menu->items))
|
H A D | m_global.c | 47 16, /* Nr. of items high */ 48 1, /* Nr. of items wide */ 49 16, /* Nr. of formatted items high */ 50 1, /* Nr. of formatted items wide */ 51 16, /* Nr. of items high (actual) */ 65 (ITEM **)0, /* List of items */ 66 0, /* Total Nr. of items in menu */ 105 | of the items connected to the menu 114 ITEM **items; local 117 assert(menu && menu->items); 144 ResetConnectionInfo(MENU * menu, ITEM ** items) argument 295 ITEM **items; local [all...] |
H A D | m_item_top.c | 50 | E_NOT_CONNECTED - there are no items for the menu 63 if (menu->items == (ITEM **) 0) 77 item = menu->items[(menu->opt & O_ROWMAJOR) ? (row * menu->cols) : row]; 98 if (menu && menu->items && *(menu->items))
|
H A D | m_opts.c | 73 if (menu->items && menu->items[0]) 76 menu->curitem = menu->items[0]; 88 if (((item = menu->items) != (ITEM **) 0))
|
/freebsd-10-stable/contrib/bmake/ |
H A D | strlist.c | 76 strlist_item_t *items; local 83 items = sl->sl_items; 85 items = bmake_realloc(items, (n + 7) * sizeof *sl->sl_items); 86 sl->sl_items = items; 89 items += n - 1; 90 items->si_str = str; 91 items->si_info = info; 92 items[1].si_str = NULL; /* STRLIST_FOREACH() terminator */
|
H A D | for.c | 94 strlist_t items; /* Substitution items */ member in struct:_For 121 strlist_clean(&arg->items); 254 strlist_add_str(&new_for->items, bmake_strdup(words[n]), escapes); 260 if ((len = strlist_num(&new_for->items)) > 0 && 268 * Remove all items so that the loop doesn't iterate. 270 strlist_clean(&new_for->items); 363 for_substitute(Buffer *cmds, strlist_t *items, unsigned int item_no, char ech) 365 const char *item = strlist_str(items, item_no); 371 if (!(strlist_info(items, item_n 361 for_substitute(Buffer *cmds, strlist_t *items, unsigned int item_no, char ech) argument [all...] |
/freebsd-10-stable/usr.sbin/bsdinstall/scripts/ |
H A D | checksum | 36 items="" 38 items="$items $i `eval echo \\\${status_$(basename $i .txz):-Pending}`" 42 0 0 $percentage $items
|
/freebsd-10-stable/usr.sbin/bsdinstall/distfetch/ |
H A D | distfetch.c | 105 const char **items; local 120 items = calloc(sizeof(char *), nfiles * 2); 121 if (items == NULL) 125 items[i*2] = strrchr(urls[i], '/'); 126 if (items[i*2] != NULL) 127 items[i*2]++; 129 items[i*2] = urls[i]; 130 items[i*2 + 1] = "Pending"; 154 items[i*2 + 1] = "Failed"; 160 items[ [all...] |
/freebsd-10-stable/usr.sbin/bsdinstall/partedit/ |
H A D | partedit.c | 50 struct partedit_item **items, int *nitems); 52 static void get_mount_points(struct partedit_item *items, int nitems); 75 struct partedit_item *items = NULL; local 124 items = read_geom_mesh(&mesh, &nitems); 125 if (error || items == NULL) { 132 get_mount_points(items, nitems); 137 items, nitems, &i, &nscroll); 141 gpart_create((struct gprovider *)(items[i].cookie), 145 gpart_delete((struct gprovider *)(items[i].cookie)); 148 gpart_edit((struct gprovider *)(items[ 315 const char **items; local 438 struct partedit_item *items; local 461 add_geom_children(struct ggeom *gp, int recurse, struct partedit_item **items, int *nitems) argument 548 get_mount_points(struct partedit_item *items, int nitems) argument [all...] |
H A D | diskeditor.h | 45 struct partedit_item *items, int nitems, int *selected, int *scroll);
|
H A D | gpart_ops.c | 87 DIALOG_LISTITEM items[] = { local 104 sizeof(items)/sizeof(items[0]), items, NULL, 111 for (i = 0; i < (int)(sizeof(items)/sizeof(items[0])); i++) { 112 if (items[i].state == 0) 114 if (strcmp(items[i].name, "UFS1") == 0) 116 else if (strcmp(items[i].name, "SU") == 0) 118 else if (strcmp(items[ 125 DIALOG_LISTITEM items[] = { local 172 DIALOG_LISTITEM items[] = { local 215 DIALOG_LISTITEM items[] = { local 522 DIALOG_FORMITEM items[] = { local 894 DIALOG_FORMITEM items[] = { local [all...] |
H A D | diskeditor.c | 38 print_partedit_item(WINDOW *partitions, struct partedit_item *items, argument 46 wmove(partitions, y, MARGIN + items[item].indentation*2); 47 dlg_print_text(partitions, items[item].name, 10, &attr); 51 humanize_number(sizetext, 7, items[item].size, "B", HN_AUTOSCALE, 55 dlg_print_text(partitions, items[item].type, 15, &attr); 57 if (items[item].mountpoint != NULL) 58 dlg_print_text(partitions, items[item].mountpoint, 8, &attr); 63 struct partedit_item *items, int nitems, int *selected, int *nscroll) 166 print_partedit_item(partitions, items, i, cur_scroll, 209 print_partedit_item(partitions, items, cur_par 62 diskeditor_show(const char *title, const char *cprompt, struct partedit_item *items, int nitems, int *selected, int *nscroll) argument [all...] |
/freebsd-10-stable/contrib/dialog/ |
H A D | mixedform.c | 31 #define ItemName(i) items[LLEN(i) + 0] 32 #define ItemNameY(i) items[LLEN(i) + 1] 33 #define ItemNameX(i) items[LLEN(i) + 2] 34 #define ItemText(i) items[LLEN(i) + 3] 35 #define ItemTextY(i) items[LLEN(i) + 4] 36 #define ItemTextX(i) items[LLEN(i) + 5] 37 #define ItemTextFLen(i) items[LLEN(i) + 6] 38 #define ItemTextILen(i) items[LLEN(i) + 7] 39 #define ItemTypep(i) items[LLEN(i) + 8] 40 #define ItemHelp(i) (dialog_vars.item_help ? items[LLE 43 dialog_mixedform(const char *title, const char *cprompt, int height, int width, int form_height, int item_no, char **items) argument [all...] |
H A D | menubox.c | 47 DIALOG_LISTITEM *items; member in struct:__anon902 142 DIALOG_LISTITEM * items, 155 int max_len = dlg_max_input(MAX((int) strlen(items->text) + 1, MAX_LEN)); 162 strcpy(result, items->text); 164 print_item(data, data->menu, items, choice, Editing, TRUE); 184 print_item(data, data->menu, items, choice, Selected, TRUE); 192 handle_button(int code, DIALOG_LISTITEM * items, int choice) argument 199 dlg_add_string(items[choice].name); 202 dlg_add_help_listitem(&code, &help_result, &items[choice]); 210 dlg_renamed_menutext(DIALOG_LISTITEM * items, in argument 141 input_menu_edit(ALL_DATA * data, DIALOG_LISTITEM * items, int choice, char **resultp) argument 222 dlg_dummy_menutext(DIALOG_LISTITEM * items, int current, char *newtext) argument 274 check_hotkey(DIALOG_LISTITEM * items, int choice) argument 293 dlg_menu(const char *title, const char *cprompt, int height, int width, int menu_height, int item_no, DIALOG_LISTITEM * items, int *current_item, DIALOG_INPUTMENU rename_menutext) argument 736 dialog_menu(const char *title, const char *cprompt, int height, int width, int menu_height, int item_no, char **items) argument [all...] |
H A D | formbox.c | 32 #define ItemName(i) items[LLEN(i) + 0] 33 #define ItemNameY(i) items[LLEN(i) + 1] 34 #define ItemNameX(i) items[LLEN(i) + 2] 35 #define ItemText(i) items[LLEN(i) + 3] 36 #define ItemTextY(i) items[LLEN(i) + 4] 37 #define ItemTextX(i) items[LLEN(i) + 5] 38 #define ItemTextFLen(i) items[LLEN(i) + 6] 39 #define ItemTextILen(i) items[LLEN(i) + 7] 40 #define ItemHelp(i) (dialog_vars.item_help ? items[LLEN(i) + 8] : dlg_strempty()) 407 dlg_default_formitem(DIALOG_FORMITEM * items) argument 460 dlg_form(const char *title, const char *cprompt, int height, int width, int form_height, int item_no, DIALOG_FORMITEM * items, int *current_item) argument 875 dlg_free_formitems(DIALOG_FORMITEM * items) argument 904 dialog_form(const char *title, const char *cprompt, int height, int width, int form_height, int item_no, char **items) argument [all...] |
H A D | checklist.c | 46 DIALOG_LISTITEM *items; member in struct:__anon883 53 * current item. That one is colored differently from the other items. 110 &data->items[i + scrollamt], 132 check_hotkey(DIALOG_LISTITEM * items, int choice) argument 138 ? items[choice].text 139 : items[choice].name))) { 158 DIALOG_LISTITEM * items, 196 int choice = dlg_default_listitem(items); 209 all.items = items; 152 dlg_checklist(const char *title, const char *cprompt, int height, int width, int list_height, int item_no, DIALOG_LISTITEM * items, const char *states, int flag, int *current_item) argument 594 dialog_checklist(const char *title, const char *cprompt, int height, int width, int list_height, int item_no, char **items, int flag) argument [all...] |
H A D | treeview.c | 42 DIALOG_LISTITEM *items; member in struct:__anon911 50 * current item. That one is colored differently from the other items. 113 &data->items[scrollamt + i], 136 check_hotkey(DIALOG_LISTITEM * items, int choice) argument 142 ? items[choice].text 143 : items[choice].name))) { 161 DIALOG_LISTITEM * items, 200 int choice = dlg_default_listitem(items); 219 all.items = items; 155 dlg_treeview(const char *title, const char *cprompt, int height, int width, int list_height, int item_no, DIALOG_LISTITEM * items, const char *states, int *depths, int flag, int *current_item) argument 567 dialog_treeview(const char *title, const char *cprompt, int height, int width, int list_height, int item_no, char **items, int flag) argument [all...] |
/freebsd-10-stable/crypto/openssl/crypto/pqueue/ |
H A D | pqueue.c | 65 pitem *items; member in struct:_pqueue 113 if (pq->items == NULL) { 114 pq->items = item; 118 for (curr = NULL, next = pq->items; 128 pq->items = item; 147 return pq->items; 152 pitem *item = pq->items; 154 if (pq->items != NULL) 155 pq->items = pq->items [all...] |
/freebsd-10-stable/contrib/llvm/tools/lldb/source/DataFormatters/ |
H A D | TypeCategory.cpp | 133 TypeCategoryImpl::Clear (FormatCategoryItems items) argument 135 if ( (items & eFormatCategoryItemValue) == eFormatCategoryItemValue ) 137 if ( (items & eFormatCategoryItemRegexValue) == eFormatCategoryItemRegexValue ) 140 if ( (items & eFormatCategoryItemSummary) == eFormatCategoryItemSummary ) 142 if ( (items & eFormatCategoryItemRegexSummary) == eFormatCategoryItemRegexSummary ) 145 if ( (items & eFormatCategoryItemFilter) == eFormatCategoryItemFilter ) 147 if ( (items & eFormatCategoryItemRegexFilter) == eFormatCategoryItemRegexFilter ) 151 if ( (items & eFormatCategoryItemSynth) == eFormatCategoryItemSynth ) 153 if ( (items & eFormatCategoryItemRegexSynth) == eFormatCategoryItemRegexSynth ) 160 FormatCategoryItems items) 159 Delete(ConstString name, FormatCategoryItems items) argument 189 GetCount(FormatCategoryItems items) argument 218 AnyMatches(ConstString type_name, FormatCategoryItems items, bool only_enabled, const char** matching_category, FormatCategoryItems* matching_type) argument [all...] |
/freebsd-10-stable/contrib/dialog/samples/ |
H A D | checklist12 | 9 *--no-items*|*--noitem*) 33 off. If there are more items than can fit on the \n\
|
H A D | buildlist2 | 25 *--no-items*|*--noitem*) 36 --visit-items --scrollbar --separator "|" \
|
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
H A D | zutil.c | 222 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) argument 225 ulg bsize = (ulg)items*size; 281 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) argument 284 return _halloc((long)items, size); 302 extern voidp calloc OF((uInt items, uInt size)); 306 voidpf zcalloc (opaque, items, size) 308 unsigned items; 311 if (opaque) items += size - size; /* make compiler happy */ 312 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) : 313 (voidpf)calloc(items, siz [all...] |
/freebsd-10-stable/contrib/ntp/ntpdc/ |
H A D | ntpdc_ops.c | 287 * checkitems - utility to print a message if no items were returned 291 size_t items, 295 if (items == 0) { 327 size_t items, 331 if (items == 0) { 335 if (items > 1) { 337 (u_long)items); 356 size_t items; local 361 res = doquery(impl_ver, REQ_PEER_LIST, 0, 0, 0, (char *)NULL, &items, 373 if (!checkitems(items, f 290 checkitems( size_t items, FILE *fp ) argument 326 check1item( size_t items, FILE *fp ) argument 433 size_t items; local 684 size_t items; local 758 size_t items; local 874 size_t items; local 949 size_t items; local 1038 size_t items; local 1104 size_t items; local 1165 size_t items; local 1222 size_t items; local 1317 size_t items; local 1485 size_t items; local 1567 size_t items; local 1678 size_t items; local 1830 size_t items; local 1955 size_t items; local 2094 size_t items; local 2153 size_t items; local 2208 size_t items; local 2266 size_t items; local 2305 size_t items; local 2362 size_t items; local 2449 size_t items; local 2548 size_t items; local 2584 size_t items; local 2653 size_t items; local 2738 size_t items; local 2827 size_t items; local 2919 size_t items; local 3050 iflist( FILE *fp, struct info_if_stats *ifs, size_t items, size_t itemsize, int res ) argument 3116 size_t items; local 3134 size_t items; local [all...] |