/freebsd-11-stable/contrib/ncurses/menu/ |
H A D | menu.priv.h | 54 /* Normalize item to default if none was given */ 55 #define Normalize_Item( item ) ((item)=(item)?(item):&_nc_Default_Item) 85 /* Move to the window position of an item and draw it */ 86 #define Move_And_Post_Item(menu,item) \ 87 {wmove((menu)->win,(menu)->spc_rows*(item)->y,((menu)->itemlen+(menu)->spc_cols)*(item)->x);\ 88 _nc_Post_Item((menu),(item));} [all...] |
H A D | m_hook.c | 110 | or just after the current item changes. 114 GEN_HOOK_SET_FUNCTION(item, init) 121 | when a menu is posted or just after the current item 126 GEN_HOOK_GET_FUNCTION(item, init) 133 | or just before the current item changes. 137 GEN_HOOK_SET_FUNCTION(item, term) 144 | when a menu is unposted or just before the current item 149 GEN_HOOK_GET_FUNCTION(item, term)
|
H A D | m_cursor.c | 46 | Description : Return position of logical cursor to current item 53 _nc_menu_cursor_pos(const MENU * menu, const ITEM * item, int *pY, int *pX) argument 59 if ((ITEM *) 0 == item) 60 item = menu->curitem; 61 assert(item != (ITEM *) 0); 66 *pX = item->x * (menu->spc_cols + menu->itemlen); 67 *pY = (item->y - menu->toprow) * menu->spc_rows; 76 | Description : Position logical cursor to current item in menu
|
H A D | m_global.c | 35 * Globally used internal routines and the default menu and item structures * 55 1, /* length of one item */ 67 (ITEM *)0, /* Current item */ 139 | the item array that indicates a connection 146 ITEM **item; local 149 for (item = items; *item; item++) 151 (*item)->index = 0; 152 (*item) 176 ITEM **item; local 384 ITEM *item; local [all...] |
/freebsd-11-stable/contrib/ofed/opensm/complib/ |
H A D | cl_nodenamemap.c | 62 name_map_item_t *item; local 68 item = malloc(sizeof(*item)); 69 if (!item) 71 item->guid = guid; 72 item->name = strdup(p); 73 cl_qmap_insert(map, item->guid, (cl_map_item_t *) item); 124 name_map_item_t *item = NULL; local 129 item 142 name_map_item_t *item = NULL; local [all...] |
/freebsd-11-stable/contrib/dialog/samples/ |
H A D | inputmenu | 49 item=`echo "$value" | sed -e 's/^[^:]*:[ ][ ]*//'` 52 Username) user="$item" ;; 53 UID) uid="$item" ;; 54 GID) gid="$item" ;; 55 HOME) home="$item" ;;
|
H A D | inputmenu-stdout | 47 item=`echo "$value" | sed -e 's/^[^:]*:[ ][ ]*//'` 50 Username) user="$item" ;; 51 UID) uid="$item" ;; 52 GID) gid="$item" ;; 53 HOME) home="$item" ;;
|
H A D | inputmenu2 | 26 --default-item "$defaultitem" "$@" \ 69 item=`echo "$value" |sed -e 's/^[^:]*:[ ]*//' -e 's/[ ]*$//'` 73 user="$item" 76 uid="$item" 79 gid="$item" 82 home="$item"
|
H A D | menubox10 | 10 --default-item Dialog "$@" \
|
H A D | menubox7 | 9 $DIALOG --clear --item-help --extra-button --extra-label "Choice" \
|
H A D | inputmenu1 | 61 item=`echo "$value" |sed -e 's/^[^:]*:[ ]*//' -e 's/[ ]*$//'` 65 user="$item" 68 uid="$item" 71 gid="$item" 74 home="$item"
|
H A D | inputmenu4 | 62 item=`echo "$value" |sed -e 's/^[^:]*:[ ]*//' -e 's/[ ]*$//'` 66 user="$item" 69 uid="$item" 72 gid="$item" 75 home="$item"
|
/freebsd-11-stable/sys/dev/ocs_fc/ |
H A D | ocs_list.h | 85 /* item2link - return pointer to link given pointer to an item */ 86 #define item2link(list, item) ((ocs_list_t*) (((uint8_t*)(item)) + (list)->offset)) 88 /* link2item - return pointer to item given pointer to a link */ 98 * @param offset Offset in bytes in item to the link element 214 * @brief Add an item to the head of the list 217 * @param item Item to add 220 ocs_list_add_head(ocs_list_t *list, void *item) argument 226 ocs_list_assert(item); 228 link = item2link(list, item); 248 ocs_list_add_tail(ocs_list_t *list, void *item) argument 324 ocs_list_next(ocs_list_t *list, void *item) argument 369 ocs_list_remove(ocs_list_t *list, void *item) argument [all...] |
/freebsd-11-stable/contrib/openpam/lib/libpam/ |
H A D | pam_set_item.c | 61 const void *item) 67 slot = &pamh->item[item_type]; 72 if (*slot != NULL && item != NULL) 87 if (item != NULL) 88 nsize = strlen(item) + 1; 103 if (item != NULL) { 106 memcpy(*slot, item, nsize); 121 * The =pam_set_item function sets the item specified by the =item_type 122 * argument to a copy of the object pointed to by the =item argument. 123 * The item i 59 pam_set_item(pam_handle_t *pamh, int item_type, const void *item) argument [all...] |
/freebsd-11-stable/crypto/heimdal/appl/login/ |
H A D | login_access.c | 49 static int list_match(char *list, struct login_info *item, 51 static int user_match(char *tok, struct login_info *item); 52 static int from_match(char *tok, struct login_info *item); 59 struct login_info item; local 73 item.user = user; 74 item.from = from; 115 match = (list_match(froms, &item, from_match) 116 && list_match(users, &item, user_match)); 125 /* list_match - match an item against a list of tokens with exceptions */ 129 struct login_info *item, 128 list_match(char *list, struct login_info *item, int (*match_fn)(char *, struct login_info *)) argument 193 user_match(char *tok, struct login_info *item) argument 228 from_match(char *tok, struct login_info *item) argument [all...] |
/freebsd-11-stable/crypto/heimdal/appl/rsh/ |
H A D | login_access.c | 49 static int list_match(char *list, struct login_info *item, 51 static int user_match(char *tok, struct login_info *item); 52 static int from_match(char *tok, struct login_info *item); 59 struct login_info item; local 73 item.user = user; 74 item.from = from; 115 match = (list_match(froms, &item, from_match) 116 && list_match(users, &item, user_match)); 125 /* list_match - match an item against a list of tokens with exceptions */ 129 struct login_info *item, 128 list_match(char *list, struct login_info *item, int (*match_fn)(char *, struct login_info *)) argument 193 user_match(char *tok, struct login_info *item) argument 228 from_match(char *tok, struct login_info *item) argument [all...] |
/freebsd-11-stable/sys/dev/drm/ |
H A D | drm_hashtab.h | 57 extern int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item); 58 extern int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, 61 extern int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item); 65 extern int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item);
|
/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_hashtab.h | 57 extern int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item); 58 extern int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, 61 extern int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item); 65 extern int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item);
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_ra_serf/ |
H A D | multistatus.c | 321 error_item_t *item; 323 item = apr_pcalloc(server_error->pool, sizeof(*item)); 325 item->path = apr_pstrdup(server_error->pool, 328 SVN_ERR(parse_status_line(&item->http_status, 329 &item->http_reason, 335 item->message = svn_hash_gets(attrs, "human-readable"); 337 if (item->message) 344 item->apr_err = (apr_status_t)val; 347 item 320 error_item_t *item; local 375 error_item_t *item; local 424 error_item_t *item; local 464 const error_item_t *item; local 742 const error_item_t *item; local [all...] |
/freebsd-11-stable/lib/libc/stdlib/ |
H A D | hcreate.c | 60 hsearch(ENTRY item, ACTION action) argument 70 if (hsearch_r(item, action, &retval, &global_hashtable) == 0)
|
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_base.c | 87 static struct mtx ngq_mtx; /* protects the queue item list */ 223 static int ng_generic_msg(node_p here, item_p item, hook_p lasthook); 228 static int ng_apply_item(node_p node, item_p item, int rw); 231 static int ng_con_nodes(item_p item, node_p node, const char *name, 233 static int ng_con_part2(node_p node, item_p item, hook_p hook); 234 static int ng_con_part3(node_p node, item_p item, hook_p hook); 257 "netgraph item structures"); 1344 ng_con_part3(node_p node, item_p item, hook_p hook) argument 1382 NG_FREE_ITEM(item); 1387 ng_con_part2(node_p node, item_p item, hook_ argument 1481 ng_con_nodes(item_p item, node_p node, const char *name, node_p node2, const char *name2) argument 1950 item_p item; local 2017 ng_queue_rw(node_p node, item_p item, int rw) argument 2045 ng_acquire_read(node_p node, item_p item) argument 2073 ng_acquire_write(node_p node, item_p item) argument 2179 item_p item; local 2227 ng_snd_item(item_p item, int flags) argument 2365 ng_apply_item(node_p node, item_p item, int rw) argument 2513 ng_generic_msg(node_p here, item_p item, hook_p lasthook) argument 2988 item_p item; local 3013 ng_free_item(item_p item) argument 3060 item_p item; local 3298 dumpitem(item_p item, char *file, int line) argument 3340 item_p item; local 3430 item_p item; local 3519 item_p item; local 3541 item_p item; local 3581 ng_address_hook(node_p here, item_p item, hook_p hook, ng_ID_t retaddr) argument 3617 ng_address_path(node_p here, item_p item, const char *address, ng_ID_t retaddr) argument 3642 ng_address_ID(node_p here, item_p item, ng_ID_t ID, ng_ID_t retaddr) argument 3671 item_p item; local 3711 item_p item; local 3741 item_p item; local 3779 item_p item = arg; local 3790 item_p item, oitem; local 3816 item_p item; local 3847 ng_replace_retaddr(node_p here, item_p item, ng_ID_t retaddr) argument [all...] |
/freebsd-11-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_ucast_dnup.c | 204 /* Insert dnup_switch item into the list */ 225 cl_map_item_t *item; local 235 for (item = cl_qmap_head(&p_dnup->p_osm->subn.sw_guid_tbl); 236 item != cl_qmap_end(&p_dnup->p_osm->subn.sw_guid_tbl); 237 item = cl_qmap_next(item)) { 238 p_sw = (osm_switch_t *)item; 301 cl_map_item_t *item; local 311 for (item = cl_qmap_head(&p_dnup->p_osm->subn.sw_guid_tbl); 312 item ! 412 cl_map_item_t *item; local [all...] |
/freebsd-11-stable/lib/libc/db/test/hash.tests/ |
H A D | tseq.c | 59 DBT item, key, res; local 71 * put info in structure, and structure in the item 73 for ( stat = (dbp->seq) (dbp, &res, &item, 1 ); 75 stat = (dbp->seq) (dbp, &res, &item, 0 ) ) { 79 bcopy ( item.data, cp, item.size ); 80 cp[item.size] = 0;
|
/freebsd-11-stable/lib/libpam/modules/pam_echo/ |
H A D | pam_echo.c | 53 int err, i, item; local 68 item = PAM_RHOST; 72 item = -1; 75 item = PAM_SERVICE; 78 item = PAM_TTY; 81 item = PAM_RUSER; 84 item = PAM_USER; 87 item = -1; 91 if (item == -1) 93 err = pam_get_item(pamh, item, [all...] |
/freebsd-11-stable/sys/dev/nxge/include/ |
H A D | xge-list.h | 37 * struct xge_list_t - List item. 38 * @prev: Previous list item. 39 * @next: Next list item. 77 * xge_list_first_get - Return the first item from the linked list. 80 * Returns the next item from the header. 81 * Returns NULL if the next item is header itself 97 * xge_list_remove - Remove the specified item from the linked list. 98 * item: element of the list 100 * Remove item from a list. 103 static inline void xge_list_remove(xge_list_t *item) argument [all...] |