/external/tensorflow/tensorflow/stream_executor/lib/ |
D | env.h | 30 inline Status FileExists(const std::string& filename) { in FileExists() function 31 return Env::Default()->FileExists(filename); in FileExists() 34 inline Status FileExists(const absl::string_view& filename) { in FileExists() function 35 return Env::Default()->FileExists(std::string(filename)); in FileExists()
|
/external/tensorflow/tensorflow/core/platform/ |
D | env_test.cc | 202 EXPECT_EQ(error::Code::NOT_FOUND, env_->FileExists(root_file1).code()); in TEST_F() 203 EXPECT_EQ(error::Code::NOT_FOUND, env_->FileExists(root_file2).code()); in TEST_F() 204 EXPECT_EQ(error::Code::NOT_FOUND, env_->FileExists(root_file3).code()); in TEST_F() 205 EXPECT_EQ(error::Code::NOT_FOUND, env_->FileExists(child1_file1).code()); in TEST_F() 224 TF_EXPECT_OK(env_->FileExists(create_path)); in TEST_F() 236 TF_EXPECT_OK(env_->FileExists(subdir_path)); in TEST_F() 242 TF_EXPECT_OK(env_->FileExists(create_path)); in TEST_F() 243 TF_EXPECT_OK(env_->FileExists(io::JoinPath(BaseDir(), "a", "b", "c"))); in TEST_F() 300 Status FileExists(const string& dir, TransactionToken* token) override { in FileExists() function in tensorflow::TmpDirFileSystem 313 return Env::Default()->FileExists(io::JoinPath(BaseDir(), path)); in FileExists() [all …]
|
D | file_system.cc | 76 TF_RETURN_IF_ERROR(FileExists(name)); in IsDirectory() 97 Status s = FileExists(file); in FilesExist() 119 Status exists_status = FileExists(dirname); in DeleteRecursively() 189 Status exists_status = FileExists(current_entry); in RecursivelyCreateDir()
|
/external/icing/icing/file/ |
D | destructible-file_test.cc | 46 EXPECT_FALSE(filesystem.FileExists(filepath1.c_str())); in TEST() 73 EXPECT_FALSE(filesystem.FileExists(filepath1.c_str())); in TEST() 77 EXPECT_TRUE(filesystem.FileExists(filepath2.c_str())); in TEST() 101 EXPECT_TRUE(filesystem.FileExists(filepath1.c_str())); in TEST() 111 EXPECT_FALSE(filesystem.FileExists(filepath1.c_str())); in TEST()
|
/external/tensorflow/tensorflow/core/util/ |
D | events_writer_test.cc | 65 CHECK(env()->FileExists(filename).ok()); in VerifyFile() 143 TF_EXPECT_OK(env()->FileExists(filename)); in TEST() 153 TF_EXPECT_OK(env()->FileExists(filename)); in TEST() 163 TF_EXPECT_OK(env()->FileExists(filename0)); in TEST() 175 TF_EXPECT_OK(env()->FileExists(filename)); in TEST() 186 TF_EXPECT_OK(env()->FileExists(filename)); in TEST() 194 TF_EXPECT_OK(env()->FileExists(filename0)); in TEST()
|
/external/googletest/googletest/test/ |
D | gtest_premature_exit_test.cc | 49 static bool FileExists(const char* filepath) { in FileExists() function in __anona2c7d4e60111::PrematureExitTest 66 return FileExists(premature_exit_file_path_); in PrematureExitFileExists() 117 if (PrematureExitTest::FileExists(filepath)) { in main()
|
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/ |
D | gtest_premature_exit_test.cc | 49 static bool FileExists(const char* filepath) { in FileExists() function in __anoncbbd93a30111::PrematureExitTest 66 return FileExists(premature_exit_file_path_); in PrematureExitFileExists() 117 if (PrematureExitTest::FileExists(filepath)) { in main()
|
/external/webrtc/test/testsupport/ |
D | file_utils_unittest.cc | 52 } else if (FileExists(entry)) { in CleanDir() 124 ASSERT_TRUE(webrtc::test::FileExists(temp_filename)) in TEST_F() 132 ASSERT_FALSE(webrtc::test::FileExists(temp_filename)) in TEST_F() 176 ASSERT_TRUE(FileExists(result)) << "Expected " << result in TEST_F() 221 ASSERT_TRUE(webrtc::test::FileExists(temp_filename)) in TEST_F() 241 EXPECT_TRUE(FileExists(temp_filename)); in TEST_F()
|
/external/tensorflow/tensorflow/cc/saved_model/ |
D | reader.cc | 36 if (Env::Default()->FileExists(saved_model_pb_path).ok()) { in ReadSavedModel() 42 if (Env::Default()->FileExists(saved_model_pbtxt_path).ok()) { in ReadSavedModel() 98 if (Env::Default()->FileExists(debug_info_pb_path).ok()) { in ReadSavedModelDebugInfoIfPresent()
|
D | bundle_v2.cc | 36 if (Env::Default()->FileExists(saved_model_pb_path).ok()) { in ReadSavedModelProto() 42 if (Env::Default()->FileExists(saved_model_pbtxt_path).ok()) { in ReadSavedModelProto() 60 if (Env::Default()->FileExists(debug_info_pb_path).ok()) { in ReadSavedModelDebugInfoIfPresent() 119 if (!Env::Default()->FileExists(variables_dir).ok()) { in Load()
|
/external/tensorflow/tensorflow/core/grappler/inputs/ |
D | utils.cc | 33 bool FileExists(const string& file, Status* status) { in FileExists() function 34 *status = Env::Default()->FileExists(file); in FileExists()
|
/external/chromium-trace/catapult/devil/devil/android/perf/ |
D | perf_control_test.py | 55 mock_device.FileExists.return_value = True 78 mock_device.FileExists.return_value = True 101 mock_device.FileExists.return_value = True
|
D | thermal_throttle.py | 17 return device.FileExists(OmapThrottlingDetector.OMAP_TEMP_FILE) 45 return device.FileExists('/sys/bus/exynos5-core')
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | cpu_temperature_test.py | 31 self.mock_device.FileExists.return_value = True 84 d.FileExists.return_value = True 92 d.FileExists.return_value = False
|
/external/tensorflow/tensorflow/core/data/service/ |
D | dataset_store.cc | 40 if (Env::Default()->FileExists(path_to_write).ok()) { in Put() 50 TF_RETURN_IF_ERROR(Env::Default()->FileExists(path)); in Get()
|
/external/libchrome/build/android/pylib/ |
D | device_settings.py | 70 if device.FileExists(_LOCK_SCREEN_SETTINGS_PATH): 75 elif device.FileExists(_ALTERNATE_LOCK_SCREEN_SETTINGS_PATH):
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | shared_prefs_test.py | 42 device.FileExists = mock.Mock(side_effect=file_exists) 107 self.assertFalse(self.device.FileExists(prefs.path)) # file does not exist 114 self.assertFalse(self.device.FileExists(prefs.path)) # still does not exist 117 self.assertTrue(self.device.FileExists(prefs.path)) # should exist now
|
/external/sonivox/jet_tools/JetCreator/ |
D | JetUtils.py | 232 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/perfetto/src/base/test/ |
D | utils.cc | 78 if (FileExists(full_path)) in GetTestDataPath() 81 if (FileExists(full_path)) in GetTestDataPath()
|
/external/tensorflow/tensorflow/lite/testing/ |
D | generated_examples_zip_test.cc | 193 TF_CHECK_OK(env->FileExists(unzip_binary)); in UnArchive() 194 TF_CHECK_OK(env->FileExists(zip)); in UnArchive() 198 TF_CHECK_OK(env->FileExists(tar_binary)); in UnArchive() 199 TF_CHECK_OK(env->FileExists(tar)); in UnArchive()
|
/external/tensorflow/tensorflow/core/platform/s3/ |
D | s3_file_system_test.cc | 220 TEST_F(S3FileSystemTest, FileExists) { in TEST_F() argument 224 EXPECT_EQ(error::Code::NOT_FOUND, s3fs.FileExists(fname).code()); in TEST_F() 226 TF_EXPECT_OK(s3fs.FileExists(fname)); in TEST_F() 305 TF_EXPECT_OK(s3fs.FileExists(fname2)); in TEST_F()
|
/external/webrtc/rtc_tools/converter/ |
D | converter.cc | 63 if (FileExists(input_file_name)) { in ConvertRGBAToI420Video() 159 bool Converter::FileExists(std::string file_name_to_check) { in FileExists() function in webrtc::test::Converter
|
/external/libyuv/files/unit_test/ |
D | cpu_test.cc | 139 static int FileExists(const char* file_name) { in FileExists() function 149 if (FileExists("../../unit_test/testdata/arm_v7.txt")) { in TEST_F()
|
/external/icing/icing/legacy/index/ |
D | icing-mock-filesystem.h | 50 ON_CALL(*this, FileExists).WillByDefault([this](const char *file_name) { in IcingMockFilesystem() 51 return real_icing_filesystem_.FileExists(file_name); in IcingMockFilesystem() 175 MOCK_METHOD(bool, FileExists, (const char *file_name), (const, override));
|
/external/icing/icing/store/ |
D | document-log-creator.cc | 71 filesystem->FileExists(MakeDocumentLogFilenameV0(base_dir).c_str()); in Create() 76 filesystem->FileExists(MakeDocumentLogFilenameV1(base_dir).c_str()); in Create()
|