Lines Matching defs:dt
30 Dtlink_t* dtextract(reg Dt_t* dt)
32 Dtlink_t* dtextract(dt)
33 reg Dt_t* dt;
38 if(dt->data->type&(DT_OSET|DT_OBAG) )
39 list = dt->data->here;
40 else if(dt->data->type&(DT_SET|DT_BAG))
41 { list = dtflatten(dt);
42 for(ends = (s = dt->data->htab) + dt->data->ntab; s < ends; ++s)
45 else /*if(dt->data->type&(DT_LIST|DT_STACK|DT_QUEUE))*/
46 { list = dt->data->head;
47 dt->data->head = NIL(Dtlink_t*);
50 dt->data->type &= ~DT_FLATTEN;
51 dt->data->size = 0;
52 dt->data->here = NIL(Dtlink_t*);