Home
last modified time | relevance | path

Searched refs:AddHeader (Results 1 – 25 of 34) sorted by relevance

12

/external/cronet/net/server/
Dhttp_server_response_info.cc39 void HttpServerResponseInfo::AddHeader(const std::string& name, in AddHeader() function in net::HttpServerResponseInfo
54 AddHeader(HttpRequestHeaders::kContentLength, in SetContentHeaders()
56 AddHeader(HttpRequestHeaders::kContentType, content_type); in SetContentHeaders()
Dhttp_server_response_info_unittest.cc19 response.AddHeader("A", "1"); in TEST()
20 response.AddHeader("A", "2"); in TEST()
Dhttp_server_response_info.h29 void AddHeader(const std::string& name, const std::string& value);
/external/cronet/third_party/quic_trace/src/tools/render/
Dprocessed_trace.cc207 table->AddHeader("Selection summary"); in SummaryTable()
310 table->AddHeader(absl::StrCat("Sent packet #", packet->packet_number())); in FillTableForPacket()
318 table->AddHeader(absl::StrCat("Ack for packet #", packet_acked)); in FillTableForPacket()
322 table->AddHeader(absl::StrCat("Lost packet #", packet->packet_number())); in FillTableForPacket()
325 table->AddHeader("Application limited"); in FillTableForPacket()
346 table->AddHeader("Frame list"); in FillTableForPacket()
398 table->AddHeader("Transport state"); in FillTableForPacket()
Dtable.h32 void AddHeader(const std::string& text);
Dtable.cc25 void Table::AddHeader(const std::string& text) { in AddHeader() function in quic_trace::render::Table
/external/swiftshader/third_party/subzero/unittest/
DBitcodeMunge.cpp36 const bool AddHeader = true; in runTest() local
37 setupTest(Munges, MungeSize, AddHeader); in runTest()
/external/cronet/net/spdy/
Dheader_coalescer.cc54 if (!AddHeader(key, value)) { in OnHeader()
65 bool HeaderCoalescer::AddHeader(base::StringPiece key, in AddHeader() function in net::HeaderCoalescer
Dheader_coalescer.h34 bool AddHeader(base::StringPiece key, base::StringPiece value);
/external/tensorflow/tensorflow/core/platform/cloud/
Dcurl_http_request.cc200 void CurlHttpRequest::AddHeader(const string& name, const string& value) { in AddHeader() function in tensorflow::CurlHttpRequest
218 AddHeader("Authorization", strings::StrCat("Bearer ", auth_token)); in AddAuthBearerHeader()
273 AddHeader("Content-Length", "0"); in SetPutEmptyBody()
274 AddHeader("Transfer-Encoding", "identity"); in SetPutEmptyBody()
302 AddHeader("Content-Length", "0"); in SetPostEmptyBody()
303 AddHeader("Transfer-Encoding", "identity"); in SetPostEmptyBody()
Dcompute_engine_metadata_client.cc41 request->AddHeader("Metadata-Flavor", "Google"); in GetMetadata()
Dhttp_request.h104 virtual void AddHeader(const string& name, const string& value) = 0;
Dgcs_dns_cache_test.cc27 void AddHeader(const string& name, const string& value) override {} in AddHeader() function in tensorflow::TestHttpRequest
Dhttp_request_fake.h85 void AddHeader(const string& name, const string& value) override { in AddHeader() function
Dcurl_http_request.h71 void AddHeader(const string& name, const string& value) override;
/external/cronet/net/http/
Dhttp_response_headers.cc393 void HttpResponseHeaders::AddHeader(base::StringPiece name, in AddHeader() function in net::HttpResponseHeaders
415 AddHeader(name, value); in SetHeader()
419 AddHeader("Set-Cookie", cookie_string); in AddCookie()
452 AddHeader(kRangeHeader, in UpdateWithNewRange()
455 AddHeader(kLengthHeader, base::StringPrintf("%" PRId64, range_len)); in UpdateWithNewRange()
500 AddHeader(headers.name_begin(), headers.name_end(), headers.values_begin(), in Parse()
805 void HttpResponseHeaders::AddHeader(std::string::const_iterator name_begin, in AddHeader() function in net::HttpResponseHeaders
Dhttp_response_headers.h116 void AddHeader(base::StringPiece name, base::StringPiece value);
388 void AddHeader(std::string::const_iterator name_begin,
Dhttp_response_headers_unittest.cc1772 TEST(HttpResponseHeadersTest, AddHeader) { in TEST() argument
1779 headers->AddHeader("Content-Length", "450"); in TEST()
1789 headers->AddHeader("Content-Length", " 42 "); in TEST()
/external/libbrillo/brillo/http/
Dhttp_request_test.cc111 request.AddHeader(request_header::kAcceptEncoding, "compress, gzip"); in TEST_F()
120 request.AddHeader(request_header::kContentType, mime::text::kPlain); in TEST_F()
Dhttp_request.cc177 void Request::AddHeader(const std::string& header, const std::string& value) { in AddHeader() function in brillo::http::Request
203 AddHeader(request_header::kContentType, form_data->GetContentType()); in AddRequestBodyAsFormData()
Dhttp_request.h233 void AddHeader(const std::string& header, const std::string& value);
/external/cronet/net/test/embedded_test_server/
Dhttp_response.cc56 void RawHttpResponse::AddHeader(const std::string& key_value_pair) { in AddHeader() function in net::test_server::RawHttpResponse
Dhttp_response.h164 void AddHeader(const std::string& key_value_pair);
/external/cronet/net/test/url_request/
Durl_request_test_job_backed_by_file.cc135 headers->AddHeader(net::HttpRequestHeaders::kContentType, in GetResponseInfo()
/external/cronet/net/url_request/
Durl_request_test_util.cc395 ->AddHeader("Location", redirect_on_headers_received_url_.spec()); in OnHeadersReceived()
405 ->AddHeader("X-Network-Delegate", "Greetings, planet"); in OnHeadersReceived()

12