/external/tensorflow/tensorflow/core/platform/cloud/ |
D | curl_http_request_test.cc | 90 headers_ = reinterpret_cast<std::vector<string>*>(param); in curl_easy_setopt() 238 std::vector<string>* headers_ = nullptr; member in tensorflow::__anonc34726800111::FakeLibCurl 284 EXPECT_EQ(1, libcurl.headers_->size()); in TEST() 285 EXPECT_EQ("Authorization: Bearer fake-bearer", (*libcurl.headers_)[0]); in TEST() 315 EXPECT_EQ(1, libcurl.headers_->size()); in TEST() 316 EXPECT_EQ("Authorization: Bearer fake-bearer", (*libcurl.headers_)[0]); in TEST() 383 EXPECT_EQ(1, libcurl.headers_->size()); in TEST() 384 EXPECT_EQ("Authorization: Bearer fake-bearer", (*libcurl.headers_)[0]); in TEST() 476 EXPECT_EQ(2, libcurl.headers_->size()); in TEST() 477 EXPECT_EQ("Authorization: Bearer fake-bearer", (*libcurl.headers_)[0]); in TEST() [all …]
|
/external/webrtc/webrtc/base/ |
D | httpcommon.h | 319 return headers_.begin(); in begin() 322 return headers_.end(); in end() 325 return headers_.begin(); in begin() 328 return headers_.end(); in end() 331 return headers_.lower_bound(name); in begin() 334 return headers_.upper_bound(name); in end() 337 return headers_.lower_bound(name); in begin() 340 return headers_.upper_bound(name); in end() 363 return headers_.lower_bound(ToString(header)); in begin() 366 return headers_.upper_bound(ToString(header)); in end() [all …]
|
D | httpcommon.cc | 418 headers_.clear(); in clear() 426 headers_ = src.headers_; in copy() 438 headers_.erase(name); in changeHeader() 443 HeaderMap::iterator it = headers_.find(name); in changeHeader() 444 if (it != headers_.end()) { in changeHeader() 452 headers_.insert(HeaderMap::value_type(name, value)); in changeHeader() 456 return headers_.erase(name); in clearHeader() 461 headers_.erase(deprecated); in clearHeader() 467 HeaderMap::const_iterator it = headers_.find(name); in hasHeader() 468 if (it == headers_.end()) { in hasHeader()
|
D | socketadapters.cc | 283 headers_.clear(); in Close() 377 ss << headers_; in SendRequest() 384 headers_.clear(); in SendRequest() 467 headers_ = "Proxy-Authorization: "; in ProcessLine() 468 headers_.append(response); in ProcessLine() 469 headers_.append("\r\n"); in ProcessLine()
|
D | socketadapters.h | 128 std::string agent_, user_, headers_; variable
|
/external/libbrillo/brillo/http/ |
D | http_connection_curl.cc | 76 headers_.insert(headers.begin(), headers.end()); in SendHeaders() 114 headers_.emplace(http::request_header::kTransferEncoding, "chunked"); in PrepareRequest() 124 if (!headers_.empty()) { in PrepareRequest() 126 for (auto pair : headers_) { in PrepareRequest() 136 headers_.clear(); in PrepareRequest() 193 auto p = headers_.find(header_name); in GetResponseHeader() 194 return p != headers_.end() ? p->second : std::string(); in GetResponseHeader() 261 me->headers_.insert(pair); in header_callback()
|
D | http_transport_fake.cc | 202 headers_.erase(pair.first); in AddHeaders() 204 headers_.insert(pair); in AddHeaders() 210 auto p = headers_.find(header_name); in GetHeader() 211 return p != headers_.end() ? p->second : std::string(); in GetHeader()
|
D | http_request.cc | 179 headers_.emplace(header, value); in AddHeader() 184 headers_.insert(headers.begin(), headers.end()); in AddHeaders() 245 http::HeaderList headers = brillo::MapToVector(headers_); in SendRequestIfNeeded()
|
D | http_transport_fake.h | 144 return headers_; in GetHeaders() 151 std::multimap<std::string, std::string> headers_; variable
|
D | http_connection_curl.h | 79 std::multimap<std::string, std::string> headers_; variable
|
D | http_request.h | 322 std::multimap<std::string, std::string> headers_; variable
|
/external/bcc/src/cc/includes/ |
D | exported_files.h | 25 static std::map<std::string, const char *> headers_; variable 28 static const std::map<std::string, const char *> & headers() { return headers_; } in headers()
|
/external/bcc/src/cc/ |
D | exported_files.h | 25 static std::map<std::string, const char *> headers_; variable 28 static const std::map<std::string, const char *> & headers() { return headers_; } in headers()
|
D | exported_files.cc | 27 map<string, const char *> ExportedFiles::headers_ = { member in ebpf::ExportedFiles
|