Home
last modified time | relevance | path

Searched refs:tempdir (Results 1 – 25 of 68) sorted by relevance

123

/external/curl/src/
Dtool_dirhie.c96 char *tempdir; in create_dir_hierarchy() local
115 tempdir = strtok(outdup, DIR_CHAR); in create_dir_hierarchy()
117 while(tempdir != NULL) { in create_dir_hierarchy()
124 snprintf(&dirbuildup[dlen], outlen - dlen, "%s%s", DIR_CHAR, tempdir); in create_dir_hierarchy()
127 strcpy(dirbuildup, tempdir); in create_dir_hierarchy()
129 snprintf(dirbuildup, outlen, "%s%s", DIR_CHAR, tempdir); in create_dir_hierarchy()
139 tempdir = tempdir2; in create_dir_hierarchy()
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/_setup/py2/
Dext.py181 self._tempdir = tempdir = _tempfile.mkdtemp()
182 src = _os.path.join(tempdir, 'conftest.c')
190 self.target = _os.path.join(tempdir, 'conftest')
191 self.obj = compiler.object_filenames([src], output_dir=tempdir)
199 tempdir, self._tempdir = self._tempdir, None
200 if tempdir is not None:
201 _shutil.rmtree(tempdir)
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/_setup/py3/
Dext.py180 self._tempdir = tempdir = _tempfile.mkdtemp()
181 src = _os.path.join(tempdir, 'conftest.c')
189 self.target = _os.path.join(tempdir, 'conftest')
190 self.obj = compiler.object_filenames([src], output_dir=tempdir)
198 tempdir, self._tempdir = self._tempdir, None
199 if tempdir is not None:
200 _shutil.rmtree(tempdir)
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/_setup/py2/
Dext.py181 self._tempdir = tempdir = _tempfile.mkdtemp()
182 src = _os.path.join(tempdir, 'conftest.c')
190 self.target = _os.path.join(tempdir, 'conftest')
191 self.obj = compiler.object_filenames([src], output_dir=tempdir)
199 tempdir, self._tempdir = self._tempdir, None
200 if tempdir is not None:
201 _shutil.rmtree(tempdir)
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/_setup/py3/
Dext.py180 self._tempdir = tempdir = _tempfile.mkdtemp()
181 src = _os.path.join(tempdir, 'conftest.c')
189 self.target = _os.path.join(tempdir, 'conftest')
190 self.obj = compiler.object_filenames([src], output_dir=tempdir)
198 tempdir, self._tempdir = self._tempdir, None
199 if tempdir is not None:
200 _shutil.rmtree(tempdir)
/external/curl/
Dmaketgz166 rm -rf $tempdir
167 mkdir $tempdir
168 cd $tempdir
173 rm -rf $tempdir
178 tempdir=".builddir"
/external/chromium-trace/catapult/telemetry/telemetry/value/
Dtrace_unittest.py74 tempdir = tempfile.mkdtemp()
77 fh = v.Serialize(tempdir)
86 shutil.rmtree(tempdir)
113 self.actual_tempdir = trace.tempfile.tempdir
114 trace.tempfile.tempdir = self.temp_test_dir
129 trace.tempfile.tempdir = self.actual_tempdir
/external/autotest/client/bin/
Dsite_sysinfo_unittest.py21 self.tempdir = autotemp.tempdir(unique_id='diffable_logdir')
22 self.src_dir = os.path.join(self.tempdir.name, 'src')
23 self.dest_dir = os.path.join(self.tempdir.name, 'dest')
43 self.tempdir.clean()
/external/autotest/client/common_lib/
Dautotemp_unittest.py32 class tempdir(unittest.TestCase): class
35 temp_dir = autotemp.tempdir(unique_id='dir')
41 temp_dir = autotemp.tempdir(unique_id='clean')
49 temp_dir = autotemp.tempdir(unique_id='del')
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
Dfake_tempfile.py50 self.tempdir = None # initialized by mktemp(), others
266 if self.tempdir:
267 return self.tempdir
270 self.tempdir = '/tmp'
271 return self.tempdir
/external/autotest/client/site_tests/power_IdleSuspend/
Dpower_IdleSuspend.py42 self.tempdir = tempfile.mkdtemp(prefix='IdleSuspend.')
43 logging.info('using temporary directory %s', self.tempdir)
48 tmp_path = '%s/%s' % (self.tempdir, key)
55 fifo_path = '%s/sys_power_state' % self.tempdir
/external/autotest/client/cros/
Downership.py42 tempdir = autotemp.tempdir(unique_id='ownership') variable in scoped_tempfile
302 keyfile = scoped_tempfile.tempdir.name + '/private.key'
303 certfile = scoped_tempfile.tempdir.name + '/cert.pem'
335 for_push = scoped_tempfile(scoped_tempfile.tempdir.name + '/for_push.p12')
355 outfile = scoped_tempfile(scoped_tempfile.tempdir.name + '/pubkey.der')
381 pem_key_file = scoped_tempfile(scoped_tempfile.tempdir.name + '/pkey.pem')
/external/mksh/src/
Dcheck.pl308 until (mkdir(($tempdir = sprintf("%s%03d", $temps, $tempi)), 0700)) {
311 die "$prog: couldn't cd to $tempdir - $!\n" if !chdir($tempdir);
335 $tempdir = "${temp_dir}/rtd";
336 mkdir($tempdir, 0700) or die "$prog: couldn't mkdir $tempdir - $!\n";
378 &scrub_dir($tempdir) if defined $tempdir;
379 rmdir($tempdir) if defined $tempdir;
457 return undef if !&scrub_dir($tempdir);
470 if (!chdir($tempdir)) {
471 print STDERR "$prog: couldn't cd to $tempdir - $!\n";
/external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/
Dfake_tempfile.py51 self.tempdir = None # initialized by mktemp(), others
267 if self.tempdir:
268 return self.tempdir
271 self.tempdir = '/tmp'
272 return self.tempdir
/external/skia/tools/
Dmerge_static_libs.py23 tempdir = tempfile.mkdtemp()
28 os.chdir(tempdir)
52 shutil.rmtree(tempdir)
/external/autotest/utils/
Drun_pylint.py385 tempdir = None
387 tempdir = autotemp.tempdir()
388 temp_files = [os.path.join(tempdir.name, file_path.split('/')[-1:][0])
396 if tempdir:
397 tempdir.clean()
/external/autotest/server/hosts/
Dsonic_host.py85 tempdir = autotemp.tempdir()
86 local_dest = os.path.join(tempdir.name, 'content_shell.sh')
107 tempdir.clean()
/external/chromium-trace/catapult/telemetry/telemetry/internal/results/
Djson_output_formatter_unittest.py82 tempdir = tempfile.mkdtemp()
91 results._SerializeTracesToDirPath(tempdir)
99 self.assertTrue(output_trace_path.startswith(tempdir))
102 shutil.rmtree(tempdir)
/external/autotest/server/cros/dynamic_suite/
Dreporting_utils.py295 tempdir = autotemp.tempdir()
297 cache_dir=tempdir.name)
305 tempdir.clean()
/external/autotest/tko/parsers/test/
Dexecute_parser.py28 tempdir, results_dirpath = scenario_base.load_results_dir(scenario_dirpath)
36 tempdir.clean()
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/
Dandroid_profiling_helper_unittest.py34 self.tempdir = tempfile.mkdtemp()
35 self.filename_a = os.path.join(self.tempdir, 'filea')
36 self.filename_b = os.path.join(self.tempdir, 'fileb')
42 shutil.rmtree(self.tempdir)
/external/tlsdate/src/
Dtlsdated-unittest.c21 FIXTURE (tempdir) in FIXTURE() argument
26 FIXTURE_SETUP (tempdir) in FIXTURE_SETUP() argument
34 FIXTURE_TEARDOWN(tempdir) { in FIXTURE_TEARDOWN() argument
82 TEST_F (tempdir, load_time) in TEST_F() argument
107 TEST_F (tempdir, save_time) in TEST_F() argument
/external/vboot_reference/scripts/image_signing/
Dcommon_minimal.sh81 local tempdir=$(mktemp -d)
82 echo "$tempdir" >> $TEMP_DIR_LIST
83 echo $tempdir
/external/libchrome/base/json/
Djson_value_serializer_unittest.cc151 ScopedTempDir tempdir; in TEST() local
152 ASSERT_TRUE(tempdir.CreateUniqueTempDir()); in TEST()
154 FilePath temp_file(tempdir.path().AppendASCII("test.json")); in TEST()
175 ScopedTempDir tempdir; in TEST() local
176 ASSERT_TRUE(tempdir.CreateUniqueTempDir()); in TEST()
178 FilePath temp_file(tempdir.path().AppendASCII("test.json")); in TEST()
/external/autotest/server/
Dprofilers.py166 tempdir = tempfile.mkdtemp(dir=self.job.tmpdir)
168 host.get_file(results_dir + '/', tempdir)
171 utils.merge_trees(tempdir, local_dir)
172 shutil.rmtree(tempdir, ignore_errors=True)

123