Home
last modified time | relevance | path

Searched refs:is_regular_file (Results 1 – 25 of 37) sorted by relevance

12

/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_regular_file/
Dis_regular_file.pass.cpp35 ASSERT_NOEXCEPT(is_regular_file(s)); in TEST_CASE()
36 ASSERT_NOEXCEPT(is_regular_file(p, ec)); in TEST_CASE()
37 ASSERT_NOT_NOEXCEPT(is_regular_file(p)); in TEST_CASE()
60 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()
81 TEST_CHECK(is_regular_file(file, ec) == false); in TEST_CASE()
84 TEST_CHECK_THROW(filesystem_error, is_regular_file(file)); in TEST_CASE()
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/
Dfile_type_obs.pass.cpp51 TEST_FUNC(is_regular_file); in TEST_CASE()
82 TEST_CHECK(e.is_regular_file() == is_regular_file(st)); in TEST_CASE()
135 TEST_CHECK(e.is_regular_file(ec) == is_regular_file(st)); in TEST_CASE()
184 TEST_CHECK(e.is_regular_file(ec) == is_regular_file(st)); in TEST_CASE()
247 TEST_CHECK(e.is_regular_file(ec) == is_regular_file(st)); in TEST_CASE()
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/
Drefresh.pass.cpp118 TEST_CHECK(ent.is_regular_file()); in TEST_CASE()
126 TEST_CHECK(!ent.is_regular_file()); in TEST_CASE()
135 TEST_CHECK(ent.is_regular_file()); in TEST_CASE()
163 TEST_CHECK(ent.is_regular_file()); in TEST_CASE()
252 TEST_CHECK(ent.is_regular_file()); in TEST_CASE()
290 TEST_CHECK(ent.is_regular_file()); in TEST_CASE()
307 TEST_CHECK(ent.is_regular_file()); in TEST_CASE()
324 TEST_CHECK(ent.is_regular_file()); in TEST_CASE()
334 CHECK_ACCESS(is_regular_file, false); in TEST_CASE()
Dassign.pass.cpp86 TEST_CHECK(ent.is_regular_file()); in TEST_CASE()
97 TEST_CHECK(ent.is_regular_file()); in TEST_CASE()
Dreplace_filename.pass.cpp121 TEST_CHECK(ent.is_regular_file()); in TEST_CASE()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/
Dcopy.pass.cpp185 TEST_CHECK(is_regular_file(expect_dest)); in TEST_CASE()
192 TEST_CHECK(is_regular_file(dest)); in TEST_CASE()
224 TEST_CHECK(is_regular_file(created)); in TEST_CASE()
237 TEST_CHECK(is_regular_file(created)); in TEST_CASE()
253 TEST_CHECK(is_regular_file(created)); in TEST_CASE()
255 TEST_CHECK(is_regular_file(nested_created)); in TEST_CASE()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.rename/
Drename.pass.cpp90 TEST_CHECK(is_regular_file(file)); in TEST_CASE()
99 TEST_CHECK(is_regular_file(symlink_status(sym))); in TEST_CASE()
109 TEST_CHECK(is_regular_file(file3)); in TEST_CASE()
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/
Dpath.pass.cpp113 TEST_CHECK(ent.is_regular_file()); in TEST_CASE()
114 TEST_CHECK(ent_ec.is_regular_file()); in TEST_CASE()
Dmove.pass.cpp68 TEST_CHECK(ent_cp.is_regular_file()); in TEST_CASE()
Dcopy.pass.cpp70 TEST_CHECK(ent_cp.is_regular_file()); in TEST_CASE()
Dmove_assign.pass.cpp74 TEST_CHECK(ent_cp.is_regular_file()); in TEST_CASE()
Dcopy_assign.pass.cpp78 TEST_CHECK(ent_cp.is_regular_file()); in TEST_CASE()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DFileSystem.h279 bool is_regular_file(file_status status);
288 error_code is_regular_file(const Twine &path, bool &result);
/external/llvm/include/llvm/Support/
DFileSystem.h475 bool is_regular_file(file_status status);
484 std::error_code is_regular_file(const Twine &path, bool &result);
488 inline bool is_regular_file(const Twine &Path) { in is_regular_file() function
490 if (is_regular_file(Path, Result)) in is_regular_file()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFileSystem.h486 bool is_regular_file(file_status status);
495 std::error_code is_regular_file(const Twine &path, bool &result);
499 inline bool is_regular_file(const Twine &Path) { in is_regular_file() function
501 if (is_regular_file(Path, Result)) in is_regular_file()
/external/swiftshader/third_party/LLVM/lib/Support/
DPathV2.cpp684 bool is_regular_file(file_status status) { in is_regular_file() function
688 error_code is_regular_file(const Twine &path, bool &result) { in is_regular_file() function
692 result = is_regular_file(st); in is_regular_file()
710 !is_regular_file(status) && in is_other()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
Dcopy_file_large.pass.cpp80 TEST_REQUIRE(is_regular_file(dest)); in TEST_CASE()
/external/libcxx/src/filesystem/
Doperations.cpp577 (is_directory(f) && is_regular_file(t)) || in __copy()
594 } else if (is_regular_file(f)) { in __copy()
745 if (!is_regular_file(from_st)) { in __copy_file()
762 if (to_exists && !is_regular_file(to_st)) in __copy_file()
949 if (!exists(fst) || !is_regular_file(fst)) { in __file_size()
979 else if (!is_directory(st) && !is_regular_file(st)) in __fs_is_empty()
986 } else if (is_regular_file(st)) in __fs_is_empty()
1700 if (_VSTD_FS::is_regular_file(st)) in __do_refresh()
/external/libcxx/include/experimental/
Dfilesystem164 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;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DFileSystem.h553 bool is_regular_file(const basic_file_status &status);
562 std::error_code is_regular_file(const Twine &path, bool &result);
566 inline bool is_regular_file(const Twine &Path) { in is_regular_file() function
568 if (is_regular_file(Path, Result)) in is_regular_file()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/
Dcreate_directory.pass.cpp100 TEST_CHECK(is_regular_file(file)); in TEST_CASE()
Dcreate_directory_with_attributes.pass.cpp100 TEST_CHECK(is_regular_file(file)); in TEST_CASE()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DPath.cpp950 bool is_regular_file(file_status status) { in is_regular_file() function
954 std::error_code is_regular_file(const Twine &path, bool &result) { in is_regular_file() function
958 result = is_regular_file(st); in is_regular_file()
964 !is_regular_file(status) && in is_other()
/external/llvm/lib/Support/
DPath.cpp948 bool is_regular_file(file_status status) { in is_regular_file() function
952 std::error_code is_regular_file(const Twine &path, bool &result) { in is_regular_file() function
956 result = is_regular_file(st); in is_regular_file()
962 !is_regular_file(status) && in is_other()
/external/clang/lib/Driver/
DCompilation.cpp84 if (!llvm::sys::fs::can_write(File) || !llvm::sys::fs::is_regular_file(File)) in CleanupFile()

12