Searched refs:kContentLength (Results 1 – 7 of 7) sorted by relevance
/external/webrtc/examples/peerconnection/server/ |
D | data_socket.cc | 234 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/ |
D | http_utils_test.cc | 225 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()
|
D | http_connection_curl_test.cc | 232 {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()
|
D | http_request.h | 51 BRILLO_EXPORT extern const char kContentLength[]; 91 BRILLO_EXPORT extern const char kContentLength[];
|
D | http_request.cc | 43 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
|
D | http_connection_fake.cc | 44 {{request_header::kContentLength, ToString(request_.GetData().size())}}); in FinishRequest()
|
D | http_transport_fake.cc | 243 AddHeaders({{response_header::kContentLength, in Reply()
|