/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/http/ |
H A D | http_util_unittest.cc | 1507 EXPECT_TRUE(HttpUtil::IsToken("!")); in TEST() 1508 EXPECT_TRUE(HttpUtil::IsToken("~")); in TEST() 1510 EXPECT_FALSE(HttpUtil::IsToken("")); in TEST() 1522 EXPECT_FALSE(HttpUtil::IsLWS('\v')); in TEST() 1523 EXPECT_FALSE(HttpUtil::IsLWS('\0')); in TEST() 1524 EXPECT_FALSE(HttpUtil::IsLWS('1')); in TEST() 1525 EXPECT_FALSE(HttpUtil::IsLWS('a')); in TEST() 1526 EXPECT_FALSE(HttpUtil::IsLWS('.')); in TEST() 1527 EXPECT_FALSE(HttpUtil::IsLWS('\n')); in TEST() 1530 EXPECT_TRUE(HttpUtil::IsLWS('\t')); in TEST() [all …]
|
H A D | http_util.cc | 36 while (*begin < *end && HttpUtil::IsLWS((*end)[-1])) in TrimLWSImplementation() 318 bool HttpUtil::ParseContentRangeHeaderFor206( in ParseContentRangeHeaderFor206() 445 return HttpUtil::IsToken(name); in IsValidHeaderName() 486 bool HttpUtil::IsLWS(char c) { in IsLWS() 505 bool HttpUtil::IsTokenChar(char c) { in IsTokenChar() 685 if (HttpUtil::IsLWS(name[0])) in IsLineSegmentContinuable() 702 if (!HttpUtil::IsLWS(str[i])) in RemoveLeadingNonLWS() 922 HttpUtil::HeadersIterator::HeadersIterator( in HeadersIterator() 931 bool HttpUtil::HeadersIterator::GetNext() { in GetNext() 977 HttpUtil::ValuesIterator::ValuesIterator( in ValuesIterator() [all …]
|
H A D | http_auth_challenge_tokenizer_unittest.cc | 14 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() 30 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() 46 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() 62 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() 79 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() 96 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() 120 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() 134 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() 159 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST()
|
H A D | http_auth_handler_digest.cc | 145 HttpUtil::NameValuePairsIterator parameters = challenge->param_pairs(); in HandleAnotherChallengeImpl() 209 HttpUtil::NameValuePairsIterator parameters = challenge->param_pairs(); in ParseChallenge() 264 HttpUtil::ValuesIterator qop_values(value_str.begin(), value_str.end(), in ParseChallengeProperty() 364 HttpUtil::Quote( in AssembleCredentials() 366 authorization += ", realm=" + HttpUtil::Quote(original_realm_); in AssembleCredentials() 367 authorization += ", nonce=" + HttpUtil::Quote(nonce_); in AssembleCredentials() 368 authorization += ", uri=" + HttpUtil::Quote(path); in AssembleCredentials() 380 authorization += ", opaque=" + HttpUtil::Quote(opaque_); in AssembleCredentials() 386 authorization += ", cnonce=" + HttpUtil::Quote(cnonce); in AssembleCredentials()
|
H A D | http_request_headers.cc | 108 DCHECK(HttpUtil::IsValidHeaderName(key)) << key; in SetHeader() 109 DCHECK(HttpUtil::IsValidHeaderValue(value)) << key << ":" << value; in SetHeader() 115 DCHECK(HttpUtil::IsValidHeaderName(key)); in SetHeaderIfMissing() 116 DCHECK(HttpUtil::IsValidHeaderValue(value)); in SetHeaderIfMissing() 145 if (!HttpUtil::IsValidHeaderName(header_key)) { in AddHeaderFromString() 155 header_value = HttpUtil::TrimLWS(header_value); in AddHeaderFromString() 156 if (!HttpUtil::IsValidHeaderValue(header_value)) { in AddHeaderFromString()
|
H A D | http_auth_challenge_tokenizer.cc | 24 HttpUtil::NameValuePairsIterator HttpAuthChallengeTokenizer::param_pairs() in param_pairs() 26 return HttpUtil::NameValuePairsIterator(params_begin_, params_end_, ','); in param_pairs() 59 HttpUtil::TrimLWS(¶ms_begin_, ¶ms_end_); in Init()
|
H A D | http_security_headers.cc | 127 unquoted = HttpUtil::Unquote(token); in ParseHSTSHeader() 190 HttpUtil::NameValuePairsIterator name_value_pairs( in ParseExpectCTHeader() 192 HttpUtil::NameValuePairsIterator::Values::NOT_REQUIRED, in ParseExpectCTHeader() 195 HttpUtil::NameValuePairsIterator::Quotes::STRICT_QUOTES); in ParseExpectCTHeader()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/http/ |
H A D | http_util_unittest.cc | 1507 EXPECT_TRUE(HttpUtil::IsToken("!")); in TEST() 1508 EXPECT_TRUE(HttpUtil::IsToken("~")); in TEST() 1510 EXPECT_FALSE(HttpUtil::IsToken("")); in TEST() 1522 EXPECT_FALSE(HttpUtil::IsLWS('\v')); in TEST() 1523 EXPECT_FALSE(HttpUtil::IsLWS('\0')); in TEST() 1524 EXPECT_FALSE(HttpUtil::IsLWS('1')); in TEST() 1525 EXPECT_FALSE(HttpUtil::IsLWS('a')); in TEST() 1526 EXPECT_FALSE(HttpUtil::IsLWS('.')); in TEST() 1527 EXPECT_FALSE(HttpUtil::IsLWS('\n')); in TEST() 1530 EXPECT_TRUE(HttpUtil::IsLWS('\t')); in TEST() [all …]
|
H A D | http_util.cc | 38 while (*begin < *end && HttpUtil::IsLWS((*end)[-1])) in TrimLWSImplementation() 320 bool HttpUtil::ParseContentRangeHeaderFor206( in ParseContentRangeHeaderFor206() 447 return HttpUtil::IsToken(name); in IsValidHeaderName() 488 bool HttpUtil::IsLWS(char c) { in IsLWS() 507 bool HttpUtil::IsTokenChar(char c) { in IsTokenChar() 687 if (HttpUtil::IsLWS(name[0])) in IsLineSegmentContinuable() 704 if (!HttpUtil::IsLWS(str[i])) in RemoveLeadingNonLWS() 924 HttpUtil::HeadersIterator::HeadersIterator( in HeadersIterator() 933 bool HttpUtil::HeadersIterator::GetNext() { in GetNext() 979 HttpUtil::ValuesIterator::ValuesIterator( in ValuesIterator() [all …]
|
H A D | http_auth_challenge_tokenizer_unittest.cc | 14 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() 30 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() 46 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() 62 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() 79 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() 96 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() 120 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() 134 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() 159 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST()
|
H A D | http_auth_handler_digest.cc | 149 HttpUtil::NameValuePairsIterator parameters = challenge->param_pairs(); in HandleAnotherChallengeImpl() 213 HttpUtil::NameValuePairsIterator parameters = challenge->param_pairs(); in ParseChallenge() 268 HttpUtil::ValuesIterator qop_values(value_str.begin(), value_str.end(), in ParseChallengeProperty() 368 HttpUtil::Quote( in AssembleCredentials() 370 authorization += ", realm=" + HttpUtil::Quote(original_realm_); in AssembleCredentials() 371 authorization += ", nonce=" + HttpUtil::Quote(nonce_); in AssembleCredentials() 372 authorization += ", uri=" + HttpUtil::Quote(path); in AssembleCredentials() 384 authorization += ", opaque=" + HttpUtil::Quote(opaque_); in AssembleCredentials() 390 authorization += ", cnonce=" + HttpUtil::Quote(cnonce); in AssembleCredentials()
|
H A D | http_request_headers.cc | 111 DCHECK(HttpUtil::IsValidHeaderName(key)) << key; in SetHeader() 112 DCHECK(HttpUtil::IsValidHeaderValue(value)) << key << ":" << value; in SetHeader() 120 DCHECK(HttpUtil::IsValidHeaderName(key)); in SetHeaderIfMissing() 121 DCHECK(HttpUtil::IsValidHeaderValue(value)); in SetHeaderIfMissing() 150 if (!HttpUtil::IsValidHeaderName(header_key)) { in AddHeaderFromString() 160 header_value = HttpUtil::TrimLWS(header_value); in AddHeaderFromString() 161 if (!HttpUtil::IsValidHeaderValue(header_value)) { in AddHeaderFromString()
|
H A D | http_auth_challenge_tokenizer.cc | 24 HttpUtil::NameValuePairsIterator HttpAuthChallengeTokenizer::param_pairs() in param_pairs() 26 return HttpUtil::NameValuePairsIterator(params_begin_, params_end_, ','); in param_pairs() 59 HttpUtil::TrimLWS(¶ms_begin_, ¶ms_end_); in Init()
|
H A D | http_security_headers.cc | 129 unquoted = HttpUtil::Unquote(token); in ParseHSTSHeader() 192 HttpUtil::NameValuePairsIterator name_value_pairs( in ParseExpectCTHeader() 194 HttpUtil::NameValuePairsIterator::Values::NOT_REQUIRED, in ParseExpectCTHeader() 197 HttpUtil::NameValuePairsIterator::Quotes::STRICT_QUOTES); in ParseExpectCTHeader()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/link_header_util/ |
H A D | link_header_util.cc | 31 net::HttpUtil::TrimLWS(&token_begin_, &token_end_); in GetNext() 128 net::HttpUtil::TrimLWS(url_begin, url_end); in ExtractURL() 171 net::HttpUtil::TrimLWS(&begin, &end); in ParseLinkHeaderValue() 176 net::HttpUtil::NameValuePairsIterator params_iterator( in ParseLinkHeaderValue() 178 net::HttpUtil::NameValuePairsIterator::Values::NOT_REQUIRED, in ParseLinkHeaderValue() 179 net::HttpUtil::NameValuePairsIterator::Quotes::STRICT_QUOTES); in ParseLinkHeaderValue() 181 if (!net::HttpUtil::IsParmName(params_iterator.name_piece())) in ParseLinkHeaderValue()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/link_header_util/ |
H A D | link_header_util.cc | 31 net::HttpUtil::TrimLWS(&token_begin_, &token_end_); in GetNext() 128 net::HttpUtil::TrimLWS(url_begin, url_end); in ExtractURL() 171 net::HttpUtil::TrimLWS(&begin, &end); in ParseLinkHeaderValue() 176 net::HttpUtil::NameValuePairsIterator params_iterator( in ParseLinkHeaderValue() 178 net::HttpUtil::NameValuePairsIterator::Values::NOT_REQUIRED, in ParseLinkHeaderValue() 179 net::HttpUtil::NameValuePairsIterator::Quotes::STRICT_QUOTES); in ParseLinkHeaderValue() 181 if (!net::HttpUtil::IsParmName(params_iterator.name_piece())) in ParseLinkHeaderValue()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/gcm_driver/crypto/ |
H A D | encryption_header_parsers.cc | 73 net::HttpUtil::NameValuePairsIterator name_value_pairs( in GetNext() 75 net::HttpUtil::NameValuePairsIterator::Values::REQUIRED, in GetNext() 76 net::HttpUtil::NameValuePairsIterator::Quotes::NOT_STRICT); in GetNext() 122 net::HttpUtil::NameValuePairsIterator name_value_pairs( in GetNext() 124 net::HttpUtil::NameValuePairsIterator::Values::REQUIRED, in GetNext() 125 net::HttpUtil::NameValuePairsIterator::Quotes::NOT_STRICT); in GetNext()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/android/javatests/src/org/chromium/net/ |
H A D | HttpUtilTest.java | 57 HttpUtil.isAllowedHeader(headerName, ALLOWED_HEADER_VALUE)); in testAllowedHeaders() 66 HttpUtil.isAllowedHeader(headerName, UNALLOWED_HEADER_VALUE)); in testUnallowedHeaders() 75 HttpUtil.isAllowedHeader(headerName, ALLOWED_HEADER_VALUE)); in testUnallowedHeaderNames() 85 HttpUtil.isAllowedHeader(headerName, UNALLOWED_HEADER_VALUE)); in testUnallowedHeaderValue()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/android/ |
H A D | android_http_util.cc | 23 return HttpUtil::IsValidHeaderName(header_name) in JNI_HttpUtil_IsAllowedHeader() 24 && HttpUtil::IsSafeHeader(header_name) in JNI_HttpUtil_IsAllowedHeader() 25 && HttpUtil::IsValidHeaderValue(header_value); in JNI_HttpUtil_IsAllowedHeader()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/android/ |
H A D | android_http_util.cc | 23 return HttpUtil::IsValidHeaderName(header_name) in JNI_HttpUtil_IsAllowedHeader() 24 && HttpUtil::IsSafeHeader(header_name) in JNI_HttpUtil_IsAllowedHeader() 25 && HttpUtil::IsValidHeaderValue(header_value); in JNI_HttpUtil_IsAllowedHeader()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/services/network/public/cpp/ |
H A D | http_request_headers_mojom_traits.cc | 18 if (!net::HttpUtil::IsValidHeaderName(item->key)) in Read() 22 item->value = std::string(net::HttpUtil::TrimLWS(item->value)); in Read() 23 if (!net::HttpUtil::IsValidHeaderValue(item->value)) in Read()
|
/dports/java/bouncycastle15/crypto-169/pkix/src/main/java/org/bouncycastle/est/ |
H A D | ESTRequest.java | 15 HttpUtil.Headers headers = new HttpUtil.Headers(); 27 HttpUtil.Headers headers, in ESTRequest()
|
H A D | ESTRequestBuilder.java | 15 private HttpUtil.Headers headers; 29 this.headers = (HttpUtil.Headers)request.headers.clone(); in ESTRequestBuilder() 37 this.headers = new HttpUtil.Headers(); in ESTRequestBuilder()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/services/network/public/cpp/ |
H A D | http_request_headers_mojom_traits.cc | 19 if (!net::HttpUtil::IsValidHeaderName(item->key)) { in Read() 25 item->value = std::string(net::HttpUtil::TrimLWS(item->value)); in Read() 26 if (!net::HttpUtil::IsValidHeaderValue(item->value)) { in Read()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/web_package/ |
H A D | signed_exchange_envelope.cc | 103 net::HttpUtil::NameValuePairsIterator it( in IsCacheableBySharedCache() 105 net::HttpUtil::NameValuePairsIterator::Values::NOT_REQUIRED, in IsCacheableBySharedCache() 106 net::HttpUtil::NameValuePairsIterator::Quotes::STRICT_QUOTES); in IsCacheableBySharedCache() 180 if (!net::HttpUtil::IsValidHeaderName(name_str)) { in ParseResponseMap() 214 if (!net::HttpUtil::IsValidHeaderValue(value_str)) { in ParseResponseMap() 389 net::HttpUtil::AssembleRawHeaders(header_str)); in BuildHttpResponseHeaders()
|