/external/chromium_org/net/tools/balsa/ |
H A D | balsa_frame.h | 26 // It exists as a proof of concept headers framer. 57 // The method set_balsa_headers clears the headers provided and attaches them 61 void set_balsa_headers(BalsaHeaders* headers) { argument 62 if (headers_ != headers) { 63 headers_ = headers; 66 // Clear the headers if they are non-null, even if the new headers are 123 const BalsaHeaders* headers() const { return headers_; } function in class:net::BalsaFrame 208 virtual void ProcessHeaders(const BalsaHeaders& headers) OVERRIDE {}
|
/external/chromium_org/net/tools/flip_server/ |
H A D | http_interface.h | 39 virtual void ProcessHeaders(const BalsaHeaders& headers) OVERRIDE; 103 const BalsaHeaders& headers) OVERRIDE; 105 const BalsaHeaders& headers) OVERRIDE; 116 size_t SendSynReplyImpl(uint32 stream_id, const BalsaHeaders& headers); 117 size_t SendSynStreamImpl(uint32 stream_id, const BalsaHeaders& headers);
|
H A D | streamer_interface.h | 62 const BalsaHeaders& headers) OVERRIDE; 64 const BalsaHeaders& headers) OVERRIDE; 80 size_t SendSynReplyImpl(uint32 stream_id, const BalsaHeaders& headers) { argument 83 size_t SendSynStreamImpl(uint32 stream_id, const BalsaHeaders& headers) { argument 95 virtual void ProcessHeaders(const BalsaHeaders& headers) OVERRIDE;
|
H A D | spdy_interface_test.cc | 360 BalsaHeaders headers; local 362 memory_cache_->InsertFile(&headers, filename, ""); 387 BalsaHeaders headers; local 389 memory_cache_->InsertFile(&headers, filename, ""); 443 BalsaHeaders headers; local 445 memory_cache_->InsertFile(&headers, filename, ""); 559 BalsaHeaders headers; local 561 headers.AppendHeader("key1", "value1"); 562 headers.SetRequestFirstlineFromStringPieces("GET", "/path", "HTTP/1.0"); 564 interface_->SendSynStream(stream_id, headers); 592 BalsaHeaders headers; local 627 BalsaHeaders headers; local 663 BalsaHeaders headers; local 771 BalsaHeaders headers; local 820 BalsaHeaders headers; local 832 BalsaHeaders headers; local [all...] |
/external/oauth/core/src/main/java/net/oauth/client/ |
H A D | 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>>(); 82 headers.add(new OAuth.Parameter(name, value)); 89 headers.add(new OAuth.Parameter(CONTENT_TYPE, connection 92 return headers;
|
/external/chromium_org/third_party/libevent/test/ |
H A D | 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, "On 1020 validate_header( const struct evkeyvalq* headers, const char *key, const char *value) argument 1035 struct evkeyvalq headers; local [all...] |
/external/chromium_org/android_webview/browser/net/ |
H A D | android_stream_reader_url_request_job.cc | 306 net::HttpResponseHeaders* headers = new net::HttpResponseHeaders(status); local 315 headers->AddHeader(content_length_header); 323 headers->AddHeader(content_type_header); 329 delegate_->AppendResponseHeaders(env, headers); 332 headers->AddHeader(kResponseHeaderViaShouldInterceptRequest); 335 response_info_->headers = headers; 342 return response_info_->headers->response_code(); 353 const net::HttpRequestHeaders& headers) { 355 if (headers 352 SetExtraRequestHeaders( const net::HttpRequestHeaders& headers) argument [all...] |
H A D | aw_network_delegate.h | 49 net::HttpRequestHeaders* headers) OVERRIDE; 53 net::HttpRequestHeaders* headers) OVERRIDE; 55 const net::HttpRequestHeaders& headers) OVERRIDE;
|
/external/chromium_org/chrome/app/ |
H A D | 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.Get(), &headers, kMinHeaderBufferSize)) 234 // NT headers. Let's ensure we've read enough to capture the NT headers [all...] |
/external/webp/src/dec/ |
H A D | webp.c | 273 // Fetch '*width', '*height', '*has_alpha' and fill out 'headers' based on 274 // 'data'. All the output parameters may be NULL. If 'headers' is NULL only the 276 // If 'headers' is non-NULL this function will attempt to locate both alpha 291 WebPHeaderStructure* const headers) { 300 const int have_all_data = (headers != NULL) ? headers->have_all_data : 0; 341 headers == NULL) { 402 if (headers != NULL) { 403 *headers = hdrs; 404 headers 284 ParseHeadersInternal(const uint8_t* data, size_t data_size, int* const width, int* const height, int* const has_alpha, int* const has_animation, int* const format, WebPHeaderStructure* const headers) argument 424 WebPParseHeaders(WebPHeaderStructure* const headers) argument 458 WebPHeaderStructure headers; local [all...] |
/external/chromium_org/net/http/ |
H A D | http_cache_unittest.cc | 209 response.headers->GetNormalizedHeaders(response_headers); 221 response.headers->GetNormalizedHeaders(response_headers); 327 // We want to make sure we don't delete extra headers. 422 // Verifies the response headers (|response|) match a partial content 427 scoped_refptr<net::HttpResponseHeaders> headers( 430 ASSERT_EQ(206, headers->response_code()); 434 headers->GetContentRange(&range_start, &range_end, &object_size)); 435 int64 content_length = headers->GetContentLength(); 456 response.headers = new net::HttpResponseHeaders(raw_headers); 474 trans->response_headers = headers; 483 const char* headers; member in struct:__anon9290::Response 3050 std::string headers; local 3073 std::string headers; local 3117 std::string headers; local 3150 std::string headers; local 3178 std::string headers; local 3218 std::string headers; local 3659 std::string headers; local 3690 std::string headers; local 3719 std::string headers; local 3752 std::string headers; local 3836 std::string headers; local 3860 std::string headers; local 3889 std::string headers; local 3942 std::string headers; local 3991 std::string headers; local 4024 std::string headers; local 4054 std::string headers; local 4116 std::string headers; local 4150 std::string headers; local 4188 std::string headers; local 4217 std::string headers; local 4257 std::string headers; local 4306 std::string headers; local 4376 std::string headers; local 4424 std::string headers; local 4466 std::string headers; local 4499 std::string headers; local 4554 std::string headers; local 4594 std::string headers; local 4767 std::string headers; local 4795 std::string headers; local 4824 std::string headers; local 4871 std::string headers; local 4925 std::string headers; local 5318 std::string headers; local 5374 std::string headers; local 5471 std::string headers; local 5508 std::string headers; local 5593 std::string headers; local 5684 std::string headers; local 6082 std::string headers; local 6634 std::string headers; local [all...] |
H A D | http_util_unittest.cc | 30 "access-control-request-headers", 105 const char* headers; member in struct:__anon9332 118 bool result = HttpUtil::HasHeader(tests[i].headers, tests[i].name); 124 static const char* headers = local 142 HttpUtil::StripHeaders(headers, header_names, 147 std::string headers = "foo: 1\t\r\nbar: hello world\r\nbaz: 3 \r\n"; local 149 HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\r\n"); 167 std::string headers = "foo: 1\n: 2\n3\nbar: 4"; local 169 HttpUtil::HeadersIterator it(headers 183 std::string headers = "foo: 1\\r\\n: 2\\r\\n3\\r\\nbar: 4"; local 195 std::string headers = "foo: 1\\r\\n: 2\\r\\n3\\r\\nbar: 4"; local 744 const char* headers; member in struct:__anon9337 [all...] |
H A D | http_auth_controller_unittest.cc | 37 scoped_refptr<HttpResponseHeaders> headers( 39 return headers; 59 scoped_refptr<HttpResponseHeaders> headers(HeadersFromString( 76 controller->HandleAuthChallenge(headers, false, false, dummy_log)); 171 scoped_refptr<HttpResponseHeaders> headers(HeadersFromString( 213 controller->HandleAuthChallenge(headers, false, false, dummy_log)); 226 controller->HandleAuthChallenge(headers, false, false, dummy_log));
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/ |
H A D | 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, com [all...] |
/external/chromium_org/content/browser/service_worker/ |
H A D | service_worker_url_request_job.cc | 80 return http_info()->headers->GetCharset(charset); 86 return http_info()->headers->GetMimeType(mime_type); 104 return http_info()->headers->response_code(); 108 const net::HttpRequestHeaders& headers) { 111 if (!headers.GetHeader(net::HttpRequestHeaders::kRange, &range_header) || 270 const net::HttpRequestHeaders& headers = request_->extra_request_headers(); local 271 for (net::HttpRequestHeaders::Iterator it(headers); it.GetNext();) 272 request->headers[it.name()] = it.value(); 410 response.status_code, response.status_text, response.headers); 419 const ServiceWorkerHeaderMap& headers) { 107 SetExtraRequestHeaders( const net::HttpRequestHeaders& headers) argument 416 CreateResponseHeader( int status_code, const std::string& status_text, const ServiceWorkerHeaderMap& headers) argument [all...] |
/external/chromium_org/pdf/ |
H A D | document_loader.cc | 32 const std::string& headers) { 38 if (!headers.empty()) { 39 response_headers = headers; 306 std::string headers; local 308 headers = headers_var.AsString(); 310 std::string boundary = GetMultiPartBoundary(headers); 323 if (GetByteRange(headers, &start_pos, &end_pos)) { 333 bool DocumentLoader::GetByteRange(const std::string& headers, uint32* start, argument 335 net::HttpUtil::HeadersIterator it(headers.begin(), headers 30 Init(const pp::URLLoader& loader, const std::string& url, const std::string& headers) argument 356 GetMultiPartBoundary(const std::string& headers) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/network/ |
H A D | RequestHeadersView.js | 41 this.element.classList.add("request-headers-view"); 341 var headers = this._request.requestHeaders(); 342 headers = headers.slice(); 343 headers.sort(function(a, b) { return a.name.toLowerCase().compareTo(b.name.toLowerCase()) }); 347 this._refreshHeadersText(WebInspector.UIString("Request Headers"), headers.length, headersText, treeElement); 349 this._refreshHeaders(WebInspector.UIString("Request Headers"), headers, treeElement, headersText === undefined); 363 var headers = this._request.sortedResponseHeaders; 367 this._refreshHeadersText(WebInspector.UIString("Response Headers"), headers.length, headersText, treeElement); 369 this._refreshHeaders(WebInspector.UIString("Response Headers"), headers, treeElemen [all...] |
/external/chromium_org/third_party/libwebp/dec/ |
H A D | webp.c | 273 // Fetch '*width', '*height', '*has_alpha' and fill out 'headers' based on 274 // 'data'. All the output parameters may be NULL. If 'headers' is NULL only the 276 // If 'headers' is non-NULL this function will attempt to locate both alpha 291 WebPHeaderStructure* const headers) { 300 const int have_all_data = (headers != NULL) ? headers->have_all_data : 0; 339 headers == NULL) { 403 if (headers != NULL) { 404 *headers = hdrs; 405 headers 284 ParseHeadersInternal(const uint8_t* data, size_t data_size, int* const width, int* const height, int* const has_alpha, int* const has_animation, int* const format, WebPHeaderStructure* const headers) argument 412 WebPParseHeaders(WebPHeaderStructure* const headers) argument 446 WebPHeaderStructure headers; local [all...] |
/external/chromium_org/google_apis/drive/ |
H A D | base_requests.cc | 60 // Returns response headers as a string. Returns a warning message if 64 // all headers in their raw format, i.e each header is null-terminated. 67 // the headers, one per line, which is probably what we want. 68 std::string headers; local 69 // Check that response code indicates response headers are valid (i.e. not 70 // malformed) before we retrieve the headers. 72 headers.assign("Response headers are malformed!!"); 74 url_fetcher->GetResponseHeaders()->GetNormalizedHeaders(&headers); 76 return headers; 248 std::vector<std::string> headers = GetExtraRequestHeaders(); local 481 std::vector<std::string> headers; local 635 std::vector<std::string> headers; local 679 std::vector<std::string> headers; local [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/gdocs/ |
H A D | chrome_ex_oauth.js | 141 * "headers" {Object} Additional headers to include in the request. 148 var headers = opt_params && opt_params['headers'] || {}; 152 ChromeExOAuth.sendRequest(method, signedUrl, headers, body, function (xhr) { 280 * @param {Object} headers Optional request headers in key/value format. 286 ChromeExOAuth.sendRequest = function(method, url, headers, body, callback) { 292 if (headers) { 293 for (var header in headers) { [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/oauth_contacts/ |
H A D | chrome_ex_oauth.js | 141 * "headers" {Object} Additional headers to include in the request. 148 var headers = opt_params && opt_params['headers'] || {}; 152 ChromeExOAuth.sendRequest(method, signedUrl, headers, body, function (xhr) { 280 * @param {Object} headers Optional request headers in key/value format. 286 ChromeExOAuth.sendRequest = function(method, url, headers, body, callback) { 292 if (headers) { 293 for (var header in headers) { [all...] |
/external/chromium_org/chrome/service/cloud_print/ |
H A D | cloud_print_url_fetcher.cc | 238 // reached. Try again. Set up the request headers again because the token 264 // Persist the additional headers in case we need to retry the request. 284 std::string headers = delegate_->GetAuthHeader(); local 285 if (!headers.empty()) 286 headers += "\r\n"; 287 headers += kChromeCloudPrintProxyHeader; 289 headers += "\r\n"; 290 headers += additional_headers_; 292 request_->SetExtraRequestHeaders(headers);
|
/external/chromium_org/net/test/url_request/ |
H A D | url_request_mock_http_job.cc | 21 FILE_PATH_LITERAL(".mock-http-headers"); 79 // If there is no mock-http-headers file, fake a 200 OK. 186 info->headers = new net::HttpResponseHeaders(raw_headers_); 192 return info.headers.get() && info.headers->GetMimeType(mime_type); 198 // If we have headers, get the response code from them. 199 if (info.headers.get()) 200 return info.headers->response_code(); 207 return info.headers.get() && info.headers [all...] |
/external/chromium_org/net/tools/quic/ |
H A D | quic_client.cc | 235 BalsaHeaders headers; local 236 headers.SetRequestFirstlineFromStringPieces("GET", args[i], "HTTP/1.1"); 239 stream->SendRequest(headers, "", true); 298 stream->id(), client_stream->headers(), client_stream->data()); 305 const BalsaHeaders& headers = client_stream->headers(); local 306 printf("%s\n", headers.first_line().as_string().c_str()); 308 headers.header_lines_begin(); 309 i != headers.header_lines_end(); ++i) {
|
/external/chromium_org/chrome/browser/net/ |
H A D | chrome_fraudulent_certificate_reporter.cc | 90 net::HttpRequestHeaders headers; local 91 headers.SetHeader(net::HttpRequestHeaders::kContentType, 93 url_request->SetExtraRequestHeaders(headers);
|