| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_regular_file/ |
| H A D | is_regular_file.pass.cpp | 34 ASSERT_NOEXCEPT(is_regular_file(s)); in TEST_CASE() 35 ASSERT_NOEXCEPT(is_regular_file(p, ec)); in TEST_CASE() 36 ASSERT_NOT_NOEXCEPT(is_regular_file(p)); in TEST_CASE() 59 TEST_CHECK(is_regular_file(s) == TC.expect); in TEST_CASE() 67 TEST_CHECK(is_regular_file(p) == false); in TEST_CASE() 69 TEST_CHECK(is_regular_file(p, ec) == false); in TEST_CASE() 90 TEST_CHECK(is_regular_file(p, ec) == false); in TEST_CASE() 93 TEST_CHECK_THROW(filesystem_error, is_regular_file(p)); in TEST_CASE()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/ |
| H A D | file_type_obs.pass.cpp | 52 TEST_FUNC(is_regular_file); in TEST_CASE() 82 TEST_CHECK(e.is_regular_file() == is_regular_file(st)); in TEST_CASE() 141 TEST_CHECK(e.is_regular_file(ec) == is_regular_file(st)); in TEST_CASE() 197 TEST_CHECK(e.is_regular_file(ec) == is_regular_file(st)); in TEST_CASE() 263 TEST_CHECK(e.is_regular_file(ec) == is_regular_file(st)); in TEST_CASE()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/ |
| H A D | refresh.pass.cpp | 125 TEST_CHECK(ent.is_regular_file()); in TEST_CASE() 134 TEST_CHECK(!ent.is_regular_file()); in TEST_CASE() 144 TEST_CHECK(ent.is_regular_file()); in TEST_CASE() 177 TEST_CHECK(ent.is_regular_file()); in TEST_CASE() 267 TEST_CHECK(ent.is_regular_file()); in TEST_CASE() 308 TEST_CHECK(ent.is_regular_file()); in TEST_CASE() 325 TEST_CHECK(ent.is_regular_file()); in TEST_CASE() 342 TEST_CHECK(ent.is_regular_file()); in TEST_CASE() 352 CHECK_ACCESS(is_regular_file, false); in TEST_CASE()
|
| H A D | assign.pass.cpp | 85 TEST_CHECK(ent.is_regular_file()); in TEST_CASE() 96 TEST_CHECK(ent.is_regular_file()); in TEST_CASE()
|
| H A D | replace_filename.pass.cpp | 121 TEST_CHECK(ent.is_regular_file()); in TEST_CASE()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/ |
| H A D | copy.pass.cpp | 189 TEST_CHECK(is_regular_file(expect_dest)); in TEST_CASE() 196 TEST_CHECK(is_regular_file(dest)); in TEST_CASE() 228 TEST_CHECK(is_regular_file(created)); in TEST_CASE() 241 TEST_CHECK(is_regular_file(created)); in TEST_CASE() 257 TEST_CHECK(is_regular_file(created)); in TEST_CASE() 259 TEST_CHECK(is_regular_file(nested_created)); in TEST_CASE()
|
| /llvm-project-15.0.7/llvm/lib/Testing/Support/ |
| H A D | SupportHelpers.cpp | 24 if (llvm::sys::fs::is_regular_file(PathInSameDir)) in findSrcDirMap() 30 if (llvm::sys::fs::is_regular_file(PathInParentDir)) in findSrcDirMap()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/ |
| H A D | create_directories.pass.cpp | 111 TEST_CHECK(is_regular_file(file)); in TEST_CASE() 123 TEST_CHECK(is_regular_file(file)); in TEST_CASE() 137 TEST_CHECK(is_regular_file(file)); in TEST_CASE()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.rename/ |
| H A D | rename.pass.cpp | 95 TEST_CHECK(is_regular_file(file)); in TEST_CASE() 104 TEST_CHECK(is_regular_file(symlink_status(sym))); in TEST_CASE() 114 TEST_CHECK(is_regular_file(file3)); in TEST_CASE()
|
| /llvm-project-15.0.7/libcxx/include/__filesystem/ |
| H A D | operations.h | 127 inline _LIBCPP_HIDE_FROM_ABI bool is_regular_file(file_status __s) noexcept { return __s.type() == … in is_regular_file() function 128 inline _LIBCPP_HIDE_FROM_ABI bool is_regular_file(const path& __p) { return is_regular_file(__statu… in is_regular_file() function 129 inline _LIBCPP_HIDE_FROM_ABI bool is_regular_file(const path& __p, error_code& __ec) noexcept { ret… in is_regular_file() function 133 …ABI bool is_other(file_status __s) noexcept { return exists(__s) && !is_regular_file(__s) && !is_d… in is_other()
|
| H A D | directory_entry.h | 156 bool is_regular_file() const { return __get_ft() == file_type::regular; } in is_regular_file() function 159 bool is_regular_file(error_code& __ec) const noexcept { in is_regular_file() function 434 if (_VSTD_FS::exists(__st) && !_VSTD_FS::is_regular_file(__st)) {
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/ |
| H A D | create_directory.pass.cpp | 102 TEST_CHECK(is_regular_file(file)); in TEST_CASE() 113 TEST_CHECK(is_regular_file(file)); in TEST_CASE()
|
| H A D | create_directory_with_attributes.pass.cpp | 105 TEST_CHECK(is_regular_file(file)); in TEST_CASE() 117 TEST_CHECK(is_regular_file(file)); in TEST_CASE()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/ |
| H A D | path.pass.cpp | 113 TEST_CHECK(ent.is_regular_file()); in TEST_CASE() 114 TEST_CHECK(ent_ec.is_regular_file()); in TEST_CASE()
|
| H A D | copy.pass.cpp | 69 TEST_CHECK(ent_cp.is_regular_file()); in TEST_CASE()
|
| H A D | move.pass.cpp | 67 TEST_CHECK(ent_cp.is_regular_file()); in TEST_CASE()
|
| H A D | move_assign.pass.cpp | 73 TEST_CHECK(ent_cp.is_regular_file()); in TEST_CASE()
|
| H A D | copy_assign.pass.cpp | 77 TEST_CHECK(ent_cp.is_regular_file()); in TEST_CASE()
|
| /llvm-project-15.0.7/lld/Common/ |
| H A D | Filesystem.cpp | 43 if (!sys::fs::exists(path) || !sys::fs::is_regular_file(path)) in unlinkAsync()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/ |
| H A D | copy_file_large.pass.cpp | 69 TEST_REQUIRE(is_regular_file(dest)); in TEST_CASE()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | filesystem | 164 bool is_regular_file(file_status s) noexcept; 165 bool is_regular_file(const path& p); 166 bool is_regular_file(const path& p, error_code& ec) noexcept;
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | FileSystem.h | 571 bool is_regular_file(const basic_file_status &status); 580 std::error_code is_regular_file(const Twine &path, bool &result); 584 inline bool is_regular_file(const Twine &Path) { in is_regular_file() function 586 if (is_regular_file(Path, Result)) in is_regular_file()
|
| /llvm-project-15.0.7/libcxx/src/filesystem/ |
| H A D | operations.cpp | 755 (is_directory(f) && is_regular_file(t)) || in __copy() 772 } else if (is_regular_file(f)) { in __copy() 910 if (!is_regular_file(from_st)) { in __copy_file() 927 if (to_exists && !is_regular_file(to_st)) in __copy_file() 1153 if (!exists(fst) || !is_regular_file(fst)) { in __file_size() 1183 else if (!is_directory(st) && !is_regular_file(st)) in __fs_is_empty() 1190 } else if (is_regular_file(st)) in __fs_is_empty() 2085 if (_VSTD_FS::is_regular_file(st)) in __do_refresh()
|
| /llvm-project-15.0.7/bolt/tools/merge-fdata/ |
| H A D | merge-fdata.cpp | 333 if (llvm::sys::fs::is_regular_file(InputDataFilename)) in main() 340 if (llvm::sys::fs::is_regular_file(F->path())) in main()
|
| /llvm-project-15.0.7/flang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 46 if (!llvm::sys::fs::is_regular_file(input.getFile())) { in beginSourceFile()
|