Lines Matching refs:beg
341 char *beg, *end, *str; in expand() local
345 end = (beg = wdcopy(sp, ATEMP)) + in expand()
348 if (end < wdscan(beg, EOS)) in expand()
350 str = snptreef(NULL, 64, "%S", beg); in expand()
351 afree(beg, ATEMP); in expand()
382 char *beg, *mid, *end, *stg; in expand() local
385 beg = wdcopy(sp, ATEMP); in expand()
386 mid = beg + (wdscan(sp, ADELIM) - sp); in expand()
387 stg = beg + (wdscan(sp, CSUBST) - sp); in expand()
392 sp += mid - beg - 1; in expand()
402 sp += end - beg - 1; in expand()
404 evaluate(substitute(stg = wdstrip(beg, 0), 0), in expand()
412 afree(beg, ATEMP); in expand()
413 beg = str_val(st->var); in expand()
414 flen = utflen(beg); in expand()
421 utfincptr(beg, &finc); in expand()
422 beg += finc; in expand()
423 flen = utflen(beg); in expand()
427 utfincptr(beg, &num); in expand()
428 strndupx(x.str, beg, num, ATEMP); in expand()