Home
last modified time | relevance | path

Searched refs:scratch_dir_ (Results 1 – 9 of 9) sorted by relevance

/art/artd/
Dfile_utils_test.cc79 scratch_dir_ = std::make_unique<ScratchDir>(); in SetUp()
81 ASSERT_EQ(stat(scratch_dir_->GetPath().c_str(), &st), 0); in SetUp()
87 scratch_dir_.reset(); in TearDown()
92 std::unique_ptr<ScratchDir> scratch_dir_; member in art::artd::__anon2bff13f70111::FileUtilsTest
96 std::string path = scratch_dir_->GetPath() + "/file.tmp"; in TEST_F()
110 std::string path = scratch_dir_->GetPath() + "/non_existent_dir/file.tmp"; in TEST_F()
118 std::string path = scratch_dir_->GetPath() + "/file.tmp"; in TEST_F()
127 std::string path = scratch_dir_->GetPath() + "/file.tmp"; in TEST_F()
141 std::string path = scratch_dir_->GetPath() + "/file.tmp"; in TEST_F()
155 std::string file_1_path = scratch_dir_->GetPath() + "/file_1"; in TEST_F()
[all …]
Dartd_test.cc323 scratch_dir_ = std::make_unique<ScratchDir>(); in SetUp()
324 scratch_path_ = scratch_dir_->GetPath(); in SetUp()
389 scratch_dir_.reset(); in TearDown()
436 std::unique_ptr<ScratchDir> scratch_dir_; member in art::artd::__anona98499b20111::ArtdTest
/art/libarttools/tools/
Dtools_test.cc45 scratch_dir_ = std::make_unique<ScratchDir>(); in SetUp()
46 scratch_path_ = scratch_dir_->GetPath(); in SetUp()
52 scratch_dir_.reset(); in TearDown()
56 std::unique_ptr<ScratchDir> scratch_dir_; member in art::tools::__anon5f7d9fdc0111::ArtToolsTest
/art/runtime/
Ddex2oat_environment_test.h56 scratch_dir_.assign(android_data_real.get()); in SetUp()
57 scratch_dir_ += "/Dex2oatEnvironmentTest"; in SetUp()
58 ASSERT_EQ(0, mkdir(scratch_dir_.c_str(), 0700)); in SetUp()
61 odex_oat_dir_ = scratch_dir_ + "/oat"; in SetUp()
75 CommonArtTest::ClearDirectory(scratch_dir_.c_str()); in TearDown()
76 ASSERT_EQ(0, rmdir(scratch_dir_.c_str())); in TearDown()
81 const std::string& GetScratchDir() const { return scratch_dir_; } in GetScratchDir()
88 std::string scratch_dir_;
Dclass_loader_context_test.cc56 scratch_dir_ = std::make_unique<ScratchDir>(); in SetUp()
57 scratch_path_ = scratch_dir_->GetPath(); in SetUp()
63 scratch_dir_.reset(); in TearDown()
365 std::unique_ptr<ScratchDir> scratch_dir_; member in art::ClassLoaderContextTest
/art/odrefresh/
Dodr_metrics_test.cc42 scratch_dir_ = std::make_unique<ScratchDir>(); in SetUp()
43 metrics_file_path_ = scratch_dir_->GetPath() + "/metrics.xml"; in SetUp()
44 cache_directory_ = scratch_dir_->GetPath() + "/dir"; in SetUp()
49 scratch_dir_.reset(); in TearDown()
61 std::unique_ptr<ScratchDir> scratch_dir_; member in art::odrefresh::OdrMetricsTest
Dodr_metrics_record_test.cc56 scratch_dir_ = std::make_unique<ScratchDir>(/*keep_files=*/false); in SetUp()
57 file_path_ = scratch_dir_->GetPath() + "/metrics-record.xml"; in SetUp()
60 void TearDown() override { scratch_dir_.reset(); } in TearDown()
62 std::unique_ptr<ScratchDir> scratch_dir_; member in art::odrefresh::OdrMetricsRecordTest
/art/compiler/utils/
Dassembler_test_base.h53 scratch_dir_.emplace(/*keep_files=*/ kKeepDisassembledFiles); in SetUp()
80 auto test_path = [&](const char* ext) { return scratch_dir_->GetPath() + test_name + ext; }; in Driver()
264 std::optional<ScratchDir> scratch_dir_; variable
Dassembler_thumb_test.cc52 std::string obj_file = scratch_dir_->GetPath() + testname + ".o"; in DumpAndCheck()