Lines Matching refs:content_length
532 t = parser->content_length; in header_states()
539 if (UNLIKELY(value < parser->content_length)) { in header_states()
545 parser->content_length = t; in header_states()
663 if (parser->content_length == 0U) { in zero_content_length()
675 } else if (parser->content_length != ULLONG_MAX) { in zero_content_length()
813 parser->content_length = ULLONG_MAX; in parser_execute()
853 parser->content_length = ULLONG_MAX; in parser_execute()
1106 parser->content_length = ULLONG_MAX; in parser_execute()
1639 parser->content_length = ch - '0'; in parser_execute()
1924 (parser->content_length > 0 && in parser_execute()
1925 parser->content_length != ULLONG_MAX); in parser_execute()
1975 uint64_t to_read = MIN(parser->content_length, in parser_execute()
1978 __ASSERT_NO_MSG(parser->content_length != 0U in parser_execute()
1979 && parser->content_length != ULLONG_MAX); in parser_execute()
1991 parser->content_length -= to_read; in parser_execute()
1994 if (parser->content_length == 0U) { in parser_execute()
2065 parser->content_length = unhex_val; in parser_execute()
2092 t = parser->content_length; in parser_execute()
2101 if (UNLIKELY(ulong_value < parser->content_length)) { in parser_execute()
2106 parser->content_length = t; in parser_execute()
2130 if (parser->content_length == 0U) { in parser_execute()
2148 uint64_t to_read = MIN(parser->content_length, in parser_execute()
2152 __ASSERT_NO_MSG(parser->content_length != 0U in parser_execute()
2153 && parser->content_length != ULLONG_MAX); in parser_execute()
2160 parser->content_length -= to_read; in parser_execute()
2163 if (parser->content_length == 0U) { in parser_execute()
2172 __ASSERT_NO_MSG(parser->content_length == 0U); in parser_execute()
2301 parser->content_length != ULLONG_MAX) { in http_message_needs_eof()