Home
last modified time | relevance | path

Searched refs:parse_http_status_code (Results 1 – 5 of 5) sorted by relevance

/third_party/nghttp2/src/
Dhttp2_test.cc302 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()
Dhttp2.h293 int parse_http_status_code(const StringRef &src);
Dhttp2.cc696 int parse_http_status_code(const StringRef &src) { in parse_http_status_code() function
Dshrpx_http2_session.cc1114 auto status_code = http2::parse_http_status_code(status->value); in on_response_headers()
Dnghttp.cc1807 auto status = http2::parse_http_status_code(StringRef{status_hd->value}); in check_response_header()