Home
last modified time | relevance | path

Searched refs:TempDir (Results 1 – 25 of 66) sorted by relevance

123

/external/perfetto/include/perfetto/ext/base/
Dtemp_file.h57 class TempDir {
59 static TempDir Create();
61 TempDir(TempDir&&) noexcept;
62 TempDir& operator=(TempDir&&);
63 ~TempDir();
68 TempDir();
69 TempDir(const TempDir&) = delete;
70 TempDir& operator=(const TempDir&) = delete;
/external/perfetto/src/base/
Dtemp_file.cc82 TempDir TempDir::Create() { in Create()
83 TempDir temp_dir; in Create()
90 TempDir::TempDir() = default;
92 TempDir::~TempDir() { in ~TempDir()
Dtemp_file_unittest.cc103 TEST(TempFileTest, TempDir) { in TEST() argument
106 TempDir td = TempDir::Create(); in TEST()
/external/crosvm/sys_util/src/
Dtempdir.rs19 pub struct TempDir { struct
23 impl TempDir { argument
39 pub fn new<P: AsRef<OsStr>>(prefix: P) -> Result<TempDir> { in new() argument
54 Ok(TempDir { in new()
73 impl Drop for TempDir { implementation
88 let t = TempDir::new("/tmp/asdf").unwrap(); in create_dir()
97 let t = TempDir::new("/tmp/asdf").unwrap(); in remove_dir()
Dwrite_zeroes.rs64 use crate::TempDir;
68 let tempdir = TempDir::new("/tmp/write_zeroes_test").unwrap(); in simple_test()
134 let tempdir = TempDir::new("/tmp/write_zeroes_test").unwrap(); in large_write_zeroes()
Dseek_hole.rs57 use crate::TempDir;
68 let tempdir = TempDir::new("/tmp/seek_data_test").unwrap(); in seek_data()
115 let tempdir = TempDir::new("/tmp/seek_hole_test").unwrap(); in seek_hole()
/external/crosvm/tempfile/src/
Dlib.rs37 pub fn tempdir(&self) -> Result<TempDir> { in tempdir() argument
43 Ok(_) => return Ok(TempDir { path }), in tempdir()
56 pub struct TempDir { struct
62 impl TempDir { impl
71 impl Drop for TempDir { implementation
/external/python/apitools/apitools/gen/
Dgen_client_test.py46 with test_utils.TempDir() as tmp_dir_path:
61 with test_utils.TempDir() as tmp_dir_path:
83 with test_utils.TempDir() as tmp_dir_path:
98 with test_utils.TempDir() as tmp_dir_path:
113 with test_utils.TempDir() as tmp_dir_path:
127 with test_utils.TempDir() as tmp_dir_path:
Dtest_utils.py33 def TempDir(change_to=False): function
Dclient_generation_test.py51 with test_utils.TempDir(change_to=True):
/external/autotest/site_utils/lxc/
Dzygote_unittest.py207 with lxc_utils.TempDir() as tmpdir:
245 with lxc_utils.TempDir() as tmpdir, self.createZygote() as zygote0:
259 with lxc_utils.TempDir() as tmpdir, self.createZygote() as zygote:
271 with lxc_utils.TempDir() as tmpdir, self.createZygote() as zygote:
286 with lxc_utils.TempDir() as tmpdir, self.createZygote() as zygote:
Dlxc_config_unittest.py44 with lxc_utils.TempDir() as tmpdir:
75 with lxc_utils.TempDir() as tmpdir:
Dcontainer_unittest.py244 with lxc_utils.TempDir() as tmpdir:
263 with lxc_utils.TempDir() as tmpdir, self.createContainer() as container:
275 with lxc_utils.TempDir() as tmpdir, self.createContainer() as container:
287 with lxc_utils.TempDir() as tmpdir, self.createContainer() as container:
/external/mesa3d/src/gtest/include/gtest/internal/custom/
DREADME.md11 * `GTEST_CUSTOM_TEMPDIR_FUNCTION_` - An override for `testing::TempDir()`. See
12 `testing::TempDir` for semantics and signature.
/external/googletest/googletest/include/gtest/internal/custom/
DREADME.md11 * `GTEST_CUSTOM_TEMPDIR_FUNCTION_` - An override for `testing::TempDir()`. See
12 `testing::TempDir` for semantics and signature.
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/custom/
DREADME.md11 * `GTEST_CUSTOM_TEMPDIR_FUNCTION_` - An override for `testing::TempDir()`. See
12 `testing::TempDir` for semantics and signature.
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/custom/
DREADME.md11 * `GTEST_CUSTOM_TEMPDIR_FUNCTION_` - An override for `testing::TempDir()`. See
12 `testing::TempDir` for semantics and signature.
/external/perfetto/src/traced/probes/ps/
Dprocess_stats_data_source_unittest.cc329 auto fake_proc = base::TempDir::Create(); in TEST_F()
409 auto fake_proc = base::TempDir::Create(); in TEST_F()
479 auto make_proc_path = [&dirs_to_delete](base::TempDir& temp_dir, int pid) { in TEST_F()
486 auto fake_proc = base::TempDir::Create(); in TEST_F()
493 auto fake_proc_task = base::TempDir::Create(); in TEST_F()
498 auto fake_ignored_proc_task = base::TempDir::Create(); in TEST_F()
/external/tensorflow/tensorflow/lite/testing/kernel_test/
Ddiff_analyzer_test.cc34 tensorflow::io::JoinPath(::testing::TempDir(), "diff_report.csv"); in TEST()
Dutil_test.cc34 options.dump_output_to_file = ::testing::TempDir() + "/test_out.csv"; in TEST()
Dinput_generator_test.cc49 auto output_filename = ::testing::TempDir() + "/out.csv"; in TEST()
/external/llvm/unittests/Support/
DPath.cpp356 SmallString<32> TempDir; in TEST() local
357 path::system_temp_directory(false, TempDir); in TEST()
358 EXPECT_TRUE(!TempDir.empty()); in TEST()
359 TempDir.clear(); in TEST()
360 path::system_temp_directory(true, TempDir); in TEST()
361 EXPECT_TRUE(!TempDir.empty()); in TEST()
379 SmallString<300> TempDir; \
380 path::system_temp_directory(true, TempDir); \
381 raw_os_ostream(std::cerr) << TempDir; \
/external/perfetto/src/traced/probes/common/
Dcpu_freq_info_for_testing.h39 base::TempDir fake_cpu_dir_;
/external/golang-protobuf/protoc-gen-go/
Dgolden_test.go33 workdir, err := ioutil.TempDir("", "proto-test")
225 workdir, err := ioutil.TempDir("", "proto-test")
/external/python/apitools/samples/
Duptodate_check_test.py45 with test_utils.TempDir() as tmp_dir_path:

123