Lines Matching refs:startp
359 const char *startp = p; in exptilde() local
375 return (startp); in exptilde()
383 len = p - startp - 1; in exptilde()
384 STPUTBIN(startp + 1, len, expdest); in exptilde()
395 return (startp); in exptilde()
530 recordleft(const char *str, const char *loc, char *startp) in recordleft() argument
534 amount = ((str - 1) - (loc - startp)) - expdest; in recordleft()
537 *startp++ = *loc++; in recordleft()
544 char *startp; in subevalvar_trim() local
552 startp = stackblock() + startloc; in subevalvar_trim()
557 for (loc = startp; loc < str; loc++) { in subevalvar_trim()
560 if (patmatch(str, startp)) { in subevalvar_trim()
562 recordleft(str, loc, startp); in subevalvar_trim()
570 for (loc = str - 1; loc >= startp;) { in subevalvar_trim()
573 if (patmatch(str, startp)) { in subevalvar_trim()
575 recordleft(str, loc, startp); in subevalvar_trim()
584 for (loc = str - 1; loc >= startp;) { in subevalvar_trim()
595 for (loc = startp; loc < str - 1; loc++) { in subevalvar_trim()
619 char *startp; in subevalvar_misc() local
624 startp = stackblock() + startloc; in subevalvar_misc()
628 setvar(var, startp, 0); in subevalvar_misc()
629 amount = startp - expdest; in subevalvar_misc()
635 outfmt(out2, "%s\n", startp); in subevalvar_misc()
887 char *startp; in reprocess() local
890 startp = stackblock() + startloc; in reprocess()
891 len = expdest - startp; in reprocess()
906 memcpy(buf, startp, len); in reprocess()