Home
last modified time | relevance | path

Searched refs:searchf (Results 1 – 22 of 22) sorted by relevance

/titanic_51/usr/src/contrib/ast/src/lib/libast/cdt/
H A Ddtmethod.c52 if(dt->searchf == oldmt->searchf) /* ie, not viewpathing */
53 dt->searchf = meth->searchf;
61 if(dt->searchf == meth->searchf)
62 dt->searchf = oldmt->searchf;
68 if(dt->searchf == oldmt->searchf)
[all...]
H A Ddtview.c48 return (*(dt->meth->searchf))(dt,obj,type);
56 if((o = (*(d->meth->searchf))(d,obj,type)) )
69 { if(!(o = (*d->meth->searchf)(d, obj, type)) )
97 if((o = (*(d->meth->searchf))(d, obj, DT_SEARCH)) )
104 for(d = dt->walk, obj = (*d->meth->searchf)(d, obj, type);; )
109 if((*(p->meth->searchf))(p, obj, DT_SEARCH) )
112 obj = (*d->meth->searchf)(d, obj, type);
118 obj = (*(d->meth->searchf))(d,NIL(Void_t*),DT_FIRST);
119 else obj = (*(d->meth->searchf))(d,NIL(Void_t*),DT_LAST);
147 { dt->searchf
[all...]
H A Ddtcomp.c35 return (Dtlink_t*)(*(_DT(d)->searchf))((d),(Void_t*)(0),DT_FLATTEN); in dtflatten()
41 return (Dtlink_t*)(*(_DT(d)->searchf))((d),(Void_t*)(0),DT_EXTRACT); in dtextract()
47 return (Dtlink_t*)(*(_DT(d)->searchf))((d),(l),DT_RESTORE); in dtrestore()
53 return (ssize_t)(*(_DT(d)->searchf))((d),(Void_t*)(0),DT_STAT); in dtsize()
59 return (ssize_t)(*(_DT(d)->searchf))((d),(Void_t*)(0),DT_STAT); in dtstat()
H A Ddtopen.c59 pdt.searchf = meth->searchf;
H A Ddtclose.c55 { (void)(*(dt->meth->searchf))(dt,NIL(Void_t*),DT_CLEAR);
H A Ddthash.c215 if((*dt->meth->searchf)(dt, (Void_t*)l, DT_RELINK) == obj) in hlist()
H A Ddttree.c179 if((*dt->meth->searchf)(dt, (Void_t*)r, DT_RELINK) == obj )
/titanic_51/usr/src/contrib/ast/src/lib/libast/include/
H A Dcdt.h110 { Dtsearch_f searchf; /* search function */ member
144 { Dtsearch_f searchf;/* search function */ member
328 #define dtfirst(d) (*(_DT(d)->searchf))((d),(Void_t*)(0),DT_FIRST)
329 #define dtnext(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_NEXT)
330 #define dtatleast(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_ATLEAST)
331 #define dtlast(d) (*(_DT(d)->searchf))((d),(Void_t*)(0),DT_LAST)
332 #define dtprev(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_PREV)
333 #define dtatmost(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_ATMOST)
334 #define dtsearch(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_SEARCH)
335 #define dtmatch(d,o) (*(_DT(d)->searchf))((
[all...]
/titanic_51/usr/src/lib/libast/common/cdt/
H A Ddtview.c46 return (*(dt->meth->searchf))(dt,obj,type);
51 if((o = (*(d->meth->searchf))(d,obj,type)) )
63 { if(!(o = (*d->meth->searchf)(d, obj, type)) )
91 if((o = (*(d->meth->searchf))(d, obj, DT_SEARCH)) )
98 for(d = dt->walk, obj = (*d->meth->searchf)(d, obj, type);; )
103 if((*(p->meth->searchf))(p, obj, DT_SEARCH) )
106 obj = (*d->meth->searchf)(d, obj, type);
112 obj = (*(d->meth->searchf))(d,NIL(Void_t*),DT_FIRST);
113 else obj = (*(d->meth->searchf))(d,NIL(Void_t*),DT_LAST);
145 { dt->searchf = dt->meth->searchf;
[all …]
H A Ddtmethod.c65 if(dt->searchf == oldmeth->searchf)
66 dt->searchf = meth->searchf;
83 (*meth->searchf)(dt,(Void_t*)list,DT_RENEW);
101 (void)(*meth->searchf)(dt,(Void_t*)list,DT_RENEW);
H A Ddtopen.c50 dt->searchf = NIL(Dtsearch_f);
77 dt->searchf = NIL(Dtsearch_f);
102 dt->searchf = meth->searchf;
H A Ddtdisc.c60 reg Dtsearch_f searchf; local
75 searchf = dt->meth->searchf;
122 (void)(*searchf)(dt,(Void_t*)r,DT_RENEW);
H A Ddtrestore.c41 reg Dtsearch_f searchf = dt->meth->searchf; local
71 (*searchf)(dt,(Void_t*)list,DT_RENEW);
H A Ddtclose.c51 { (void)(*(dt->meth->searchf))(dt,NIL(Void_t*),DT_CLEAR);
H A Ddtrenew.c78 return (*dt->meth->searchf)(dt,(Void_t*)e,DT_RENEW) ? obj : NIL(Void_t*);
/titanic_51/usr/src/lib/libast/common/include/
H A Dcdt.h70 { Dtsearch_f searchf; /* search function */ member
116 { Dtsearch_f searchf;/* search function */ member
293 #define dtfirst(d) (*(_DT(d)->searchf))((d),(Void_t*)(0),DT_FIRST)
294 #define dtnext(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_NEXT)
295 #define dtleast(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_SEARCH|DT_NEXT)
296 #define dtlast(d) (*(_DT(d)->searchf))((d),(Void_t*)(0),DT_LAST)
297 #define dtprev(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_PREV)
298 #define dtmost(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_SEARCH|DT_PREV)
299 #define dtsearch(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_SEARCH)
300 #define dtmatch(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_MATCH)
[all …]
/titanic_51/usr/src/lib/libast/i386/include/ast/
H A Dcdt.h70 { Dtsearch_f searchf; /* search function */ member
116 { Dtsearch_f searchf;/* search function */ member
293 #define dtfirst(d) (*(_DT(d)->searchf))((d),(Void_t*)(0),DT_FIRST)
294 #define dtnext(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_NEXT)
295 #define dtleast(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_SEARCH|DT_NEXT)
296 #define dtlast(d) (*(_DT(d)->searchf))((d),(Void_t*)(0),DT_LAST)
297 #define dtprev(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_PREV)
298 #define dtmost(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_SEARCH|DT_PREV)
299 #define dtsearch(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_SEARCH)
300 #define dtmatch(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_MATCH)
[all …]
/titanic_51/usr/src/lib/libast/amd64/include/ast/
H A Dcdt.h70 { Dtsearch_f searchf; /* search function */ member
116 { Dtsearch_f searchf;/* search function */ member
293 #define dtfirst(d) (*(_DT(d)->searchf))((d),(Void_t*)(0),DT_FIRST)
294 #define dtnext(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_NEXT)
295 #define dtleast(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_SEARCH|DT_NEXT)
296 #define dtlast(d) (*(_DT(d)->searchf))((d),(Void_t*)(0),DT_LAST)
297 #define dtprev(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_PREV)
298 #define dtmost(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_SEARCH|DT_PREV)
299 #define dtsearch(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_SEARCH)
300 #define dtmatch(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_MATCH)
[all …]
/titanic_51/usr/src/lib/libast/sparcv9/include/ast/
H A Dcdt.h70 { Dtsearch_f searchf; /* search function */ member
116 { Dtsearch_f searchf;/* search function */ member
293 #define dtfirst(d) (*(_DT(d)->searchf))((d),(Void_t*)(0),DT_FIRST)
294 #define dtnext(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_NEXT)
295 #define dtleast(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_SEARCH|DT_NEXT)
296 #define dtlast(d) (*(_DT(d)->searchf))((d),(Void_t*)(0),DT_LAST)
297 #define dtprev(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_PREV)
298 #define dtmost(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_SEARCH|DT_PREV)
299 #define dtsearch(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_SEARCH)
300 #define dtmatch(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_MATCH)
[all …]
/titanic_51/usr/src/lib/libast/sparc/include/ast/
H A Dcdt.h70 { Dtsearch_f searchf; /* search function */ member
116 { Dtsearch_f searchf;/* search function */ member
293 #define dtfirst(d) (*(_DT(d)->searchf))((d),(Void_t*)(0),DT_FIRST)
294 #define dtnext(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_NEXT)
295 #define dtleast(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_SEARCH|DT_NEXT)
296 #define dtlast(d) (*(_DT(d)->searchf))((d),(Void_t*)(0),DT_LAST)
297 #define dtprev(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_PREV)
298 #define dtmost(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_SEARCH|DT_PREV)
299 #define dtsearch(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_SEARCH)
300 #define dtmatch(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_MATCH)
[all …]
/titanic_51/usr/src/lib/libast/common/vmalloc/
H A Dvmprivate.c39 static Block_t* vmextend(reg Vmalloc_t* vm, size_t size, Vmsearch_f searchf ) in vmextend() argument
41 static Block_t* vmextend(vm, size, searchf ) in vmextend()
44 Vmsearch_f searchf; /* tree search function */
129 { /**/ ASSERT(searchf);
133 else REMOVE(vd,bp,INDEX(SIZE(bp)),t,(*searchf));
/titanic_51/usr/src/contrib/ast/src/lib/libast/vmalloc/
H A Dvmprivate.c40 static Block_t* _vmextend(reg Vmalloc_t* vm, size_t size, Vmsearch_f searchf ) in _vmextend() argument
42 static Block_t* _vmextend(vm, size, searchf ) in _vmextend()
45 Vmsearch_f searchf; /* tree search function */
103 { /**/ ASSERT(searchf);
107 else REMOVE(vd,bp,INDEX(SIZE(bp)),tp,(*searchf));