Home
last modified time | relevance | path

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

/external/libchrome/base/strings/
Dstring_number_conversions_fuzzer.cc22 base::StringToUint(string_piece_input, &out_uint); in LLVMFuzzerTestOneInput()
36 base::StringToUint(string_piece_input16, &out_uint); in LLVMFuzzerTestOneInput()
Dstring_number_conversions_unittest.cc173 TEST(StringNumberConversionsTest, StringToUint) { in TEST() argument
209 EXPECT_EQ(cases[i].success, StringToUint(cases[i].input, &output)); in TEST()
214 EXPECT_EQ(cases[i].success, StringToUint(utf16_input, &output)); in TEST()
224 EXPECT_FALSE(StringToUint(input_string, &output)); in TEST()
229 EXPECT_FALSE(StringToUint(utf16_input, &output)); in TEST()
234 EXPECT_FALSE(StringToUint(string16(negative_wide_input), &output)); in TEST()
Dstring_number_conversions.h103 BASE_EXPORT bool StringToUint(StringPiece input, unsigned* output);
104 BASE_EXPORT bool StringToUint(StringPiece16 input, unsigned* output);
Dstring_number_conversions.cc402 bool StringToUint(StringPiece input, unsigned* output) { in StringToUint() function
406 bool StringToUint(StringPiece16 input, unsigned* output) { in StringToUint() function
/external/libchrome/mojo/public/cpp/platform/
Dplatform_channel.cc250 if (value.empty() || !base::StringToUint(value, &handle_value)) { in RecoverPassedEndpointFromString()
258 if (value.empty() || !base::StringToUint(value, &key)) { in RecoverPassedEndpointFromString()
/external/libchrome/base/
Dversion.cc37 if (!StringToUint(*it, &num)) in ParseVersionNumbers()