Lines Matching defs:obj
26 ** obj: the object to look for.
33 static Void_t* dttree(Dt_t* dt, Void_t* obj, int type)
35 static Void_t* dttree(dt,obj,type)
37 Void_t* obj;
54 if(!obj)
95 { key = _DTKEY(obj,ky,sz);
96 for(o = dtsearch(dt,obj); o; o = dtnext(dt,o) )
100 if(o == obj)
110 { key = (type&DT_MATCH) ? obj : _DTKEY(obj,ky,sz);
115 { me = (Dtlink_t*)obj;
116 obj = _DTOBJ(me,lk);
117 key = _DTKEY(obj,ky,sz);
121 else if(root && _DTOBJ(root,lk) != obj)
122 { key = _DTKEY(obj,ky,sz);
287 obj = _DTOBJ(root,lk);
289 (*disc->freef)(dt,obj,disc);
309 (*disc->freef)(dt,obj,disc);
337 return (type&DT_DELETE) ? obj : NIL(Void_t*);
342 obj = (*disc->makef)(dt,obj,disc);
343 if(obj)
345 root = _DTLNK(obj,lk);
350 ((Dthold_t*)root)->obj = obj;
353 (*disc->freef)(dt,obj,disc);
369 { obj = NIL(Void_t*);