Home
last modified time | relevance | path

Searched refs:HexStringToInt (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/json/
Djson_parser.cc504 if (!HexStringToInt(*escape_sequence, &hex_digit) || in ConsumeStringRaw()
570 if (!HexStringToInt(*escape_sequence, &code_unit16_high)) in DecodeUTF16()
591 if (!HexStringToInt(*escape_sequence, &code_unit16_low)) in DecodeUTF16()
/external/libchrome/base/strings/
Dstring_number_conversions_fuzzer.cc45 base::HexStringToInt(string_piece_input, &out_int); in LLVMFuzzerTestOneInput()
Dstring_number_conversions_unittest.cc439 TEST(StringNumberConversionsTest, HexStringToInt) { in TEST() argument
478 EXPECT_EQ(cases[i].success, HexStringToInt(cases[i].input, &output)); in TEST()
487 EXPECT_FALSE(HexStringToInt(input_string, &output)); in TEST()
Dstring_number_conversions.h138 BASE_EXPORT bool HexStringToInt(StringPiece input, int* output);
Dstring_number_conversions.cc475 bool HexStringToInt(StringPiece input, int* output) { in HexStringToInt() function