/external/chromium_org/chrome/common/extensions/docs/server2/ |
patch_servlet_test.py | 50 patched_response.headers.pop('cache-control', None) 51 unpatched_response.headers.pop('cache-control', None) 57 self.assertEqual(patched_response.headers, unpatched_response.headers) 88 response.headers['Location'])
|
/external/chromium_org/chrome_frame/ |
extra_system_apis.h | 47 VARIANT* headers, IBindCtx* bind_ctx, 59 VARIANT* headers, IBindCtx* bind_ctx, 69 VARIANT* headers, IBindCtx* bind_ctx, 83 DWORD post_data_len, LPCTSTR headers, BOOL play_nav_sound, 102 DWORD post_data_len, LPCTSTR headers, BOOL play_nav_sound,
|
/external/chromium_org/content/renderer/pepper/ |
url_request_info_util.cc | 137 const std::string& headers = data->headers; local 138 if (!headers.empty()) { 139 net::HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\n\r");
|
/external/chromium_org/net/base/ |
network_delegate.cc | 24 HttpRequestHeaders* headers) { 26 DCHECK(headers); 28 return OnBeforeSendHeaders(request, callback, headers); 32 const HttpRequestHeaders& headers) { 34 OnSendHeaders(request, headers);
|
/external/chromium_org/net/http/ |
http_auth.cc | 26 const HttpResponseHeaders* headers, 40 while (headers->EnumerateHeader(&iter, header_name, &cur_challenge)) { 59 const HttpResponseHeaders* headers, 64 DCHECK(headers); 76 while (headers->EnumerateHeader(&iter, header_name, &challenge)) {
|
http_cache_transaction.cc | 113 // If the request includes one of these request headers, then avoid caching 132 // If the request includes one of these request headers, then avoid reusing 140 // If the request includes one of these request headers, then force our 147 static bool HeaderMatches(const HttpRequestHeaders& headers, 151 if (!headers.GetHeader(search->name, &header_value)) 225 cancel_request &= (response_.headers->response_code() == 200); 362 DCHECK(auth_response_.headers.get()); 402 if (auth_response_.headers.get() && mode_ != NONE) { 456 HttpRequestHeaders* headers) const { 458 return network_trans_->GetFullRequestHeaders(headers); 2104 const HttpResponseHeaders* headers = new_response_->headers.get(); local [all...] |
/external/chromium_org/net/tools/flip_server/ |
balsa_frame.h | 28 // It exists as a proof of concept headers framer. 59 // The method set_balsa_headers clears the headers provided and attaches them 63 void set_balsa_headers(BalsaHeaders* headers) { 64 if (headers_ != headers) { 65 headers_ = headers; 68 // Clear the headers if they are non-null, even if the new headers are 125 const BalsaHeaders* headers() const { return headers_; } function in class:net::BalsaFrame 210 virtual void ProcessHeaders(const BalsaHeaders& headers) OVERRIDE {}
|
http_interface.h | 41 virtual void ProcessHeaders(const BalsaHeaders& headers) OVERRIDE; 104 const BalsaHeaders& headers) OVERRIDE; 106 const BalsaHeaders& headers) OVERRIDE; 114 size_t SendSynReplyImpl(uint32 stream_id, const BalsaHeaders& headers); 115 size_t SendSynStreamImpl(uint32 stream_id, const BalsaHeaders& headers);
|
streamer_interface.h | 62 const BalsaHeaders& headers) OVERRIDE; 64 const BalsaHeaders& headers) OVERRIDE; 77 size_t SendSynReplyImpl(uint32 stream_id, const BalsaHeaders& headers) { 80 size_t SendSynStreamImpl(uint32 stream_id, const BalsaHeaders& headers) { 89 virtual void ProcessHeaders(const BalsaHeaders& headers) OVERRIDE;
|
/external/oauth/core/src/main/java/net/oauth/client/ |
URLConnectionResponse.java | 40 * from OAuth WWW-Authenticate headers and the body. The header parameters 50 this.headers.addAll(getHeaders()); 76 List<Map.Entry<String, String>> headers = new ArrayList<Map.Entry<String, String>>(); local 82 headers.add(new OAuth.Parameter(name, value)); 89 headers.add(new OAuth.Parameter(CONTENT_TYPE, connection 92 return headers;
|
/packages/apps/Browser/src/com/android/browser/ |
PreloadRequestReceiver.java | 99 Map<String, String> headers = null; local 116 headers = new HashMap<String, String>(); 119 headers.put(key, pairs.getString(key)); 127 headers + ", " + sbQuery + ")"); 129 Preloader.getInstance().handlePreloadRequest(id, url, headers, sbQuery);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
OpenHelper.java | 111 final Cursor headers = context.getContentResolver() local 114 while (headers.moveToNext()) { 115 final String header = getCursorString(headers, RequestHeaders.COLUMN_HEADER); 117 return getCursorUri(headers, RequestHeaders.COLUMN_VALUE); 121 headers.close();
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_upload.py | 117 headers = dict(self.last_open.req.headers) 118 self.assertEqual(headers['Content-length'], '2085') 119 self.assertTrue(headers['Content-type'].startswith('multipart/form-data')) 124 auth = self.last_open.req.headers['Authorization']
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_upload.py | 117 headers = dict(self.last_open.req.headers) 118 self.assertEqual(headers['Content-length'], '2085') 119 self.assertTrue(headers['Content-type'].startswith('multipart/form-data')) 124 auth = self.last_open.req.headers['Authorization']
|
/external/chromium/third_party/libevent/test/ |
regress_http.c | 221 /* For multi-line headers test */ 987 struct evkeyvalq headers; local 991 TAILQ_INIT(&headers); 993 if (evhttp_add_header(&headers, "One", "Two") != 0) 996 if (evhttp_add_header(&headers, "One\r", "Two") != -1) 998 if (evhttp_add_header(&headers, "One", "Two") != 0) 1000 if (evhttp_add_header(&headers, "One", "Two\r\n Three") != 0) 1002 if (evhttp_add_header(&headers, "One\r", "Two") != -1) 1004 if (evhttp_add_header(&headers, "One\n", "Two") != -1) 1006 if (evhttp_add_header(&headers, "One", "Two\r") != -1 1035 struct evkeyvalq headers; local [all...] |
/external/chromium_org/third_party/libevent/test/ |
regress_http.c | 221 /* For multi-line headers test */ 987 struct evkeyvalq headers; local 991 TAILQ_INIT(&headers); 993 if (evhttp_add_header(&headers, "One", "Two") != 0) 996 if (evhttp_add_header(&headers, "One\r", "Two") != -1) 998 if (evhttp_add_header(&headers, "One", "Two") != 0) 1000 if (evhttp_add_header(&headers, "One", "Two\r\n Three") != 0) 1002 if (evhttp_add_header(&headers, "One\r", "Two") != -1) 1004 if (evhttp_add_header(&headers, "One\n", "Two") != -1) 1006 if (evhttp_add_header(&headers, "One", "Two\r") != -1 1035 struct evkeyvalq headers; local [all...] |
/external/chromium_org/chrome/app/ |
image_pre_reader_win.cc | 21 // The minimum buffer size to allocate when reading the PE file headers. 23 // The PE file headers usually fit into a single 1KB page, and a PE file must 24 // at least contain the initial page with the headers. That said, as long as 223 // Allocate a resizable buffer for the headers. We initially reserve as much 226 std::vector<uint8> headers; 227 headers.reserve(kMinHeaderBufferSize); 229 // Read, hopefully, all of the headers. 230 if (!ReadMissingBytes(file, &headers, kMinHeaderBufferSize)) 234 // NT headers. Let's ensure we've read enough to capture the NT headers [all...] |
/frameworks/base/core/java/android/net/http/ |
AndroidHttpClientConnection.java | 249 * Sends the request line and all headers over the connection. 250 * @param request the request whose headers to send. 295 * Parses the response headers and adds them to the 296 * given {@code headers} object, and returns the response StatusLine 297 * @param headers store parsed header to headers. 302 public StatusLine parseResponseHeader(Headers headers) 334 // Check for folded headers first 336 // discussion on folded headers [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_cookielib.py | 221 def __init__(self, headers=[], url=None): 223 headers: list of RFC822-style 'Key: value' strings 226 f = StringIO.StringIO("\n".join(headers)) 243 headers = [] 245 headers.append("%s: %s" % (hdr_name, hdr)) 246 res = FakeResponse(headers, url) 625 headers={"Host": "www.acme.com:4321"}) 628 headers={"Host": "www.acme.com:4321"}) 636 headers={"Host": "www.acme.com:80"}) 642 headers={"Host": "irrelevant.com"} [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_cookielib.py | 221 def __init__(self, headers=[], url=None): 223 headers: list of RFC822-style 'Key: value' strings 226 f = StringIO.StringIO("\n".join(headers)) 243 headers = [] 245 headers.append("%s: %s" % (hdr_name, hdr)) 246 res = FakeResponse(headers, url) 625 headers={"Host": "www.acme.com:4321"}) 628 headers={"Host": "www.acme.com:4321"}) 636 headers={"Host": "www.acme.com:80"}) 642 headers={"Host": "irrelevant.com"} [all...] |
/external/chromium_org/chrome/browser/google_apis/ |
drive_api_requests_unittest.cc | 221 request.headers.find("X-Upload-Content-Length"); 222 if (found == request.headers.end() || 247 request.headers.find("Content-Range"); 248 if (iter == request.headers.end()) { 548 EXPECT_EQ("application/json", http_request_.headers["Content-Type"]); 592 EXPECT_EQ("application/json", http_request_.headers["Content-Type"]); 631 EXPECT_EQ("application/json", http_request_.headers["Content-Type"]); 668 EXPECT_EQ("application/json", http_request_.headers["Content-Type"]); 706 EXPECT_EQ("application/json", http_request_.headers["Content-Type"]); 771 EXPECT_EQ("application/json", http_request_.headers["Content-Type"]) [all...] |
base_requests.cc | 57 // Returns response headers as a string. Returns a warning message if 62 // all headers in their raw format, i.e each header is null-terminated. 65 // the headers, one per line, which is probably what we want. 66 std::string headers; local 67 // Check that response code indicates response headers are valid (i.e. not 68 // malformed) before we retrieve the headers. 70 headers.assign("Response headers are malformed!!"); 72 url_fetcher->GetResponseHeaders()->GetNormalizedHeaders(&headers); 74 return headers; 146 std::vector<std::string> headers = GetExtraRequestHeaders(); local 409 std::vector<std::string> headers; local 566 std::vector<std::string> headers; local 610 std::vector<std::string> headers; local [all...] |
/external/chromium_org/net/spdy/ |
spdy_framer_test.cc | 423 InitHeaderStreaming(HEADERS, stream_id); 560 // Retrieves serialized headers from SYN_STREAM frame. 613 LOG(ERROR) << "Expected " << expected->size() << " headers; actually got " 664 SpdyHeaderBlock headers; local 665 headers["alpha"] = "beta"; 666 headers["gamma"] = "charlie"; 678 &headers)); 687 EXPECT_EQ(headers.size(), new_headers.size()); 688 EXPECT_EQ(headers["alpha"], new_headers["alpha"]); 689 EXPECT_EQ(headers["gamma"], new_headers["gamma"]) 694 SpdyHeaderBlock headers; local 767 SpdyHeaderBlock headers; local 794 SpdyHeaderBlock headers; local 818 SpdyHeaderBlock headers; local 846 SpdyHeaderBlock headers; local 873 SpdyHeaderBlock headers; local 1089 SpdyHeaderBlock headers; local 1193 SpdyHeaderBlock headers; local 1949 SpdyHeaderBlock headers; local 2018 SpdyHeaderBlock headers; local 2083 SpdyHeaderBlock headers; local 2156 SpdyHeaderBlock headers; local 2240 SpdyHeaderBlock headers; local 2295 SpdyHeaderBlock headers; local 2350 SpdyHeaderBlock headers; local 2412 SpdyHeaderBlock headers; local 2762 SpdyHeaderBlock headers; local 2817 SpdyHeaderBlock headers; local 2872 SpdyHeaderBlock headers; local 2934 SpdyHeaderBlock headers; local 3096 SpdyHeaderBlock headers; local 3128 SpdyHeaderBlock headers; local 3156 SpdyHeaderBlock headers; local 3179 SpdyHeaderBlock headers; local 3199 SpdyHeaderBlock headers; local 3226 SpdyHeaderBlock headers; local 3257 SpdyHeaderBlock headers; local 3301 SpdyHeaderBlock headers; local 3346 SpdyHeaderBlock headers; local 3391 SpdyHeaderBlock headers; local 3803 SpdyHeaderBlock headers; local 4073 SpdyHeaderBlock headers; local 4114 SpdyHeaderBlock headers; local 4252 SpdyHeaderBlock headers; local 4361 SpdyHeaderBlock headers; local 4423 SpdyHeaderBlock headers; local [all...] |
/external/linux-tools-perf/scripts/python/ |
sched-migration.py | 331 def sched_switch(self, headers, prev_comm, prev_pid, prev_prio, prev_state, 336 on_cpu_task = self.current_tsk[headers.cpu] 340 (headers.ts_format(), headers.cpu, prev_comm, prev_pid, next_comm, next_pid) 344 self.current_tsk[headers.cpu] = next_pid 346 ts = self.timeslices.get_time_slice(headers.ts()) 347 ts.sched_switch(self.timeslices, prev_pid, prev_state, next_pid, headers.cpu) 349 def migrate(self, headers, pid, prio, orig_cpu, dest_cpu): 350 ts = self.timeslices.get_time_slice(headers.ts()) 353 def wake_up(self, headers, comm, pid, success, target_cpu, fork) [all...] |
/external/chromium_org/net/websockets/ |
websocket_handshake_handler_unittest.cc | 401 response_info.headers = new HttpResponseHeaders(raw_headers); 403 EXPECT_TRUE(StartsWithASCII(response_info.headers->GetStatusLine(), 405 EXPECT_FALSE(response_info.headers->HasHeader("Upgrade")); 406 EXPECT_FALSE(response_info.headers->HasHeader("Connection")); 407 EXPECT_TRUE(response_info.headers->HasHeaderValue("Sec-WebSocket-Origin", 409 EXPECT_TRUE(response_info.headers->HasHeaderValue("Sec-WebSocket-Location", 411 EXPECT_TRUE(response_info.headers->HasHeaderValue("Sec-WebSocket-Protocol", 480 response_info.headers = new HttpResponseHeaders(raw_headers); 482 EXPECT_TRUE(StartsWithASCII(response_info.headers->GetStatusLine(), 484 EXPECT_FALSE(response_info.headers->HasHeader("Upgrade")) [all...] |