/freebsd-11-stable/contrib/ncurses/menu/ |
H A D | m_item_nam.c | 35 * Get menus item name and description * 44 | Function : char *item_name(const ITEM *item) 46 | Description : Return name of menu item 48 | Return Values : See above; returns NULL if item is invalid 51 item_name(const ITEM * item) argument 53 T((T_CALLED("item_name(%p)"), (const void *)item)); 54 returnCPtr((item) ? item->name.str : (char *)0); 59 | Function : char *item_description(const ITEM *item) 61 | Description : Returns description of item 66 item_description(const ITEM * item) argument [all...] |
H A D | m_item_use.c | 44 | Function : int set_item_userptr(ITEM *item, void *userptr) 46 | Description : Set the pointer that is reserved in any item to store 52 set_item_userptr(ITEM * item, void *userptr) argument 54 T((T_CALLED("set_item_userptr(%p,%p)"), (void *)item, (void *)userptr)); 55 Normalize_Item(item)->userptr = userptr; 61 | Function : void *item_userptr(const ITEM *item) 63 | Description : Return the pointer that is reserved in any item to store 70 item_userptr(const ITEM * item) argument 72 T((T_CALLED("item_userptr(%p)"), (const void *)item)); 73 returnVoidPtr(Normalize_Item(item) [all...] |
H A D | m_item_vis.c | 35 * Tell if menu item is visible * 44 | Function : bool item_visible(const ITEM *item) 46 | Description : A item is visible if it currently appears in the 53 item_visible(const ITEM * item) 57 T((T_CALLED("item_visible(%p)"), (const void *)item)); 58 if (item && 59 (menu = item->imenu) && 61 ((menu->toprow + menu->arows) > (item->y)) && 62 (item->y >= menu->toprow))
|
H A D | m_item_opt.c | 35 * Menus item option routines * 44 | Function : int set_item_opts(ITEM *item, Item_Options opts) 46 | Description : Set the options of the item. If there are relevant 47 | changes, the item is connected and the menu is posted, 51 | E_BAD_ARGUMENT - invalid item options 54 set_item_opts(ITEM * item, Item_Options opts) argument 56 T((T_CALLED("set_menu_opts(%p,%d)"), (void *)item, opts)); 63 if (item) 65 if (item->opt != opts) 67 MENU *menu = item 97 item_opts_off(ITEM * item, Item_Options opts) argument 125 item_opts_on(ITEM * item, Item_Options opts) argument [all...] |
H A D | m_item_cur.c | 35 * Set and get current menus item * 44 | Function : int set_current_item(MENU *menu, const ITEM *item) 46 | Description : Make the item the current item 51 set_current_item(MENU * menu, ITEM * item) argument 53 T((T_CALLED("set_current_item(%p,%p)"), (void *)menu, (void *)item)); 55 if (menu && item && (item->imenu == menu)) 61 if (item != menu->curitem) 73 /* adjust the window to make item visibl 107 item_index(const ITEM * item) argument [all...] |
H A D | m_item_val.c | 35 * Set and get menus item values * 44 | Function : int set_item_value(ITEM *item, int value) 46 | Description : Programmatically set the item's selection value. This is 47 | only allowed if the item is selectable at all and if 49 | If the item is connected to a posted menu, the menu 56 set_item_value(ITEM * item, bool value) argument 60 T((T_CALLED("set_item_value(%p,%d)"), (void *)item, value)); 61 if (item) 63 menu = item->imenu; 65 if ((!(item [all...] |
H A D | m_driver.c | 97 | ITEM **item) 100 | at an item with three different classes of characters: 102 | the current pattern and the next item matching 104 | - NUL; the pattern stays as it is and the next item 107 | item matching the pattern is searched 109 | The item parameter contains on call a pointer to 110 | the item where the search starts. On return - if 112 | matching item. 114 | Return Values : E_OK - an item matching the pattern was found 119 (MENU * menu, int ch, ITEM ** item) 118 _nc_Match_Next_Character_In_Item_Name(MENU * menu, int ch, ITEM ** item) argument 221 ITEM *item; local [all...] |
H A D | m_item_new.c | 103 | Description : Create a new item with name and description. Return 104 | a pointer to this new item. 105 | N.B.: an item must(!) have a name. 107 | Return Values : The item pointer or NULL if creation failed. 112 ITEM *item; local 120 item = (ITEM *) 0; 125 item = typeCalloc(ITEM, 1); 126 if (item) 128 *item = _nc_Default_Item; /* hope we have struct assignment */ 130 item 163 free_item(ITEM * item) argument [all...] |
/freebsd-11-stable/crypto/openssl/crypto/pqueue/ |
H A D | pq_test.c | 64 pitem *item; local 69 item = pitem_new(3, NULL); 70 pqueue_insert(pq, item); 72 item = pitem_new(1, NULL); 73 pqueue_insert(pq, item); 75 item = pitem_new(2, NULL); 76 pqueue_insert(pq, item); 78 item = pqueue_find(pq, 1); 79 fprintf(stderr, "found %ld\n", item->priority); 81 item [all...] |
H A D | pqueue.c | 71 pitem *item = (pitem *)OPENSSL_malloc(sizeof(pitem)); local 72 if (item == NULL) 75 memcpy(item->priority, prio64be, sizeof(item->priority)); 77 item->data = data; 78 item->next = NULL; 80 return item; 83 void pitem_free(pitem *item) argument 85 if (item == NULL) 88 OPENSSL_free(item); 109 pqueue_insert(pqueue_s *pq, pitem *item) argument 152 pitem *item = pq->items; local 194 pitem *item = pq->items; local 211 pqueue_next(pitem **item) argument 227 pitem *item = pq->items; local [all...] |
/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_global.c | 52 struct drm_global_item *item = &glob[i]; local 53 sx_init(&item->mutex, "drmgi"); 54 item->object = NULL; 55 item->refcount = 0; 63 struct drm_global_item *item = &glob[i]; local 64 MPASS(item->object == NULL); 65 MPASS(item->refcount == 0); 66 sx_destroy(&item->mutex); 73 struct drm_global_item *item = &glob[ref->global_type]; local 76 sx_xlock(&item 105 struct drm_global_item *item = &glob[ref->global_type]; local [all...] |
/freebsd-11-stable/contrib/wpa/src/utils/ |
H A D | list.h | 28 static inline void dl_list_add(struct dl_list *list, struct dl_list *item) argument 30 item->next = list->next; 31 item->prev = list; 32 list->next->prev = item; 33 list->next = item; 36 static inline void dl_list_add_tail(struct dl_list *list, struct dl_list *item) argument 38 dl_list_add(list->prev, item); 41 static inline void dl_list_del(struct dl_list *item) argument 43 item->next->prev = item 56 struct dl_list *item; local [all...] |
/freebsd-11-stable/usr.bin/grep/ |
H A D | queue.c | 64 struct qentry *item; local 66 item = grep_malloc(sizeof(struct qentry)); 67 item->data.dat = grep_malloc(sizeof(char) * x->len); 68 item->data.len = x->len; 69 item->data.line_no = x->line_no; 70 item->data.boff = x->boff; 71 item->data.off = x->off; 72 memcpy(item->data.dat, x->dat, x->len); 73 item->data.file = x->file; 75 STAILQ_INSERT_TAIL(&queue, item, lis 89 struct qentry *item; local 103 struct qentry *item; local 115 struct qentry *item; local [all...] |
/freebsd-11-stable/crypto/openssl/util/ |
H A D | su-filter.pl | 64 my $item; 75 foreach $item (@datalist) { 77 if($item eq "*/") { 84 $dataitem .= $item; 88 $dataitem .= $item; 89 if($item eq "\"") { 95 if($item eq "\n") { 101 $dataitem .= $item; 105 if($item eq "}") { 113 } elsif($item e [all...] |
/freebsd-11-stable/contrib/ofed/librdmacm/ |
H A D | indexer.h | 48 void *item; member in union:idx_entry 68 int idx_insert(struct indexer *idx, void *item); 70 void idx_replace(struct indexer *idx, int index, void *item); 74 return (idx->array[idx_array_index(index)] + idx_entry_index(index))->item; 88 int idm_set(struct index_map *idm, int index, void *item); 120 static inline void dlist_insert_after(dlist_entry *item, dlist_entry *head) argument 122 item->next = head->next; 123 item->prev = head; 124 head->next->prev = item; 125 head->next = item; 128 dlist_insert_before(dlist_entry *item, dlist_entry *head) argument 136 dlist_remove(dlist_entry *item) argument [all...] |
H A D | indexer.c | 86 int idx_insert(struct indexer *idx, void *item) argument 98 entry[idx_entry_index(index)].item = item; 105 void *item; local 108 item = entry[idx_entry_index(index)].item; 111 return item; 114 void idx_replace(struct indexer *idx, int index, void *item) argument 119 entry[idx_entry_index(index)].item = item; 136 idm_set(struct index_map *idm, int index, void *item) argument 158 void *item; local [all...] |
/freebsd-11-stable/contrib/openpam/lib/libpam/ |
H A D | pam_get_item.c | 58 const void **item) 76 *item = pamh->item[item_type]; 90 * The =pam_get_item function stores a pointer to the item specified by 91 * the =item_type argument in the location pointed to by the =item 93 * The item is retrieved from the PAM context specified by the =pamh 95 * If =pam_get_item fails, the =item argument is untouched. 97 * The following item types are recognized: 56 pam_get_item(const pam_handle_t *pamh, int item_type, const void **item) argument
|
/freebsd-11-stable/contrib/dialog/samples/ |
H A D | menubox1 | 8 $DIALOG --default-item "OS/2" --clear --title "MENU BOX" "$@" \
|
H A D | menubox2 | 8 $DIALOG --default-item "MSDOS" --clear --title "MENU BOX" "$@" \
|
H A D | menubox3 | 8 $DIALOG --clear --item-help --title "MENU BOX" "$@" \
|
H A D | menubox4 | 8 $DIALOG --clear --item-help --title "MENU BOX" "$@" \
|
H A D | menubox5 | 8 $DIALOG --clear --help-button --item-help --title "MENU BOX" "$@" \
|
H A D | menubox6 | 9 $DIALOG --clear --item-help --title "MENU BOX" --colors "$@" \
|
H A D | menubox8 | 8 --default-item "MSDOS" \
|
H A D | inputmenu3 | 4 # "inputmenu1" with defaultitem, help-button and item-help. 26 --default-item "$defaultitem" \ 27 --item-help "$@" \ 78 item=`echo "$value" |sed -e 's/^[^:]*:[ ]*//' -e 's/[ ]*$//'` 82 user="$item" 85 uid="$item" 88 gid="$item" 91 home="$item"
|