/titanic_51/usr/src/cmd/vgrind/ |
H A D | regexp.c | 14 #define NIL 0 macro 24 (isalnum(c) || ((c) != NIL && strchr(l_idchars, (c)) != NIL)) 120 if (re == NIL) in convexp() 121 return (NIL); in convexp() 123 return (NIL); in convexp() 148 acs = NIL; in expconv() 149 cs = NIL; in expconv() 150 while (*ure != NIL) { in expconv() 158 if (cs == NIL || (*c in expconv() [all...] |
H A D | vfontedpr.c | 20 #define NIL 0 macro 263 if (tgetstr ("kw", &cp) == NIL) in main() 278 *cpp = NIL; in main() 307 if (l_idchars == NIL) in main() 427 #define isidchr(c) (isalnum(c) || ((c) != NIL && strchr(l_idchars, (c)) != NIL)) 459 if (expmatch (s, l_prcenable, dummy) != NIL) in putScp() 475 if (comptr != NIL) in putScp() 476 if ((comptr < strptr || strptr == NIL) in putScp() 477 && (comptr < acmptr || acmptr == NIL) in putScp() [all...] |
/titanic_51/usr/src/lib/libast/common/sfio/ |
H A D | sfextern.c | 43 { NIL(Sfpool_t*), 0, 0, 0, NIL(Sfio_t**) }, /* _Sfpool */ 44 NIL(int(*)_ARG_((Sfio_t*,int))), /* _Sfpmove */ 45 NIL(Sfio_t*(*)_ARG_((Sfio_t*, Sfio_t*))), /* _Sfstack */ 46 NIL(void(*)_ARG_((Sfio_t*, int, void*))), /* _Sfnotify */ 47 NIL(int(*)_ARG_((Sfio_t*))), /* _Sfstdsync */ 48 { NIL(Sfread_f), /* _Sfudisc */ 49 NIL(Sfwrite_f), 50 NIL(Sfseek_f), 51 NIL(Sfexcept_f), 52 NIL(Sfdisc_t*) [all …]
|
H A D | sftmp.c | 75 for(last = NIL(File_t*), ff = File; ff; last = ff, ff = ff->next) 108 _tmprmfile(ff->f, SF_CLOSING, NIL(Void_t*), ff->f->disc); in _rmfiles() 114 { NIL(Sfread_f), NIL(Sfwrite_f), NIL(Sfseek_f), _tmprmfile, NIL(Sfdisc_t*) }; 163 return NIL(char**); 175 return NIL(char**); 178 return NIL(char**); 192 dirs[n] = NIL(char*); 225 Tmppath = NIL(char**); 229 Tmppath[1] = NIL(char*); 244 A = (ulong)time(NIL(time_t*)) ^ (((ulong)(&t)) >> 3); [all …]
|
H A D | sfnew.c | 48 return NIL(Sfio_t*); 54 f->mutex = NIL(Vtmutex_t*); 56 oldf = NIL(Sfio_t*); 61 return NIL(Sfio_t*); 63 oldf = NIL(Sfio_t*); 71 return NIL(Sfio_t*); 76 f->data = NIL(uchar*); 92 else f = NIL(Sfio_t*); 98 return NIL(Sfio_t*); 99 SFCLEAR(f, NIL(Vtmutex_t*)); [all …]
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfextern.c | 43 { NIL(Sfpool_t*), 0, 0, 0, NIL(Sfio_t**) }, /* _Sfpool */ 44 NIL(int(*)_ARG_((Sfio_t*,int))), /* _Sfpmove */ 45 NIL(Sfio_t*(*)_ARG_((Sfio_t*, Sfio_t*))), /* _Sfstack */ 46 NIL(void(*)_ARG_((Sfio_t*, int, void*))), /* _Sfnotify */ 47 NIL(int(*)_ARG_((Sfio_t*))), /* _Sfstdsync */ 48 { NIL(Sfread_f), /* _Sfudisc */ 49 NIL(Sfwrite_f), 50 NIL(Sfseek_f), 51 NIL(Sfexcept_ [all...] |
H A D | sftmp.c | 75 for(last = NIL(File_t*), ff = File; ff; last = ff, ff = ff->next) 108 _tmprmfile(ff->f, SF_CLOSING, NIL(Void_t*), ff->f->disc); in _rmfiles() 114 { NIL(Sfread_f), NIL(Sfwrite_f), NIL(Sfseek_f), _tmprmfile, NIL(Sfdisc_t*) }; 163 return NIL(char**); 175 return NIL(char**); 178 return NIL(char**); 192 dirs[n] = NIL(cha [all...] |
H A D | sfnew.c | 48 return NIL(Sfio_t*); 54 f->mutex = NIL(Vtmutex_t*); 56 oldf = NIL(Sfio_t*); 61 return NIL(Sfio_t*); 63 oldf = NIL(Sfio_t*); 71 return NIL(Sfio_t*); 76 f->data = NIL(uchar*); 92 else f = NIL(Sfio_t*); 98 return NIL(Sfio_t*); 99 SFCLEAR(f, NIL(Vtmutex_ [all...] |
H A D | sfpopen.c | 93 argv[n] = NIL(char*); 127 execl(interp, s+1, "-c", argcmd, NIL(char*)); 151 sflags = _sftype(mode, NIL(int*), NIL(int*), NIL(int*)); 155 f = NIL(Sfio_t*); 171 if (!(f = sfnew(f, NIL(Void_t*), (size_t)SF_UNBOUND, 198 return NIL(Sfio_t*); 199 sflags = _sftype(mode,NIL(int*),NIL(in [all...] |
/titanic_51/usr/src/lib/libast/common/cdt/ |
H A D | dtopen.c | 43 return NIL(Dt_t*); 47 return NIL(Dt_t*); 50 dt->searchf = NIL(Dtsearch_f); 51 dt->meth = NIL(Dtmethod_t*); 52 dt->disc = NIL(Dtdisc_t*); 56 dt->view = dt->walk = NIL(Dt_t*); 57 dt->user = NIL(Void_t*); 61 data = NIL(Dtdata_t*); 76 return NIL(Dt_t*); 77 dt->searchf = NIL(Dtsearch_f); [all …]
|
H A D | dthash.c | 74 olds = dt->data->ntab == 0 ? NIL(Dtlink_t**) : dt->data->htab; 83 *hs = NIL(Dtlink_t*); 85 { for(p = NIL(Dtlink_t*), t = *hs; t; t = r) 127 return NIL(Void_t*); 134 *s = NIL(Dtlink_t*); 146 dt->data->here = NIL(Dtlink_t*); 149 return NIL(Void_t*); 152 { t = NIL(Dtlink_t*); 161 return t ? _DTOBJ(t,lk) : NIL(Void_t*); 168 return NIL(Void_t*); [all …]
|
/titanic_51/usr/src/cmd/mailx/ |
H A D | names.c | 72 np->n_flink = NIL; in nalloc() 73 np->n_blink = NIL; in nalloc() 90 if (np == NIL) in tailof() 91 return (NIL); in tailof() 92 while (np->n_flink != NIL) in tailof() 100 * Return the list or NIL if none found. 113 return (NIL); in extract() 115 top = NIL; in extract() 116 np = NIL; in extract() 119 if (np != NIL in extract() [all...] |
/titanic_51/usr/src/cmd/backup/restore/ |
H A D | symtab.c | 60 return (NIL); 61 for (ep = entry[inum % entrytblsize]; ep != NIL; ep = ep->e_next) 64 return (NIL); 102 for (np = np->e_next; np != NIL; np = np->e_next) 128 for (next = *prev; next != NIL; next = next->e_next) { 156 return (NIL); 160 for (ep = lookupino(ROOTINO); ep != NIL; ep = ep->e_entries) { 165 for (; ep != NIL; ep = ep->e_sibling) 180 if (ep == NIL) 183 return (NIL); [all...] |
/titanic_51/usr/src/contrib/ast/src/lib/libast/vmalloc/ |
H A D | vmopen.c | 74 return NIL(Vmalloc_t*); 87 { addr = NIL(Vmuchar_t*); 89 return NIL(Vmalloc_t*); 96 return NIL(Vmalloc_t*); 107 if(!(addr = (Vmuchar_t*)(*disc->memoryf)(vmp, NIL(Void_t*), 0, size, disc)) ) 108 return NIL(Vmalloc_t*); 118 vd->free = vd->wild = NIL(Block_t*); 122 vd->root = NIL(Block_t*); 124 TINY(vd)[k] = NIL(Block_t*); 126 CACHE(vd)[k] = NIL(Block_ [all...] |
H A D | vmbest.c | 328 { LEFT(r) = NIL(Block_t*); 329 RIGHT(l) = NIL(Block_t*); 374 /**/ASSERT(_vmbestcheck(vd, NIL(Block_t*)) == 0); 378 vd->free = NIL(Block_t*); 383 { list = CACHE(vd)[n]; CACHE(vd)[n] = NIL(Block_t*); 421 vd->wild = NIL(Block_t*); 461 TLEFT(fp) = NIL(Block_t*); 466 LEFT(fp) = NIL(Block_t*); 473 LEFT(fp) = RIGHT(fp) = LINK(fp) = NIL(Block_t*); 536 bestreclaim(vd,NIL(Block_ [all...] |
/titanic_51/usr/src/cmd/awk/ |
H A D | awk.g.y | 137 { $$ = stat4(FOR, $3, NIL, $6, $8); } 185 pa_pat { $$ = stat2(PASTAT, $1, stat2(PRINT, rectonode(), NIL)); } 187 | pa_pat ',' pa_pat { $$ = pa2stat($1, $3, stat2(PRINT, rectonode(), NIL)); } 189 | lbrace stmtlist '}' { $$ = stat2(PASTAT, NIL, $2); } 218 | ppattern MATCHOP reg_expr { $$ = op3($2, NIL, $1, (Node*)makedfa($3, 0)); } 221 $$ = op3($2, NIL, $1, (Node*)makedfa(strnode($3), 0)); 228 { $$ = op3(MATCH, NIL, rectonode(), (Node*)makedfa($1, 0)); } 248 | pattern MATCHOP reg_expr { $$ = op3($2, NIL, $1, (Node*)makedfa($3, 0)); } 251 $$ = op3($2, NIL, $1, (Node*)makedfa(strnode($3), 0)); 260 { $$ = op3(MATCH, NIL, rectonod [all...] |
/titanic_51/usr/src/lib/libast/common/vmalloc/ |
H A D | vmmopen.c | 99 base = NIL(Void_t*); 117 base = NIL(Void_t*); 131 base = NIL(Void_t*); 142 hdr->user = NIL(User_t*); 172 return NIL(Void_t*); 176 return NIL(Void_t*); 178 return NIL(Void_t*); 190 return NIL(Void_t*); 197 caddr = NIL(Void_t*); 203 mmdc->mm = NIL(Mmvm_t*); [all …]
|
H A D | vmopen.c | 66 return NIL(Vmalloc_t*); 73 return NIL(Vmalloc_t*); 76 vm->file = NIL(char*); 80 { addr = NIL(Vmuchar_t*); 98 return NIL(Vmalloc_t*); 109 if(!(addr = (Vmuchar_t*)(*memoryf)(vm,NIL(Void_t*),0,s,disc)) ) 111 return NIL(Vmalloc_t*); 123 vd->free = vd->wild = NIL(Block_t*); 129 { vd->root = NIL(Block_t*); 131 TINY(vd)[e] = NIL(Block_t*); [all …]
|
H A D | vmprivate.c | 68 return NIL(Block_t*); 70 return NIL(Block_t*); 78 addr = NIL(Vmuchar_t*); 90 seg = NIL(Seg_t*); 99 { if((addr = (Vmuchar_t*)(*memoryf)(vm,NIL(Void_t*),0,size,vm->disc)) ) 104 return NIL(Block_t*); 114 return NIL(Block_t*); 132 vd->wild = NIL(Block_t*); 140 seg->free = NIL(Block_t*); 165 seg->free = NIL(Block_t*); [all …]
|
/titanic_51/usr/src/lib/libast/common/comp/ |
H A D | tsearch.c | 90 NIL(Dtmake_f), NIL(Dtfree_f), 92 NIL(Dthash_f), 93 NIL(Dtmemory_f), 94 NIL(Dtevent_f) 115 return NIL(Void_t*); 122 return NIL(Void_t*); 129 else if(*rootp == NIL(Void_t*) ) 150 return NIL(Void_t*); 153 return (o = (Tree_t*)dtmatch(dt,key)) ? (Void_t*)(&o->key) : NIL(Void_t*); 177 return NIL(Void_t*); [all …]
|
H A D | hsearch.c | 85 NIL(Dtmake_f), hashfree, 86 NIL(Dtcompar_f), /* always use strcmp */ 87 NIL(Dthash_f), 88 NIL(Dtmemory_f), 89 NIL(Dtevent_f) 112 Hashtab = NIL(Dt_t*); in hdestroy() 127 return NIL(ENTRY*); 135 return o ? &(o->item) : NIL(ENTRY*);
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | tsearch.c | 92 NIL(Dtmake_f), NIL(Dtfree_f), 94 NIL(Dthash_f), 95 NIL(Dtmemory_f), 96 NIL(Dtevent_f) 117 return NIL(Void_t*); 124 return NIL(Void_t*); 131 else if(*rootp == NIL(Void_t*) ) 152 return NIL(Void_t*); 155 return (o = (Tree_t*)dtmatch(dt,key)) ? (Void_t*)(&o->key) : NIL(Void_ [all...] |
H A D | hsearch.c | 85 NIL(Dtmake_f), hashfree, 86 NIL(Dtcompar_f), /* always use strcmp */ 87 NIL(Dthash_f), 88 NIL(Dtmemory_f), 89 NIL(Dtevent_f) 112 Hashtab = NIL(Dt_t*); in hdestroy() 127 return NIL(ENTRY*); 135 return o ? &(o->item) : NIL(ENTRY*);
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/cdt/ |
H A D | dtview.c | 50 o = NIL(Void_t*); 64 return NIL(Void_t*); 67 n = nky = NIL(Void_t*); p = NIL(Dt_t*); 93 return NIL(Void_t*); 101 return NIL(Void_t*); 116 return NIL(Void_t*); 118 obj = (*(d->meth->searchf))(d,NIL(Void_t*),DT_FIRST); 119 else obj = (*(d->meth->searchf))(d,NIL(Void_t*),DT_LAST); 134 return NIL(Dt_ [all...] |
H A D | dtopen.c | 52 return NIL(Dt_t*); 54 dt = NIL(Dt_t*); 55 data = NIL(Dtdata_t*); 65 return NIL(Dt_t*); /* something bad happened */ 70 return NIL(Dt_t*); 82 if((*meth->eventf)(&pdt, DT_OPEN, NIL(Void_t*)) < 0 || !pdt.data ) 83 return NIL(Dt_t*); 90 { (void)(*meth->eventf)(&pdt, DT_CLOSE, NIL(Void_t*)); 92 return NIL(Dt_t*); 129 return NIL(Dtlink_ in _dtmake() [all...] |