/ast/src/lib/libvgraph/ |
H A D | grhdr.h | 9 #ifndef NIL 10 #define NIL(type) ((type)0) macro
|
/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 | 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 | 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); 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...] |
/ast/src/cmd/mailx/port/ |
H A D | dtopen.c | 89 return NIL(Dt_t*); 93 return NIL(Dt_t*); 96 dt->searchf = NIL(Dtsearch_f); 97 dt->meth = NIL(Dtmethod_t*); 98 dt->disc = NIL(Dtdisc_t*); 101 dt->view = dt->walk = NIL(Dt_t*); 105 data = NIL(Dtdata_t*); 109 return NIL(Dt_t*); 116 data = (Dtdata_t*)(dt->memoryf)(dt,NIL(Void_t*),sizeof(Dtdata_t),disc); 119 return NIL(Dt_ [all...] |
H A D | dtview.c | 93 return NIL(Void_t*); 103 dt->walk = NIL(Dt_t*); 104 return NIL(Void_t*); 126 return NIL(Void_t*); 129 o = (*(d->meth->searchf))(d,NIL(Void_t*),DT_FIRST); 131 o = (*(d->meth->searchf))(d,NIL(Void_t*),DT_LAST); 148 return NIL(Dt_t*); 155 dt->view = dt->walk = NIL(Dt_t*); 167 return NIL(Dt_t*);
|
H A D | dtclose.c | 85 dtview(dt,NIL(Dt_t*)); 89 (*dt->disc->eventf)(dt,DT_CLOSE,NIL(Void_t*),dt->disc) < 0) 93 (void)(*(dt->meth->searchf))(dt,NIL(Void_t*),DT_CLEAR);
|
/ast/src/lib/libvcodex/Vcwindow/ |
H A D | vcwopen.c | 38 return NIL(Vcwindow_t*); 40 return NIL(Vcwindow_t*); 42 return NIL(Vcwindow_t*); 48 return NIL(Vcwindow_t*); 52 vcw->mtdata = NIL(Void_t*); 56 return NIL(Vcwindow_t*); 61 return NIL(Vcwindow_t*);
|
H A D | vcwdecode.c | 41 return NIL(Vcwmatch_t*); 47 else sf = NIL(Sfio_t*); 50 return NIL(Vcwmatch_t*); 53 return NIL(Vcwmatch_t*); 56 return NIL(Vcwmatch_t*);
|
/ast/src/lib/libast/vmalloc/ |
H A D | vmregion.c | 48 return NIL(Vmalloc_t*); 52 _vmlock(NIL(Vmalloc_t*), 1); 56 _vmlock(NIL(Vmalloc_t*), 0);
|
H A D | vmdcheap.c | 48 return NIL(Void_t*); 52 return vmfree(Vmheap,caddr) >= 0 ? caddr : NIL(Void_t*); 56 static Vmdisc_t _Vmdcheap = { heapmem, NIL(Vmexcept_f), 0 };
|
/ast/src/cmd/tests/cdt/ |
H A D | tqueue.c | 24 newint, NIL(Dtfree_f), compare, hashint, 25 NIL(Dtmemory_f), NIL(Dtevent_f) 63 if((long)dtdelete(dt,NIL(Void_t*)) != 1) 65 if((long)dtdelete(dt,NIL(Void_t*)) != 3) 67 if((long)dtdelete(dt,NIL(Void_t*)) != 2) 69 if((long)dtdelete(dt,NIL(Void_t*)) != 3) 71 if((long)dtdelete(dt,NIL(Void_t*)) != 2) 73 if((long)dtdelete(dt,NIL(Void_t*)) != 3)
|
H A D | tstack.c | 24 newint, NIL(Dtfree_f), compare, hashint, 25 NIL(Dtmemory_f), NIL(Dtevent_f) 63 if((long)dtdelete(dt,NIL(Void_t*)) != 3) 72 if((long)dtdelete(dt,NIL(Void_t*)) != 2) 74 if((long)dtdelete(dt,NIL(Void_t*)) != 2) 76 if((long)dtdelete(dt,NIL(Void_t*)) != 3) 78 if((long)dtdelete(dt,NIL(Void_t*)) != 1)
|
/ast/src/cmd/tests/sfio/ |
H A D | tswap.c | 28 if(!(f1 = sfopen(NIL(Sfio_t*), tstfile("sf", 0),"w+")) ) 42 if(!(f1 = sfswap(sfstdin,NIL(Sfio_t*))) ) 47 if(!(f2 = sfopen(NIL(Sfio_t*), tstfile("sf", 0), "r")) ) 50 if(sfswap(f1,f2) != NIL(Sfio_t*) )
|
H A D | tatexit.c | 26 Sfio_t* f = sfopen(NIL(Sfio_t*), tstfile("sf", 0), "w"); 48 { if(!(f = sfopen(NIL(Sfio_t*), tstfile("sf", 1), "w")) ) 60 if(!(f = sfopen(NIL(Sfio_t*), tstfile("sf", 1), "w")) )
|
H A D | topen.c | 33 if(!(f = sfopen(NIL(Sfio_t*),"123","s")) ) 36 if(sfopen(f,"123","s") != NIL(Sfio_t*)) 39 if(sfnew(&sf,NIL(char*),(size_t)SF_UNBOUND,0,SF_EOF|SF_READ) != &sf) 49 if(!(f = sfopen(NIL(Sfio_t*),tstfile("sf", 0),"wx") ) )
|
H A D | tpipemove.c | 32 if(!(fr = sfnew(NIL(Sfio_t*),NIL(Void_t*),(size_t)SF_UNBOUND,fd[0],SF_READ)) || 33 !(fw = sfnew(NIL(Sfio_t*),NIL(Void_t*),(size_t)SF_UNBOUND,fd[1],SF_WRITE)) )
|
H A D | trcrv.c | 35 Sfdisc_t Disc = {myread, NIL(Sfwrite_f), NIL(Sfseek_f), NIL(Sfexcept_f)}; 44 if(sfnew(sfstdin,NIL(Void_t*),(size_t)SF_UNBOUND,fd[0],SF_READ) != sfstdin) 49 if(sfnew(sfstdout,NIL(Void_t*),0,fd[1],SF_WRITE) != sfstdout)
|
/ast/src/lib/libvcodex/ |
H A D | vcclose.c | 38 (*vc->disc->eventf)(vc, VC_CLOSING, NIL(Void_t*), vc->disc) < 0 ) 41 vcbuffer(vc, NIL(Vcchar_t*), -1, -1); /* free all cached buffers */ 46 if(vcfreecontext(vc, NIL(Vccontext_t*)) < 0 ) 50 (*vc->meth->eventf)(vc, VC_CLOSING, NIL(Void_t*)) < 0 )
|
H A D | vccontext.c | 40 { for(p = NIL(Vccontext_t*), c = vc->ctxt; c; p = c, c = c->next) 44 return NIL(Vccontext_t*); 52 return NIL(Vccontext_t*); 74 ctxt->next = NIL(Vccontext_t*); 78 vc->ctxt = NIL(Vccontext_t*);
|
/ast/src/lib/librecsort/ |
H A D | rsmethod.c | 43 return NIL(Rsmethod_t*); 46 methdata = NIL(Void_t*); 47 else if(!(methdata = vmresize(Vmheap,NIL(Void_t*),meth->size,VM_RSZERO)) ) 48 return NIL(Rsmethod_t*);
|
/ast/src/lib/libast/comp/ |
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*); 127 return NIL(ENTRY*); 135 return o ? &(o->item) : NIL(ENTRY*);
|
/ast/src/lib/libast/cdt/ |
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_ [all...] |
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...] |
/ast/src/lib/libast/disc/ |
H A D | sfdcslow.c | 72 disc->readf = NIL(Sfread_f); 73 disc->writef = NIL(Sfwrite_f); 74 disc->seekf = NIL(Sfseek_f);
|