/freebsd/contrib/kyua/utils/fs/ |
H A D | path_test.cpp | 95 ATF_TEST_CASE_WITHOUT_HEAD(is_absolute); 96 ATF_TEST_CASE_BODY(is_absolute) in ATF_TEST_CASE_BODY() argument 98 ATF_REQUIRE( path("/").is_absolute()); in ATF_TEST_CASE_BODY() 99 ATF_REQUIRE( path("////").is_absolute()); in ATF_TEST_CASE_BODY() 100 ATF_REQUIRE( path("////a").is_absolute()); in ATF_TEST_CASE_BODY() 101 ATF_REQUIRE( path("//a//").is_absolute()); in ATF_TEST_CASE_BODY() 102 ATF_REQUIRE(!path("a////").is_absolute()); in ATF_TEST_CASE_BODY() 103 ATF_REQUIRE(!path("../foo").is_absolute()); in ATF_TEST_CASE_BODY() 265 ATF_ADD_TEST_CASE(tcs, is_absolute); in ATF_INIT_TEST_CASES()
|
H A D | path.cpp | 157 PRE(!is_absolute()); in to_absolute() 164 fs::path::is_absolute(void) const in is_absolute() function in fs::path 286 if (rest.is_absolute()) in operator /()
|
H A D | lua_module.cpp | 69 if (path.is_absolute()) { in qualify_path() 272 state.push_boolean(path.is_absolute()); in lua_fs_is_absolute()
|
H A D | path.hpp | 69 bool is_absolute(void) const;
|
H A D | operations.cpp | 415 if (candidate.is_absolute()) in find_in_path() 644 const fs::path mount_point = in_mount_point.is_absolute() ? in mount_tmpfs() 780 const fs::path mount_point = in_mount_point.is_absolute() ? in unmount()
|
/freebsd/contrib/atf/atf-c++/detail/ |
H A D | fs_test.cpp | 100 ATF_REQUIRE( path("/").is_absolute()); in ATF_TEST_CASE_BODY() 101 ATF_REQUIRE( path("////").is_absolute()); in ATF_TEST_CASE_BODY() 102 ATF_REQUIRE( path("////a").is_absolute()); in ATF_TEST_CASE_BODY() 103 ATF_REQUIRE( path("//a//").is_absolute()); in ATF_TEST_CASE_BODY() 104 ATF_REQUIRE(!path("a////").is_absolute()); in ATF_TEST_CASE_BODY() 105 ATF_REQUIRE(!path("../foo").is_absolute()); in ATF_TEST_CASE_BODY() 223 ATF_REQUIRE(pa.is_absolute()); in ATF_TEST_CASE_BODY() 234 ATF_REQUIRE(pa.is_absolute()); in ATF_TEST_CASE_BODY()
|
H A D | fs.hpp | 138 bool is_absolute(void) const;
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/kyua/store/ |
H A D | layout.cpp | 155 if (id_as_path.is_absolute()) in find_results() 235 if (home_path.is_absolute()) in query_store_dir() 254 if (path.is_absolute()) in test_suite_for_path()
|
H A D | layout_test.cpp | 284 ATF_REQUIRE(store_dir.is_absolute()); in ATF_TEST_CASE_BODY() 295 ATF_REQUIRE(store_dir.is_absolute()); in ATF_TEST_CASE_BODY()
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/ |
H A D | LocateToolCompilationDatabase.cpp | 47 if (llvm::sys::path::is_absolute(Driver)) in addLocation() 56 if (Absolute && llvm::sys::path::is_absolute(*Absolute)) in addLocation()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/ |
H A D | Utils.h | 102 return sys::path::is_absolute(Path, sys::path::Style::posix) || in isPathAbsoluteOnWindowsOrPosix() 103 sys::path::is_absolute(Path, sys::path::Style::windows); in isPathAbsoluteOnWindowsOrPosix()
|
/freebsd/contrib/kyua/engine/ |
H A D | kyuafile.cpp | 100 PRE(!file.is_absolute()); in relativize() 255 if (file.is_absolute()) in callback_current_kyuafile() 332 if (raw_path.is_absolute()) in callback_test_program() 657 const fs::path abs_build_root = build_root_.is_absolute() ? in load()
|
H A D | requirements.cpp | 192 INV((*iter).is_absolute()); in check_required_files() 211 if ((*iter).is_absolute()) { in check_required_programs()
|
/freebsd/contrib/kyua/utils/ |
H A D | stacktrace.cpp | 188 if (gdb.is_absolute()) in find_gdb() 212 if (program.is_absolute()) { in find_core()
|
/freebsd/contrib/kyua/model/ |
H A D | test_program.cpp | 91 PRE_MSG(!binary.is_absolute(), in impl() 174 return full_path.is_absolute() ? full_path : full_path.to_absolute(); in absolute_path()
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | FileSystemStatCache.cpp | 116 if (!Status.isDirectory() || llvm::sys::path::is_absolute(Path)) in getStat()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | Process.cpp | 42 assert(!path::is_absolute(FileName)); in FindInEnvPath()
|
H A D | FileCollector.cpp | 54 assert(sys::path::is_absolute(Root) && "Root not absolute"); in FileCollector() 55 assert(sys::path::is_absolute(OverlayRoot) && "OverlayRoot not absolute"); in FileCollector()
|
H A D | VirtualFileSystem.cpp | 129 if (llvm::sys::path::is_absolute(Path)) in makeAbsolute() 1372 if (llvm::sys::path::is_absolute(Path, llvm::sys::path::Style::posix) || in makeAbsolute() 1373 llvm::sys::path::is_absolute(Path, in makeAbsolute() 1395 !sys::path::is_absolute(WorkingDir, sys::path::Style::posix) && in makeAbsolute() 1396 !sys::path::is_absolute(WorkingDir, in makeAbsolute() 1401 if (sys::path::is_absolute(WorkingDir, sys::path::Style::posix)) { in makeAbsolute() 1945 if (sys::path::is_absolute(Name, sys::path::Style::posix)) { in parseEntry() 1947 } else if (sys::path::is_absolute(Name, in parseEntry() 1971 path_style = sys::path::is_absolute(Name, sys::path::Style::posix) in parseEntry() 2726 assert(sys::path::is_absolute(VirtualPath) && "virtual path not absolute"); in addEntry() [all …]
|
H A D | Path.cpp | 672 bool is_absolute(const Twine &path, Style style) { in is_absolute() function 701 return !is_absolute(path, style); in is_relative() 804 if (!sys::path::is_absolute(Twine(ModelStorage))) { in createUniquePath() 957 if (path::is_absolute(path)) in make_absolute()
|
/freebsd/contrib/llvm-project/libcxx/include/__filesystem/ |
H A D | path.h | 482 …if (__p.is_absolute() || (!__p_root_name.empty() && __p_root_name != __string_view(root_name().__p… 492 if (has_filename() || (!has_root_directory() && is_absolute())) 513 if (__p.is_absolute()) { 825 _LIBCPP_HIDE_FROM_ABI bool is_absolute() const { 849 _LIBCPP_HIDE_FROM_ABI bool is_relative() const { return !is_absolute(); }
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | Solaris.cpp | 62 if (llvm::sys::path::is_absolute(UseLinker) && in getLinkerPath() 388 llvm::sys::path::is_absolute(dir) ? "" : StringRef(D.SysRoot); in AddClangSystemIncludeArgs()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | ModuleDependencyCollector.cpp | 73 if (llvm::sys::path::is_absolute(HeaderPath)) in moduleMapAddHeader()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-ar/ |
H A D | llvm-ar.cpp | 540 if (!sys::path::is_absolute(Name)) { in doDisplayTable() 756 if (sys::path::is_absolute(*FileNameOrErr)) { in addChildMember() 796 if (sys::path::is_absolute(FileName)) in getArchiveMember() 857 if (Thin && !sys::path::is_absolute(Path)) { in computeInsertAction()
|