Home
last modified time | relevance | path

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

/external/webrtc/examples/peerconnection/server/
Ddata_socket.cc234 static const char kContentLength[] = "Content-Length:"; in ParseContentLengthAndType() local
236 if ((headers + ARRAYSIZE(kContentLength)) < end && in ParseContentLengthAndType()
237 strncmp(headers, kContentLength, ARRAYSIZE(kContentLength) - 1) == in ParseContentLengthAndType()
239 headers += ARRAYSIZE(kContentLength) - 1; in ParseContentLengthAndType()
/external/libbrillo/brillo/http/
Dhttp_utils_test.cc225 EXPECT_EQ("0", request.GetHeader(request_header::kContentLength)); in TEST()
253 EXPECT_EQ("0", request.GetHeader(request_header::kContentLength)); in TEST()
265 EXPECT_EQ("4", response->GetHeader(request_header::kContentLength)); in TEST()
272 EXPECT_EQ("256", request.GetHeader(request_header::kContentLength)); in TEST()
308 std::stoul(request.GetHeader(request_header::kContentLength))); in TEST()
Dhttp_connection_curl_test.cc232 {request_header::kContentLength, std::to_string(request_data.size())}, in TEST_F()
294 {response_header::kContentLength, std::to_string(response_data.size())}, in TEST_F()
315 connection_->GetResponseHeader(response_header::kContentLength)); in TEST_F()
Dhttp_request.h51 BRILLO_EXPORT extern const char kContentLength[];
91 BRILLO_EXPORT extern const char kContentLength[];
Dhttp_request.cc43 const char request_header::kContentLength[] = "Content-Length"; member in brillo::http::request_header
81 const char response_header::kContentLength[] = "Content-Length"; member in brillo::http::response_header
Dhttp_connection_fake.cc44 {{request_header::kContentLength, ToString(request_.GetData().size())}}); in FinishRequest()
Dhttp_transport_fake.cc243 AddHeaders({{response_header::kContentLength, in Reply()