Searched refs:DirectoryWithNoLastSlash (Results 1 – 4 of 4) sorted by relevance
69 root_build_dir_.reset(new Value(NULL, DirectoryWithNoLastSlash( in GetRootBuildDir()78 DirectoryWithNoLastSlash(GetToolchainGenDir(scope_->settings())))); in GetRootGenDir()86 DirectoryWithNoLastSlash(GetToolchainOutputDir(scope_->settings())))); in GetRootOutDir()94 DirectoryWithNoLastSlash(GetCurrentGenDir(scope_)))); in GetTargetGenDir()102 DirectoryWithNoLastSlash(GetCurrentOutputDir(scope_)))); in GetTargetOutDir()
249 TEST(FilesystemUtils, DirectoryWithNoLastSlash) { in TEST() argument250 EXPECT_EQ("", DirectoryWithNoLastSlash(SourceDir())); in TEST()251 EXPECT_EQ("/.", DirectoryWithNoLastSlash(SourceDir("/"))); in TEST()252 EXPECT_EQ("//.", DirectoryWithNoLastSlash(SourceDir("//"))); in TEST()253 EXPECT_EQ("//foo", DirectoryWithNoLastSlash(SourceDir("//foo/"))); in TEST()254 EXPECT_EQ("/bar", DirectoryWithNoLastSlash(SourceDir("/bar/"))); in TEST()
146 std::string DirectoryWithNoLastSlash(const SourceDir& dir);
551 std::string DirectoryWithNoLastSlash(const SourceDir& dir) { in DirectoryWithNoLastSlash() function