Home
last modified time | relevance | path

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

/external/libchrome/base/strings/
Dstring_util_unittest.cc647 TEST(StringUtilTest, HexDigitToInt) { in TEST() argument
648 EXPECT_EQ(0, HexDigitToInt('0')); in TEST()
649 EXPECT_EQ(1, HexDigitToInt('1')); in TEST()
650 EXPECT_EQ(2, HexDigitToInt('2')); in TEST()
651 EXPECT_EQ(3, HexDigitToInt('3')); in TEST()
652 EXPECT_EQ(4, HexDigitToInt('4')); in TEST()
653 EXPECT_EQ(5, HexDigitToInt('5')); in TEST()
654 EXPECT_EQ(6, HexDigitToInt('6')); in TEST()
655 EXPECT_EQ(7, HexDigitToInt('7')); in TEST()
656 EXPECT_EQ(8, HexDigitToInt('8')); in TEST()
[all …]
Dstring_util.h366 BASE_EXPORT char HexDigitToInt(wchar_t c);
Dstring_util.cc663 char HexDigitToInt(wchar_t c) { in HexDigitToInt() function