Searched refs:first_dir (Results 1 – 2 of 2) sorted by relevance
71 TemporaryDir first_dir; in TEST() local73 auto result = FindFirstExistingDirectory(first_dir.path, second_dir.path); in TEST()75 ASSERT_EQ(*result, first_dir.path); in TEST()79 TemporaryDir first_dir; in TEST() local81 auto result = FindFirstExistingDirectory(first_dir.path, second_dir); in TEST()83 ASSERT_EQ(*result, first_dir.path); in TEST()87 auto first_dir = "/data/local/tmp/does/not/exist"; in TEST() local89 auto result = FindFirstExistingDirectory(first_dir, second_dir.path); in TEST()95 auto first_dir = "/data/local/tmp/does/not/exist"; in TEST() local97 auto result = FindFirstExistingDirectory(first_dir, second_dir); in TEST()[all …]
228 const std::string& first_dir, const std::string& second_dir) { in FindFirstExistingDirectory() argument230 if (stat(first_dir.c_str(), &stat_buf) != 0) { in FindFirstExistingDirectory()231 PLOG(WARNING) << "Failed to stat " << first_dir; in FindFirstExistingDirectory()242 return first_dir; in FindFirstExistingDirectory()244 LOG(WARNING) << first_dir << " is not a directory"; in FindFirstExistingDirectory()