Lines Matching refs:pfirst

106 	*pfirst,		/* Pointer to beginning of line 	*/  variable
296 if (plast - pfirst > MAXLINE) { in center()
300 if (pfirst < &work[NCOLS]) { in center()
301 tlast = plast + (&work[NCOLS] - pfirst); in center()
303 while (plast >= pfirst) *tlast-- = *plast--; in center()
304 pfirst = ++tlast; in center()
309 while (pfirst <= plast) *tfirst++ = *pfirst++; in center()
311 pfirst = tptr; in center()
700 pfirst = plast = &work[NCOLS]; in process()
712 if (lp->param <= (plast - pfirst)) in process()
718 (plast - pfirst)); in process()
725 if (lp->param <= (plast - pfirst)) in process()
731 (plast - pfirst)); in process()
755 (void) fputs(pfirst, stdout); in process()
763 if (plast - pfirst < effll) { in append()
764 n = n ? n : effll - (plast - pfirst); in append()
776 if (plast - pfirst < effll) { in prepend()
777 n = n ? n : effll - (plast - pfirst); in prepend()
778 if (pfirst - n < wfirst) center(); in prepend()
779 while (n--) *--pfirst = pachar; in prepend()
788 if (plast - pfirst > effll) { in begtrunc()
789 n = n ? n : plast - pfirst - effll; in begtrunc()
790 pfirst += n; in begtrunc()
791 if (pfirst >= plast) in begtrunc()
792 *(pfirst = plast = &work[NCOLS]) = '\n'; in begtrunc()
801 if (plast - pfirst > effll) { in endtrunc()
802 n = n ? n : plast - pfirst - effll; in endtrunc()
804 if (pfirst >= plast) in endtrunc()
805 *(pfirst = plast = &work[NCOLS]) = '\n'; in endtrunc()
825 while (pfirst <= plast) { in inputtabs()
827 switch (c = *pfirst++) { in inputtabs()
846 pfirst = tfirst; in inputtabs()
868 c = pfirst; in sstrip()
879 c = pfirst; in sstrip()
884 pfirst = ++savec; /* Point pfirst to char after tab */ in sstrip()
909 tfirst = tlast = pfirst; in outputtabs()
911 while (pfirst <= plast) { in outputtabs()
913 switch (c = *pfirst++) { in outputtabs()
929 } while (*pfirst++ == ' '); in outputtabs()
930 pfirst--; in outputtabs()
938 pfirst = tfirst; in outputtabs()