Home
last modified time | relevance | path

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

/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.cc204 headers_.erase(pair.first); in AddHeaders()
206 headers_.insert(pair); in AddHeaders()
212 auto p = headers_.find(header_name); in GetHeader()
213 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.h142 return headers_; in GetHeaders()
149 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