Home
last modified time | relevance | path

Searched refs:IsDirectory (Results 1 – 25 of 52) sorted by relevance

123

/third_party/mindspore/tests/ut/cpp/dataset/
Dpath_test.cc32 ASSERT_TRUE(f.IsDirectory()); in TEST_F()
56 ASSERT_TRUE(p2.IsDirectory()); in TEST_F()
61 ASSERT_TRUE(p2.IsDirectory()); in TEST_F()
67 ASSERT_TRUE(p3.IsDirectory()); in TEST_F()
72 ASSERT_TRUE(p4.IsDirectory()); in TEST_F()
78 ASSERT_TRUE((p5 + "tmp").IsDirectory()); in TEST_F()
82 ASSERT_TRUE((p5 / "tmp").IsDirectory()); in TEST_F()
86 ASSERT_TRUE((p5 + s).IsDirectory()); in TEST_F()
90 ASSERT_TRUE((p5 / s).IsDirectory()); in TEST_F()
95 ASSERT_TRUE((p5 + p6).IsDirectory()); in TEST_F()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Dpath.cc121 bool Path::IsDirectory() { in IsDirectory() function in mindspore::dataset::Path
148 if (IsDirectory()) { in CreateDirectory()
172 if (IsDirectory()) { in CreateDirectories()
193 if (IsDirectory()) { in Remove()
219 if (IsDirectory()) { in OpenFile()
Dpath.h95 bool IsDirectory();
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dsbu_op.cc150 CHECK_FAIL_RETURN_UNEXPECTED(url_path_.Exists() && !url_path_.IsDirectory(), in ParseSBUData()
155 CHECK_FAIL_RETURN_UNEXPECTED(caption_path_.Exists() && !caption_path_.IsDirectory(), in ParseSBUData()
160 CHECK_FAIL_RETURN_UNEXPECTED(image_folder_.Exists() && image_folder_.IsDirectory(), in ParseSBUData()
217 if (image_path.Exists() && !image_path.IsDirectory()) { in ParsePair()
Dimage_folder_op.cc188 if (subdir.IsDirectory()) { in RecursiveWalkFolder()
206 if (dir.Exists() == false || dir.IsDirectory() == false) { in StartAsyncWalk()
249 err_msg += (dir.Exists() == false || dir.IsDirectory() == false) in CountRowsAndClasses()
262 if (subdir.IsDirectory()) { in CountRowsAndClasses()
Dcifar_op.cc126 CHECK_FAIL_RETURN_UNEXPECTED(file_path.Exists() && !file_path.IsDirectory(), in ReadCifar10BlockData()
168 CHECK_FAIL_RETURN_UNEXPECTED(file_path.Exists() && !file_path.IsDirectory(), in ReadCifar100BlockData()
321 file_path.Exists() && !file_path.IsDirectory(), in CountTotalRows()
349 file_path.Exists() && !file_path.IsDirectory(), in CountTotalRows()
Dcityscapes_op.cc164 if (!images_dir_p.IsDirectory()) { in GetCityscapesDataByUsage()
168 if (!task_dir_p.IsDirectory()) { in GetCityscapesDataByUsage()
179 if (!city_dir.IsDirectory()) { in GetCityscapesDataByUsage()
Ddiv2k_op.cc188 if (!hr_images_dir.IsDirectory()) { in GetDIV2KDataByUsage()
191 if (!lr_images_dir.IsDirectory()) { in GetDIV2KDataByUsage()
/third_party/mesa3d/src/gtest/src/
Dgtest-filepath.cc293 bool FilePath::IsDirectory() const { in IsDirectory() function in testing::internal::FilePath
302 if (!this->IsDirectory()) { in CreateDirectoriesRecursively()
340 return IsDirectory() in RemoveTrailingPathSeparator()
/third_party/googletest/googletest/src/
Dgtest-filepath.cc294 bool FilePath::IsDirectory() const { in IsDirectory() function in testing::internal::FilePath
303 if (!this->IsDirectory()) { in CreateDirectoriesRecursively()
344 return IsDirectory() in RemoveTrailingPathSeparator()
/third_party/gn/src/base/files/
Dfile_enumerator_posix.cc40 bool FileEnumerator::FileInfo::IsDirectory() const { in IsDirectory() function in base::FileEnumerator::FileInfo
141 const bool is_dir = info.IsDirectory(); in Next()
Dfile_enumerator.h46 bool IsDirectory() const;
/third_party/flutter/engine/flutter/assets/
Ddirectory_asset_bundle.cc17 if (!fml::IsDirectory(descriptor_)) { in DirectoryAssetBundle()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/soft_dvpp/utils/
Dsoft_dp_tools.cc45 bool IsDirectory(const std::string &path) { in IsDirectory() function
Dsoft_dp_tools.h60 bool IsDirectory(const std::string &path);
/third_party/googletest/googletest/test/
Dgoogletest-filepath-test.cc605 TEST(FilePathTest, IsDirectory) { in TEST() argument
606 EXPECT_FALSE(FilePath("cola").IsDirectory()); in TEST()
607 EXPECT_TRUE(FilePath("koala" GTEST_PATH_SEP_).IsDirectory()); in TEST()
609 EXPECT_TRUE(FilePath("koala/").IsDirectory()); in TEST()
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dsystem_utils.h27 bool IsDirectory(const char *filename);
/third_party/flutter/engine/flutter/fml/
Dfile.cc35 if (!IsDirectory(base_directory)) { in CreateDirectory()
Dfile.h51 bool IsDirectory(const fml::UniqueFD& directory);
/third_party/mesa3d/src/gtest/include/gtest/internal/
Dgtest-filepath.h166 bool IsDirectory() const;
/third_party/googletest/googletest/include/gtest/internal/
Dgtest-filepath.h166 bool IsDirectory() const;
/third_party/skia/third_party/externals/angle2/src/common/
Dsystem_utils.h37 bool IsDirectory(const char *filename);
Dsystem_utils_win.cpp117 bool IsDirectory(const char *filename) in IsDirectory() function
/third_party/mindspore/mindspore/lite/test/ut/src/dataset/
Deager_test.cc50 if (!base_dir.IsDirectory() || !base_dir.Exists()) { in TEST_F()
/third_party/mindspore/mindspore/lite/minddata/wrapper/
Djni-example.cc48 MS_LOG(WARNING) << f.Exists() << f.IsDirectory() << f.ParentPath(); in Java_com_example_mindsporepredict_MainActivity_pathTest()

123