Home
last modified time | relevance | path

Searched refs:FileExists (Results 1 – 25 of 119) sorted by relevance

12345

/external/tensorflow/tensorflow/core/platform/
Denv_test.cc184 EXPECT_EQ(error::Code::NOT_FOUND, env_->FileExists(root_file1).code()); in TEST_F()
185 EXPECT_EQ(error::Code::NOT_FOUND, env_->FileExists(root_file2).code()); in TEST_F()
186 EXPECT_EQ(error::Code::NOT_FOUND, env_->FileExists(root_file3).code()); in TEST_F()
187 EXPECT_EQ(error::Code::NOT_FOUND, env_->FileExists(child1_file1).code()); in TEST_F()
206 TF_EXPECT_OK(env_->FileExists(create_path)); in TEST_F()
218 TF_EXPECT_OK(env_->FileExists(subdir_path)); in TEST_F()
224 TF_EXPECT_OK(env_->FileExists(create_path)); in TEST_F()
225 TF_EXPECT_OK(env_->FileExists(io::JoinPath(BaseDir(), "a/b/c"))); in TEST_F()
280 Status FileExists(const string& dir) override { in FileExists() function in tensorflow::TmpDirFileSystem
293 return Env::Default()->FileExists(io::JoinPath(BaseDir(), path)); in FileExists()
[all …]
Dfile_system.cc67 TF_RETURN_IF_ERROR(FileExists(name)); in IsDirectory()
88 Status s = FileExists(file); in FilesExist()
179 Status exists_status = FileExists(dirname); in DeleteRecursively()
239 Status status = FileExists(io::CreateURI(scheme, host, remaining_dir)); in RecursivelyCreateDir()
/external/tensorflow/tensorflow/core/util/
Devents_writer_test.cc65 CHECK(env()->FileExists(filename).ok()); in VerifyFile()
143 TF_EXPECT_OK(env()->FileExists(filename)); in TEST()
145 EXPECT_EQ(errors::Code::NOT_FOUND, env()->FileExists(filename).code()); in TEST()
147 EXPECT_EQ(errors::Code::NOT_FOUND, env()->FileExists(filename).code()); in TEST()
155 TF_EXPECT_OK(env()->FileExists(filename)); in TEST()
157 EXPECT_EQ(errors::Code::NOT_FOUND, env()->FileExists(filename).code()); in TEST()
159 EXPECT_EQ(errors::Code::NOT_FOUND, env()->FileExists(filename).code()); in TEST()
167 TF_EXPECT_OK(env()->FileExists(filename0)); in TEST()
179 TF_EXPECT_OK(env()->FileExists(filename)); in TEST()
190 TF_EXPECT_OK(env()->FileExists(filename)); in TEST()
[all …]
/external/tensorflow/tensorflow/stream_executor/lib/
Denv.h31 inline Status FileExists(const string& filename) { in FileExists() function
32 return Env::Default()->FileExists(filename); in FileExists()
35 inline Status FileExists(const port::StringPiece& filename) { in FileExists() function
36 return Env::Default()->FileExists(filename.ToString()); in FileExists()
/external/tensorflow/tensorflow/core/grappler/inputs/
Dutils.cc32 bool FileExists(const std::string& file, Status* status) { in FileExists() function
33 *status = Env::Default()->FileExists(file); in FileExists()
40 if (FileExists(graph_def_pbtxt_path, &status)) { in ReadGraphDefFromFile()
/external/v8/testing/gtest/test/
Dgtest_premature_exit_test.cc50 static bool FileExists(const char* filepath) { in FileExists() function in __anon3a99a0640111::PrematureExitTest
67 return FileExists(premature_exit_file_path_); in PrematureExitFileExists()
118 if (PrematureExitTest::FileExists(filepath)) { in main()
/external/googletest/googletest/test/
Dgtest_premature_exit_test.cc50 static bool FileExists(const char* filepath) { in FileExists() function in __anon65b5b3bc0111::PrematureExitTest
67 return FileExists(premature_exit_file_path_); in PrematureExitFileExists()
118 if (PrematureExitTest::FileExists(filepath)) { in main()
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest_premature_exit_test.cc54 static bool FileExists(const char* filepath) { in FileExists() function in __anond6a413b20111::PrematureExitTest
71 return FileExists(premature_exit_file_path_); in PrematureExitFileExists()
132 if (PrematureExitTest::FileExists(filepath)) { in main()
/external/webrtc/webrtc/test/testsupport/
Dfileutils.cc97 bool FileExists(std::string& file_name) { in FileExists() function
130 if (FileExists(root_filename)) { in ProjectRootPath()
236 if (FileExists(resource_file)) { in ResourcePath()
241 if (FileExists(resource_file)) { in ResourcePath()
246 if (FileExists(resource_file)) { in ResourcePath()
/external/tensorflow/tensorflow/python/lib/io/
Dfile_io.i35 inline void FileExists(const string& filename, TF_Status* out_status) { in FileExists() function
36 tensorflow::Status status = tensorflow::Env::Default()->FileExists(filename); in FileExists()
42 inline void FileExists(const tensorflow::StringPiece& filename, in FileExists() function
45 tensorflow::Env::Default()->FileExists(filename.ToString()); in FileExists()
116 if (!overwrite && tensorflow::Env::Default()->FileExists(target).ok()) { in CopyFile()
130 if (!overwrite && tensorflow::Env::Default()->FileExists(target).ok()) { in RenameFile()
243 inline void FileExists(const string& filename, TF_Status* out_status);
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dshared_prefs_test.py36 device.FileExists = mock.Mock(side_effect=file_exists)
105 self.assertFalse(self.device.FileExists(prefs.path)) # file does not exist
112 self.assertFalse(self.device.FileExists(prefs.path)) # still does not exist
115 self.assertTrue(self.device.FileExists(prefs.path)) # should exist now
/external/libmojo/third_party/catapult/devil/devil/android/sdk/
Dshared_prefs_test.py35 device.FileExists = mock.Mock(side_effect=file_exists)
102 self.assertFalse(self.device.FileExists(prefs.path)) # file does not exist
109 self.assertFalse(self.device.FileExists(prefs.path)) # still does not exist
112 self.assertTrue(self.device.FileExists(prefs.path)) # should exist now
/external/tensorflow/tensorflow/cc/saved_model/
Dloader.cc49 if (Env::Default()->FileExists(saved_model_pb_path).ok()) { in ReadSavedModel()
55 if (Env::Default()->FileExists(saved_model_pbtxt_path).ok()) { in ReadSavedModel()
170 if (!Env::Default()->FileExists(variables_index_path).ok()) { in RunRestore()
310 return Env::Default()->FileExists(saved_model_pb_path).ok() || in MaybeSavedModelDirectory()
311 Env::Default()->FileExists(saved_model_pbtxt_path).ok(); in MaybeSavedModelDirectory()
/external/perf_data_converter/src/
Dperf_to_profile_lib.cc13 bool FileExists(const string& path) { in FileExists() function
29 if (!overwriteOutput && FileExists(path)) { in CreateFile()
/external/tensorflow/tensorflow/core/platform/s3/
Ds3_file_system_test.cc131 TEST_F(S3FileSystemTest, FileExists) { in TEST_F() argument
135 EXPECT_EQ(error::Code::NOT_FOUND, s3fs.FileExists(fname).code()); in TEST_F()
137 TF_EXPECT_OK(s3fs.FileExists(fname)); in TEST_F()
216 TF_EXPECT_OK(s3fs.FileExists(fname2)); in TEST_F()
/external/sonivox/jet_tools/JetCreator/
DJetUtils.py232 def FileExists(fileName): function
293 if FileExists(sFileName):
482 if FileExists(jetFile.config.filename):
490 if FileExists(segment.filename):
493 if FileExists(segment.output):
499 if FileExists(library):
537 …if segment.filename is not None and len(segment.filename) > 0 and not FileExists(segment.filename):
540 … if segment.dlsfile is not None and len(segment.dlsfile) > 0 and not FileExists(segment.dlsfile):
588 if not FileExists(midiFile):
/external/tensorflow/tensorflow/core/platform/hadoop/
Dhadoop_file_system_test.cc107 TEST_F(HadoopFileSystemTest, FileExists) { in TEST_F() argument
109 EXPECT_EQ(error::Code::NOT_FOUND, hdfs.FileExists(fname).code()); in TEST_F()
111 TF_EXPECT_OK(hdfs.FileExists(fname)); in TEST_F()
176 TF_EXPECT_OK(hdfs.FileExists(fname2)); in TEST_F()
/external/libyuv/files/unit_test/
Dcpu_test.cc122 static int FileExists(const char* file_name) { in FileExists() function
132 if (FileExists("../../unit_test/testdata/arm_v7.txt")) { in TEST_F()
/external/tensorflow/tensorflow/contrib/session_bundle/
Dsession_bundle.cc116 ->FileExists(io::JoinPath(export_dir, kVariablesFilename)) in GetVariablesFilename()
123 ->FileExists(io::JoinPath(export_dir, kVariablesIndexFilename)) in GetVariablesFilename()
270 return Env::Default()->FileExists(meta_graph_def_path).ok(); in IsPossibleExportDirectory()
/external/chromium-trace/catapult/devil/devil/android/perf/
Dthermal_throttle.py17 return device.FileExists(OmapThrottlingDetector.OMAP_TEMP_FILE)
44 return device.FileExists('/sys/bus/exynos5-core')
/external/libmojo/third_party/catapult/devil/devil/android/perf/
Dthermal_throttle.py15 return device.FileExists(OmapThrottlingDetector.OMAP_TEMP_FILE)
42 return device.FileExists('/sys/bus/exynos5-core')
/external/webrtc/webrtc/tools/converter/
Dconverter.cc64 if (FileExists(input_file_name)) { in ConvertRGBAToI420Video()
160 bool Converter:: FileExists(std::string file_name_to_check) { in FileExists() function in webrtc::test::Converter
/external/chromium-trace/catapult/devil/devil/android/
Dsettings.py240 if device.FileExists(_LOCK_SCREEN_SETTINGS_PATH):
245 elif device.FileExists(_ALTERNATE_LOCK_SCREEN_SETTINGS_PATH):
/external/protobuf/src/google/protobuf/compiler/
Dimporter_unittest.cc62 bool FileExists(const string& path) { in FileExists() function
246 if (FileExists(dirnames_[i])) { in SetUp()
255 if (FileExists(dirnames_[i])) { in TearDown()
/external/capstone/bindings/vb6/
DmMisc.bas355 Function FileExists(path As String) As Boolean function
360 If Dir(path, vbHidden Or vbNormal Or vbReadOnly Or vbSystem) <> "" Then FileExists = True
363 hell: FileExists = False

12345