/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/llvm-project/llvm/include/llvm/DWARFLinker/ |
H A D | Utils.h | 57 return sys::path::is_absolute(Path, sys::path::Style::posix) || in isPathAbsoluteOnWindowsOrPosix() 58 sys::path::is_absolute(Path, sys::path::Style::windows); in isPathAbsoluteOnWindowsOrPosix()
|
/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/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 | 163 INV((*iter).is_absolute()); in check_required_files() 182 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() 1348 if (llvm::sys::path::is_absolute(Path, llvm::sys::path::Style::posix) || in makeAbsolute() 1349 llvm::sys::path::is_absolute(Path, in makeAbsolute() 1371 !sys::path::is_absolute(WorkingDir, sys::path::Style::posix) && in makeAbsolute() 1372 !sys::path::is_absolute(WorkingDir, in makeAbsolute() 1377 if (sys::path::is_absolute(WorkingDir, sys::path::Style::posix)) { in makeAbsolute() 1914 if (sys::path::is_absolute(Name, sys::path::Style::posix)) { in parseEntry() 1916 } else if (sys::path::is_absolute(Name, in parseEntry() 1940 path_style = sys::path::is_absolute(Name, sys::path::Style::posix) in parseEntry() 2645 assert(sys::path::is_absolute(VirtualPath) && "virtual path not absolute"); in addEntry() [all …]
|
H A D | Path.cpp | 673 bool is_absolute(const Twine &path, Style style) { in is_absolute() function 702 return !is_absolute(path, style); in is_relative() 805 if (!sys::path::is_absolute(Twine(ModelStorage))) { in createUniquePath() 958 if (path::is_absolute(path)) in make_absolute()
|
/freebsd/contrib/llvm-project/libcxx/include/__filesystem/ |
H A D | path.h | 484 …if (__p.is_absolute() || (!__p_root_name.empty() && __p_root_name != __string_view(root_name().__p… 494 if (has_filename() || (!has_root_directory() && is_absolute())) 515 if (__p.is_absolute()) { 827 _LIBCPP_HIDE_FROM_ABI bool is_absolute() const { 851 _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()
|
H A D | Hurd.cpp | 176 llvm::sys::path::is_absolute(Dir) ? "" : StringRef(SysRoot); in AddClangSystemIncludeArgs()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | ModuleDependencyCollector.cpp | 72 if (llvm::sys::path::is_absolute(HeaderPath)) in moduleMapAddHeader()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-ar/ |
H A D | llvm-ar.cpp | 539 if (!sys::path::is_absolute(Name)) { in doDisplayTable() 755 if (sys::path::is_absolute(*FileNameOrErr)) { in addChildMember() 795 if (sys::path::is_absolute(FileName)) in getArchiveMember() 856 if (Thin && !sys::path::is_absolute(Path)) { in computeInsertAction()
|