Lines Matching refs:endp
58 static int printable(const char *line, const char *endp);
63 char *p, *q, *endp; in interpret_http() local
67 endp = line + fraglen; in interpret_http()
70 c = printable(line, endp - 1); in interpret_http()
85 for (p = line; p < endp && lineno < NLINES; p = q + 1) { in interpret_http()
86 c = printable(p, endp - 1); in interpret_http()
97 q = memchr(p, CR, (endp - p)); in interpret_http()
99 if (q < endp - 1 && q[1] == LF) in interpret_http()
102 q = memchr(p, LF, (endp - p)); in interpret_http()
105 q = endp - 1; in interpret_http()
114 if (p < endp) /* there was more data to be printed */ in interpret_http()
131 printable(const char *startp, const char *endp) in printable() argument
135 while (p <= endp && (isprint(*p) || *p == '\t')) in printable()