Lines Matching refs:bufPtr
29 static char *bufBase, *bufPtr, *fileName;
748 bufPtr = bufBase;
777 bufPtr = NULL;
819 bufPtr = bufBase;
829 cp = memchr(bufPtr, '\n', bufUsed);
832 len = (cp - bufPtr) + 1;
834 if (!insertLine(num, bufPtr, len)) {
839 bufPtr += len;
848 if (bufPtr != bufBase) {
849 memcpy(bufBase, bufPtr, bufUsed);
850 bufPtr = bufBase + bufUsed;
864 bufPtr = bufBase + bufUsed;
868 cc = read(fd, bufPtr, bufSize - bufUsed);
870 bufPtr = bufBase;
881 if (!insertLine(num, bufPtr, bufUsed)) {