Lines Matching refs:beg
326 char *beg, *end, *str; in expand() local
330 end = (beg = wdcopy(sp, ATEMP)) + in expand()
333 if (end < wdscan(beg, EOS)) in expand()
335 str = snptreef(NULL, 64, "%S", beg); in expand()
336 afree(beg, ATEMP); in expand()
362 char *beg, *mid, *end, *stg; in expand() local
365 beg = wdcopy(sp, ATEMP); in expand()
366 mid = beg + (wdscan(sp, ADELIM) - sp); in expand()
367 stg = beg + (wdscan(sp, CSUBST) - sp); in expand()
372 sp += mid - beg - 1; in expand()
380 sp += end - beg - 1; in expand()
382 evaluate(substitute(stg = wdstrip(beg, false, false), 0), in expand()
390 afree(beg, ATEMP); in expand()
391 beg = str_val(st->var); in expand()
392 flen = utflen(beg); in expand()
399 utfincptr(beg, &finc); in expand()
400 beg += finc; in expand()
401 flen = utflen(beg); in expand()
405 utfincptr(beg, &num); in expand()
406 strndupx(x.str, beg, num, ATEMP); in expand()