Searched refs:absolute_path (Results 1 – 3 of 3) sorted by relevance
29 string absolute_path; in TEST() local30 EXPECT_FALSE(IoDelegate::GetAbsolutePath("", &absolute_path)); in TEST()31 EXPECT_TRUE(absolute_path.empty()); in TEST()35 string absolute_path; in TEST() local36 EXPECT_TRUE(IoDelegate::GetAbsolutePath("foo", &absolute_path)); in TEST()37 ASSERT_FALSE(absolute_path.empty()); in TEST()40 EXPECT_TRUE(absolute_path.rfind("/foo") == absolute_path.length() - 4); in TEST()42 EXPECT_EQ(absolute_path[0], '/'); in TEST()
46 bool IoDelegate::GetAbsolutePath(const string& path, string* absolute_path) { in GetAbsolutePath() argument55 *absolute_path = buf; in GetAbsolutePath()67 *absolute_path = path; in GetAbsolutePath()78 *absolute_path = buf; in GetAbsolutePath()79 *absolute_path += OS_PATH_SEPARATOR; in GetAbsolutePath()80 *absolute_path += path; in GetAbsolutePath()154 string absolute_path; in CreateDirForPath() local155 if (!GetAbsolutePath(path, &absolute_path)) { in CreateDirForPath()159 auto directories = Split(absolute_path, string{OS_PATH_SEPARATOR}); in CreateDirForPath()
40 std::string* absolute_path);