Searched refs:temp_dir (Results 1 - 25 of 59) sorted by relevance

123

/external/skia/third_party/libmicrohttpd/
H A Dbuild.py19 temp_dir = tempfile.mkdtemp() variable
21 os.chdir(temp_dir)
31 temp_dir + "/src/microhttpd/.libs/libmicrohttpd.a",
33 shutil.rmtree(temp_dir)
/external/chromium-trace/catapult/catapult_build/
H A Dappengine_dev_server.py29 with temp_deployment_dir.TempDeploymentDir(paths) as temp_dir:
30 print 'Running dev server on "%s".' % temp_dir
32 [module_finder.FindModule('dev_appserver')] + args + [temp_dir]
H A Dappengine_deploy.py33 paths, use_symlinks=False) as temp_dir:
34 print 'Deploying from "%s".' % temp_dir
40 temp_dir,
/external/autotest/client/common_lib/
H A Dautotemp_unittest.py35 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__()
/external/v8/build/
H A Dextract_from_cab.py34 temp_dir = tempfile.mkdtemp(dir=output_dir)
38 level = run_quiet('expand', cab_path, '-F:' + archived_file, temp_dir)
47 os.rename(os.path.join(temp_dir, archived_file), output_file)
49 shutil.rmtree(temp_dir, True)
H A Dprotoc_java.py43 with build_utils.TempDir() as temp_dir:
47 out_arg = '--javanano_out=' + ','.join(generator_args) + ':' + temp_dir
55 shutil.copytree(temp_dir, options.java_out_dir)
57 build_utils.ZipDir(options.srcjar, temp_dir)
/external/libchrome/base/files/
H A Dfile_unittest.cc21 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
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...]
H A Ddir_reader_posix_unittest.cc30 base::ScopedTempDir temp_dir;
31 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
32 const char* dir = temp_dir.path().value().c_str();
/external/google-breakpad/src/client/linux/handler/
H A Dexception_handler_unittest.cc165 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/autotest/utils/
H A Dpackager.py102 temp_dir = tempfile.mkdtemp()
105 base_packages.check_diskspace(temp_dir)
108 "enough space available: %s" % (temp_dir, e))
111 temp_dir, exclude_string)
115 shutil.rmtree(temp_dir)
121 def tar_packages(pkgmgr, pkg_type, pkg_names, src_dir, temp_dir):
141 temp_dir, exclude_string)
152 temp_dir = tempfile.mkdtemp()
154 base_packages.check_diskspace(temp_dir)
157 % (temp_dir,
[all...]
/external/google-breakpad/src/common/tests/
H A Dauto_tempdir.h55 char temp_dir[] = TEMPDIR "/breakpad.XXXXXX"; local
56 EXPECT_TRUE(mkdtemp(temp_dir) != NULL);
57 path_.assign(temp_dir);
/external/v8/build/android/gyp/
H A Daidl.py29 with build_utils.TempDir() as temp_dir:
32 output = os.path.join(temp_dir, classname + '.java')
48 for path in build_utils.FindInDirectory(temp_dir, '*.java'):
H A Dgenerate_resource_rewriter.py83 with build_utils.TempDir() as temp_dir:
84 output_dir = os.path.join(temp_dir, *package.split('.'))
88 temp_dir)
H A Djar.py81 with build_utils.TempDir() as temp_dir:
84 build_utils.ExtractAll(options.input_jar, temp_dir)
85 classes_dir = temp_dir
H A Demma_instr.py167 temp_dir = tempfile.mkdtemp()
173 '-d', temp_dir,
182 temp_jar_dir = os.path.join(temp_dir, 'lib')
194 shutil.rmtree(temp_dir)
/external/chromium-trace/catapult/third_party/coverage/coverage/
H A Dtest_helpers.py212 self.temp_dir = self.make_temp_dir("test_cover")
213 self.chdir(self.temp_dir)
223 class_behavior.temp_dir = self.run_in_temp_dir
231 temp_dir = os.path.join(tempfile.gettempdir(), name)
232 os.makedirs(temp_dir)
233 self.addCleanup(shutil.rmtree, temp_dir)
234 return temp_dir
296 self.temp_dir = True
311 elif behavior.temp_dir and behavior.tests_making_files == 0:
314 elif not behavior.temp_dir an
[all...]
/external/v8/build/win/importlibs/
H A Dcreate_importlib_win.py55 def __init__(self, temp_dir):
56 self._temp_dir = temp_dir
198 temp_dir = tempfile.mkdtemp()
199 _LOGGER.info('Created temporary directory "%s."', temp_dir)
202 generator = _ImportLibraryGenerator(temp_dir)
210 shutil.rmtree(temp_dir)
211 _LOGGER.info('Deleted temporary directory "%s."', temp_dir)
/external/google-breakpad/src/common/linux/
H A Dmemory_mapped_file_unittest.cc85 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/chromium-trace/catapult/trace_processor/bin/
H A Ddeploy_trace_uploader38 paths, use_symlinks=False) as temp_dir:
45 subprocess.call(cmd, cwd=temp_dir)
/external/google-breakpad/src/client/linux/minidump_writer/
H A Dminidump_writer_unittest.cc84 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/vboot_reference/cgpt/
H A Dcgpt_wrapper.c75 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);
/external/autotest/client/site_tests/firmware_TouchMTB/
H A Dcros_gs.py32 temp_dir = tempfile.mkdtemp()
33 gsutil_temp_file = os.path.join(temp_dir, GSUTIL_TAR_NAME)
44 shutil.rmtree(temp_dir)
/external/v8/build/android/
H A Dlighttpd_server.py49 self.temp_dir = tempfile.mkdtemp(prefix='lighttpd_for_chrome_android')
65 return os.path.join(self.temp_dir, name)
99 cwd=self.temp_dir)
117 shutil.rmtree(self.temp_dir, ignore_errors=True)
/external/toybox/tests/
H A Dtar.test62 mkdir dir/dir1 -p ; mkdir dir/dir2 ; mkdir dir/dir3 ; mkdir dir/dir4 ; mkdir temp_dir
63 echo "dir1/file" > dir/dir1/file ; echo "temp_dir/file" > temp_dir/file
65 echo "temp_dir/file" > exclude_file
68 rm -rf temp_dir
/external/chromium-trace/catapult/third_party/vinn/vinn/
H A D_vinn.py173 temp_dir = tempfile.mkdtemp()
174 temp_boostrap_file = os.path.join(temp_dir, '_tmp_boostrap.js')
184 shutil.rmtree(temp_dir)
201 temp_dir = tempfile.mkdtemp()
205 temp_file = os.path.join(temp_dir, '%s.js' % name)
207 temp_file = os.path.join(temp_dir, 'temp_program.js')
212 shutil.rmtree(temp_dir)

Completed in 1517 milliseconds

123