Home
last modified time | relevance | path

Searched refs:is_absolute (Results 1 – 25 of 51) sorted by relevance

123

/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.absolute/
Dabsolute.pass.cpp45 TEST_CHECK(p.is_absolute()); in TEST_CASE()
47 TEST_CHECK(ret.is_absolute()); in TEST_CASE()
56 TEST_CHECK(p.is_absolute()); in TEST_CASE()
62 TEST_CHECK(ret.is_absolute()); in TEST_CASE()
75 TEST_CHECK(not p.is_absolute()); in TEST_CASE()
82 TEST_CHECK(ret.is_absolute()); in TEST_CASE()
95 TEST_CHECK(ret.is_absolute()); in TEST_CASE()
112 TEST_CHECK(ret.is_absolute()); in TEST_CASE()
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.current_path/
Dcurrent_path.pass.cpp46 TEST_CHECK(p.is_absolute()); in TEST_CASE()
80 TEST_CHECK(new_cwd.is_absolute()); in TEST_CASE()
/external/clang/tools/libclang/
DBuildSystem.cpp43 if (!path::is_absolute(virtualPath)) in clang_VirtualFileOverlay_addFileMapping()
45 if (!path::is_absolute(realPath)) in clang_VirtualFileOverlay_addFileMapping()
/external/python/cpython3/Lib/test/
Dtest_pathlib.py669 self.assertFalse(P().is_absolute())
670 self.assertFalse(P('a').is_absolute())
671 self.assertFalse(P('a/b/').is_absolute())
672 self.assertTrue(P('/').is_absolute())
673 self.assertTrue(P('/a').is_absolute())
674 self.assertTrue(P('/a/b/').is_absolute())
675 self.assertTrue(P('//a').is_absolute())
676 self.assertTrue(P('//a/b').is_absolute())
1065 self.assertFalse(P().is_absolute())
1066 self.assertFalse(P('a').is_absolute())
[all …]
/external/libcxx/test/std/experimental/filesystem/class.path/path.member/path.decompose/
Dpath.decompose.pass.cpp138 assert(p.is_absolute() == p.has_root_directory()); in decompPathTest()
139 assert(p.is_relative() != p.is_absolute()); in decompPathTest()
/external/libmojo/base/
Dpath_service.cc231 bool is_absolute, in OverrideAndCreateIfNeeded() argument
250 if (!is_absolute) { in OverrideAndCreateIfNeeded()
Dpath_service.h60 bool is_absolute,
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.system_complete/
Dsystem_complete.pass.cpp53 TEST_CHECK(ret.is_absolute()); in TEST_CASE()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPathV1.h317 LLVM_PATH_DEPRECATED_MSG(path::is_absolute));
324 LLVM_PATH_DEPRECATED_MSG(path::is_absolute));
DPathV2.h346 bool is_absolute(const Twine &path);
/external/llvm/lib/Support/
DProcess.cpp32 assert(!path::is_absolute(FileName)); in FindInEnvPath()
DPath.cpp170 if (!sys::path::is_absolute(Twine(ModelStorage))) { in createUniqueEntity()
676 bool is_absolute(const Twine &path) { in is_absolute() function
690 bool is_relative(const Twine &path) { return !is_absolute(path); } in is_relative()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DProcess.cpp32 assert(!path::is_absolute(FileName)); in FindInEnvPath()
DPath.cpp170 if (!sys::path::is_absolute(Twine(ModelStorage))) { in createUniqueEntity()
676 bool is_absolute(const Twine &path) { in is_absolute() function
690 bool is_relative(const Twine &path) { return !is_absolute(path); } in is_relative()
716 if (path::is_absolute(path)) in remove_dots()
/external/clang/lib/Basic/
DFileSystemStatCache.cpp122 if (!Data.IsDirectory || llvm::sys::path::is_absolute(Path)) in getStat()
DFileManager.cpp394 || llvm::sys::path::is_absolute(pathRef)) in FixupRelativePath()
406 if (!llvm::sys::path::is_absolute(StringRef(Path.data(), Path.size()))) { in makeAbsolutePath()
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.canonical/
Dcanonical.pass.cpp74 TEST_CHECK(ret.is_absolute()); in TEST_CASE()
/external/llvm/include/llvm/Support/
DPath.h431 bool is_absolute(const Twine &path);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DPath.h431 bool is_absolute(const Twine &path);
/external/clang/tools/clang-check/
DClangCheck.cpp94 assert(llvm::sys::path::is_absolute(filename) && in RewriteFilename()
/external/python/cpython3/Doc/library/
Dpathlib.rst441 .. method:: PurePath.is_absolute()
446 >>> PurePosixPath('/a/b').is_absolute()
448 >>> PurePosixPath('a/b').is_absolute()
451 >>> PureWindowsPath('c:/a/b').is_absolute()
453 >>> PureWindowsPath('/a/b').is_absolute()
455 >>> PureWindowsPath('c:').is_absolute()
457 >>> PureWindowsPath('//some/share').is_absolute()
/external/llvm/lib/Object/
DArchiveWriter.cpp175 if (sys::path::is_absolute(From) || sys::path::is_absolute(To)) in computeRelativePath()
/external/clang/lib/Frontend/
DModuleDependencyCollector.cpp48 if (llvm::sys::path::is_absolute(HeaderPath)) in moduleMapAddHeader()
/external/python/cpython3/Lib/
Dpathlib.py348 base = '' if path.is_absolute() else os.getcwd()
721 if not self.is_absolute():
918 def is_absolute(self): member in PurePath
1106 if self.is_absolute():
/external/clang/lib/Tooling/
DTooling.cpp374 if (llvm::sys::path::is_absolute(MappedFile.first)) in run()
419 if (!llvm::sys::path::is_absolute(MappedFile.first)) in run()

123