Searched refs:bufpos (Results 1 – 1 of 1) sorted by relevance
71 static unsigned char *bufpos; variable83 bufpos = buffer; in grep_refill()154 return ((char *)bufpos); in grep_fgetln()158 if ((p = memchr(bufpos, line_sep, bufrem)) != NULL) { in grep_fgetln()160 ret = (char *)bufpos; in grep_fgetln()161 len = p - bufpos; in grep_fgetln()163 bufpos = p; in grep_fgetln()173 memcpy(lnbuf + off, bufpos, len - off); in grep_fgetln()180 if ((p = memchr(bufpos, line_sep, bufrem)) == NULL) in grep_fgetln()184 diff = p - bufpos; in grep_fgetln()[all …]