Home
last modified time | relevance | path

Searched refs:is_directory (Results 1 – 25 of 75) sorted by relevance

123

/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_directory/
Dis_directory.pass.cpp35 ASSERT_NOEXCEPT(is_directory(s)); in TEST_CASE()
36 ASSERT_NOEXCEPT(is_directory(p, ec)); in TEST_CASE()
37 ASSERT_NOT_NOEXCEPT(is_directory(p)); in TEST_CASE()
60 TEST_CHECK(is_directory(s) == TC.expect); in TEST_CASE()
67 TEST_CHECK(is_directory(p) == false); in TEST_CASE()
72 TEST_CHECK(is_directory(StaticEnv::Dir)); in TEST_CASE()
73 TEST_CHECK(is_directory(StaticEnv::SymlinkToDir)); in TEST_CASE()
74 TEST_CHECK(!is_directory(StaticEnv::File)); in TEST_CASE()
85 TEST_CHECK(is_directory(dir2, ec) == false); in TEST_CASE()
88 TEST_CHECK_THROW(filesystem_error, is_directory(dir2)); in TEST_CASE()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/
Dcreate_directories.pass.cpp46 TEST_CHECK(is_directory(dir)); in TEST_CASE()
56 TEST_CHECK(is_directory(dir)); in TEST_CASE()
66 TEST_CHECK(is_directory(dir)); in TEST_CASE()
91 TEST_REQUIRE(is_directory(sym_dir)); in TEST_CASE()
96 TEST_CHECK(is_directory(target)); in TEST_CASE()
97 TEST_CHECK(is_directory(resolved_target)); in TEST_CASE()
/external/tensorflow/tensorflow/core/platform/
Dfile_statistics.h29 bool is_directory = false; member
32 FileStatistics(int64 length, int64 mtime_nsec, bool is_directory) in FileStatistics()
33 : length(length), mtime_nsec(mtime_nsec), is_directory(is_directory) {} in FileStatistics()
Denv_test.cc106 EXPECT_FALSE(stat.is_directory); in TEST_F()
157 EXPECT_FALSE(stat.is_directory); in TEST_F()
264 EXPECT_FALSE(stat.is_directory); in TEST_F()
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/
Dfile_type_obs.pass.cpp48 TEST_FUNC(is_directory); in TEST_CASE()
79 TEST_CHECK(e.is_directory() == is_directory(st)); in TEST_CASE()
126 TEST_CHECK(e.is_directory(ec) == is_directory(st)); in TEST_CASE()
175 TEST_CHECK(e.is_directory(ec) == is_directory(st)); in TEST_CASE()
238 TEST_CHECK(e.is_directory(ec) == is_directory(st)); in TEST_CASE()
/external/tensorflow/tensorflow/tools/gcs_test/python/
Dgcs_smoke.py66 dir_exists = file_io.is_directory(dir_name)
81 recursive_dir_exists = file_io.is_directory(recursive_dir_name)
105 assert file_io.is_directory(dir_to_rename)
106 assert not file_io.is_directory(new_dir_name)
114 assert not file_io.is_directory(dir_to_rename)
115 assert file_io.is_directory(new_dir_name)
122 dir_exists = file_io.is_directory(dir_name)
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/
Dcreate_directory.pass.cpp62 TEST_CHECK(is_directory(dir)); in TEST_CASE()
74 TEST_CHECK(is_directory(dir)); in TEST_CASE()
89 TEST_CHECK(!is_directory(dir)); in TEST_CASE()
90 TEST_CHECK(!is_directory(dir1)); in TEST_CASE()
Dcreate_directory_with_attributes.pass.cpp72 TEST_CHECK(is_directory(dir)); in TEST_CASE()
88 TEST_CHECK(!is_directory(dir)); in TEST_CASE()
89 TEST_CHECK(!is_directory(dir1)); in TEST_CASE()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/
Dcopy.pass.cpp221 TEST_CHECK(is_directory(dest)); in TEST_CASE()
227 TEST_CHECK(!is_directory(dest / nested_dir_name)); in TEST_CASE()
234 TEST_CHECK(is_directory(dest)); in TEST_CASE()
240 TEST_CHECK(!is_directory(dest / nested_dir_name)); in TEST_CASE()
247 TEST_CHECK(is_directory(dest)); in TEST_CASE()
249 TEST_REQUIRE(is_directory(nested_dest)); in TEST_CASE()
/external/libchrome/mojo/public/cpp/base/
Dfile_info_mojom_traits.cc23 out->is_directory = data.is_directory(); in Read()
Dfile_info_mojom_traits.h23 static bool is_directory(const base::File::Info& info) { in COMPONENT_EXPORT()
24 return info.is_directory; in COMPONENT_EXPORT()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.temp_dir_path/
Dtemp_directory_path.pass.cpp72 TEST_CHECK(is_directory(ret)); in TEST_CASE()
124 TEST_CHECK(is_directory(ret)); in TEST_CASE()
/external/libbrillo/brillo/
Dfile_utils.cc215 bool is_directory, in SyncFileOrDirectory() argument
218 data_sync = data_sync && !is_directory; in SyncFileOrDirectory()
220 int flags = (is_directory ? O_RDONLY | O_DIRECTORY : O_WRONLY); in SyncFileOrDirectory()
Dfile_utils.h58 bool is_directory,
/external/llvm/include/llvm/Support/
DFileSystem.h453 bool is_directory(file_status status);
462 std::error_code is_directory(const Twine &path, bool &result);
466 inline bool is_directory(const Twine &Path) { in is_directory() function
468 return !is_directory(Path, Result) && Result; in is_directory()
860 if (is_directory(st)) { in increment()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFileSystem.h464 bool is_directory(file_status status);
473 std::error_code is_directory(const Twine &path, bool &result);
477 inline bool is_directory(const Twine &Path) { in is_directory() function
479 return !is_directory(Path, Result) && Result; in is_directory()
872 if (is_directory(st)) { in increment()
/external/libcxx/src/filesystem/
Doperations.cpp577 (is_directory(f) && is_regular_file(t)) || in __copy()
601 } else if (is_directory(t)) { in __copy()
607 } else if (is_directory(f) && bool(copy_options::create_symlinks & options)) { in __copy()
609 } else if (is_directory(f) && (bool(copy_options::recursive & options) || in __copy()
840 else if (is_directory(st)) in __create_directories()
878 if (!is_directory(st)) in __create_directory()
951 is_directory(fst) ? errc::is_a_directory : errc::not_supported; in __file_size()
979 else if (!is_directory(st) && !is_regular_file(st)) in __fs_is_empty()
981 else if (is_directory(st)) { in __fs_is_empty()
1121 if (is_directory(st)) { in remove_all_impl()
[all …]
/external/tensorflow/tensorflow/c/
Denv.cc61 stats->is_directory = cc_stats.is_directory; in TF_FileStat()
/external/tensorflow/tensorflow/python/lib/io/
Dfile_io.py587 def is_directory(dirname): function
648 if not is_directory(path):
713 if is_directory(full_path):
/external/libchrome/mojo/public/mojom/base/
Dfile_info.mojom12 bool is_directory;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DFileSystem.h531 bool is_directory(const basic_file_status &status);
540 std::error_code is_directory(const Twine &path, bool &result);
544 inline bool is_directory(const Twine &Path) { in is_directory() function
546 return !is_directory(Path, Result) && Result; in is_directory()
1260 if (status && is_directory(*status)) { in increment()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DFileSystem.h264 bool is_directory(file_status status);
273 error_code is_directory(const Twine &path, bool &result);
/external/tensorflow/tensorflow/core/platform/s3/
Ds3_file_system_test.cc184 EXPECT_TRUE(stat.is_directory); in TEST_F()
231 EXPECT_FALSE(stat.is_directory); in TEST_F()
/external/swiftshader/third_party/LLVM/lib/Support/
DPathV2.cpp672 bool is_directory(file_status status) { in is_directory() function
676 error_code is_directory(const Twine &path, bool &result) { in is_directory() function
680 result = is_directory(st); in is_directory()
711 !is_directory(status) && in is_other()
/external/tensorflow/tensorflow/core/platform/hadoop/
Dhadoop_file_system_test.cc159 EXPECT_TRUE(stat.is_directory); in TEST_F()
201 EXPECT_FALSE(stat.is_directory); in TEST_F()

123