Searched refs:item (Results 1 - 25 of 256) sorted by relevance

1234567891011

/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dwherelist.c40 char * item,
44 wherelist (item, list)
45 register char *item;
53 if (STREQU(*list, item))
39 wherelist( char * item, char ** list ) argument
H A Dcharset.c40 char * item,
44 search_cslist (item, list)
45 register char *item;
55 else if (STREQU(item, NAME_ANY))
56 return (item);
64 if (alias && STREQU(alias+1, item))
39 search_cslist( char * item, char ** list ) argument
H A Dsearchlist.c40 char * item,
44 searchlist (item, list)
45 register char *item;
52 else if (STREQU(item, NAME_ANY) || STREQU(item, NAME_ALL))
61 STREQU(*list, item)
78 char * item,
82 searchlist_with_terminfo (item, list)
83 register char *item;
90 else if (STREQU(item, NAME_AN
39 searchlist( char * item, char ** list ) argument
77 searchlist_with_terminfo( char * item, char ** list ) argument
[all...]
H A Dappendlist.c44 char * item
47 appendlist (plist, item)
49 *item;
67 (*plist)[n - 1] = Strdup(item);
77 (*plist)[0] = Strdup(item);
H A Daddlist.c43 char * item
46 addlist (plist, item)
48 *item;
60 if (STREQU(*pl, item))
74 (*plist)[n - 1] = Strdup(item);
86 (*plist)[0] = Strdup(item);
H A Ddellist.c42 char * item
45 dellist (plist, item)
47 *item;
59 if (STREQU(*pl, item))
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_util.c34 inj_item2str(inj_itemtype_t item) argument
38 return (item >= 0 &&
39 item < sizeof (names) / sizeof (char *) ? names[item] : "???");
43 inj_item2mem(inj_itemtype_t item) argument
49 assert(item >= 0 && item < sizeof (mems) / sizeof (inj_memtype_t));
50 return (mems[item]);
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_list.c32 * two structure members of each item are the 'next' and 'prev' pointers.
55 * Returns pointer to the first item in the list (but does not remove it)
66 * Adds item to the end of the list
69 av1394_list_put_tail(av1394_list_t *lp, void *item) argument
71 ITEM(item)->i_next = NULL;
72 ITEM(item)->i_prev = lp->l_tail;
76 lp->l_head = lp->l_tail = item;
78 lp->l_tail->i_next = item;
79 lp->l_tail = item;
86 * Inserts item i
89 av1394_list_put_head(av1394_list_t *lp, void *item) argument
111 av1394_list_item_t *item; local
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_item_c.x42 struct item{
50 %class item {
54 %/* Constructor: creates item using given character sequence and length */
55 % item( char* str, int len);
57 %/* Constructor: creates item by copying given item */
58 % item( item* );
60 %/* Constructor: creates empty item (zero length and null value). */
61 % item() {le
[all...]
H A Dnis_hashitem.c51 * Unless an item destructor has been established, an item
54 * the deletion is holding a read-only lock on the item.
110 * access to an item.
183 * nis_*item() functions, we might as well sanity check
261 * < 0 Exclusive access to item
263 * > 0 Non-exclusive access (read-only) to item
266 * item (__nis_release_item()).
271 __nis_hash_item_mt *item = arg; local
275 if (item
314 __nis_hash_item_mt *item; local
350 __nis_hash_item_mt *item; local
409 __nis_hash_item_mt *item, *cur, *prev; local
583 __nis_hash_item_mt *item = arg; local
647 __nis_hash_item_mt *item = arg; local
[all...]
H A Ddb_item.cc52 /* Constructor: creates item using given character sequence and length */
53 item::item(char *str, int n) function in class:item
57 FATAL("item::item: cannot allocate space", DB_MEMORY_LIMIT);
63 /* Constructor: creates item by copying given item */
64 item::item(item *mode function in class:item
[all...]
H A Ddb_index_entry_c.x67 item *key;
84 % item *key;
95 % db_index_entry( unsigned long hval, item *, entryp, db_index_entry *n);
116 % db_index_entry* lookup( bool_t, unsigned long, item*, long *);
120 % db_index_entry* lookup( bool_t, unsigned long, item*, entryp ); //name entry
124 % db_index_entry* getnext( bool_t, unsigned long, item*, entryp );
139 % item * get_key() {return key;}
148 % bool_t remove( db_index_entry **, bool_t, unsigned long, item *, entryp );
161 % bool_t add( db_index_entry **oldhead, bool_t, unsigned long hval, item *,
/illumos-gate/usr/src/lib/libeti/menu/common/
H A Dnewitem.c43 ITEM *item; local
45 if (item = (ITEM *) calloc(1, sizeof (ITEM))) {
47 *item = *Dfl_Item;
50 Name(item) = name;
51 Description(item) = desc;
54 NameLen(item) = strlen(name);
56 free(item); /* Can't have a null name */
60 DescriptionLen(item) = strlen(desc);
62 DescriptionLen(item) = 0;
65 return (item);
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/common/
H A Dvolume_dlist.c47 * determine if the list contains an item
60 * locate the item in the list that points at the object
80 * insert item into list in the desired order (ascending or descending)
84 * and item is the item to be inserted.
88 * if (ascending && compare(item, iter) <= 0 ||
89 * (descending && compare(item, iter) >= 0)
90 * item goes before iter
92 * item goes after iter
96 dlist_t *item,
95 dlist_insert_ordered( dlist_t *item, dlist_t *list, boolean_t ascending, int (compare)(void *, void *)) argument
185 dlist_t *item; local
213 dlist_remove( dlist_t *item) argument
243 dlist_append( dlist_t *item, dlist_t *list, boolean_t attail) argument
303 dlist_t *item = dlist_new_item(object); local
368 dlist_t *item = (dlist_t *)calloc(1, sizeof (dlist_t)); local
388 dlist_t *item = head; local
428 dlist_t *item; local
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dtnf_writer.h128 #define tnf_char(ops, item, ref) (item)
131 #define tnf_int8(ops, item, ref) (item)
134 #define tnf_uint8(ops, item, ref) (item)
137 #define tnf_int16(ops, item, ref) (item)
140 #define tnf_uint16(ops, item, ref) (item)
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhsearch.c71 hsearch(item, action)
72 ENTRY item;
80 key.data = (u_char *)item.key;
81 key.size = strlen(item.key) + 1;
84 val.data = (u_char *)item.data;
85 val.size = strlen(item.data) + 1;
95 item.data = (char *)val.data;
97 retval.key = item.key;
98 retval.data = item.data;
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_ht.c35 * |handle|---> |index 0|--->|item|--->|item|--->
39 * |index 2|--->|item|--->|item|--->|item|--->
135 HT_ITEM *item; local
143 while ((item = ht_findfirst(handle, &iterator)) != 0)
144 (void) ht_remove_item(handle, item->hi_key);
171 * corresponding item in the hash table. The handle and key pointers
174 * Returns the table index location for the item
234 HT_ITEM *item; local
499 ht_mark_delete(HT_HANDLE *handle, HT_ITEM *item) argument
513 ht_clear_delete(HT_HANDLE *handle, HT_ITEM *item) argument
530 HT_ITEM *item = head; local
550 HT_ITEM *item; local
591 HT_ITEM *item; local
[all...]
/illumos-gate/usr/src/ucblib/libdbm/
H A Ddbm.c54 int additem(char buf[PBLKSIZ], datum item);
146 datum item; local
150 item = makdatum(pagbuf, i);
151 if (item.dptr == NULL)
152 return (item);
153 if (cmpdatum(key, item) == 0) {
154 item = makdatum(pagbuf, i+1);
155 if (item.dptr == NULL)
157 return (item);
166 datum item; local
190 datum item; local
279 datum item, bitem; local
309 datum item, bitem; local
407 datum item; local
493 calchash(datum item) argument
546 additem(char buf[PBLKSIZ], datum item) argument
[all...]
/illumos-gate/usr/src/lib/libnsl/yp/
H A Ddbm.c143 datum item; local
147 item = makdatum(pagbuf, i);
148 if (item.dptr == NULL) {
149 return (item);
151 if (cmpdatum(key, item) == 0) {
152 item = makdatum(pagbuf, i+1);
153 if (item.dptr == NULL)
155 return (item);
164 datum item; local
170 item
188 datum item; local
264 datum item, bitem; local
298 datum item, bitem; local
398 datum item; local
486 calchash(datum item) argument
540 additem(char buf[PBLKSIZ], datum item) argument
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/hsearch/
H A Dhsearch.c83 __db_hsearch(item, action)
84 ENTRY item;
95 key.data = item.key;
96 key.size = strlen(item.key) + 1;
100 val.data = item.data;
101 val.size = strlen(item.data) + 1;
124 item.data = (char *)val.data;
130 retval.key = item.key;
131 retval.data = item.data;
/illumos-gate/usr/src/cmd/sh/
H A Dhash.c52 ENTRY item; member in struct:node
102 (*uscan)(&p->item);
131 while (p != 0 && (res = STRCMP(str, p->item.key)))
138 return(&(p->item));
149 henter(item)
150 ENTRY item;
154 p->item = item;
157 return(&(p->item));
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dhsearch.c64 ENTRY item; member in struct:_hash_s
77 free(((Hash_t*)obj)->item.key);
117 ENTRY* hsearch(ENTRY item, ACTION action) argument
119 ENTRY* hsearch(item, action)
120 ENTRY item;
129 if(!(o = (Hash_t*)dtmatch(Hashtab,item.key)) && action == ENTER &&
131 { o->item = item;
135 return o ? &(o->item) : NIL(ENTRY*);
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_cache.c47 static void hash_callback(HT_ITEM *item);
92 HT_ITEM *item; local
96 item = ht_findfirst(smb_netbios_cache, &iter->nbc_hti);
97 if (item == NULL || item->hi_data == NULL) {
102 entry = (struct name_entry *)item->hi_data;
115 HT_ITEM *item; local
119 item = ht_findnext(&iter->nbc_hti);
120 if (item == NULL || item
145 HT_ITEM *item; local
199 HT_ITEM *item; local
232 HT_ITEM *item; local
309 HT_ITEM *item; local
391 HT_ITEM *item; local
441 HT_ITEM *item; local
477 smb_netbios_cache_insrefq(name_queue_t *refq, HT_ITEM *item) argument
522 HT_ITEM *item; local
572 HT_ITEM *item; local
637 HT_ITEM *item; local
788 hash_callback(HT_ITEM *item) argument
[all...]
/illumos-gate/usr/src/lib/libast/common/port/
H A Dastlicense.c182 Item_t item[ITEMS]; member in struct:Notice_s
192 lookup(register const Item_t* item, const char* name, int size) argument
198 for (i = 0; item[i].data; i++)
199 if (c == item[i].data[0] && size == item[i].size && !strncmp(name, item[i].data, size))
278 expand(Notice_t* notice, register Buffer_t* b, const Item_t* item) argument
288 if (t = item->data)
290 q = item->quote;
291 e = t + item
397 Item_t item; local
[all...]
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_ip_route.c210 mib_item_t *item; local
213 item = item_list;
214 item_list = item->next_item;
215 if (item->valp)
216 free(item->valp);
217 free(item);
235 mib_item_t *item; local
279 for (item = item_list; item; item
435 mib_item_t *item; local
[all...]

Completed in 140 milliseconds

1234567891011