/external/autotest/client/common_lib/ |
autotemp_unittest.py | 35 temp_dir = autotemp.tempdir(unique_id='dir') 36 self.assertTrue(os.path.exists(temp_dir.name)) 37 self.assertTrue(os.path.isdir(temp_dir.name)) 41 temp_dir = autotemp.tempdir(unique_id='clean') 42 name = temp_dir.name 44 temp_dir.clean() 49 temp_dir = autotemp.tempdir(unique_id='del') 50 name = temp_dir.name 52 temp_dir.__del__()
|
/art/test/968-default-partial-compile-gen/util-src/ |
generate_java.py | 58 def __init__(self, sources, javac, temp_dir, classes_dir): 60 self.temp_dir = temp_dir 83 JavaConverter(f.get_specific_version(base.InterfaceType.default)).dump(self.temp_dir) 85 JavaConverter(f).dump(self.temp_dir) 86 self.compile_files("-d {}".format(self.classes_dir), self.temp_dir.glob("*.java")) 97 out.dump(self.temp_dir) 98 files.append(self.temp_dir / out.get_file_name()) 103 out.dump(self.temp_dir) 104 files.append(self.temp_dir / out.get_file_name() [all...] |
/external/ltp/testcases/kernel/syscalls/fchdir/ |
fchdir01.c | 73 char *temp_dir; variable 92 if ((temp_dir = (getcwd(temp_dir, 0))) == NULL) 132 free(temp_dir); 133 temp_dir = NULL;
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
shell_util.py | 26 temp_dir = _tempfile.mkdtemp() 28 with ScopedChangeDir(temp_dir): 31 _shutil.rmtree(temp_dir)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_cmd_line_script.py | 8 temp_dir, make_script, compile_script, 101 with temp_dir() as script_dir: 106 with temp_dir() as script_dir: 113 with temp_dir() as script_dir: 118 with temp_dir() as script_dir: 125 with temp_dir() as script_dir: 130 with temp_dir() as script_dir: 136 with temp_dir() as script_dir: 143 with temp_dir() as script_dir: 150 with temp_dir() as script_dir [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_cmd_line_script.py | 8 temp_dir, make_script, compile_script, 101 with temp_dir() as script_dir: 106 with temp_dir() as script_dir: 113 with temp_dir() as script_dir: 118 with temp_dir() as script_dir: 125 with temp_dir() as script_dir: 130 with temp_dir() as script_dir: 136 with temp_dir() as script_dir: 143 with temp_dir() as script_dir: 150 with temp_dir() as script_dir [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_cmd_line_script.py | 8 temp_dir, make_script, compile_script, 101 with temp_dir() as script_dir: 106 with temp_dir() as script_dir: 113 with temp_dir() as script_dir: 118 with temp_dir() as script_dir: 125 with temp_dir() as script_dir: 130 with temp_dir() as script_dir: 136 with temp_dir() as script_dir: 143 with temp_dir() as script_dir: 150 with temp_dir() as script_dir [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_cmd_line_script.py | 8 temp_dir, make_script, compile_script, 101 with temp_dir() as script_dir: 106 with temp_dir() as script_dir: 113 with temp_dir() as script_dir: 118 with temp_dir() as script_dir: 125 with temp_dir() as script_dir: 130 with temp_dir() as script_dir: 136 with temp_dir() as script_dir: 143 with temp_dir() as script_dir: 150 with temp_dir() as script_dir [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_cmd_line_script.py | 8 temp_dir, make_script, compile_script,
98 with temp_dir() as script_dir:
103 with temp_dir() as script_dir:
110 with temp_dir() as script_dir:
115 with temp_dir() as script_dir:
122 with temp_dir() as script_dir:
127 with temp_dir() as script_dir:
133 with temp_dir() as script_dir:
140 with temp_dir() as script_dir:
147 with temp_dir() as script_dir: [all...] |
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/ |
fileutil_unittest.py | 34 temp_dir = tempfile.mkdtemp() 36 self.assertTrue(os.path.exists(temp_dir)) 39 full = os.path.join(temp_dir, "foo", "bar") 55 shutil.rmtree(temp_dir)
|
/external/libchrome/base/files/ |
file_unittest.cc | 21 base::ScopedTempDir temp_dir; local 22 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 23 FilePath file_path = temp_dir.path().AppendASCII("create_file_1"); 95 file_path = temp_dir.path().AppendASCII("create_file_2"); 108 base::ScopedTempDir temp_dir; local 109 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 110 FilePath file_path = temp_dir.path().AppendASCII("create_file"); 126 base::ScopedTempDir temp_dir; local 127 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 128 FilePath file_path = temp_dir.path().AppendASCII("create_file_1") 153 base::ScopedTempDir temp_dir; local 225 base::ScopedTempDir temp_dir; local 273 base::ScopedTempDir temp_dir; local 325 base::ScopedTempDir temp_dir; local 388 base::ScopedTempDir temp_dir; local 412 base::ScopedTempDir temp_dir; local 435 base::ScopedTempDir temp_dir; local 452 base::ScopedTempDir temp_dir; local 479 base::ScopedTempDir temp_dir; local 496 base::ScopedTempDir temp_dir; local [all...] |
dir_reader_posix_unittest.cc | 30 base::ScopedTempDir temp_dir; 31 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 32 const char* dir = temp_dir.path().value().c_str();
|
/art/test/971-iface-super/util-src/ |
generate_java.py | 58 def __init__(self, sources, javac, temp_dir, classes_dir): 60 self.temp_dir = temp_dir 83 JavaConverter(f.get_specific_version(base.InterfaceType.default)).dump(self.temp_dir) 85 JavaConverter(f).dump(self.temp_dir) 86 self.compile_files("-d {}".format(self.classes_dir), self.temp_dir.glob("*.java")) 101 out.dump(self.temp_dir) 102 files.append(self.temp_dir / out.get_file_name()) 107 out.dump(self.temp_dir) 108 files.append(self.temp_dir / out.get_file_name() [all...] |
/external/google-breakpad/src/client/linux/handler/ |
exception_handler_unittest.cc | 165 AutoTempDir temp_dir; local 167 MinidumpDescriptor(temp_dir.path()), NULL, NULL, NULL, true, -1); 168 EXPECT_EQ(temp_dir.path(), handler.minidump_descriptor().directory()); 169 string temp_subdir = temp_dir.path() + "/subdir"; 175 AutoTempDir temp_dir; local 177 const int fd = CreateTMPFile(temp_dir.path(), &path); 215 AutoTempDir temp_dir; local 220 minidump_fd = CreateTMPFile(temp_dir.path(), &minidump_path); 235 handler.reset(new ExceptionHandler(MinidumpDescriptor(temp_dir.path()), 320 AutoTempDir temp_dir; local 332 AutoTempDir temp_dir; local 344 AutoTempDir temp_dir; local 356 AutoTempDir temp_dir; local 368 AutoTempDir temp_dir; local 385 AutoTempDir temp_dir; local 414 AutoTempDir temp_dir; local 430 AutoTempDir temp_dir; local 446 AutoTempDir temp_dir; local 462 AutoTempDir temp_dir; local 492 AutoTempDir temp_dir; local 584 AutoTempDir temp_dir; local 672 AutoTempDir temp_dir; local 765 AutoTempDir temp_dir; local 844 AutoTempDir temp_dir; local 986 AutoTempDir temp_dir; local 1005 AutoTempDir temp_dir; local 1024 AutoTempDir temp_dir; local 1041 AutoTempDir temp_dir; local 1085 AutoTempDir temp_dir; local 1124 AutoTempDir temp_dir; local 1172 AutoTempDir temp_dir; local [all...] |
/external/python/cpython2/Lib/test/ |
test_cmd_line_script.py | 9 temp_dir, make_script, compile_script, 102 with temp_dir() as script_dir: 107 with temp_dir() as script_dir: 114 with temp_dir() as script_dir: 119 with temp_dir() as script_dir: 126 with temp_dir() as script_dir: 131 with temp_dir() as script_dir: 137 with temp_dir() as script_dir: 144 with temp_dir() as script_dir: 151 with temp_dir() as script_dir [all...] |
/external/autotest/server/site_tests/brillo_ADBDirectoryTransfer/ |
brillo_ADBDirectoryTransfer.py | 32 self.temp_dir = tempfile.mkdtemp() 33 self.test_dir = os.path.join(self.temp_dir, 'test_dir') 52 return_dir = os.path.join(self.temp_dir, 'return_dir') 67 shutil.rmtree(self.temp_dir)
|
/external/google-breakpad/src/common/tests/ |
auto_tempdir.h | 55 char temp_dir[] = TEMPDIR "/breakpad.XXXXXX"; local 56 EXPECT_TRUE(mkdtemp(temp_dir) != NULL); 57 path_.assign(temp_dir);
|
/external/r8/tools/ |
test_framework.py | 64 with utils.TempDir() as temp_dir: 67 tool_args = ['--dex', '--output=' + temp_dir, '--multi-dex', 77 tool_args = ['--output', temp_dir, '--min-api', MIN_SDK_VERSION] 86 track_memory_file = os.path.join(temp_dir, utils.MEMORY_USE_TMP_FILE) 104 dex_files = [f for f in glob(os.path.join(temp_dir, '*.dex'))]
|
/external/autotest/utils/ |
packager.py | 163 temp_dir = tempfile.mkdtemp() 166 packages.check_diskspace(temp_dir) 169 "enough space available: %s" % (temp_dir, e)) 181 temp_dir, exclude_string) 185 shutil.rmtree(temp_dir) 191 def tar_packages(pkgmgr, pkg_type, pkg_names, src_dir, temp_dir): 223 temp_dir, exclude_string_tar) 233 temp_dir = tempfile.mkdtemp() 235 packages.check_diskspace(temp_dir) 238 % (temp_dir, e) [all...] |
/external/libmojo/mojo/edk/system/ |
platform_handle_dispatcher_unittest.cc | 24 base::ScopedTempDir temp_dir; local 25 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 31 CreateAndOpenTemporaryFileInDir(temp_dir.path(), &unused)); 66 base::ScopedTempDir temp_dir; local 67 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 73 CreateAndOpenTemporaryFileInDir(temp_dir.path(), &unused));
|
/external/google-breakpad/src/common/linux/ |
memory_mapped_file_unittest.cc | 85 AutoTempDir temp_dir; local 86 string test_file = temp_dir.path() + "/empty_file"; 107 AutoTempDir temp_dir; local 108 string test_file = temp_dir.path() + "/test_file"; 141 AutoTempDir temp_dir; local 142 string test_file1 = temp_dir.path() + "/test_file1"; 143 string test_file2 = temp_dir.path() + "/test_file2"; 186 AutoTempDir temp_dir; local 187 string test_file1 = temp_dir.path() + "/test_file1";
|
/external/autotest/server/site_tests/brillo_DecodingAudioTest/ |
brillo_DecodingAudioTest.py | 42 self.temp_dir = tempfile.mkdtemp(dir=fb_client.tmp_dir) 54 _DEFAULT_SINE_FREQUENCY, self.temp_dir, file_format)
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
minidump_writer_unittest.cc | 84 AutoTempDir temp_dir; local 85 string templ = temp_dir.path() + kMDWriterUnitTestFileName; 113 AutoTempDir temp_dir; local 114 string templ = temp_dir.path() + kMDWriterUnitTestFileName; 180 AutoTempDir temp_dir; local 181 string templ = temp_dir.path() + kMDWriterUnitTestFileName; 264 AutoTempDir temp_dir; local 265 string tempfile = temp_dir.path() + "/minidump-writer-unittest-temp"; 300 string dumpfile = temp_dir.path() + kMDWriterUnitTestFileName; 349 AutoTempDir temp_dir; local 470 AutoTempDir temp_dir; local 548 AutoTempDir temp_dir; local 642 AutoTempDir temp_dir; local [all...] |
/external/toolchain-utils/fdo_scripts/ |
divide_and_merge_profiles.py | 72 temp_dir = tempfile.mkdtemp() 73 temp_dirs.append(temp_dir) 74 self._CopyFilesTree(i, current_files, temp_dir) 82 for temp_dir in temp_dirs: 83 command = 'rm -rf %s' % temp_dir
|
/external/vboot_reference/cgpt/ |
cgpt_wrapper.c | 75 char temp_dir[] = "/tmp/cgpt_wrapper.XXXXXX"; local 76 if (ReadNorFlash(temp_dir) != 0) { 80 if (snprintf(rw_gpt_path, sizeof(rw_gpt_path), "%s/rw_gpt", temp_dir) < 0) { 131 ret = WriteNorFlash(temp_dir); 140 RemoveDir(temp_dir);
|