/freebsd-9.3-release/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-9.3-release/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-9.3-release/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-9.3-release/usr.sbin/bsdinstall/distfetch/ |
H A D | distfetch.c | 96 const char **items; local 110 items = calloc(sizeof(char *), nfiles * 2); 111 if (items == NULL) { 117 items[i*2] = strrchr(urls[i], '/'); 118 if (items[i*2] != NULL) 119 items[i*2]++; 121 items[i*2] = urls[i]; 122 items[i*2 + 1] = "Pending"; 146 items[i*2 + 1] = "Failed"; 152 items[ [all...] |
/freebsd-9.3-release/usr.sbin/bsdinstall/partedit/ |
H A D | partedit.c | 49 struct partedit_item **items, int *nitems); 51 static void get_mount_points(struct partedit_item *items, int nitems); 74 struct partedit_item *items = NULL; local 118 items = read_geom_mesh(&mesh, &nitems); 119 if (error || items == NULL) { 126 get_mount_points(items, nitems); 131 items, nitems, &i, &nscroll); 135 gpart_create((struct gprovider *)(items[i].cookie), 139 gpart_delete((struct gprovider *)(items[i].cookie)); 142 gpart_edit((struct gprovider *)(items[ 307 const char **items; local 393 struct partedit_item *items; local 416 add_geom_children(struct ggeom *gp, int recurse, struct partedit_item **items, int *nitems) argument 503 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 | 86 DIALOG_LISTITEM items[] = { local 103 sizeof(items)/sizeof(items[0]), items, NULL, 110 for (i = 0; i < (int)(sizeof(items)/sizeof(items[0])); i++) { 111 if (items[i].state == 0) 113 if (strcmp(items[i].name, "UFS1") == 0) 115 else if (strcmp(items[i].name, "SU") == 0) 117 else if (strcmp(items[ 124 DIALOG_LISTITEM items[] = { local 168 DIALOG_LISTITEM items[] = { local 424 DIALOG_FORMITEM items[] = { local 757 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) 150 print_partedit_item(partitions, items, i, cur_scroll, 193 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-9.3-release/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 | 43 #define ItemName(i) items[LLEN(i)] 44 #define ItemText(i) items[LLEN(i) + 1] 45 #define ItemHelp(i) items[LLEN(i) + 2] 115 DIALOG_LISTITEM * items, 158 print_tag(win, items, choice, selected, is_inputmenu); 174 dlg_print_text(win, items->text, my_width - my_x, &attr); 177 dlg_item_help(items->help); 187 DIALOG_LISTITEM * items, 200 int max_len = dlg_max_input(MAX((int) strlen(items->text) + 1, MAX_LEN)); 207 strcpy(result, items 114 print_item(WINDOW *win, DIALOG_LISTITEM * items, int choice, Mode selected, bool is_inputmenu) argument 186 input_menu_edit(WINDOW *win, DIALOG_LISTITEM * items, int choice, char **resultp) argument 235 handle_button(int code, DIALOG_LISTITEM * items, int choice) argument 256 dlg_renamed_menutext(DIALOG_LISTITEM * items, int current, char *newtext) argument 268 dlg_dummy_menutext(DIALOG_LISTITEM * items, int current, char *newtext) argument 282 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 782 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 | checklist.c | 37 #define ItemData(i) &items[LLEN(i)] 38 #define ItemName(i) items[LLEN(i)] 39 #define ItemText(i) items[LLEN(i) + 1] 40 #define ItemStatus(i) items[LLEN(i) + 2] 41 #define ItemHelp(i) items[LLEN(i) + 3] 67 * current item. That one is colored differently from the other items. 145 DIALOG_LISTITEM * items, 182 int choice = dlg_default_listitem(items); 206 if (items[i].state) { 210 items[ 139 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 638 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 | 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()) 372 dlg_default_formitem(DIALOG_FORMITEM * items) argument 425 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 797 dlg_free_formitems(DIALOG_FORMITEM * items) argument 826 dialog_form(const char *title, const char *cprompt, int height, int width, int form_height, int item_no, char **items) argument [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/pqueue/ |
H A D | pqueue.c | 65 pitem *items; member in struct:_pqueue 115 if (pq->items == NULL) { 116 pq->items = item; 120 for (curr = NULL, next = pq->items; 126 pq->items = item; 145 return pq->items; 150 pitem *item = pq->items; 152 if (pq->items != NULL) 153 pq->items = pq->items [all...] |
/freebsd-9.3-release/usr.sbin/bsdinstall/distextract/ |
H A D | distextract.c | 151 const char *items[nfiles*2]; local 166 items[i*2] = strrchr(files[i], '/'); 167 if (items[i*2] != NULL) 168 items[i*2]++; 170 items[i*2] = files[i]; 171 items[i*2 + 1] = "Pending"; 195 items[i*2 + 1] = "In Progress"; 205 items[i*2 + 1] = status; 211 __DECONST(char **, items)); 225 items[ [all...] |
/freebsd-9.3-release/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-9.3-release/usr.sbin/sysinstall/ |
H A D | modules.c | 152 bzero(&menu->items[count], sizeof(menu->items[0])); 153 menu->items[count].prompt = strdup("X Exit"); 154 menu->items[count].title = strdup("Exit this menu (returning to previous)"); 155 menu->items[count].fire = dmenuExit; 173 bzero(&menu->items[count], sizeof(menu->items[0])); 174 menu->items[count].fire = kldModuleFire; 176 menu->items[count].prompt = strdup(de->d_name); 177 menu->items[coun [all...] |
H A D | keymap.c | 57 dialogMenuItem *items = MenuSysconsKeymap.items; local 61 for (i = 0; items[i].data; ++i) 62 if (!strncmp(prefix, items[i].data, plen))
|
H A D | dmenu.c | 291 dialogMenuItem *items = menu->items; local 294 for (i = 0; items[i].prompt; ++i) 295 if ((prompt && !strcmp(items[i].prompt, prompt)) || 296 (title && !strcmp(items[i].title, title)) || 297 (data && items[i].data == data)) 312 for (nitem = 0; menu->items[nitem].prompt; ++nitem); 346 dialogMenuItem *items; local 348 items = menu->items; [all...] |
/freebsd-9.3-release/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...] |