/freebsd-11-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)"), (void *)menu, (void *)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* _nc_new_menu(SCREEN*, ITEM **items) 47 | array items and returns a pointer to the new menu. 54 NCURSES_SP_NAME(new_menu) (NCURSES_SP_DCLx ITEM ** items) argument 59 T((T_CALLED("new_menu(%p,%p)"), (void *)SP_PARM, (void *)items)); 73 if (items && *items) 75 if (!_nc_Connect_Items(menu, items)) 94 | Function : MENU *new_menu(ITEM **items) 97 | array items and returns a pointer to the new menu. 105 new_menu(ITEM ** items) argument [all...] |
H A D | m_scale.c | 51 | E_NOT_CONNECTED - no items are connected to menu 64 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-11-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-11-stable/usr.sbin/bsdinstall/distfetch/ |
H A D | distfetch.c | 107 const char **items; local 122 items = calloc(sizeof(char *), nfiles * 2); 123 if (items == NULL) 127 items[i*2] = strrchr(urls[i], '/'); 128 if (items[i*2] != NULL) 129 items[i*2]++; 131 items[i*2] = urls[i]; 132 items[i*2 + 1] = "Pending"; 156 items[i*2 + 1] = "Failed"; 162 items[ [all...] |
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/ |
H A D | partedit.c | 52 struct partedit_item **items, int *nitems); 54 static void get_mount_points(struct partedit_item *items, int nitems); 77 struct partedit_item *items = NULL; local 127 items = read_geom_mesh(&mesh, &nitems); 128 if (error || items == NULL) { 135 get_mount_points(items, nitems); 140 items, nitems, &i, &nscroll); 144 gpart_create((struct gprovider *)(items[i].cookie), 148 gpart_delete((struct gprovider *)(items[i].cookie)); 151 gpart_edit((struct gprovider *)(items[ 318 const char **items; local 441 struct partedit_item *items; local 464 add_geom_children(struct ggeom *gp, int recurse, struct partedit_item **items, int *nitems) argument 551 get_mount_points(struct partedit_item *items, int nitems) argument [all...] |
H A D | diskeditor.h | 47 struct partedit_item *items, int nitems, int *selected, int *scroll);
|
H A D | gpart_ops.c | 89 DIALOG_LISTITEM items[] = { local 106 nitems(items), items, NULL, 113 for (i = 0; i < (int)nitems(items); i++) { 114 if (items[i].state == 0) 116 if (strcmp(items[i].name, "UFS1") == 0) 118 else if (strcmp(items[i].name, "SU") == 0) 120 else if (strcmp(items[i].name, "SUJ") == 0) 122 else if (strcmp(items[i].name, "TRIM") == 0) 127 DIALOG_LISTITEM items[] local 174 DIALOG_LISTITEM items[] = { local 217 DIALOG_LISTITEM items[] = { local 524 DIALOG_FORMITEM items[] = { local 896 DIALOG_FORMITEM items[] = { local [all...] |
H A D | diskeditor.c | 40 print_partedit_item(WINDOW *partitions, struct partedit_item *items, argument 48 wmove(partitions, y, MARGIN + items[item].indentation*2); 49 dlg_print_text(partitions, items[item].name, 10, &attr); 53 humanize_number(sizetext, 7, items[item].size, "B", HN_AUTOSCALE, 57 dlg_print_text(partitions, items[item].type, 15, &attr); 59 if (items[item].mountpoint != NULL) 60 dlg_print_text(partitions, items[item].mountpoint, 8, &attr); 65 struct partedit_item *items, int nitems, int *selected, int *nscroll) 168 print_partedit_item(partitions, items, i, cur_scroll, 211 print_partedit_item(partitions, items, cur_par 64 diskeditor_show(const char *title, const char *cprompt, struct partedit_item *items, int nitems, int *selected, int *nscroll) argument [all...] |
/freebsd-11-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:__anon951 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...] |
/freebsd-11-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-11-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-11-stable/lib/libnv/tests/ |
H A D | nvlist_append_test.c | 53 nvlist_t *nvl, *nvl1, *nvl2, **items; local 108 items = nvlist_take_nvlist_array(nvl, "nvl/nvl_array", &nitems); 109 CHECK(nvlist_get_number(items[0], "key1") == 10); 110 CHECK(nvlist_get_number(items[1], "key1") == 20); 111 CHECK(nvlist_error(items[0]) == 0); 112 CHECK(nvlist_error(items[1]) == 0); 114 nvlist_move_nvlist_array(nvl, "nvl/nvl_new_array", items, nitems);
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/DataFormatters/ |
H A D | TypeCategory.cpp | 160 void TypeCategoryImpl::Clear(FormatCategoryItems items) { argument 161 if ((items & eFormatCategoryItemValue) == eFormatCategoryItemValue) 163 if ((items & eFormatCategoryItemRegexValue) == eFormatCategoryItemRegexValue) 166 if ((items & eFormatCategoryItemSummary) == eFormatCategoryItemSummary) 168 if ((items & eFormatCategoryItemRegexSummary) == 172 if ((items & eFormatCategoryItemFilter) == eFormatCategoryItemFilter) 174 if ((items & eFormatCategoryItemRegexFilter) == 178 if ((items & eFormatCategoryItemSynth) == eFormatCategoryItemSynth) 180 if ((items & eFormatCategoryItemRegexSynth) == eFormatCategoryItemRegexSynth) 184 bool TypeCategoryImpl::Delete(ConstString name, FormatCategoryItems items) { argument 212 GetCount(FormatCategoryItems items) argument 240 AnyMatches(ConstString type_name, FormatCategoryItems items, bool only_enabled, const char **matching_category, FormatCategoryItems *matching_type) argument [all...] |
/freebsd-11-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-11-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
H A D | zmod_subr.c | 35 zcalloc(void *opaque, uint_t items, uint_t size) argument 39 ptr = malloc((size_t)items * size, M_SOLARIS, M_NOWAIT);
|
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-11-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 440 size_t items; local 693 size_t items; local 767 size_t items; local 883 size_t items; local 958 size_t items; local 1047 size_t items; local 1113 size_t items; local 1174 size_t items; local 1231 size_t items; local 1326 size_t items; local 1494 size_t items; local 1576 size_t items; local 1687 size_t items; local 1839 size_t items; local 1964 size_t items; local 2103 size_t items; local 2162 size_t items; local 2217 size_t items; local 2275 size_t items; local 2314 size_t items; local 2371 size_t items; local 2458 size_t items; local 2557 size_t items; local 2593 size_t items; local 2662 size_t items; local 2756 size_t items; local 2845 size_t items; local 2937 size_t items; local 3068 iflist( FILE *fp, struct info_if_stats *ifs, size_t items, size_t itemsize, int res ) argument 3134 size_t items; local 3152 size_t items; local [all...] |