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

1234567891011>>

/freebsd-9.3-release/contrib/ofed/management/opensm/complib/
H A Dcl_nodenamemap.c54 name_map_item_t *item; local
60 item = malloc(sizeof(*item));
61 if (!item)
63 item->guid = guid;
64 item->name = strdup(p);
65 cl_qmap_insert(map, item->guid, (cl_map_item_t *)item);
104 name_map_item_t *item = NULL; local
109 item
123 name_map_item_t *item = NULL; local
[all...]
/freebsd-9.3-release/contrib/dialog/samples/
H A Dinputmenu44 item="${value#*: }"
47 Username) user="$item";;
48 UID) uid="$item";;
49 GID) gid="$item";;
50 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 Dinputmenu-stdout37 item="${value#*: }"
40 Username) user="$item";;
41 UID) uid="$item";;
42 GID) gid="$item";;
43 HOME) home="$item";;
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-9.3-release/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-9.3-release/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-9.3-release/contrib/ncurses/menu/
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-9.3-release/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-9.3-release/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-9.3-release/sys/netgraph/
H A Dng_base.c86 static struct mtx ngq_mtx; /* protects the queue item list */
222 static int ng_generic_msg(node_p here, item_p item, hook_p lasthook);
227 static int ng_apply_item(node_p node, item_p item, int rw);
230 static int ng_con_nodes(item_p item, node_p node, const char *name,
232 static int ng_con_part2(node_p node, item_p item, hook_p hook);
233 static int ng_con_part3(node_p node, item_p item, hook_p hook);
256 "netgraph item structures");
1339 ng_con_part3(node_p node, item_p item, hook_p hook) argument
1377 NG_FREE_ITEM(item);
1382 ng_con_part2(node_p node, item_p item, hook_ argument
1476 ng_con_nodes(item_p item, node_p node, const char *name, node_p node2, const char *name2) argument
1945 item_p item; local
2012 ng_queue_rw(node_p node, item_p item, int rw) argument
2040 ng_acquire_read(node_p node, item_p item) argument
2068 ng_acquire_write(node_p node, item_p item) argument
2174 item_p item; local
2222 ng_snd_item(item_p item, int flags) argument
2360 ng_apply_item(node_p node, item_p item, int rw) argument
2508 ng_generic_msg(node_p here, item_p item, hook_p lasthook) argument
2982 item_p item; local
3007 ng_free_item(item_p item) argument
3054 item_p item; local
3292 dumpitem(item_p item, char *file, int line) argument
3334 item_p item; local
3424 item_p item; local
3513 item_p item; local
3535 item_p item; local
3575 ng_address_hook(node_p here, item_p item, hook_p hook, ng_ID_t retaddr) argument
3611 ng_address_path(node_p here, item_p item, char *address, ng_ID_t retaddr) argument
3636 ng_address_ID(node_p here, item_p item, ng_ID_t ID, ng_ID_t retaddr) argument
3665 item_p item; local
3705 item_p item; local
3735 item_p item; local
3773 item_p item = arg; local
3784 item_p item, oitem; local
3810 item_p item; local
3837 ng_replace_retaddr(node_p here, item_p item, ng_ID_t retaddr) argument
[all...]
H A Dng_ether_echo.c90 ngee_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
95 NGI_GET_MSG(item, msg);
97 NG_RESPOND_MSG(error, node, item, msg);
105 ngee_rcvdata(hook_p hook, item_p item) argument
114 NGI_GET_M(item, m);
118 NG_FREE_ITEM(item);
129 NG_FWD_NEW_DATA(error, item, hook, m);
/freebsd-9.3-release/contrib/openpam/lib/libpam/
H A Dpam_set_item.c61 const void *item)
69 slot = &pamh->item[item_type];
89 if (item != NULL)
90 nsize = strlen(item) + 1;
105 if (item != NULL) {
108 memcpy(tmp, item, nsize);
125 * The =pam_set_item function sets the item specified by the =item_type
126 * argument to a copy of the object pointed to by the =item argument.
127 * The item is stored in the PAM context specified by the =pamh argument.
128 * See =pam_get_item for a list of recognized item type
59 pam_set_item(pam_handle_t *pamh, int item_type, const void *item) argument
[all...]
/freebsd-9.3-release/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-9.3-release/crypto/openssl/demos/tunala/
H A Dtunala.c109 static int tunala_item_io(tunala_selector_t * selector, tunala_item_t * item);
613 * close. Don't increment loop or t_item because the next item is
641 /* Move to the next item */
1010 tunala_item_t *item; local
1021 item = world->tunnels + (world->tunnels_used++);
1022 state_machine_init(&item->sm);
1023 item->clean_read = item->clean_send =
1024 item->dirty_read = item
1055 tunala_item_t *item = world->tunnels + idx; local
1076 tunala_item_io(tunala_selector_t * selector, tunala_item_t * item) argument
[all...]
/freebsd-9.3-release/contrib/tcpdump/
H A Dmakemib232 function dump(item, c, s) {
233 # newitem=sofar"."item"("oid[item]")"
234 # printf "/* %s c=%s s=%s */\n", newitem, child[item], sibling[item]
236 if (child[item] != "") {
237 dump(child[item])
238 c = "&_"child[item]"_obj"
241 if (sibling[item] != "") {
242 dump(sibling[item])
[all...]
/freebsd-9.3-release/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-9.3-release/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...]
/freebsd-9.3-release/sys/dev/vxge/include/
H A Dvxge-list.h39 * struct vxge_list_t - List item.
40 * @prev: Previous list item.
41 * @next: Next list item.
81 * vxge_list_first_get - Return the first item from the linked list.
84 * Returns the next item from the header.
85 * Returns NULL if the next item is header itself
101 * vxge_list_remove - Remove the specified item from the linked list.
102 * @item: element of the list
104 * Remove item from a list.
107 static inline void vxge_list_remove(vxge_list_t *item) argument
[all...]
/freebsd-9.3-release/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_sunddi.c93 ddi_get_soft_state_locked(struct ddi_soft_state *ss, int item) argument
100 if (itemp->ssi_item == item)
107 ddi_get_soft_state(void *state, int item) argument
113 data = ddi_get_soft_state_locked(ss, item);
119 ddi_soft_state_zalloc(void *state, int item) argument
125 itemp->ssi_item = item;
129 if (ddi_get_soft_state_locked(ss, item) != NULL) {
141 ddi_soft_state_free_locked(struct ddi_soft_state *ss, int item) argument
148 if (itemp->ssi_item == item)
159 ddi_soft_state_free(void *state, int item) argument
186 int item; local
[all...]

Completed in 343 milliseconds

1234567891011>>