Searched refs:absolute_path (Results 1 – 3 of 3) sorted by relevance
34 string absolute_path; in TEST() local35 EXPECT_FALSE(IoDelegate::GetAbsolutePath("", &absolute_path)); in TEST()36 EXPECT_TRUE(absolute_path.empty()); in TEST()41 string absolute_path; in TEST() local42 EXPECT_TRUE(IoDelegate::GetAbsolutePath("foo", &absolute_path)); in TEST()43 ASSERT_FALSE(absolute_path.empty()); in TEST()46 EXPECT_TRUE(absolute_path.rfind("/foo") == absolute_path.length() - 4); in TEST()48 EXPECT_EQ(absolute_path[0], '/'); in TEST()
50 bool IoDelegate::GetAbsolutePath(const string& path, string* absolute_path) { in GetAbsolutePath() argument59 *absolute_path = buf; in GetAbsolutePath()70 *absolute_path = path; in GetAbsolutePath()81 *absolute_path = buf; in GetAbsolutePath()82 *absolute_path += OS_PATH_SEPARATOR; in GetAbsolutePath()83 *absolute_path += path; in GetAbsolutePath()156 string absolute_path; in CreateDirForPath() local157 if (!GetAbsolutePath(path, &absolute_path)) { in CreateDirForPath()161 auto directories = Split(absolute_path, string{OS_PATH_SEPARATOR}); in CreateDirForPath()
45 std::string* absolute_path);