Home
last modified time | relevance | path

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

123

/aosp_15_r20/external/rust/android-crates-io/crates/tempfile/src/dir/
Dmod.rs103 pub fn tempdir_in<P: AsRef<Path>>(dir: P) -> io::Result<TempDir> { in tempdir_in()
178 pub struct TempDir { struct
183 impl TempDir { implementation
241 pub fn new_in<P: AsRef<Path>>(dir: P) -> io::Result<TempDir> { in new_in()
266 pub fn with_prefix<S: AsRef<OsStr>>(prefix: S) -> io::Result<TempDir> { in with_prefix()
294 ) -> io::Result<TempDir> { in with_prefix_in()
413 impl AsRef<Path> for TempDir { implementation
419 impl fmt::Debug for TempDir { implementation
427 impl Drop for TempDir { implementation
439 ) -> io::Result<TempDir> { in create()
/aosp_15_r20/external/pytorch/c10/util/
H A Dtempfile.h36 struct C10_API TempDir { struct
38 explicit TempDir(std::string_view name) noexcept : name(name) {} in TempDir() argument
40 TempDir(TempDir&& other) noexcept : name(std::move(other.name)) { in TempDir() argument
44 TempDir& operator=(const TempDir&) = delete; argument
52 std::string name;
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/sys_common/
H A Dio.rs14 pub struct TempDir(PathBuf); struct
16 impl TempDir { impl
18 let TempDir(ref p) = *self; in join() localVariable
23 let TempDir(ref p) = *self; in path() localVariable
28 impl Drop for TempDir { implementation
32 let TempDir(ref p) = *self; in drop() localVariable
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/src/sys_common/
H A Dio.rs14 pub struct TempDir(PathBuf); struct
16 impl TempDir { impl
18 let TempDir(ref p) = *self; in join() localVariable
23 let TempDir(ref p) = *self; in path() localVariable
28 impl Drop for TempDir { implementation
32 let TempDir(ref p) = *self; in drop() localVariable
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/src/sys_common/
H A Dio.rs14 pub struct TempDir(PathBuf); struct
16 impl TempDir { impl
18 let TempDir(ref p) = *self; in join() localVariable
23 let TempDir(ref p) = *self; in path() localVariable
28 impl Drop for TempDir { implementation
32 let TempDir(ref p) = *self; in drop() localVariable
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/sys_common/
H A Dio.rs14 pub struct TempDir(PathBuf); struct
16 impl TempDir { impl
18 let TempDir(ref p) = *self; in join() localVariable
23 let TempDir(ref p) = *self; in path() localVariable
28 impl Drop for TempDir { implementation
32 let TempDir(ref p) = *self; in drop() localVariable
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/sys_common/
H A Dio.rs14 pub struct TempDir(PathBuf); struct
16 impl TempDir { impl
18 let TempDir(ref p) = *self; in join() localVariable
23 let TempDir(ref p) = *self; in path() localVariable
28 impl Drop for TempDir { implementation
32 let TempDir(ref p) = *self; in drop() localVariable
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/tests/common/
H A Dmod.rs23 pub(crate) struct TempDir(PathBuf); struct
25 impl TempDir { impl
27 let TempDir(ref p) = *self; in join() localVariable
32 let TempDir(ref p) = *self; in path() localVariable
37 impl Drop for TempDir { implementation
41 let TempDir(ref p) = *self; in drop() localVariable
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/tests/common/
H A Dmod.rs23 pub(crate) struct TempDir(PathBuf); struct
25 impl TempDir { implementation
27 let TempDir(ref p) = *self; in join() localVariable
32 let TempDir(ref p) = *self; in path() localVariable
37 impl Drop for TempDir { implementation
41 let TempDir(ref p) = *self; in drop() localVariable
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/tests/common/
H A Dmod.rs23 pub(crate) struct TempDir(PathBuf); struct
25 impl TempDir { implementation
27 let TempDir(ref p) = *self; in join() localVariable
32 let TempDir(ref p) = *self; in path() localVariable
37 impl Drop for TempDir { implementation
41 let TempDir(ref p) = *self; in drop() localVariable
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/tests/common/
H A Dmod.rs23 pub(crate) struct TempDir(PathBuf); struct
25 impl TempDir { impl
27 let TempDir(ref p) = *self; in join() localVariable
32 let TempDir(ref p) = *self; in path() localVariable
37 impl Drop for TempDir { implementation
41 let TempDir(ref p) = *self; in drop() localVariable
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/tests/common/
H A Dmod.rs23 pub(crate) struct TempDir(PathBuf); struct
25 impl TempDir { implementation
27 let TempDir(ref p) = *self; in join() localVariable
32 let TempDir(ref p) = *self; in path() localVariable
37 impl Drop for TempDir { implementation
41 let TempDir(ref p) = *self; in drop() localVariable
/aosp_15_r20/external/rust/android-crates-io/crates/vmm-sys-util/src/unix/
Dtempdir.rs20 pub struct TempDir { struct
24 impl TempDir { impl
35 pub fn new_with_prefix<P: AsRef<OsStr>>(prefix: P) -> Result<TempDir> { in new_with_prefix()
64 pub fn new_in(path: &Path) -> Result<TempDir> { in new_in()
130 impl Drop for TempDir { implementation
/aosp_15_r20/system/security/keystore2/test_utils/
H A Dlib.rs41 pub struct TempDir { struct
46 impl TempDir { argument
96 impl Drop for TempDir { implementation
/aosp_15_r20/external/rust/android-crates-io/crates/walkdir/src/tests/
Dutil.rs214 pub struct TempDir(PathBuf); struct
216 impl Drop for TempDir { implementation
222 impl TempDir { impl
/aosp_15_r20/external/rust/android-crates-io/crates/same-file/src/
Dlib.rs404 struct TempDir(PathBuf); struct
406 impl Drop for TempDir { implementation
412 impl TempDir { implementation
/aosp_15_r20/external/crosvm/e2e_tests/tests/
H A Dfs.rs25 fn copy_file(mut vm: TestVm, tag: &str, dir: TempDir) { in copy_file()
52 fn mount_rw(mut vm: TestVm, tag: &str, dir: TempDir) { in mount_rw()
220 dir: TempDir, in copy_file_validate_ugid_mapping()
H A Dsnd.rs66 fn playback_and_check(config: Config, temp_dir: TempDir) { in playback_and_check()
104 fn compare_files(temp_dir: TempDir, golden_file_name: &str, output_file_name: &str) -> bool { in compare_files()
/aosp_15_r20/external/pigweed/pw_stream/
H A Dstd_file_stream_test.cc75 class TempDir { class
77 TempDir(std::string_view prefix) : rng_(GetSeed()) { in TempDir() function in pw::stream::__anon850357040111::TempDir
/aosp_15_r20/frameworks/libs/binary_translation/tests/ndk_program_tests/
Dfile_test.cc451 TEST(File, TempDir) { in TEST() argument
463 class TempDir { class
465 TempDir() { in TempDir() function in TempDir
473 explicit TempDir(const char* dir) { in TempDir() function in TempDir
/aosp_15_r20/external/rust/android-crates-io/crates/tempfile/src/
Dlib.rs523 pub fn tempdir(&self) -> io::Result<TempDir> { in tempdir()
549 pub fn tempdir_in<P: AsRef<Path>>(&self, dir: P) -> io::Result<TempDir> { in tempdir_in()
/aosp_15_r20/external/pigweed/pw_transfer/
H A Datomic_file_transfer_handler_test.cc36 class TempDir { class
38 TempDir(std::string_view prefix) : rng_(GetSeed()) { in TempDir() function in pw::transfer::__anon267a73450111::TempDir
/aosp_15_r20/external/crosvm/ext2/tests/
H A Dtests.rs68 fn mkfs(td: &TempDir, builder: Builder) -> PathBuf { in mkfs()
161 td: &TempDir, in assert_eq_dirs()
/aosp_15_r20/external/python/apitools/apitools/gen/
Dtest_utils.py33 def TempDir(change_to=False): function
/aosp_15_r20/external/rust/android-crates-io/crates/tempfile/src/dir/imp/
Dunix.rs10 ) -> io::Result<TempDir> { in create()

123