Searched refs:parse_http_status_code (Results 1 – 5 of 5) sorted by relevance
302 CU_ASSERT(200 == http2::parse_http_status_code(StringRef::from_lit("200"))); in test_http2_parse_http_status_code()303 CU_ASSERT(102 == http2::parse_http_status_code(StringRef::from_lit("102"))); in test_http2_parse_http_status_code()304 CU_ASSERT(-1 == http2::parse_http_status_code(StringRef::from_lit("099"))); in test_http2_parse_http_status_code()305 CU_ASSERT(-1 == http2::parse_http_status_code(StringRef::from_lit("99"))); in test_http2_parse_http_status_code()306 CU_ASSERT(-1 == http2::parse_http_status_code(StringRef::from_lit("-1"))); in test_http2_parse_http_status_code()307 CU_ASSERT(-1 == http2::parse_http_status_code(StringRef::from_lit("20a"))); in test_http2_parse_http_status_code()308 CU_ASSERT(-1 == http2::parse_http_status_code(StringRef{})); in test_http2_parse_http_status_code()
293 int parse_http_status_code(const StringRef &src);
696 int parse_http_status_code(const StringRef &src) { in parse_http_status_code() function
1114 auto status_code = http2::parse_http_status_code(status->value); in on_response_headers()
1807 auto status = http2::parse_http_status_code(StringRef{status_hd->value}); in check_response_header()