Searched refs:kContentLength (Results 1 – 7 of 7) sorted by relevance
/external/webrtc/webrtc/examples/peerconnection/server/ |
D | data_socket.cc | 231 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/ |
D | http_utils_unittest.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() 307 std::stoul(request.GetHeader(request_header::kContentLength))); in TEST()
|
D | http_connection_curl_unittest.cc | 231 {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()
|
D | http_request.h | 51 BRILLO_EXPORT extern const char kContentLength[]; 91 BRILLO_EXPORT extern const char kContentLength[];
|
D | http_connection_fake.cc | 44 {{request_header::kContentLength, ToString(request_.GetData().size())}}); in FinishRequest()
|
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_transport_fake.cc | 245 AddHeaders({{response_header::kContentLength, in Reply()
|