Searched refs:item (Results 26 - 50 of 525) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/ncurses/menu/
H A Dmenu.priv.h54 /* 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 Dm_hook.c110 | 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 Dm_cursor.c46 | 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 Dm_global.c35 * 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 Dcl_nodenamemap.c62 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 Dinputmenu49 item=`echo "$value" | sed -e 's/^[^:]*:[ ][ ]*//'`
52 Username) user="$item" ;;
53 UID) uid="$item" ;;
54 GID) gid="$item" ;;
55 HOME) home="$item" ;;
H A Dinputmenu-stdout47 item=`echo "$value" | sed -e 's/^[^:]*:[ ][ ]*//'`
50 Username) user="$item" ;;
51 UID) uid="$item" ;;
52 GID) gid="$item" ;;
53 HOME) home="$item" ;;
H A Dinputmenu226 --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 Dmenubox1010 --default-item Dialog "$@" \
H A Dmenubox79 $DIALOG --clear --item-help --extra-button --extra-label "Choice" \
H A Dinputmenu161 item=`echo "$value" |sed -e 's/^[^:]*:[ ]*//' -e 's/[ ]*$//'`
65 user="$item"
68 uid="$item"
71 gid="$item"
74 home="$item"
H A Dinputmenu462 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 Docs_list.h85 /* 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 Dpam_set_item.c61 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 Dlogin_access.c49 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 Dlogin_access.c49 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 Ddrm_hashtab.h57 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 Ddrm_hashtab.h57 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 Dmultistatus.c321 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 Dhcreate.c60 hsearch(ENTRY item, ACTION action) argument
70 if (hsearch_r(item, action, &retval, &global_hashtable) == 0)
/freebsd-11-stable/sys/netgraph/
H A Dng_base.c87 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 Dosm_ucast_dnup.c204 /* 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 Dtseq.c59 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 Dpam_echo.c53 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 Dxge-list.h37 * 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...]

Completed in 340 milliseconds

1234567891011>>