Home
last modified time | relevance | path

Searched refs:HexDigitToInt (Results 1 – 14 of 14) sorted by relevance

/aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/spdy/core/
H A Dspdy_alt_svc_wire_format_test.cc47 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 Dspdy_alt_svc_wire_format.cc317 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 Dspdy_alt_svc_wire_format.h94 static char HexDigitToInt(char c);
/aosp_15_r20/external/libchrome/base/strings/
H A Dstring_util_unittest.cc685 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 Dstring_util.h365 BASE_EXPORT char HexDigitToInt(wchar_t c);
H A Dstring_util.cc644 char HexDigitToInt(wchar_t c) { in HexDigitToInt() function
/aosp_15_r20/external/cronet/base/strings/
H A Dstring_util_unittest.cc801 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 Dstring_util.h459 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 Descape.cc194 *value = static_cast<unsigned char>(HexDigitToInt(most_sig_digit) * 16 + in UnescapeUnsignedByteAtIndex()
195 HexDigitToInt(least_sig_digit)); in UnescapeUnsignedByteAtIndex()
H A Dstring_util.cc279 char HexDigitToInt(char c) { in HexDigitToInt() function
/aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/quic/core/crypto/
H A Dchannel_id_test.cc209 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 Dhttp_content_disposition.cc42 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/
Dstring_util.h368 BASE_EXPORT char HexDigitToInt(wchar_t c);
/aosp_15_r20/out/soong/.intermediates/external/libchrome/libchrome-include/gen/gensrcs/external/libchrome/base/strings/
Dstring_util.h368 BASE_EXPORT char HexDigitToInt(wchar_t c);