Home
last modified time | relevance | path

Searched refs:DirectoryWithNoLastSlash (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/tools/gn/
Dscope_per_file_provider.cc69 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()
Dfilesystem_utils_unittest.cc249 TEST(FilesystemUtils, DirectoryWithNoLastSlash) { in TEST() argument
250 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()
Dfilesystem_utils.h146 std::string DirectoryWithNoLastSlash(const SourceDir& dir);
Dfilesystem_utils.cc551 std::string DirectoryWithNoLastSlash(const SourceDir& dir) { in DirectoryWithNoLastSlash() function