Home
last modified time | relevance | path

Searched refs:IsPathAbsolute (Results 1 – 25 of 47) sorted by relevance

12

/dports/devel/gn/gn-1962/src/gn/
H A Dfilesystem_utils_unittest.cc127 TEST(FilesystemUtils, IsPathAbsolute) { in TEST() argument
128 EXPECT_TRUE(IsPathAbsolute("/foo/bar")); in TEST()
129 EXPECT_TRUE(IsPathAbsolute("/")); in TEST()
130 EXPECT_FALSE(IsPathAbsolute("")); in TEST()
131 EXPECT_FALSE(IsPathAbsolute("//")); in TEST()
135 EXPECT_TRUE(IsPathAbsolute("C:/foo")); in TEST()
136 EXPECT_TRUE(IsPathAbsolute("C:/")); in TEST()
137 EXPECT_TRUE(IsPathAbsolute("C:\\foo")); in TEST()
138 EXPECT_TRUE(IsPathAbsolute("C:\\")); in TEST()
139 EXPECT_TRUE(IsPathAbsolute("/C:/foo")); in TEST()
[all …]
H A Dfilesystem_utils.cc336 bool IsPathAbsolute(std::string_view path) { in IsPathAbsolute() function
364 DCHECK(IsPathAbsolute(source_root)); in MakeAbsolutePathRelativeIfPossible()
365 DCHECK(IsPathAbsolute(path)); in MakeAbsolutePathRelativeIfPossible()
648 if (IsPathAbsolute(input) && !IsSlash(input[0]) && IsSlash(dest[0])) { in MakeRelativePath()
653 if (IsPathAbsolute(dest) && !IsSlash(dest[0]) && IsSlash(input[0])) { in MakeRelativePath()
660 if (IsPathAbsolute(input) && IsPathAbsolute(dest) && input.size() > 1 && in MakeRelativePath()
802 } else if (IsPathAbsolute(input)) { in ResolveRelative()
H A Dfilesystem_utils.h99 bool IsPathAbsolute(std::string_view path);
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/gn/tools/gn/
H A Dfilesystem_utils_unittest.cc127 TEST(FilesystemUtils, IsPathAbsolute) { in TEST() argument
128 EXPECT_TRUE(IsPathAbsolute("/foo/bar")); in TEST()
129 EXPECT_TRUE(IsPathAbsolute("/")); in TEST()
130 EXPECT_FALSE(IsPathAbsolute("")); in TEST()
131 EXPECT_FALSE(IsPathAbsolute("//")); in TEST()
135 EXPECT_TRUE(IsPathAbsolute("C:/foo")); in TEST()
136 EXPECT_TRUE(IsPathAbsolute("C:/")); in TEST()
137 EXPECT_TRUE(IsPathAbsolute("C:\\foo")); in TEST()
138 EXPECT_TRUE(IsPathAbsolute("C:\\")); in TEST()
139 EXPECT_TRUE(IsPathAbsolute("/C:/foo")); in TEST()
[all …]
H A Dfilesystem_utils.cc335 bool IsPathAbsolute(const base::StringPiece& path) { in IsPathAbsolute() function
363 DCHECK(IsPathAbsolute(source_root)); in MakeAbsolutePathRelativeIfPossible()
364 DCHECK(IsPathAbsolute(path)); in MakeAbsolutePathRelativeIfPossible()
652 if (IsPathAbsolute(input) && !IsSlash(input[0]) && IsSlash(dest[0])) { in MakeRelativePath()
657 if (IsPathAbsolute(dest) && !IsSlash(dest[0]) && IsSlash(input[0])) { in MakeRelativePath()
664 if (IsPathAbsolute(input) && IsPathAbsolute(dest) && input.size() > 1 && in MakeRelativePath()
808 } else if (IsPathAbsolute(input)) { in ResolveRelative()
H A Dfilesystem_utils.h99 bool IsPathAbsolute(const base::StringPiece& path);
/dports/www/chromium-legacy/chromium-88.0.4324.182/tools/gn/src/gn/
H A Dfilesystem_utils_unittest.cc127 TEST(FilesystemUtils, IsPathAbsolute) { in TEST() argument
128 EXPECT_TRUE(IsPathAbsolute("/foo/bar")); in TEST()
129 EXPECT_TRUE(IsPathAbsolute("/")); in TEST()
130 EXPECT_FALSE(IsPathAbsolute("")); in TEST()
131 EXPECT_FALSE(IsPathAbsolute("//")); in TEST()
135 EXPECT_TRUE(IsPathAbsolute("C:/foo")); in TEST()
136 EXPECT_TRUE(IsPathAbsolute("C:/")); in TEST()
137 EXPECT_TRUE(IsPathAbsolute("C:\\foo")); in TEST()
138 EXPECT_TRUE(IsPathAbsolute("C:\\")); in TEST()
139 EXPECT_TRUE(IsPathAbsolute("/C:/foo")); in TEST()
[all …]
H A Dfilesystem_utils.cc337 bool IsPathAbsolute(const std::string_view& path) { in IsPathAbsolute() function
365 DCHECK(IsPathAbsolute(source_root)); in MakeAbsolutePathRelativeIfPossible()
366 DCHECK(IsPathAbsolute(path)); in MakeAbsolutePathRelativeIfPossible()
649 if (IsPathAbsolute(input) && !IsSlash(input[0]) && IsSlash(dest[0])) { in MakeRelativePath()
654 if (IsPathAbsolute(dest) && !IsSlash(dest[0]) && IsSlash(input[0])) { in MakeRelativePath()
661 if (IsPathAbsolute(input) && IsPathAbsolute(dest) && input.size() > 1 && in MakeRelativePath()
804 } else if (IsPathAbsolute(input)) { in ResolveRelative()
H A Dfilesystem_utils.h99 bool IsPathAbsolute(const std::string_view& path);
/dports/www/firefox-esr/firefox-91.8.0/ipc/chromium/src/base/
H A Dfile_path.cc50 bool IsPathAbsolute(const FilePath::StringType& path) { in IsPathAbsolute() function
208 DCHECK(!IsPathAbsolute(component)); in Append()
254 bool FilePath::IsAbsolute() const { return IsPathAbsolute(path_); } in IsAbsolute()
/dports/lang/spidermonkey78/firefox-78.9.0/ipc/chromium/src/base/
H A Dfile_path.cc50 bool IsPathAbsolute(const FilePath::StringType& path) { in IsPathAbsolute() function
208 DCHECK(!IsPathAbsolute(component)); in Append()
254 bool FilePath::IsAbsolute() const { return IsPathAbsolute(path_); } in IsAbsolute()
/dports/www/firefox/firefox-99.0/ipc/chromium/src/base/
H A Dfile_path.cc50 bool IsPathAbsolute(const FilePath::StringType& path) { in IsPathAbsolute() function
208 DCHECK(!IsPathAbsolute(component)); in Append()
254 bool FilePath::IsAbsolute() const { return IsPathAbsolute(path_); } in IsAbsolute()
/dports/mail/thunderbird/thunderbird-91.8.0/ipc/chromium/src/base/
H A Dfile_path.cc50 bool IsPathAbsolute(const FilePath::StringType& path) { in IsPathAbsolute() function
208 DCHECK(!IsPathAbsolute(component)); in Append()
254 bool FilePath::IsAbsolute() const { return IsPathAbsolute(path_); } in IsAbsolute()
/dports/www/firefox-legacy/firefox-52.8.0esr/ipc/chromium/src/base/
H A Dfile_path.cc51 bool IsPathAbsolute(const FilePath::StringType& path) { in IsPathAbsolute() function
220 DCHECK(!IsPathAbsolute(component)); in Append()
269 return IsPathAbsolute(path_); in IsAbsolute()
/dports/lang/spidermonkey60/firefox-60.9.0/ipc/chromium/src/base/
H A Dfile_path.cc50 bool IsPathAbsolute(const FilePath::StringType& path) { in IsPathAbsolute() function
208 DCHECK(!IsPathAbsolute(component)); in Append()
254 bool FilePath::IsAbsolute() const { return IsPathAbsolute(path_); } in IsAbsolute()
/dports/www/firefox-esr/firefox-91.8.0/security/sandbox/chromium-shim/base/files/
H A Dfile_path.cpp37 bool IsPathAbsolute(StringPieceType path) { in IsPathAbsolute() function
157 DCHECK(!IsPathAbsolute(appended)); in Append()
/dports/www/firefox/firefox-99.0/security/sandbox/chromium-shim/base/files/
H A Dfile_path.cpp37 bool IsPathAbsolute(StringPieceType path) { in IsPathAbsolute() function
157 DCHECK(!IsPathAbsolute(appended)); in Append()
/dports/mail/thunderbird/thunderbird-91.8.0/security/sandbox/chromium-shim/base/files/
H A Dfile_path.cpp37 bool IsPathAbsolute(StringPieceType path) { in IsPathAbsolute() function
157 DCHECK(!IsPathAbsolute(appended)); in Append()
/dports/games/libretro-dosbox/dosbox-libretro-aa71b67/include/
H A Dcross.h77 static bool IsPathAbsolute(std::string const& in);
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/include/
H A Dcross.h95 static bool IsPathAbsolute(std::string const& in);
/dports/games/minetest/minetest-5.4.1/src/
H A Dfilesys.h55 bool IsPathAbsolute(const std::string &path);
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/gn/base/files/
H A Dfile_path.cc77 bool IsPathAbsolute(StringPieceType path) { in IsPathAbsolute() function
467 DCHECK(!IsPathAbsolute(appended)); in Append()
515 return IsPathAbsolute(path_); in IsAbsolute()
/dports/www/chromium-legacy/chromium-88.0.4324.182/tools/gn/src/base/files/
H A Dfile_path.cc79 bool IsPathAbsolute(StringViewType path) { in IsPathAbsolute() function
465 DCHECK(!IsPathAbsolute(appended)); in Append()
513 return IsPathAbsolute(path_); in IsAbsolute()
/dports/devel/gn/gn-1962/src/base/files/
H A Dfile_path.cc78 bool IsPathAbsolute(StringViewType path) { in IsPathAbsolute() function
464 DCHECK(!IsPathAbsolute(appended)); in Append()
512 return IsPathAbsolute(path_); in IsAbsolute()
/dports/games/libretro-dosbox/dosbox-libretro-aa71b67/src/misc/
H A Dcross.cpp130 bool Cross::IsPathAbsolute(std::string const& in) in IsPathAbsolute() function in Cross

12