Lines Matching refs:line_len
63 if(parser->line_len) { in trim_line()
64 if(parser->line[parser->line_len - 1] == '\n') in trim_line()
65 --parser->line_len; in trim_line()
66 if(parser->line_len) { in trim_line()
67 if(parser->line[parser->line_len - 1] == '\r') in trim_line()
68 --parser->line_len; in trim_line()
78 if(parser->line_len > parser->max_line_len) { in trim_line()
97 parser->line_len = line_end - buf + 1; in detect_line()
99 return (ssize_t)parser->line_len; in detect_line()
110 parser->line_len = 0; in next_line()
118 *err = Curl_dyn_addn(&parser->scratch, parser->line, parser->line_len); in next_line()
122 parser->line_len = Curl_dyn_len(&parser->scratch); in next_line()
147 p = memchr(parser->line, ' ', parser->line_len); in start_req()
158 for(i = parser->line_len; i > m_len; --i) { in start_req()
161 hv_len = parser->line_len - i; in start_req()
296 else if(parser->line_len == 0) { in Curl_h1_req_parse_read()
309 parser->line, parser->line_len); in Curl_h1_req_parse_read()