Lines Matching defs:stk
210 * add the next links to the stack that get from stk[i..j] => to
216 closure(Pz_t* pz, Chain_t* cp, int n, Pzconvert_t* tab, unsigned char* hit, Pzconvert_t** stk, int i, int j, const char* to)
224 if (!hit[m] && streq(tab[m].from->name, stk[i]->to->name))
228 stk[k] = &tab[m];
232 stk[k++] = &tab[m];
235 if (k == j || !(cp = closure(pz, cp, n, tab, hit, stk, j, k, to)))
238 for (m = j; m < k && !streq(stk[m]->to->name, to); m++);
248 xp->convert = stk[m];
269 Pzconvert_t** stk;
273 if (!(stk = newof(0, Pzconvert_t*, n, 0)))
281 stk[j++] = &tab[i];
284 if (!j || !(cp = closure(pz, NiL, n, tab, hit, stk, 0, j, t)))
287 free(stk);
299 for (i = 0; i < j && !streq(stk[i]->to->name, t); i++);
302 free(stk);
309 tp->convert = stk[i];
311 free(stk);