Lines Matching refs:pfirst

104 	*pfirst,		/* Pointer to beginning of line 	*/  variable
294 if (plast - pfirst > MAXLINE) { in center()
298 if (pfirst < &work[NCOLS]) { in center()
299 tlast = plast + (&work[NCOLS] - pfirst); in center()
301 while (plast >= pfirst) *tlast-- = *plast--; in center()
302 pfirst = ++tlast; in center()
307 while (pfirst <= plast) *tfirst++ = *pfirst++; in center()
309 pfirst = tptr; in center()
698 pfirst = plast = &work[NCOLS]; in process()
710 if (lp->param <= (plast - pfirst)) in process()
716 (plast - pfirst)); in process()
723 if (lp->param <= (plast - pfirst)) in process()
729 (plast - pfirst)); in process()
753 (void) fputs(pfirst, stdout); in process()
761 if (plast - pfirst < effll) { in append()
762 n = n ? n : effll - (plast - pfirst); in append()
774 if (plast - pfirst < effll) { in prepend()
775 n = n ? n : effll - (plast - pfirst); in prepend()
776 if (pfirst - n < wfirst) center(); in prepend()
777 while (n--) *--pfirst = pachar; in prepend()
786 if (plast - pfirst > effll) { in begtrunc()
787 n = n ? n : plast - pfirst - effll; in begtrunc()
788 pfirst += n; in begtrunc()
789 if (pfirst >= plast) in begtrunc()
790 *(pfirst = plast = &work[NCOLS]) = '\n'; in begtrunc()
799 if (plast - pfirst > effll) { in endtrunc()
800 n = n ? n : plast - pfirst - effll; in endtrunc()
802 if (pfirst >= plast) in endtrunc()
803 *(pfirst = plast = &work[NCOLS]) = '\n'; in endtrunc()
823 while (pfirst <= plast) { in inputtabs()
825 switch (c = *pfirst++) { in inputtabs()
844 pfirst = tfirst; in inputtabs()
866 c = pfirst; in sstrip()
877 c = pfirst; in sstrip()
882 pfirst = ++savec; /* Point pfirst to char after tab */ in sstrip()
907 tfirst = tlast = pfirst; in outputtabs()
909 while (pfirst <= plast) { in outputtabs()
911 switch (c = *pfirst++) { in outputtabs()
927 } while (*pfirst++ == ' '); in outputtabs()
928 pfirst--; in outputtabs()
936 pfirst = tfirst; in outputtabs()