Lines Matching refs:type
27 ** type: type of search
100 static Void_t* dthash(Dt_t* dt, reg Void_t* obj, int type)
102 static Void_t* dthash(dt,obj,type)
105 int type;
120 dt->type &= ~DT_FOUND;
123 { if(type&(DT_NEXT|DT_PREV))
126 if(dt->data->size <= 0 || !(type&(DT_CLEAR|DT_FIRST|DT_LAST)) )
130 if(type&DT_CLEAR)
154 t = (type&DT_LAST) ? *--ends : *s++;
155 if(t && (type&DT_LAST))
166 if(dt->meth->type == DT_BAG && (type&(DT_DELETE|DT_DETACH)) )
184 if(type&(DT_MATCH|DT_SEARCH|DT_INSERT|DT_ATTACH) )
185 { key = (type&DT_MATCH) ? obj : _DTKEY(obj,ky,sz);
189 else if(type&(DT_RENEW|DT_VSEARCH) )
196 else /*if(type&(DT_DELETE|DT_DETACH|DT_NEXT|DT_PREV))*/
219 dt->type |= DT_FOUND;
221 if(type&(DT_MATCH|DT_SEARCH|DT_VSEARCH))
224 if(p && (dt->data->type&DT_SET) && dt->data->loop <= 0)
233 else if(type&(DT_INSERT|DT_ATTACH))
234 { if(t && (dt->data->type&DT_SET) )
239 if(disc->makef && (type&DT_INSERT) &&
250 { if(disc->makef && disc->freef && (type&DT_INSERT))
263 if(disc->freef && (type&DT_INSERT))
281 else if(type&DT_NEXT)
289 else if(type&DT_PREV)
316 { dt->data->type |= DT_WALK;
320 else if(type&DT_RENEW)
321 { if(!t || (dt->data->type&DT_BAG) )
331 else /*if(type&(DT_DELETE|DT_DETACH))*/
348 if(disc->freef && (type&DT_DELETE))