Home
last modified time | relevance | path

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

12

/external/chromium_org/chrome/browser/net/
Dchrome_network_data_saving_metrics_unittest.cc321 const int64 kContentLength = 200; in TEST_F() local
328 kContentLength, kContentLength, in TEST_F()
331 total_received[0] += kContentLength; in TEST_F()
332 proxy_enabled_received[0] += kContentLength; in TEST_F()
333 https_received[0] += kContentLength; in TEST_F()
344 kContentLength, kContentLength, in TEST_F()
347 total_received[0] += kContentLength; in TEST_F()
357 kContentLength, kContentLength, in TEST_F()
360 total_received[0] += kContentLength; in TEST_F()
361 proxy_enabled_received[0] += kContentLength; in TEST_F()
[all …]
/external/chromium_org/net/tools/quic/test_tools/
Dhttp_message_test_utils.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/chrome/browser/debugger/
Ddevtools_remote_message.cc9 const char DevToolsRemoteMessageHeaders::kContentLength[] = "Content-Length"; member in DevToolsRemoteMessageHeaders
60 headers[DevToolsRemoteMessageHeaders::kContentLength] = in Create()
Ddevtools_remote_message.h18 static const char kContentLength[]; member
Ddevtools_remote_message_unittest.cc27 headers[DevToolsRemoteMessageHeaders::kContentLength] = in TEST_F()
Ddevtools_remote_listen_socket_unittest.cc303 DevToolsRemoteMessageHeaders::kContentLength).c_str());
329 DevToolsRemoteMessageHeaders::kContentLength).c_str());
Ddevtools_remote_listen_socket.cc63 DevToolsRemoteMessageHeaders::kContentLength, "0"); in StartNextField()
/external/chromium_org/net/server/
Dhttp_server.cc148 const char kContentLength[] = "content-length"; in DidRead() local
149 if (request.headers.count(kContentLength)) { in DidRead()
152 if (!base::StringToSizeT(request.GetHeaderValue(kContentLength), in DidRead()
157 request.GetHeaderValue(kContentLength))); in DidRead()
Dhttp_server_response_info.cc44 AddHeader(HttpRequestHeaders::kContentLength, in SetBody()
/external/v8/src/
Ddebug-agent.cc231 const char* const DebuggerAgentUtil::kContentLength = "Content-Length"; member in v8::internal::DebuggerAgentUtil
286 if (strcmp(key, kContentLength) == 0) { in ReceiveMessage()
353 "%s: 0\r\n", kContentLength); in SendConnectMessage()
385 "%s: %d\r\n", kContentLength, utf8_len); in SendMessage()
Ddebug-agent.h117 static const char* const kContentLength;
/external/chromium_org/v8/src/
Ddebug-agent.cc252 const char* const DebuggerAgentUtil::kContentLength = "Content-Length"; member in v8::internal::DebuggerAgentUtil
307 if (strcmp(key, kContentLength) == 0) { in ReceiveMessage()
374 "%s: 0\r\n", kContentLength); in SendConnectMessage()
405 "%s: %d\r\n", kContentLength, utf8_len); in SendMessage()
Ddebug-agent.h105 static const char* const kContentLength;
/external/chromium/net/http/
Dhttp_request_headers.h66 static const char kContentLength[]; variable
Dhttp_request_headers.cc20 const char HttpRequestHeaders::kContentLength[] = "Content-Length"; member in net::HttpRequestHeaders
Dhttp_network_transaction.cc709 HttpRequestHeaders::kContentLength, in BuildRequestHeaders()
718 request_headers_.SetHeader(HttpRequestHeaders::kContentLength, "0"); in BuildRequestHeaders()
/external/chromium_org/net/http/
Dhttp_request_headers.h68 static const char kContentLength[]; variable
Dhttp_request_headers.cc35 const char HttpRequestHeaders::kContentLength[] = "Content-Length"; member in net::HttpRequestHeaders
/external/chromium/net/tools/flip_server/
Dbalsa_headers.cc26 const char kContentLength[] = "Content-Length"; variable
764 const base::StringPiece content_length(kContentLength, in SetContentLength()
765 sizeof(kContentLength) - 1); in SetContentLength()
801 const base::StringPiece content_length(kContentLength, in SetChunkEncoding()
802 sizeof(kContentLength) - 1); in SetChunkEncoding()
Dbalsa_frame.cc33 static const char kContentLength[] = "content-length"; variable
34 static const size_t kContentLengthSize = sizeof(kContentLength) - 1;
834 0 == strncasecmp(key_begin, kContentLength, kContentLengthSize)) { in ProcessHeaderLines()
/external/chromium_org/net/tools/balsa/
Dbalsa_headers.cc25 const char kContentLength[] = "Content-Length"; variable
796 const base::StringPiece content_length(kContentLength, in SetContentLength()
797 sizeof(kContentLength) - 1); in SetContentLength()
833 const base::StringPiece content_length(kContentLength, in SetChunkEncoding()
834 sizeof(kContentLength) - 1); in SetChunkEncoding()
Dbalsa_frame.cc33 static const char kContentLength[] = "content-length"; variable
34 static const size_t kContentLengthSize = sizeof(kContentLength) - 1;
801 0 == strncasecmp(key_begin, kContentLength, kContentLengthSize)) { in ProcessHeaderLines()
/external/chromium_org/android_webview/browser/net/
Dandroid_stream_reader_url_request_job.cc309 net::HttpRequestHeaders::kContentLength); in HeadersComplete()
/external/chromium_org/chrome/browser/extensions/
Dextension_protocols_unittest.cc213 request->GetResponseHeaderByName(net::HttpRequestHeaders::kContentLength, in CheckForContentLengthHeader()

12