Home
last modified time | relevance | path

Searched refs:StringToUint (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/strings/
Dstring_number_conversions.h83 BASE_EXPORT bool StringToUint(const StringPiece& input, unsigned* output);
84 BASE_EXPORT bool StringToUint(const StringPiece16& input, unsigned* output);
Dstring_number_conversions_unittest.cc171 TEST(StringNumberConversionsTest, StringToUint) { in TEST() argument
207 EXPECT_EQ(cases[i].success, StringToUint(cases[i].input, &output)); in TEST()
212 EXPECT_EQ(cases[i].success, StringToUint(utf16_input, &output)); in TEST()
222 EXPECT_FALSE(StringToUint(input_string, &output)); in TEST()
227 EXPECT_FALSE(StringToUint(utf16_input, &output)); in TEST()
232 EXPECT_FALSE(StringToUint(string16(negative_wide_input), &output)); in TEST()
Dstring_number_conversions.cc392 bool StringToUint(const StringPiece& input, unsigned* output) { in StringToUint() function
396 bool StringToUint(const StringPiece16& input, unsigned* output) { in StringToUint() function
/external/libchrome/base/
Dversion.cc37 if (!StringToUint(*it, &num)) in ParseVersionNumbers()