Lines Matching refs:err
86 CURLcode *err) in detect_line() argument
93 *err = CURLE_AGAIN; in detect_line()
98 *err = CURLE_OK; in detect_line()
104 CURLcode *err) in next_line() argument
114 nread = detect_line(parser, buf, buflen, err); in next_line()
118 *err = Curl_dyn_addn(&parser->scratch, parser->line, parser->line_len); in next_line()
119 if(*err) in next_line()
124 *err = trim_line(parser, options); in next_line()
125 if(*err) in next_line()
128 else if(*err == CURLE_AGAIN) { in next_line()
130 *err = Curl_dyn_addn(&parser->scratch, (const unsigned char *)buf, buflen); in next_line()
131 nread = (*err) ? -1 : (ssize_t)buflen; in next_line()
264 CURLcode *err) in Curl_h1_req_parse_read() argument
268 *err = CURLE_OK; in Curl_h1_req_parse_read()
270 n = next_line(parser, buf, buflen, options, err); in Curl_h1_req_parse_read()
272 if(*err != CURLE_AGAIN) { in Curl_h1_req_parse_read()
275 *err = CURLE_OK; in Curl_h1_req_parse_read()
290 *err = start_req(parser, scheme_default, options); in Curl_h1_req_parse_read()
291 if(*err) { in Curl_h1_req_parse_read()
299 *err = CURLE_URL_MALFORMAT; in Curl_h1_req_parse_read()
308 *err = Curl_dynhds_h1_add_line(&parser->req->headers, in Curl_h1_req_parse_read()
310 if(*err) { in Curl_h1_req_parse_read()