Home
last modified time | relevance | path

Searched refs:headers_ (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/core/platform/cloud/
Dcurl_http_request_test.cc90 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/
Dhttpcommon.h319 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 …]
Dhttpcommon.cc418 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()
Dsocketadapters.cc283 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()
Dsocketadapters.h128 std::string agent_, user_, headers_; variable
/external/libbrillo/brillo/http/
Dhttp_connection_curl.cc76 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()
Dhttp_transport_fake.cc202 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()
Dhttp_request.cc179 headers_.emplace(header, value); in AddHeader()
184 headers_.insert(headers.begin(), headers.end()); in AddHeaders()
245 http::HeaderList headers = brillo::MapToVector(headers_); in SendRequestIfNeeded()
Dhttp_transport_fake.h144 return headers_; in GetHeaders()
151 std::multimap<std::string, std::string> headers_; variable
Dhttp_connection_curl.h79 std::multimap<std::string, std::string> headers_; variable
Dhttp_request.h322 std::multimap<std::string, std::string> headers_; variable
/external/bcc/src/cc/includes/
Dexported_files.h25 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/
Dexported_files.h25 static std::map<std::string, const char *> headers_; variable
28 static const std::map<std::string, const char *> & headers() { return headers_; } in headers()
Dexported_files.cc27 map<string, const char *> ExportedFiles::headers_ = { member in ebpf::ExportedFiles