IsValidDiskName 328 base/process/process_metrics.h BASE_EXPORT bool IsValidDiskName(const std::string& candidate); IsValidDiskName 808 base/process/process_metrics_linux.cc if (IsValidDiskName(disk_fields[kDiskDriveName])) { IsValidDiskName 30 base/process/process_metrics_unittest.cc TEST_F(SystemMetricsTest, IsValidDiskName) { IsValidDiskName 40 base/process/process_metrics_unittest.cc EXPECT_FALSE(IsValidDiskName(invalid_input1)); IsValidDiskName 41 base/process/process_metrics_unittest.cc EXPECT_FALSE(IsValidDiskName(invalid_input2)); IsValidDiskName 42 base/process/process_metrics_unittest.cc EXPECT_FALSE(IsValidDiskName(invalid_input3)); IsValidDiskName 43 base/process/process_metrics_unittest.cc EXPECT_FALSE(IsValidDiskName(invalid_input4)); IsValidDiskName 44 base/process/process_metrics_unittest.cc EXPECT_FALSE(IsValidDiskName(invalid_input5)); IsValidDiskName 45 base/process/process_metrics_unittest.cc EXPECT_FALSE(IsValidDiskName(invalid_input6)); IsValidDiskName 46 base/process/process_metrics_unittest.cc EXPECT_FALSE(IsValidDiskName(invalid_input7)); IsValidDiskName 47 base/process/process_metrics_unittest.cc EXPECT_FALSE(IsValidDiskName(invalid_input8)); IsValidDiskName 55 base/process/process_metrics_unittest.cc EXPECT_TRUE(IsValidDiskName(valid_input1)); IsValidDiskName 56 base/process/process_metrics_unittest.cc EXPECT_TRUE(IsValidDiskName(valid_input2)); IsValidDiskName 57 base/process/process_metrics_unittest.cc EXPECT_TRUE(IsValidDiskName(valid_input3)); IsValidDiskName 58 base/process/process_metrics_unittest.cc EXPECT_TRUE(IsValidDiskName(valid_input4)); IsValidDiskName 59 base/process/process_metrics_unittest.cc EXPECT_TRUE(IsValidDiskName(valid_input5));