Searched defs:item (Results 1 - 19 of 19) sorted by relevance

/ast/src/lib/libast/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*);
/ast/src/lib/libdss/
H A Ddssopt.c28 * format optget(3) description item on sp given plain text and item name
164 Cxitem_t* item; local
176 for (item = (Cxitem_t*)dtfirst(map->num2str); item; item = (Cxitem_t*)dtnext(map->num2str, item))
177 if (item->mask == item->value)
178 sfprintf(sp, "[+%s?0x%016llx]", item
[all...]
H A Dcxmap.c54 register Cxitem_t* item; local
113 masks = part->item ? part->item->mask : 0;
114 for (item = part->item; item; item = item->next)
117 dtinsert(fp->str2num, item);
118 if (item
170 register Cxitem_t* item; local
303 Cxitem_t* item; local
[all...]
H A Dtag.c428 register int item; local
444 item = 0;
455 if (item == '&')
456 item = 0;
457 if (!item)
480 item = c;
494 if (item == '<' && !(quote & STRING))
496 item = 0;
631 if (item == '<')
636 if (!item)
[all...]
H A Dcx.h322 struct Cxitem_s /* map item */
324 Cxitem_t* next; /* next item */
325 const char* name; /* item name */
327 Cxunsigned_t value; /* item value */
352 Cxitem_t* item; /* item list */ member in struct:Cxpart_s
354 Cxtype_t* type; /* item value type */
/ast/src/cmd/ksh93/bltins/
H A Dalarm.c55 * insert timeout item on current given list in sorted order
57 static void *time_add(struct tevent *item, void *list) argument
60 if(!tp || item->milli < tp->milli)
62 item->next = tp;
63 list = (void*)item;
67 while(tp->next && item->milli > tp->next->milli)
69 item->next = tp->next;
70 tp->next = item;
72 tp = item;
78 * delete timeout item fro
80 time_delete(register struct tevent *item, void *list) argument
[all...]
/ast/src/cmd/cs/vcs_src/
H A Difs_agent.c58 * Find a agent item from the AgentTable
65 struct agent_item *item; local
70 item = AgentTable;
71 while( item != NULL ) {
72 if( strcmp( name, item->name ) == 0 )
73 return item;
74 item = item->next;
416 struct mount_item *item; local
422 item
[all...]
/ast/src/cmd/re/
H A Dgrep.c128 typedef struct Item_s /* list item - sue me for waste */
326 Item_t* item = (Item_t*)handle; local
328 item->hits++;
336 sfprintf(sfstdout, "%s:", item->string);
/ast/src/cmd/jcl/
H A Dcpy2dss.c143 int item; member in struct:Cpy_s
220 if (cpy->item)
222 cpy->item = 0;
280 cpy->item = 1;
/ast/src/lib/libast/port/
H A Dastlicense.c200 Item_t item[ITEMS]; member in struct:Notice_s
210 lookup(register const Item_t* item, const char* name, int size) argument
216 for (i = 0; item[i].data; i++)
217 if (c == item[i].data[0] && size == item[i].size && !strncmp(name, item[i].data, size))
296 expand(Notice_t* notice, register Buffer_t* b, const Item_t* item) argument
308 if (t = item->data)
310 q = item->quote;
311 e = t + item
520 Item_t item; local
[all...]
/ast/src/cmd/html/
H A Dhtml2rtf.c893 register int item; local
914 item = 0;
924 if (!item)
926 item = c;
943 if (item == '<' && !(quote & STRING))
945 item = 0;
1082 if (!item)
1084 item = c;
1090 if (item == '&')
1092 item
[all...]
/ast/src/cmd/ksh93/sh/
H A Dparse.c63 static Shnode_t *item(Lex_t*,int);
97 * write out entities for each item in the list
556 * item
557 * item | term
577 else if((t=item(lexp,SH_NL|SH_EMPTY|(flag&SH_SEMI))) && (lexp->token=='|' || lexp->token==PIPESYM2))
579 else if((t=item(lexp,SH_NL|SH_EMPTY|(flag&SH_SEMI))) && lexp->token=='|')
894 t->funct.functtre = item(lexp,SH_NOIO);
1106 * item
1116 static Shnode_t *item(Lex_t *lexp,int flag) function
1180 (tok==ELIFSYM?(lexp->token=IFSYM, tt=item(lex
[all...]
H A Dio.c2254 struct openlist *item; local
2260 item = new_of(struct openlist, 0);
2261 item->strm = sp;
2262 item->next = pp->olist;
2263 pp->olist = item;
2274 struct openlist *item; local
2275 for(item=pp->olist; item; item=item
[all...]
H A Dxec.c659 struct openlist *item,*next; local
660 for(item=olist;item;item=next)
662 next = item->next;
663 free((void*)item);
1335 struct openlist *item; local
1344 for(item=buffp->olist;item;item
1403 struct openlist *item; local
[all...]
/ast/src/cmd/nmake/
H A Dparse.c1549 int item = 0; local
1605 if (item < 2 && *s == '=')
1644 else if (item < 2)
1648 item++;
1652 item++;
/ast/src/cmd/pax/
H A Dpax.h340 void* item; /* list item pointer */ member in struct:List_s
/ast/src/cmd/INIT/
H A Dmamake.c163 typedef struct Dict_item_s /* dictionary item */
173 Dict_item_t* root; /* root item */
179 struct Rule_s* rule; /* list item */
182 typedef struct Rule_s /* rule item */
298 report(int level, char* text, char* item, unsigned long stamp) argument
325 if (item)
326 fprintf(stderr, "%s: ", item);
473 * return the value for item name in dictionary dict
572 apply(Dict_t* dict, Dict_item_t* item, int (*func)(Dict_item_t*, void*), void* handle) argument
578 right = item
1724 verify(Dict_item_t* item, void* handle) argument
1782 scan(Dict_item_t* item, void* handle) argument
1967 descend(Dict_item_t* item, void* handle) argument
1981 active(Dict_item_t* item, void* handle) argument
[all...]
H A Dproto.c1569 Item_t item[(sizeof(key)/sizeof(key[0])-1)]; member in struct:Notice_s
1579 lookup __PARAM__((register const Item_t* item, const char* name, int size), (item, name, size)) __OTORP__(register const Item_t* item; const char* name; int size;){
1584 for (i = 0; item[i].data; i++)
1585 if (c == item[i].data[0] && size == item[i].size && !sstrncmp( name, item[i].data, size))
1654 expand __PARAM__((Notice_t* notice, register Buffer_t* b, const Item_t* item), (notice, b, item)) __OTORP_
1874 Item_t item; local
[all...]
/ast/src/lib/libast/misc/
H A Doptget.c1693 item(Sfio_t* sp, char* s, int about, int level, int style, Sfio_t* ip, int version, char* id, char* catalog, int* hflags) function
1908 par = item(sp, w, about, level, style, ip, version, id, ID, hflags);
1945 par = item(sp, t, about, level, style, ip, version, id, catalog, hflags);
3261 item(sp_body, (flags & OPT_functions) ? C("FUNCTIONS") : C("OPTIONS"), 0, 0, style, sp_info, version, id, ID, &bflags);
3493 item(sp_body, C("IMPLEMENTATION"), 0, 0, style, sp_info, version, id, ID, &bflags);
3665 item(sp, C("SYNOPSIS"), 0, 0, style, sp_info, version, id, ID, &hflags);

Completed in 99 milliseconds