Searched defs:headers (Results 1 - 25 of 402) sorted by relevance

1234567891011>>

/external/chromium_org/components/data_reduction_proxy/common/
H A Ddata_reduction_proxy_headers_test_utils.cc11 void HeadersToRaw(std::string* headers) { argument
12 std::replace(headers->begin(), headers->end(), '\n', '\0');
13 if (!headers->empty())
14 *headers += '\0';
/external/chromium_org/net/quic/
H A Dspdy_utils.cc17 string SpdyUtils::SerializeUncompressedHeaders(const SpdyHeaderBlock& headers) { argument
19 &headers);
21 SpdyFramer::WriteHeaderBlock(&builder, kDefaultSpdyMajorVersion, &headers);
H A Dquic_http_utils.cc25 const SpdyHeaderBlock* headers,
29 SpdyHeaderBlockNetLogCallback(headers, log_level));
23 QuicRequestNetLogCallback( QuicStreamId stream_id, const SpdyHeaderBlock* headers, QuicPriority priority, NetLog::LogLevel log_level) argument
/external/chromium_org/net/spdy/
H A Dspdy_header_block_unittest.cc17 SpdyHeaderBlock headers; local
18 headers["A"] = "a";
19 headers["B"] = "b";
22 SpdyHeaderBlockNetLogCallback(&headers, NetLog::LOG_ALL_BUT_BYTES));
26 EXPECT_EQ(headers, headers2);
H A Dspdy_header_block.cc13 const SpdyHeaderBlock* headers,
17 for (SpdyHeaderBlock::const_iterator it = headers->begin();
18 it != headers->end(); ++it) {
24 dict->Set("headers", headers_dict);
30 SpdyHeaderBlock* headers) {
31 headers->clear();
38 !dict->GetDictionary("headers", &header_dict)) {
44 if (!it.value().GetAsString(&(*headers)[it.key()])) {
45 headers->clear();
12 SpdyHeaderBlockNetLogCallback( const SpdyHeaderBlock* headers, NetLog::LogLevel log_level) argument
28 SpdyHeaderBlockFromNetLogParam( const base::Value* event_param, SpdyHeaderBlock* headers) argument
/external/chromium_org/net/http/
H A Dhttp_request_headers_unittest.cc16 HttpRequestHeaders headers; local
17 headers.SetHeader("Foo", "bar");
18 EXPECT_TRUE(headers.HasHeader("foo"));
19 EXPECT_TRUE(headers.HasHeader("Foo"));
20 EXPECT_FALSE(headers.HasHeader("Fo"));
22 const HttpRequestHeaders& headers_ref = headers;
29 HttpRequestHeaders headers; local
30 headers.SetHeader("Foo", "bar");
31 EXPECT_EQ("Foo: bar\r\n\r\n", headers.ToString());
35 HttpRequestHeaders headers; local
43 HttpRequestHeaders headers; local
50 HttpRequestHeaders headers; local
57 HttpRequestHeaders headers; local
66 HttpRequestHeaders headers; local
73 HttpRequestHeaders headers; local
81 HttpRequestHeaders headers; local
88 HttpRequestHeaders headers; local
95 HttpRequestHeaders headers; local
103 HttpRequestHeaders headers; local
109 HttpRequestHeaders headers; local
115 HttpRequestHeaders headers; local
121 HttpRequestHeaders headers; local
127 HttpRequestHeaders headers; local
133 HttpRequestHeaders headers; local
139 HttpRequestHeaders headers; local
145 HttpRequestHeaders headers; local
157 HttpRequestHeaders headers; local
169 HttpRequestHeaders headers; local
[all...]
/external/chromium_org/net/websockets/
H A Dwebsocket_handshake_request_info.h22 // HTTP request headers
23 HttpRequestHeaders headers; member in struct:net::WebSocketHandshakeRequestInfo
H A Dwebsocket_handshake_response_info.cc20 scoped_refptr<HttpResponseHeaders> headers,
25 headers(headers),
16 WebSocketHandshakeResponseInfo( const GURL& url, int status_code, const std::string& status_text, scoped_refptr<HttpResponseHeaders> headers, base::Time response_time) argument
H A Dwebsocket_handshake_response_info.h23 scoped_refptr<HttpResponseHeaders> headers,
32 // HTTP response headers
33 scoped_refptr<HttpResponseHeaders> headers; member in struct:net::WebSocketHandshakeResponseInfo
H A Dwebsocket_net_log_params.cc13 const std::string* headers,
19 size_t headers_size = headers->size();
23 ((*headers)[pos] == '\r' &&
24 pos + 1 < headers_size && (*headers)[pos + 1] == '\n')) {
25 std::string entry = headers->substr(last, pos - last);
35 key += base::StringPrintf("\\x%02x", (*headers)[pos] & 0xff);
45 dict->Set("headers", header_list);
12 NetLogWebSocketHandshakeCallback( const std::string* headers, NetLog::LogLevel ) argument
/external/chromium_org/content/browser/
H A Dtransition_request_manager_unittest.cc21 scoped_refptr<net::HttpResponseHeaders> headers; local
24 headers, entering_stylesheets, url);
34 scoped_refptr<net::HttpResponseHeaders> headers(
39 headers, entering_stylesheets, url);
52 scoped_refptr<net::HttpResponseHeaders> headers(
57 headers, entering_stylesheets, url);
69 scoped_refptr<net::HttpResponseHeaders> headers(
74 headers, entering_stylesheets, url);
91 scoped_refptr<net::HttpResponseHeaders> headers(
96 headers, entering_stylesheet
[all...]
/external/chromium_org/net/disk_cache/blockfile/
H A Dblock_bitmaps_v3_unittest.cc17 disk_cache::BlockFileHeader headers[kNumHeaders]; local
19 memset(&headers[i], 0, sizeof(headers[i]));
20 headers[i].magic = disk_cache::kBlockMagic;
21 headers[i].version = disk_cache::kBlockCurrentVersion;
22 headers[i].this_file = static_cast<int16>(i);
23 headers[i].empty[3] = 200;
24 headers[i].max_entries = 800;
25 bitmaps.push_back(disk_cache::BlockHeader(&headers[i]));
54 uint8* buffer = reinterpret_cast<uint8*>(&headers[
[all...]
/external/chromium_org/net/server/
H A Dhttp_server_request_info.h16 // This is geared toward servers in that it keeps a map of the headers and
46 // A map of the names -> values for HTTP headers. These should always
49 mutable HeadersMap headers; member in class:net::HttpServerRequestInfo
/external/chromium_org/net/spdy/fuzzing/
H A Dhpack_fuzz_util_test.cc38 map<string, string> headers = HpackFuzzUtil::NextGeneratedHeaderSet(&context); local
41 EXPECT_LT(0u, headers.size());
/external/chromium_org/net/url_request/
H A Durl_range_request_job.cc22 const HttpRequestHeaders& headers) {
24 if (headers.GetHeader(HttpRequestHeaders::kRange, &range_header)) {
21 SetExtraRequestHeaders( const HttpRequestHeaders& headers) argument
H A Durl_request_throttler_header_adapter.cc12 HttpResponseHeaders* headers)
13 : response_header_(headers) {
11 URLRequestThrottlerHeaderAdapter( HttpResponseHeaders* headers) argument
/external/chromium_org/ppapi/shared_impl/
H A Durl_response_info_data.h21 std::string headers; member in struct:ppapi::URLResponseInfoData
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DRequestInit.h25 Member<Headers> headers; member in class:blink::RequestInit
H A DResponseInit.h30 DictionaryHelper::get(options, "headers", headers);
31 if (!headers) {
32 DictionaryHelper::get(options, "headers", headersDictionary);
38 Member<Headers> headers; member in class:blink::ResponseInit
/external/harfbuzz_ng/src/
H A Dgen-arabic-table.py12 headers = [[files[0].readline (), files[0].readline ()], [files[2].readline (), files[2].readline ()]] variable
13 headers.append (["UnicodeData.txt does not have a header."])
250 print " * on files with these headers:"
252 for h in headers:
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
H A DInternalRewrite.java13 private final Map<String, String> headers; field in class:InternalRewrite
15 public InternalRewrite(Map<String, String> headers, String uri) { argument
17 this.headers = headers;
26 return headers;
/external/apache-http/src/org/apache/http/impl/client/
H A DAbstractAuthenticationHandler.java78 final Header[] headers) throws MalformedChallengeException {
80 Map<String, Header> map = new HashMap<String, Header>(headers.length);
81 for (Header header : headers) {
77 parseChallenges( final Header[] headers) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/
H A DPemObject.java13 private List headers; field in class:PemObject
17 * Generic constructor for object without headers.
28 * Generic constructor for object with headers.
31 * @param headers a list of PemHeader objects.
34 public PemObject(String type, List headers, byte[] content) argument
37 this.headers = Collections.unmodifiableList(headers);
48 return headers;
/external/chromium_org/android_webview/browser/
H A Daw_resource_context.cc22 const GURL& url, const std::string& headers) {
26 if (!headers.empty())
27 extra_headers_[url.spec()] = headers;
21 SetExtraHeaders( const GURL& url, const std::string& headers) argument
/external/chromium_org/chrome/browser/extensions/
H A Dblob_reader.cc45 net::HttpRequestHeaders headers; local
46 headers.SetHeader(
50 fetcher_->SetExtraRequestHeaders(headers.ToString());

Completed in 539 milliseconds

1234567891011>>