Searched refs:HexDigitToInt (Results 1 – 6 of 6) sorted by relevance
/external/chromium/base/ |
D | string_util_unittest.cc | 620 TEST(StringUtilTest, HexDigitToInt) { in TEST() argument 621 EXPECT_EQ(0, HexDigitToInt('0')); in TEST() 622 EXPECT_EQ(1, HexDigitToInt('1')); in TEST() 623 EXPECT_EQ(2, HexDigitToInt('2')); in TEST() 624 EXPECT_EQ(3, HexDigitToInt('3')); in TEST() 625 EXPECT_EQ(4, HexDigitToInt('4')); in TEST() 626 EXPECT_EQ(5, HexDigitToInt('5')); in TEST() 627 EXPECT_EQ(6, HexDigitToInt('6')); in TEST() 628 EXPECT_EQ(7, HexDigitToInt('7')); in TEST() 629 EXPECT_EQ(8, HexDigitToInt('8')); in TEST() [all …]
|
D | string_util.h | 401 inline Char HexDigitToInt(Char c) { in HexDigitToInt() function
|
/external/chromium/base/json/ |
D | json_reader.cc | 484 decoded_str.push_back((HexDigitToInt(*(token.begin + i + 1)) << 4) + in DecodeString() 485 HexDigitToInt(*(token.begin + i + 2))); in DecodeString() 489 decoded_str.push_back((HexDigitToInt(*(token.begin + i + 1)) << 12 ) + in DecodeString() 490 (HexDigitToInt(*(token.begin + i + 2)) << 8) + in DecodeString() 491 (HexDigitToInt(*(token.begin + i + 3)) << 4) + in DecodeString() 492 HexDigitToInt(*(token.begin + i + 4))); in DecodeString()
|
/external/chromium/chrome/browser/net/ |
D | quoted_printable.cc | 109 int i1 = HexDigitToInt(c2); in QuotedPrintableDecode() 110 int i2 = HexDigitToInt(c3); in QuotedPrintableDecode()
|
/external/chromium/net/base/ |
D | escape.cc | 135 unsigned char value = HexDigitToInt(most_sig_digit) * 16 + in UnescapeURLWithOffsetsImpl() 136 HexDigitToInt(least_sig_digit); in UnescapeURLWithOffsetsImpl()
|
D | net_util.cc | 212 unsigned char ch = HexDigitToInt(*(it + 1)) * 16 + in QPDecode() 213 HexDigitToInt(*(it + 2)); in QPDecode()
|