Home
last modified time | relevance | path

Searched refs:EnumerateHeader (Results 1 – 25 of 47) sorted by relevance

12

/external/chromium/net/http/
Dhttp_response_headers_unittest.cc476 EXPECT_TRUE(parsed->EnumerateHeader(&iter, "cache-control", &value)); in TEST()
478 EXPECT_TRUE(parsed->EnumerateHeader(&iter, "cache-control", &value)); in TEST()
480 EXPECT_TRUE(parsed->EnumerateHeader(&iter, "cache-control", &value)); in TEST()
482 EXPECT_FALSE(parsed->EnumerateHeader(&iter, "cache-control", &value)); in TEST()
498 EXPECT_TRUE(parsed->EnumerateHeader(&iter, "WWW-Authenticate", &value)); in TEST()
500 EXPECT_TRUE(parsed->EnumerateHeader(&iter, "WWW-Authenticate", &value)); in TEST()
502 EXPECT_FALSE(parsed->EnumerateHeader(&iter, "WWW-Authenticate", &value)); in TEST()
517 EXPECT_TRUE(parsed->EnumerateHeader(NULL, "date", &value)); in TEST()
519 EXPECT_TRUE(parsed->EnumerateHeader(NULL, "last-modified", &value)); in TEST()
Dhttp_response_headers.cc486 bool HttpResponseHeaders::EnumerateHeader(void** iter, const std::string& name, in EnumerateHeader() function in net::HttpResponseHeaders
517 while (EnumerateHeader(&iter, name, &temp)) { in HasHeaderValue()
710 while (EnumerateHeader(&iter, kCacheControl, &value)) { in AddNonCacheableHeaders()
779 while (EnumerateHeader(&iter, name, &value)) in GetMimeTypeAndCharset()
1003 while (EnumerateHeader(&iter, name, &value)) { in GetMaxAgeValue()
1023 if (!EnumerateHeader(NULL, "Age", &value)) in GetAgeValue()
1047 if (!EnumerateHeader(NULL, name, &value)) in GetTimeValuedHeader()
1062 if (!EnumerateHeader(NULL, "connection", &connection_val)) in IsKeepAlive()
1063 EnumerateHeader(NULL, "proxy-connection", &connection_val); in IsKeepAlive()
1080 EnumerateHeader(NULL, "etag", &etag_value); in HasStrongValidators()
[all …]
Dhttp_auth.cc40 while (headers->EnumerateHeader(&iter, header_name, &cur_challenge)) { in ChooseBestChallenge()
76 while (headers->EnumerateHeader(&iter, header_name, &challenge)) { in HandleChallengeResponse()
Dhttp_auth_controller.cc31 while (headers->EnumerateHeader(&iter, "proxy-authenticate", &header_val)) { in AuthChallengeLogMessage()
37 while (headers->EnumerateHeader(&iter, "www-authenticate", &header_val)) { in AuthChallengeLogMessage()
46 while (headers->EnumerateHeader(&iter, "proxy-support", &header_val)) { in AuthChallengeLogMessage()
Dhttp_vary_data.cc37 while (response_headers.EnumerateHeader(&iter, name, &request_header)) { in Init()
Dhttp_response_headers.h153 bool EnumerateHeader(void** iter,
Dhttp_stream_parser.cc606 headers->EnumerateHeader( in DoParseResponseHeaders()
613 while (headers->EnumerateHeader( in DoParseResponseHeaders()
/external/chromium_org/net/http/
Dhttp_response_headers.cc549 bool HttpResponseHeaders::EnumerateHeader(void** iter, in EnumerateHeader() function in net::HttpResponseHeaders
581 while (EnumerateHeader(&iter, name, &temp)) { in HasHeaderValue()
773 while (EnumerateHeader(&iter, kCacheControl, &value)) { in AddNonCacheableHeaders()
849 while (EnumerateHeader(&iter, name, &value)) in GetMimeTypeAndCharset()
1073 while (EnumerateHeader(&iter, name, &value)) { in GetMaxAgeValue()
1093 if (!EnumerateHeader(NULL, "Age", &value)) in GetAgeValue()
1117 if (!EnumerateHeader(NULL, name, &value)) in GetTimeValuedHeader()
1142 if (!EnumerateHeader(NULL, "connection", &connection_val)) in IsKeepAlive()
1143 EnumerateHeader(NULL, "proxy-connection", &connection_val); in IsKeepAlive()
1160 EnumerateHeader(NULL, "etag", &etag_header); in HasStrongValidators()
[all …]
Dhttp_response_headers_unittest.cc503 EXPECT_TRUE(parsed->EnumerateHeader(&iter, "cache-control", &value)); in TEST()
505 EXPECT_TRUE(parsed->EnumerateHeader(&iter, "cache-control", &value)); in TEST()
507 EXPECT_TRUE(parsed->EnumerateHeader(&iter, "cache-control", &value)); in TEST()
509 EXPECT_FALSE(parsed->EnumerateHeader(&iter, "cache-control", &value)); in TEST()
525 EXPECT_TRUE(parsed->EnumerateHeader(&iter, "WWW-Authenticate", &value)); in TEST()
527 EXPECT_TRUE(parsed->EnumerateHeader(&iter, "WWW-Authenticate", &value)); in TEST()
529 EXPECT_FALSE(parsed->EnumerateHeader(&iter, "WWW-Authenticate", &value)); in TEST()
544 EXPECT_TRUE(parsed->EnumerateHeader(NULL, "date", &value)); in TEST()
546 EXPECT_TRUE(parsed->EnumerateHeader(NULL, "last-modified", &value)); in TEST()
Dhttp_auth.cc40 while (headers->EnumerateHeader(&iter, header_name, &cur_challenge)) { in ChooseBestChallenge()
76 while (headers->EnumerateHeader(&iter, header_name, &challenge)) { in HandleChallengeResponse()
Dhttp_auth_controller.cc33 while (headers->EnumerateHeader(&iter, "proxy-authenticate", &header_val)) { in AuthChallengeLogMessage()
39 while (headers->EnumerateHeader(&iter, "www-authenticate", &header_val)) { in AuthChallengeLogMessage()
48 while (headers->EnumerateHeader(&iter, "proxy-support", &header_val)) { in AuthChallengeLogMessage()
Dhttp_vary_data.cc37 while (response_headers.EnumerateHeader(&iter, name, &request_header)) { in Init()
Dhttp_response_headers.h157 bool EnumerateHeader(void** iter,
Dhttp_stream_parser.cc47 if (!headers.EnumerateHeader(&it, field_name, &field_value)) in HeadersContainMultipleCopiesOfField()
52 while (headers.EnumerateHeader(&it, field_name, &field_value2)) { in HeadersContainMultipleCopiesOfField()
/external/chromium_org/net/websockets/
Dwebsocket_basic_handshake_stream.cc58 while (headers->EnumerateHeader(&state, name, &token)) { in ValidateSingleTokenHeader()
76 while (headers->EnumerateHeader( in ValidateSubProtocol()
96 while (headers->EnumerateHeader( in ValidateExtensions()
/external/chromium_org/content/browser/download/
Ddownload_resource_handler.cc174 if (!headers->EnumerateHeader(NULL, "Last-Modified", in OnResponseStarted()
177 if (!headers->EnumerateHeader(NULL, "ETag", &info->etag)) in OnResponseStarted()
372 request()->response_headers()->EnumerateHeader( in OnResponseCompleted()
/external/chromium/net/websockets/
Dwebsocket_handshake.cc162 if (!headers.EnumerateHeader(&iter, name, &first_value)) in GetSingleHeader()
168 if (headers.EnumerateHeader(&iter, name, &second_value)) in GetSingleHeader()
/external/chromium_org/net/url_request/
Durl_request_http_job.cc403 if (GetResponseHeaders()->EnumerateHeader(&iter, name, &url_text)) { in NotifyHeadersComplete()
794 while (headers->EnumerateHeader(&iter, name, &value)) { in FetchResponseCookies()
821 if (headers->EnumerateHeader(NULL, "Strict-Transport-Security", &value)) in ProcessStrictTransportSecurityHeader()
844 if (headers->EnumerateHeader(NULL, "Public-Key-Pins", &value)) in ProcessPublicKeyPinsHeader()
1077 while (headers->EnumerateHeader(&iter, "Content-Encoding", &encoding_type)) { in SetupFilter()
1089 while (headers->EnumerateHeader(&iter, "X-Sdch-Encode", in SetupFilter()
/external/chromium_org/sync/internal_api/
Dhttp_bridge.cc300 fetch_state_.response_headers->EnumerateHeader(NULL, name, &value); in GetResponseHeaderValue()
378 !fetch_state_.response_headers->EnumerateHeader(NULL, "Sane-Time-Millis", in UpdateNetworkTime()
/external/chromium_org/content/child/
Dsite_isolation_policy.cc213 info.headers->EnumerateHeader( in OnReceivedResponse()
220 info.headers->EnumerateHeader(NULL, "x-content-type-options", &no_sniff); in OnReceivedResponse()
/external/chromium/net/url_request/
Durl_request_http_job.cc265 if (response_info_->headers->EnumerateHeader(&iter, name, &url_text)) { in NotifyHeadersComplete()
481 while (response_info->headers->EnumerateHeader(&iter, name, &value)) { in FetchResponseCookies()
505 while (response_info_->headers->EnumerateHeader(&iter, name, &value)) { in ProcessStrictTransportSecurityHeader()
530 while (response_info_->headers->EnumerateHeader(&iter, name, &value)) { in ProcessStrictTransportSecurityHeader()
874 while (response_info_->headers->EnumerateHeader(&iter, "Content-Encoding", in SetupFilter()
/external/chromium_org/chrome/browser/captive_portal/
Dcaptive_portal_detector.cc120 if (!headers->EnumerateHeader(NULL, "Retry-After", &retry_after_string)) in GetCaptivePortalResultFromResponse()
/external/chromium_org/chrome/browser/safe_browsing/
Dtwo_phase_uploader.cc124 if (!source->GetResponseHeaders()->EnumerateHeader( in OnURLFetchComplete()
/external/chromium_org/net/tools/get_server_time/
Dget_server_time.cc305 while (headers->EnumerateHeader(&iter, "Date", &date_header)) { in main()
/external/chromium_org/google_apis/drive/
Dbase_requests.cc516 source->GetResponseHeaders()->EnumerateHeader(NULL, in ProcessURLFetchResults()
592 hdrs->EnumerateHeader(NULL, kUploadResponseRange, &range_received); in ProcessURLFetchResults()

12