Searched refs:elt (Results 1 - 5 of 5) sorted by relevance

/ast/src/lib/libpz/
H A Dpzdeflate.c41 Pzelt_t* elt; local
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);
133 elt = (Pzelt_t*)((char*)elt + m);
136 elt = 0;
158 if (!elt)
160 elt = (Pzelt_t*)dtfirst(pz->sort.free);
161 dtdelete(pz->sort.free, elt);
162 memcpy(elt
[all...]
H A Dpzsync.c39 Pzelt_t* elt; local
55 elt = (Pzelt_t*)dtfirst(pz->sort.order);
57 while (elt && pzwrite(pz, op, elt->buf, n) == n)
59 old = elt;
60 elt = (Pzelt_t*)dtnext(pz->sort.order, elt);
H A Dpzwrite.c40 Pzelt_t* elt; local
78 if (!(elt = (Pzelt_t*)vmnewof(pz->vm, 0, char, pp->col * k, 0)) || !(pz->sort.order = dtnew(pz->vm, &pz->sort.orderdisc, Dtobag)) || !(pz->sort.free = dtnew(pz->vm, &pz->sort.freedisc, Dtlist)))
82 dtinsert(pz->sort.free, elt);
83 elt = (Pzelt_t*)((char*)elt + k);
104 while (!(elt = (Pzelt_t*)dtfirst(pz->sort.free)))
107 dtdelete(pz->sort.free, elt);
110 memcpy(elt->buf, bp, k);
111 pz->ws.sp = elt->buf + k;
113 pz->ws.se = elt;
[all...]
/ast/src/cmd/tw/
H A Dexpr.c201 getval(Expr_t* pgm, Exnode_t* node, Exid_t* sym, Exref_t* ref, void* env, int elt, Exdisc_t* disc) argument
217 if (elt >= EX_SCALAR)
431 refval(Expr_t* pgm, Exnode_t* node, Exid_t* sym, Exref_t* ref, char* str, int elt, Exdisc_t* disc) argument
438 if (elt >= 0)
444 return getval(pgm, node, sym, ref, &ftwbuf, elt, disc);
594 setval(Expr_t* pgm, Exnode_t* node, Exid_t* sym, Exref_t* ref, void* env, int elt, Extype_t val, Exdisc_t* disc) argument
604 if (elt >= 0)
/ast/src/lib/libast/regex/
H A Dregnexec.c584 Ckey_t elt; local
586 mbxfrm(elt, key, COLL_KEY_MAX);
596 if (!strcmp((char*)ce->beg, (char*)elt))
600 if (strcmp((char*)ce->beg, (char*)elt) <= ce->min && strcmp((char*)elt, (char*)ce->end) <= ce->max)
604 if (strcmp((char*)ce->beg, (char*)elt) <= ce->min && strcmp((char*)elt, (char*)ce->end) <= ce->max && (iswlower(c) || !iswupper(c)))
608 if (strcmp((char*)ce->beg, (char*)elt) <= ce->min && strcmp((char*)elt, (char*)ce->end) <= ce->max && (iswupper(c) || !iswlower(c)))
659 Ckey_t elt; local
[all...]

Completed in 14 milliseconds