| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.path/path.member/path.decompose/ |
| H A D | path.decompose.pass.cpp | 176 assert(p.is_absolute() == false); in decompPathTest() 182 assert(p.is_absolute() == p.has_root_directory()); in decompPathTest() 188 assert(p.is_absolute() == true); in decompPathTest() 190 assert(p.is_absolute() == false); in decompPathTest() 194 assert(p.is_absolute() == p.has_root_directory()); in decompPathTest() 196 assert(p.is_relative() != p.is_absolute()); in decompPathTest()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/support/ |
| H A D | Path.cpp | 23 assert(llvm::sys::path::is_absolute(Path)); in absoluteParent() 32 assert(Result.empty() || llvm::sys::path::is_absolute(Result)); in absoluteParent() 38 assert(llvm::sys::path::is_absolute(Ancestor) && in pathStartsWith() 39 llvm::sys::path::is_absolute(Path)); in pathStartsWith()
|
| H A D | FileCache.cpp | 27 assert(llvm::sys::path::is_absolute(Path)); in FileCache() 49 assert(llvm::sys::path::is_absolute(Path)); in read()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/ |
| H A D | PDBSymbolCompiland.cpp | 57 if (sys::path::is_absolute(EnvSrc)) in getSourceFileFullPath() 69 if (sys::path::is_absolute(Path)) in getSourceFileFullPath() 77 if (sys::path::is_absolute(RecordedResult)) in getSourceFileFullPath()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.current_path/ |
| H A D | current_path.pass.cpp | 45 TEST_CHECK(p.is_absolute()); in TEST_CASE() 85 TEST_CHECK(new_cwd.is_absolute()); in TEST_CASE()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | BuildSystem.cpp | 44 if (!path::is_absolute(virtualPath)) in clang_VirtualFileOverlay_addFileMapping() 46 if (!path::is_absolute(realPath)) in clang_VirtualFileOverlay_addFileMapping()
|
| /llvm-project-15.0.7/clang/unittests/libclang/ |
| H A D | TestUtils.h | 51 if (!llvm::sys::path::is_absolute(Filename)) { in WriteFile() 63 if (!llvm::sys::path::is_absolute(Filename)) { in MapUnsavedFile()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/marshalling/ |
| H A D | Marshalling.cpp | 37 using llvm::sys::path::is_absolute; 62 assert(is_absolute(RemoteIndexRoot)); in Marshaller() 69 assert(is_absolute(LocalIndexRoot)); in Marshaller() 319 if (is_absolute(RelativePath, Style::posix)) in relativePathToURI() 337 if (is_absolute(Path.substr(1), Style::windows)) in uriToRelativePath()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | URI.cpp | 211 if (!llvm::sys::path::is_absolute(AbsolutePath)) in create() 220 if (!llvm::sys::path::is_absolute(AbsolutePath)) in create() 255 if (!llvm::sys::path::is_absolute(AbsPath)) in resolvePath()
|
| H A D | PathMapping.cpp | 150 if (path::is_absolute(Path, path::Style::posix)) { in parsePath() 153 if (path::is_absolute(Path, path::Style::windows)) { in parsePath()
|
| H A D | CompileCommands.cpp | 153 if (!llvm::sys::path::is_absolute(Driver)) { in resolveDriver() 168 if (Absolute && llvm::sys::path::is_absolute(*Absolute)) in resolveDriver() 177 assert(llvm::sys::path::is_absolute(Driver)); in resolveDriver()
|
| H A D | Headers.cpp | 203 (!Verbatim && llvm::sys::path::is_absolute(File)); in valid() 350 if (llvm::sys::path::is_absolute(Suggested)) in calculateIncludePath()
|
| H A D | FS.cpp | 19 assert(llvm::sys::path::is_absolute(MainFilePath)); in PreambleFileStatusCache()
|
| H A D | GlobalCompilationDatabase.cpp | 147 assert(llvm::sys::path::is_absolute(Path)); in DirectoryCache() 386 if (!llvm::sys::path::is_absolute(Dir)) in getDirectoryCaches() 404 assert(llvm::sys::path::is_absolute(Request.FileName) && in lookupCDB()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.absolute/ |
| H A D | absolute.pass.cpp | 52 TEST_CHECK(ret.is_absolute()); in TEST_CASE()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | Process.cpp | 42 assert(!path::is_absolute(FileName)); in FindInEnvPath()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | FileSystemStatCache.cpp | 116 if (!Status.isDirectory() || llvm::sys::path::is_absolute(Path)) in getStat()
|
| /llvm-project-15.0.7/clang-tools-extra/modularize/ |
| H A D | ModularizeUtilities.cpp | 167 if (llvm::sys::path::is_absolute(TargetAndDependents.first)) in loadSingleHeaderListsAndDependencies() 184 if (llvm::sys::path::is_absolute(DependentsList[Index])) in loadSingleHeaderListsAndDependencies() 239 if (llvm::sys::path::is_absolute(Line)) in loadProblemHeaderList()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.canonical/ |
| H A D | canonical.pass.cpp | 75 TEST_CHECK(ret.is_absolute()); in TEST_CASE()
|
| /llvm-project-15.0.7/libcxx/include/__filesystem/ |
| H A D | path.h | 562 if (__p.is_absolute() || 573 if (has_filename() || (!has_root_directory() && is_absolute())) 598 if (__p.is_absolute()) { 963 _LIBCPP_HIDE_FROM_ABI bool is_absolute() const { 987 _LIBCPP_HIDE_FROM_ABI bool is_relative() const { return !is_absolute(); }
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | BackgroundIndexLoader.cpp | 125 assert(llvm::sys::path::is_absolute(MainFile)); in loadIndexShards()
|
| /llvm-project-15.0.7/clang/unittests/Serialization/ |
| H A D | ModuleCacheTest.cpp | 42 ASSERT_FALSE(sys::path::is_absolute(Path)); in addFile()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | ModuleDependencyCollector.cpp | 66 if (llvm::sys::path::is_absolute(HeaderPath)) in moduleMapAddHeader()
|
| /llvm-project-15.0.7/flang/lib/Parser/ |
| H A D | source.cpp | 61 if (name == "-" || llvm::sys::path::is_absolute(name)) { in LocateSourceFile()
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | Hurd.cpp | 162 llvm::sys::path::is_absolute(Dir) ? "" : StringRef(SysRoot); in AddClangSystemIncludeArgs()
|