Lines Matching defs:buf
85 const char *buf, const size_t buflen,
91 line_end = memchr(buf, '\n', buflen);
96 parser->line = buf;
97 parser->line_len = line_end - buf + 1;
103 const char *buf, const size_t buflen, int options,
114 nread = detect_line(parser, buf, buflen, err);
129 /* no line end in `buf`, add it to our scratch */
130 *err = Curl_dyn_addn(&parser->scratch, (const unsigned char *)buf, buflen);
262 const char *buf, size_t buflen,
270 n = next_line(parser, buf, buflen, options, err);
281 buf += (size_t)n;