Home
last modified time | relevance | path

Searched refs:hdr_count (Results 1 – 9 of 9) sorted by relevance

/external/grpc-grpc/src/core/lib/http/
Dparser.cc159 size_t* hdr_count = nullptr; in add_header() local
193 hdr_count = &parser->http.response->hdr_count; in add_header()
197 hdr_count = &parser->http.request->hdr_count; in add_header()
202 if (*hdr_count == parser->hdr_capacity) { in add_header()
208 (*hdrs)[(*hdr_count)++] = hdr; in add_header()
335 for (i = 0; i < request->hdr_count; i++) { in grpc_http_request_destroy()
347 for (i = 0; i < response->hdr_count; i++) { in grpc_http_response_destroy()
Dparser.h63 size_t hdr_count; member
75 size_t hdr_count; member
Dformat_request.cc46 for (i = 0; i < request->http.hdr_count; i++) { in fill_common_header()
85 for (i = 0; i < request->http.hdr_count; i++) { in grpc_httpcli_format_post_request()
/external/grpc-grpc/test/core/http/
Dformat_request_test.cc34 req.http.hdr_count = 1; in test_format_get_request()
61 req.http.hdr_count = 1; in test_format_post_request()
89 req.http.hdr_count = 1; in test_format_post_request_no_body()
120 req.http.hdr_count = 2; in test_format_post_request_content_type_override()
Dparser_test.cc79 GPR_ASSERT(i < request.hdr_count); in test_request_succeeds()
87 GPR_ASSERT(i == request.hdr_count); in test_request_succeeds()
134 GPR_ASSERT(i < response.hdr_count); in test_succeeds()
142 GPR_ASSERT(i == response.hdr_count); in test_succeeds()
/external/grpc-grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.cc364 request.http.hdr_count = 1; in compute_engine_fetch_oauth2()
423 request.http.hdr_count = 1; in refresh_token_fetch_oauth2()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dhttp_connect_handshaker.cc310 request.http.hdr_count = num_headers; in http_connect_handshaker_do_handshake()
/external/grpc-grpc/test/core/security/
Dcredentials_test.cc541 GPR_ASSERT(request->http.hdr_count == 1); in validate_compute_engine_http_request()
643 GPR_ASSERT(request->http.hdr_count == 1); in validate_refresh_token_http_request()
/external/grpc-grpc/test/core/end2end/fixtures/
Dhttp_proxy_fixture.cc429 for (size_t i = 0; i < conn->http_request.hdr_count; i++) { in on_read_request_done()