Lines Matching refs:sort
121 if (!pz->sort.order)
124 pz->sort.freedisc.link = offsetof(Pzelt_t, link);
125 pz->sort.orderdisc.link = offsetof(Pzelt_t, link);
126 pz->sort.orderdisc.key = offsetof(Pzelt_t, buf);
127 pz->sort.orderdisc.size = pp->row;
128 if (!(elt = (Pzelt_t*)vmnewof(pz->vm, 0, char, pp->col * m, 0)) || !(pz->sort.order = dtnew(pz->vm, &pz->sort.orderdisc, Dtobag)) || !(pz->sort.free = dtnew(pz->vm, &pz->sort.freedisc, Dtlist)))
132 dtinsert(pz->sort.free, elt);
139 order = pz->sort.order;
160 elt = (Pzelt_t*)dtfirst(pz->sort.free);
161 dtdelete(pz->sort.free, elt);
167 elt = (Pzelt_t*)dtfirst(pz->sort.free);
168 dtdelete(pz->sort.free, elt);
202 dtinsert(pz->sort.free, old);