Searched refs:StringToUint (Results 1 – 4 of 4) sorted by relevance
/external/libchrome/base/strings/ |
D | string_number_conversions.h | 83 BASE_EXPORT bool StringToUint(const StringPiece& input, unsigned* output); 84 BASE_EXPORT bool StringToUint(const StringPiece16& input, unsigned* output);
|
D | string_number_conversions_unittest.cc | 171 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()
|
D | string_number_conversions.cc | 392 bool StringToUint(const StringPiece& input, unsigned* output) { in StringToUint() function 396 bool StringToUint(const StringPiece16& input, unsigned* output) { in StringToUint() function
|
/external/libchrome/base/ |
D | version.cc | 37 if (!StringToUint(*it, &num)) in ParseVersionNumbers()
|