Searched refs:IsPathAbsolute (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/tools/gn/
H A Dfilesystem_utils_unittest.cc121 TEST(FilesystemUtils, IsPathAbsolute) {
122 EXPECT_TRUE(IsPathAbsolute("/foo/bar"));
123 EXPECT_TRUE(IsPathAbsolute("/"));
124 EXPECT_FALSE(IsPathAbsolute(""));
125 EXPECT_FALSE(IsPathAbsolute("//"));
126 EXPECT_FALSE(IsPathAbsolute("//foo/bar"));
129 EXPECT_TRUE(IsPathAbsolute("C:/foo"));
130 EXPECT_TRUE(IsPathAbsolute("C:/"));
131 EXPECT_TRUE(IsPathAbsolute("C:\\foo"));
132 EXPECT_TRUE(IsPathAbsolute("
[all...]
H A Dsource_dir.cc57 } else if (IsPathAbsolute(p)) {
94 } else if (IsPathAbsolute(p)) {
H A Dfilesystem_utils.h104 bool IsPathAbsolute(const base::StringPiece& path);
H A Dfilesystem_utils.cc330 bool IsPathAbsolute(const base::StringPiece& path) { function
354 DCHECK(IsPathAbsolute(source_root));
355 DCHECK(IsPathAbsolute(path));
/external/chromium_org/base/files/
H A Dfile_path.cc81 bool IsPathAbsolute(const StringType& path) { function in namespace:base::__anon2248
485 DCHECK(!IsPathAbsolute(*appended));
533 return IsPathAbsolute(path_);

Completed in 159 milliseconds