Home
last modified time | relevance | path

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

/external/webrtc/webrtc/examples/peerconnection/server/
Ddata_socket.cc231 static const char kContentLength[] = "Content-Length:"; in ParseContentLengthAndType() local
233 if ((headers + ARRAYSIZE(kContentLength)) < end && in ParseContentLengthAndType()
234 strncmp(headers, kContentLength, in ParseContentLengthAndType()
235 ARRAYSIZE(kContentLength) - 1) == 0) { in ParseContentLengthAndType()
236 headers += ARRAYSIZE(kContentLength) - 1; in ParseContentLengthAndType()
/external/libbrillo/brillo/http/
Dhttp_utils_unittest.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_unittest.cc231 {request_header::kContentLength, std::to_string(request_data.size())}, in TEST_F()
293 {response_header::kContentLength, std::to_string(response_data.size())}, in TEST_F()
314 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()