Lines Matching defs:dt
32 int dtrestore(reg Dt_t* dt, reg Dtlink_t* list)
34 int dtrestore(dt, list)
35 reg Dt_t* dt;
41 reg Dtsearch_f searchf = dt->meth->searchf;
43 type = dt->data->type&DT_FLATTEN;
47 list = dt->data->here;
50 { if(dt->data->size != 0)
54 dt->data->type &= ~DT_FLATTEN;
56 if(dt->data->type&(DT_SET|DT_BAG))
57 { dt->data->here = NIL(Dtlink_t*);
59 { for(ends = (s = dt->data->htab) + dt->data->ntab; s < ends; ++s)
68 { dt->data->size = 0;
71 (*searchf)(dt,(Void_t*)list,DT_RENEW);
77 { if(dt->data->type&(DT_OSET|DT_OBAG))
78 dt->data->here = list;
79 else /*if(dt->data->type&(DT_LIST|DT_STACK|DT_QUEUE))*/
80 { dt->data->here = NIL(Dtlink_t*);
81 dt->data->head = list;
84 dt->data->size = -1;