Searched refs:IsPathAbsolute (Results 1 – 7 of 7) sorted by relevance
127 TEST(FilesystemUtils, IsPathAbsolute) { in TEST() argument128 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()132 EXPECT_FALSE(IsPathAbsolute("//foo/bar")); 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()[all …]
336 bool IsPathAbsolute(std::string_view path) { in IsPathAbsolute() function364 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()
99 bool IsPathAbsolute(std::string_view path);
105 if (IsPathAbsolute(input)) { in Resolve()
110 if (!IsPathSourceAbsolute(s) && !IsPathAbsolute(s)) { in AbsoluteOrSourceAbsoluteStringToLabel()144 if (!IsPathSourceAbsolute(s) && !IsPathAbsolute(s)) { in JSONToInputs()
579 if (IsPathAbsolute(source.value())) in ShouldIncludeFileInProject()
78 bool IsPathAbsolute(StringViewType path) { in IsPathAbsolute() function464 DCHECK(!IsPathAbsolute(appended)); in Append()512 return IsPathAbsolute(path_); in IsAbsolute()