Searched refs:StringToSizeT (Results 1 – 5 of 5) sorted by relevance
/external/libchrome/base/strings/ |
D | string_number_conversions.h | 92 BASE_EXPORT bool StringToSizeT(const StringPiece& input, size_t* output); 93 BASE_EXPORT bool StringToSizeT(const StringPiece16& input, size_t* output);
|
D | string_number_conversions_unittest.cc | 368 TEST(StringNumberConversionsTest, StringToSizeT) { in TEST() argument 413 EXPECT_EQ(cases[i].success, StringToSizeT(cases[i].input, &output)); in TEST() 418 EXPECT_EQ(cases[i].success, StringToSizeT(utf16_input, &output)); in TEST() 428 EXPECT_FALSE(StringToSizeT(input_string, &output)); in TEST() 433 EXPECT_FALSE(StringToSizeT(utf16_input, &output)); in TEST()
|
D | string_number_conversions.cc | 416 bool StringToSizeT(const StringPiece& input, size_t* output) { in StringToSizeT() function 420 bool StringToSizeT(const StringPiece16& input, size_t* output) { in StringToSizeT() function
|
/external/libchrome/base/process/ |
D | internal_linux.cc | 133 return StringToSizeT(proc_stats[field_num], &value) ? value : 0; in GetProcStatsFieldAsSizeT()
|
D | process_metrics_linux.cc | 82 if (!StringToSizeT(split_value_str[0], &value)) { in ReadProcStatusAndGetFieldAsSizeT()
|