Searched refs:bufpos (Results 1 – 1 of 1) sorted by relevance
71 static unsigned char *bufpos; variable85 bufpos = buffer; in grep_refill()156 return ((char *)bufpos); in grep_fgetln()160 if ((p = memchr(bufpos, line_sep, bufrem)) != NULL) { in grep_fgetln()162 ret = (char *)bufpos; in grep_fgetln()163 len = p - bufpos; in grep_fgetln()165 bufpos = p; in grep_fgetln()175 memcpy(lnbuf + off, bufpos, len - off); in grep_fgetln()182 if ((p = memchr(bufpos, line_sep, bufrem)) == NULL) in grep_fgetln()186 diff = p - bufpos; in grep_fgetln()[all …]