Lines Matching refs:plast

107 	*plast,			/* Pointer to end of line		*/  variable
296 if (plast - pfirst > MAXLINE) { in center()
301 tlast = plast + (&work[NCOLS] - pfirst); in center()
303 while (plast >= pfirst) *tlast-- = *plast--; in center()
305 plast = tptr; in center()
309 while (pfirst <= plast) *tfirst++ = *pfirst++; in center()
310 plast = --tfirst; in center()
700 pfirst = plast = &work[NCOLS]; in process()
701 while (*plast != '\n') plast++; 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()
754 *++plast = '\0'; in process()
763 if (plast - pfirst < effll) { in append()
764 n = n ? n : effll - (plast - pfirst); in append()
765 if (plast + n > wlast) center(); in append()
766 while (n--) *plast++ = pachar; in append()
767 *plast = '\n'; in append()
776 if (plast - pfirst < effll) { in prepend()
777 n = n ? n : effll - (plast - pfirst); in prepend()
788 if (plast - pfirst > effll) { in begtrunc()
789 n = n ? n : plast - pfirst - effll; 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()
803 plast -= n; in endtrunc()
804 if (pfirst >= plast) in endtrunc()
805 *(pfirst = plast = &work[NCOLS]) = '\n'; in endtrunc()
807 *plast = '\n'; in endtrunc()
825 while (pfirst <= plast) { in inputtabs()
847 plast = --tlast; in inputtabs()
893 for (i = 0; i <= savek; i++) *plast++ = savchr[i]; in sadd()
894 *plast = '\n'; in sadd()
911 while (pfirst <= plast) { in outputtabs()
939 plast = --tlast; in outputtabs()