Home
last modified time | relevance | path

Searched refs:kContentLength (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/components/data_reduction_proxy/browser/
Ddata_reduction_proxy_metrics_unittest.cc365 const int64 kContentLength = 200; in TEST_F() local
372 kContentLength, kContentLength, in TEST_F()
375 total_received[0] += kContentLength; in TEST_F()
376 proxy_enabled_received[0] += kContentLength; in TEST_F()
377 https_received[0] += kContentLength; in TEST_F()
388 kContentLength, kContentLength, in TEST_F()
391 total_received[0] += kContentLength; in TEST_F()
401 kContentLength, kContentLength, in TEST_F()
404 total_received[0] += kContentLength; in TEST_F()
405 proxy_enabled_received[0] += kContentLength; in TEST_F()
[all …]
/external/chromium_org/net/tools/quic/test_tools/
Dhttp_message.cc24 const char* kContentLength = "content-length"; variable
58 StringPiece content_length = headers->GetHeader(kContentLength); in IsCompleteMessage()
144 ReplaceHeader(kContentLength, base::IntToString(body.size())); in AddBody()
146 RemoveHeader(kContentLength); in AddBody()
166 headers()->GetAllOfHeader(kContentLength, &content_lengths); in ValidateMessage()
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/
Ddata_socket.cc248 static const char kContentLength[] = "Content-Length:"; in ParseContentLengthAndType() local
250 if ((headers + ARRAYSIZE(kContentLength)) < end && in ParseContentLengthAndType()
251 strncmp(headers, kContentLength, in ParseContentLengthAndType()
252 ARRAYSIZE(kContentLength) - 1) == 0) { in ParseContentLengthAndType()
253 headers += ARRAYSIZE(kContentLength) - 1; in ParseContentLengthAndType()
/external/chromium_org/net/server/
Dhttp_server.cc243 const char kContentLength[] = "content-length"; in HandleReadResult() local
244 if (request.headers.count(kContentLength) > 0) { in HandleReadResult()
247 if (!base::StringToSizeT(request.GetHeaderValue(kContentLength), in HandleReadResult()
253 request.GetHeaderValue(kContentLength))); in HandleReadResult()
Dhttp_server_response_info.cc50 AddHeader(HttpRequestHeaders::kContentLength, in SetContentHeaders()
/external/chromium_org/net/http/
Dhttp_request_headers.h68 static const char kContentLength[]; variable
Dhttp_request_headers.cc24 const char HttpRequestHeaders::kContentLength[] = "Content-Length"; member in net::HttpRequestHeaders
Dhttp_network_transaction.cc858 HttpRequestHeaders::kContentLength, in BuildRequestHeaders()
867 request_headers_.SetHeader(HttpRequestHeaders::kContentLength, "0"); in BuildRequestHeaders()
/external/chromium_org/net/tools/balsa/
Dbalsa_headers.cc33 const char kContentLength[] = "Content-Length"; variable
807 const base::StringPiece content_length(kContentLength, in SetContentLength()
808 sizeof(kContentLength) - 1); in SetContentLength()
844 const base::StringPiece content_length(kContentLength, in SetChunkEncoding()
845 sizeof(kContentLength) - 1); in SetChunkEncoding()
Dbalsa_frame.cc54 static const char kContentLength[] = "content-length"; variable
55 static const size_t kContentLengthSize = sizeof(kContentLength) - 1;
820 0 == strncasecmp(key_begin, kContentLength, kContentLengthSize)) { in ProcessHeaderLines()
/external/chromium_org/chrome/browser/extensions/
Dchrome_url_request_util.cc71 net::HttpRequestHeaders::kContentLength, in GetData()
Dextension_protocols_unittest.cc228 request->GetResponseHeaderByName(net::HttpRequestHeaders::kContentLength, in CheckForContentLengthHeader()
/external/chromium_org/android_webview/browser/net/
Dandroid_stream_reader_url_request_job.cc311 net::HttpRequestHeaders::kContentLength); in HeadersComplete()
/external/chromium_org/storage/browser/blob/
Dblob_url_request_job.cc514 std::string content_length_header(net::HttpRequestHeaders::kContentLength); in HeadersCompleted()
/external/chromium_org/net/url_request/
Durl_request.cc54 headers->RemoveHeader(HttpRequestHeaders::kContentLength); in StripPostSpecificHeaders()
Durl_request_unittest.cc2561 headers.SetHeader(HttpRequestHeaders::kContentLength, in HTTPRedirectMethodTest()
3020 headers.SetHeader(HttpRequestHeaders::kContentLength, in TEST_F()
6141 headers.SetHeader(HttpRequestHeaders::kContentLength, in TEST_F()
6166 headers.SetHeader(HttpRequestHeaders::kContentLength, in TEST_F()
/external/chromium_org/net/spdy/
Dspdy_network_transaction_unittest.cc1983 const uint64 kContentLength = 0; in TEST_P() local
1986 spdy_util_.ConstructPostHeaderBlock(kRequestUrl, kContentLength)); in TEST_P()