Home
last modified time | relevance | path

Searched refs:DeleteFile (Results 1 – 25 of 130) sorted by relevance

123456

/external/icing/icing/file/
Dportable-file-backed-proto-log_benchmark.cc67 filesystem.DeleteFile(file_path.c_str()); in BM_Write()
93 filesystem.DeleteFile(file_path.c_str()); in BM_Write()
120 filesystem.DeleteFile(file_path.c_str()); in BM_Read()
149 filesystem.DeleteFile(file_path.c_str()); in BM_Read()
175 filesystem.DeleteFile(file_path.c_str()); in BM_Erase()
203 filesystem.DeleteFile(file_path.c_str()); in BM_Erase()
214 filesystem.DeleteFile(file_path.c_str()); in BM_ComputeChecksum()
245 filesystem.DeleteFile(file_path.c_str()); in BM_ComputeChecksum()
Dfile-backed-proto-log_benchmark.cc67 filesystem.DeleteFile(file_path.c_str()); in BM_Write()
93 filesystem.DeleteFile(file_path.c_str()); in BM_Write()
120 filesystem.DeleteFile(file_path.c_str()); in BM_Read()
149 filesystem.DeleteFile(file_path.c_str()); in BM_Read()
175 filesystem.DeleteFile(file_path.c_str()); in BM_Erase()
203 filesystem.DeleteFile(file_path.c_str()); in BM_Erase()
214 filesystem.DeleteFile(file_path.c_str()); in BM_ComputeChecksum()
245 filesystem.DeleteFile(file_path.c_str()); in BM_ComputeChecksum()
Dmock-filesystem.h34 ON_CALL(*this, DeleteFile).WillByDefault([this](const char* file_name) { in MockFilesystem()
35 return real_filesystem_.DeleteFile(file_name); in MockFilesystem()
232 MOCK_METHOD(bool, DeleteFile, (const char* file_name), (const));
Ddestructible-file.h54 if (!filesystem_->DeleteFile(filepath_.c_str())) { in ~DestructibleFile()
/external/tensorflow/tensorflow/core/util/
Devents_writer_test.cc103 TF_CHECK_OK(env()->DeleteFile(filename)); in VerifyFile()
144 TF_ASSERT_OK(env()->DeleteFile(filename)); in TEST()
154 TF_ASSERT_OK(env()->DeleteFile(filename)); in TEST()
187 TF_ASSERT_OK(env()->DeleteFile(filename)); in TEST()
197 TF_ASSERT_OK(env()->DeleteFile(filename0)); in TEST()
/external/libchrome/base/files/
Dfile_path_watcher_unittest.cc273 base::DeleteFile(test_file(), false); in TEST_F()
355 ASSERT_TRUE(base::DeleteFile(file, false)); in TEST_F()
405 ASSERT_TRUE(base::DeleteFile(dir, true)); in TEST_F()
416 ASSERT_TRUE(base::DeleteFile(test_file(), false)); in TEST_F()
448 ASSERT_TRUE(base::DeleteFile(file1, false)); in TEST_F()
538 ASSERT_TRUE(base::DeleteFile(subdir_file1, false)); in TEST_F()
542 ASSERT_TRUE(base::DeleteFile(child_dir_file1, false)); in TEST_F()
582 ASSERT_TRUE(base::DeleteFile(symlink, false)); in TEST_F()
664 ASSERT_TRUE(base::DeleteFile(test_link(), false)); in TEST_F()
708 ASSERT_TRUE(base::DeleteFile(test_file(), false)); in TEST_F()
[all …]
Dfile_util_unittest.cc730 EXPECT_TRUE(DeleteFile(file_link, false)); in TEST_F()
753 EXPECT_TRUE(DeleteFile(file_link, false)); in TEST_F()
821 EXPECT_TRUE(DeleteFile(file_name, false)); in TEST_F()
863 EXPECT_TRUE(DeleteFile(file_name, false)); in TEST_F()
910 EXPECT_TRUE(DeleteFile(subdir_path, true)); in TEST_F()
1176 ASSERT_TRUE(DeleteFile(dst, false)); in TEST_F()
1194 ASSERT_TRUE(DeleteFile(dst, false)); in TEST_F()
1288 EXPECT_TRUE(DeleteFile(non_existent, false)); in TEST_F()
1290 EXPECT_TRUE(DeleteFile(non_existent, true)); in TEST_F()
1299 EXPECT_TRUE(DeleteFile(non_existent, false)); in TEST_F()
[all …]
Dscoped_temp_dir.cc68 bool ret = base::DeleteFile(path_, true); in Delete()
Dimportant_file_writer.cc125 if (!DeleteFile(tmp_file_path, false)) { in DeleteTmpFile()
173 DeleteFile(tmp_file_path, false); in WriteFileAtomically()
/external/curl/lib/
Dmk-ca-bundle.vbs218 objFSO.DeleteFile myTmpIn, TRUE
221 objFSO.DeleteFile myTmpOut, TRUE
227 objFSO.DeleteFile myTmpOut, TRUE
262 objFSO.DeleteFile myCaFile, TRUE
421 objFSO.DeleteFile tmpOut, TRUE
427 objFSO.DeleteFile tmpOut, TRUE
/external/webrtc/rtc_base/
Dfile_rotating_stream.cc48 bool DeleteFile(const std::string& file);
81 bool DeleteFile(const std::string& file) { in DeleteFile() function
141 bool DeleteFile(const std::string& file) { in DeleteFile() function
257 if (!DeleteFile(matching_file)) { in Open()
309 if (!DeleteFile(file_to_delete)) { in RotateFiles()
/external/tensorflow/tensorflow/stream_executor/gpu/
Dasm_compiler.cc217 TF_CHECK_OK(tensorflow::Env::Default()->DeleteFile(ptx_path)); in CompileGpuAsm()
228 tensorflow::Env::Default()->DeleteFile(cubin_path).IgnoreError(); in CompileGpuAsm()
306 TF_CHECK_OK(tensorflow::Env::Default()->DeleteFile(path)); in BundleGpuAsm()
319 tensorflow::Env::Default()->DeleteFile(result_path).IgnoreError(); in BundleGpuAsm()
403 TF_CHECK_OK(tensorflow::Env::Default()->DeleteFile(path)); in BundleGpuAsm()
416 tensorflow::Env::Default()->DeleteFile(result_path).IgnoreError(); in BundleGpuAsm()
/external/angle/util/
Dtest_utils.h21 #undef DeleteFile
56 bool DeleteFile(const char *path);
Dtest_utils_unittest.cpp101 EXPECT_TRUE(angle::DeleteFile(path)); in TEST()
129 EXPECT_TRUE(angle::DeleteFile(path)); in TEST()
/external/tensorflow/tensorflow/core/platform/windows/
Dwindows_file_system.h24 #undef DeleteFile
64 Status DeleteFile(const string& fname, TransactionToken* token) override;
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dsnapshot_util_test.cc81 TF_ASSERT_OK(Env::Default()->DeleteFile(filename)); in SnapshotRoundTrip()
121 TF_ASSERT_OK(Env::Default()->DeleteFile(filename)); in SnapshotReaderBenchmarkLoop()
168 TF_ASSERT_OK(Env::Default()->DeleteFile(filename)); in SnapshotWriterBenchmarkLoop()
/external/tensorflow/tensorflow/core/platform/
Dfile_system.h36 #undef DeleteFile
237 virtual tensorflow::Status DeleteFile(const std::string& fname) { in DeleteFile() function
238 return DeleteFile(fname, nullptr); in DeleteFile()
241 virtual tensorflow::Status DeleteFile(const std::string& fname, in DeleteFile() function
538 using FileSystem::DeleteFile; \
616 tensorflow::Status DeleteFile(const std::string& fname, in DeleteFile() function
618 return fs_->DeleteFile(fname, (token ? token : token_)); in DeleteFile()
/external/tensorflow/tensorflow/core/platform/s3/
Ds3_file_system_test.cc223 TF_ASSERT_OK(s3fs.DeleteFile(fname)); in TEST_F()
249 TEST_F(S3FileSystemTest, DeleteFile) { in TEST_F() argument
252 TF_EXPECT_OK(s3fs.DeleteFile(fname)); in TEST_F()
284 TF_EXPECT_OK(s3fs.DeleteFile(file)); in TEST_F()
/external/icing/icing/legacy/index/
Dicing-mock-filesystem.h37 ON_CALL(*this, DeleteFile).WillByDefault([this](const char *file_name) { in IcingMockFilesystem()
38 return real_icing_filesystem_.DeleteFile(file_name); in IcingMockFilesystem()
168 MOCK_METHOD(bool, DeleteFile, (const char *file_name), (const, override));
Dicing-storage-file.cc62 return filesystem_->DeleteFile(filename_.c_str()); in Remove()
/external/libchrome/libchrome_tools/patch/
Dpath_service.patch67 EXPECT_TRUE(DeleteFile(written_file_path, false));
76 EXPECT_TRUE(DeleteFile(written_file_path, false));
/external/tensorflow/tensorflow/core/platform/hadoop/
Dhadoop_file_system_test.cc137 TEST_F(HadoopFileSystemTest, DeleteFile) { in TEST_F() argument
139 EXPECT_FALSE(hdfs.DeleteFile(fname).ok()); in TEST_F()
141 TF_EXPECT_OK(hdfs.DeleteFile(fname)); in TEST_F()
260 TF_EXPECT_OK(hdfs.DeleteFile(fname)); in TEST_F()
/external/angle/src/tests/test_utils/runner/
DTestSuite_unittest.cpp40 angle::DeleteFile(mTempFileName.c_str()); in TearDown()
212 angle::DeleteFile(tempFileName.c_str()); in TEST()
/external/tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/
DTensor12 #undef DeleteFile
/external/libchrome/base/test/launcher/
Dunit_test_launcher.cc499 DeleteFile(output_file().DirName(), true); in OnCompleted()
501 DeleteFile(flag_file(), false); in OnCompleted()
555 DeleteFile(output_file().DirName(), true); in OnCompleted()
558 DeleteFile(flag_file(), false); in OnCompleted()

123456