Home
last modified time | relevance | path

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

/external/chromium/base/
Dstring_number_conversions.h105 BASE_API bool HexStringToInt(const std::string& input, int* output);
106 BASE_API bool HexStringToInt(std::string::const_iterator begin,
109 BASE_API bool HexStringToInt(const char* begin, const char* end, int* output);
Dstring_number_conversions_unittest.cc275 TEST(StringNumberConversionsTest, HexStringToInt) { in TEST() argument
314 EXPECT_EQ(cases[i].success, HexStringToInt(cases[i].input, &output)); in TEST()
317 EXPECT_EQ(cases[i].success, HexStringToInt(cases[i].input.begin(), in TEST()
322 EXPECT_EQ(cases[i].success, HexStringToInt( in TEST()
332 EXPECT_FALSE(HexStringToInt(input_string, &output)); in TEST()
335 EXPECT_FALSE(HexStringToInt(input_string.begin(), in TEST()
340 EXPECT_FALSE(HexStringToInt(input, input + arraysize(input), &output)); in TEST()
Dstring_number_conversions.cc518 bool HexStringToInt(const std::string& input, int* output) { in HexStringToInt() function
524 bool HexStringToInt(std::string::const_iterator begin, in HexStringToInt() function
533 bool HexStringToInt(const char* begin, const char* end, int* output) { in HexStringToInt() function
/external/chromium/net/http/
Dhttp_chunked_decoder.cc195 bool ok = base::HexStringToInt(start, start + len, &parsed_number); in ParseChunkSize()
/external/chromium/net/tools/dump_cache/
Durl_utilities.cc103 bool ok = base::HexStringToInt(escape_text, &escape_value); in Unescape()
/external/chromium/chrome/common/extensions/
Dextension.cc72 if (base::HexStringToInt(id->begin() + i, id->begin() + i + 1, &val)) in ConvertHexadecimalToIDAlphabet()