Lines Matching defs:type
30 static Void_t* dtlist(reg Dt_t* dt, reg Void_t* obj, reg int type)
32 static Void_t* dtlist(dt, obj, type)
35 reg int type;
46 dt->type &= ~DT_FOUND;
49 { if(type&(DT_LAST|DT_FIRST) )
51 { if(type&DT_LAST)
57 else if(type&(DT_DELETE|DT_DETACH))
58 { if((dt->data->type&DT_LIST) || !(r = dt->data->head))
62 else if(type&DT_CLEAR)
79 if(type&(DT_INSERT|DT_ATTACH))
80 { if(disc->makef && (type&DT_INSERT) &&
91 { if(disc->makef && disc->freef && (type&DT_INSERT))
97 if(dt->data->type&DT_LIST)
106 else if(dt->data->type&DT_STACK)
116 else /* if(dt->data->type&DT_QUEUE) */
136 if((type&DT_MATCH) || !(r = dt->data->here) || _DTOBJ(r,lk) != obj)
137 { key = (type&DT_MATCH) ? obj : _DTKEY(obj,ky,sz);
147 dt->type |= DT_FOUND;
149 if(type&(DT_DELETE|DT_DETACH))
168 if(disc->freef && (type&DT_DELETE))
174 else if(type&DT_NEXT)
176 else if(type&DT_PREV)