Lines Matching refs:vl

229     Char **vl, **el, **nv, *s;  in expbrace()  local
231 vl = nv = *nvp; in expbrace()
235 el = vl + blklen(vl); in expbrace()
237 for (s = *vl; s; s = *++vl) { in expbrace()
251 *vl-- = *bl; in expbrace()
259 l = vl - nv; in expbrace()
263 vl = nv + l; in expbrace()
272 vp = vl--; in expbrace()
299 Char ***fnv, **vl, **el; in globexpand() local
304 *fnv = vl = xmalloc(sizeof(Char *) * size); in globexpand()
305 *vl = NULL; in globexpand()
318 *vl++ = expanded[i]; in globexpand()
319 if (vl == &(*fnv)[size]) { in globexpand()
322 vl = &(*fnv)[size - GLOBSPACE]; in globexpand()
328 *vl++ = Strsave(s); in globexpand()
329 if (vl == &(*fnv)[size]) { in globexpand()
332 vl = &(*fnv)[size - GLOBSPACE]; in globexpand()
335 *vl = NULL; in globexpand()
344 el = vl; in globexpand()
351 vl = *fnv; in globexpand()
352 for (s = *vl; s; s = *++vl) in globexpand()
356 *vl = globtilde(s); in globexpand()
366 *vl = ns; in globexpand()
372 vl = *fnv; in globexpand()
378 for (s = *vl; s; s = *++vl) { in globexpand()
379 *vl = dnormalize(s, 1); in globexpand()
387 vl = *fnv; in globexpand()
389 return vl; in globexpand()
393 handleone(Char *str, Char **vl, int action) in handleone() argument
401 blkfree(vl); in handleone()
406 for (t = vl; (p = *t++) != NULL; chars++) in handleone()
409 for (t = vl, strp = str; (p = *t++) != NULL; chars++) { in handleone()
415 blkfree(vl); in handleone()
418 str = Strsave(strip(*vl)); in handleone()
419 blkfree(vl); in handleone()
428 libglob(Char **vl) in libglob() argument
441 if (!vl || !vl[0]) in libglob()
442 return(vl); in libglob()
452 ptr = short2qstr(*vl); in libglob()
472 while (*++vl); in libglob()
473 vl = (globv.gl_pathc == 0 || (magic && !match && !nonomatch)) ? in libglob()
476 return (vl); in libglob()
482 Char *v[2], **vl, **vo; in globone() local
498 vl = vo; in globone()
508 vl = libglob(vo); in globone()
510 if (vl != vo) in globone()
515 if (vl == NULL) { in globone()
520 if (vl && vl[0] == NULL) { in globone()
521 if (vl != v) in globone()
522 xfree(vl); in globone()
525 if (vl && vl[1]) in globone()
526 return (handleone(str, vl, action)); in globone()
528 str = strip(*vl); in globone()
529 if (vl != v) in globone()
530 xfree(vl); in globone()
538 Char **vl, **vo; in globall() local
550 vl = vo = globexpand(v, noglob); in globall()
552 vl = vo = saveblk(v); in globall()
556 vl = libglob(vo); in globall()
557 if (vl == vo) in globall()
562 trim(vl); in globall()
564 return vl; in globall()