Searched refs:first_dir (Results 1 – 2 of 2) sorted by relevance
69 TemporaryDir first_dir; in TEST() local71 auto result = FindFirstExistingDirectory(first_dir.path, second_dir.path); in TEST()73 ASSERT_EQ(*result, first_dir.path); in TEST()77 TemporaryDir first_dir; in TEST() local79 auto result = FindFirstExistingDirectory(first_dir.path, second_dir); in TEST()81 ASSERT_EQ(*result, first_dir.path); in TEST()85 auto first_dir = "/data/local/tmp/does/not/exist"; in TEST() local87 auto result = FindFirstExistingDirectory(first_dir, second_dir.path); in TEST()93 auto first_dir = "/data/local/tmp/does/not/exist"; in TEST() local95 auto result = FindFirstExistingDirectory(first_dir, second_dir); in TEST()[all …]
286 const std::string& first_dir, const std::string& second_dir) { in FindFirstExistingDirectory() argument288 if (stat(first_dir.c_str(), &stat_buf) != 0) { in FindFirstExistingDirectory()289 PLOG(WARNING) << "Failed to stat " << first_dir; in FindFirstExistingDirectory()300 return first_dir; in FindFirstExistingDirectory()302 LOG(WARNING) << first_dir << " is not a directory"; in FindFirstExistingDirectory()