Home
last modified time | relevance | path

Searched refs:scratch_file (Results 1 – 5 of 5) sorted by relevance

/art/libartbase/base/
Dscoped_flock_test.cc26 ScratchFile scratch_file; in TEST_F() local
34 ScopedFlock file_lock = LockedFile::Open(scratch_file.GetFilename().c_str(), in TEST_F()
39 ScopedFlock second_lock = LockedFile::Open(scratch_file.GetFilename().c_str(), in TEST_F()
50 ScopedFlock file_lock = LockedFile::Open(scratch_file.GetFilename().c_str(), in TEST_F()
Dmem_map_test.cc397 ScratchFile scratch_file; in TEST_F() local
400 ASSERT_TRUE(scratch_file.GetFile()->WriteFully(&data[0], map_size)); in TEST_F()
404 scratch_file.GetFd(), in TEST_F()
407 scratch_file.GetFilename().c_str(), in TEST_F()
476 ScratchFile scratch_file; in TEST_F() local
485 ASSERT_TRUE(scratch_file.GetFile()->WriteFully(&data[0], map_size)); in TEST_F()
490 scratch_file.GetFd(), in TEST_F()
493 scratch_file.GetFilename().c_str(), in TEST_F()
508 scratch_file.GetFd(), in TEST_F()
793 ScratchFile scratch_file; in TEST_F() local
[all …]
/art/libarttools/
Dart_exec_test.cc103 ScratchFile scratch_file(new File(mkstemp(filename.data()), filename, /*check_usage=*/false)); in TEST_F() local
104 ASSERT_GE(scratch_file.GetFd(), 0); in TEST_F()
156 ScratchFile scratch_file(new File(mkstemp(filename.data()), filename, /*check_usage=*/false)); in TEST_F() local
157 ASSERT_GE(scratch_file.GetFd(), 0); in TEST_F()
185 ScratchFile scratch_file(new File(mkstemp(filename.data()), filename, /*check_usage=*/false)); in TEST_F() local
186 ASSERT_GE(scratch_file.GetFd(), 0); in TEST_F()
201 ScratchFile scratch_file(new File(mkstemp(filename.data()), filename, /*check_usage=*/false)); in TEST_F() local
202 ASSERT_GE(scratch_file.GetFd(), 0); in TEST_F()
/art/odrefresh/
Dodr_compilation_log_test.cc246 ScratchFile scratch_file; in TEST_F() local
247 scratch_file.Close(); in TEST_F()
251 OdrCompilationLog ocl(scratch_file.GetFilename().c_str()); in TEST_F()
261 OdrCompilationLog ocl(scratch_file.GetFilename().c_str()); in TEST_F()
282 ScratchFile scratch_file; in TEST_F() local
283 scratch_file.Close(); in TEST_F()
285 const char* log_path = scratch_file.GetFilename().c_str(); in TEST_F()
374 ScratchFile scratch_file; in TEST_F() local
375 scratch_file.Close(); in TEST_F()
379 OdrCompilationLog ocl(scratch_file.GetFilename().c_str()); in TEST_F()
[all …]
/art/libartbase/base/unix_file/
Dfd_file_test.cc73 art::ScratchFile scratch_file; in TEST_F() local
74 FdFile* file = scratch_file.GetFile(); in TEST_F()