/aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/spdy/core/ |
H A D | spdy_alt_svc_wire_format_test.cc | 47 static char HexDigitToInt(char c) { in HexDigitToInt() function in spdy::test::SpdyAltSvcWireFormatPeer 48 return SpdyAltSvcWireFormat::HexDigitToInt(c); in HexDigitToInt() 581 TEST(SpdyAltSvcWireFormatTest, HexDigitToInt) { in TEST() argument 582 EXPECT_EQ(0, SpdyAltSvcWireFormatPeer::HexDigitToInt('0')); in TEST() 583 EXPECT_EQ(1, SpdyAltSvcWireFormatPeer::HexDigitToInt('1')); in TEST() 584 EXPECT_EQ(2, SpdyAltSvcWireFormatPeer::HexDigitToInt('2')); in TEST() 585 EXPECT_EQ(3, SpdyAltSvcWireFormatPeer::HexDigitToInt('3')); in TEST() 586 EXPECT_EQ(4, SpdyAltSvcWireFormatPeer::HexDigitToInt('4')); in TEST() 587 EXPECT_EQ(5, SpdyAltSvcWireFormatPeer::HexDigitToInt('5')); in TEST() 588 EXPECT_EQ(6, SpdyAltSvcWireFormatPeer::HexDigitToInt('6')); in TEST() [all …]
|
H A D | spdy_alt_svc_wire_format.cc | 317 char decoded = HexDigitToInt(*c) << 4; in PercentDecode() 322 decoded += HexDigitToInt(*c); in PercentDecode() 388 char SpdyAltSvcWireFormat::HexDigitToInt(char c) { in HexDigitToInt() function in spdy::SpdyAltSvcWireFormat 418 *value += HexDigitToInt(c); in HexDecodeToUInt32()
|
H A D | spdy_alt_svc_wire_format.h | 94 static char HexDigitToInt(char c);
|
/aosp_15_r20/external/libchrome/base/strings/ |
H A D | string_util_unittest.cc | 685 TEST(StringUtilTest, HexDigitToInt) { in TEST() argument 686 EXPECT_EQ(0, HexDigitToInt('0')); in TEST() 687 EXPECT_EQ(1, HexDigitToInt('1')); in TEST() 688 EXPECT_EQ(2, HexDigitToInt('2')); in TEST() 689 EXPECT_EQ(3, HexDigitToInt('3')); in TEST() 690 EXPECT_EQ(4, HexDigitToInt('4')); in TEST() 691 EXPECT_EQ(5, HexDigitToInt('5')); in TEST() 692 EXPECT_EQ(6, HexDigitToInt('6')); in TEST() 693 EXPECT_EQ(7, HexDigitToInt('7')); in TEST() 694 EXPECT_EQ(8, HexDigitToInt('8')); in TEST() [all …]
|
H A D | string_util.h | 365 BASE_EXPORT char HexDigitToInt(wchar_t c);
|
H A D | string_util.cc | 644 char HexDigitToInt(wchar_t c) { in HexDigitToInt() function
|
/aosp_15_r20/external/cronet/base/strings/ |
H A D | string_util_unittest.cc | 801 TEST(StringUtilTest, HexDigitToInt) { in TEST() argument 802 EXPECT_EQ(0, HexDigitToInt('0')); in TEST() 803 EXPECT_EQ(1, HexDigitToInt('1')); in TEST() 804 EXPECT_EQ(2, HexDigitToInt('2')); in TEST() 805 EXPECT_EQ(3, HexDigitToInt('3')); in TEST() 806 EXPECT_EQ(4, HexDigitToInt('4')); in TEST() 807 EXPECT_EQ(5, HexDigitToInt('5')); in TEST() 808 EXPECT_EQ(6, HexDigitToInt('6')); in TEST() 809 EXPECT_EQ(7, HexDigitToInt('7')); in TEST() 810 EXPECT_EQ(8, HexDigitToInt('8')); in TEST() [all …]
|
H A D | string_util.h | 459 BASE_EXPORT char HexDigitToInt(char c); 460 inline char HexDigitToInt(char16_t c) { in HexDigitToInt() function 462 return HexDigitToInt(static_cast<char>(c)); in HexDigitToInt()
|
H A D | escape.cc | 194 *value = static_cast<unsigned char>(HexDigitToInt(most_sig_digit) * 16 + in UnescapeUnsignedByteAtIndex() 195 HexDigitToInt(least_sig_digit)); in UnescapeUnsignedByteAtIndex()
|
H A D | string_util.cc | 279 char HexDigitToInt(char c) { in HexDigitToInt() function
|
/aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/quic/core/crypto/ |
H A D | channel_id_test.cc | 209 int HexDigitToInt(char ch) { in HexDigitToInt() function 235 out[*out_len] = HexDigitToInt(*in) * 16 + HexDigitToInt(*(in + 1)); in DecodeHexString()
|
/aosp_15_r20/external/cronet/net/http/ |
H A D | http_content_disposition.cc | 42 base::HexDigitToInt(*(it + 1)) * 16 + base::HexDigitToInt(*(it + 2)); in DecodeQEncoding()
|
/aosp_15_r20/out/soong/.intermediates/external/libchrome/libchrome-include/gen/5/external/libchrome/base/strings/ |
D | string_util.h | 368 BASE_EXPORT char HexDigitToInt(wchar_t c);
|
/aosp_15_r20/out/soong/.intermediates/external/libchrome/libchrome-include/gen/gensrcs/external/libchrome/base/strings/ |
D | string_util.h | 368 BASE_EXPORT char HexDigitToInt(wchar_t c);
|