/external/skia/third_party/libmicrohttpd/ |
H A D | build.py | 19 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 D | appengine_dev_server.py | 29 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 D | appengine_deploy.py | 33 paths, use_symlinks=False) as temp_dir: 34 print 'Deploying from "%s".' % temp_dir 40 temp_dir,
|
/external/autotest/client/common_lib/ |
H A D | 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__()
|
/external/v8/build/ |
H A D | extract_from_cab.py | 34 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 D | protoc_java.py | 43 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 D | 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 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 D | 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();
|
/external/google-breakpad/src/client/linux/handler/ |
H A D | 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/autotest/utils/ |
H A D | packager.py | 102 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 D | auto_tempdir.h | 55 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 D | aidl.py | 29 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 D | generate_resource_rewriter.py | 83 with build_utils.TempDir() as temp_dir: 84 output_dir = os.path.join(temp_dir, *package.split('.')) 88 temp_dir)
|
H A D | jar.py | 81 with build_utils.TempDir() as temp_dir: 84 build_utils.ExtractAll(options.input_jar, temp_dir) 85 classes_dir = temp_dir
|
H A D | emma_instr.py | 167 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 D | test_helpers.py | 212 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 D | create_importlib_win.py | 55 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 D | 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/chromium-trace/catapult/trace_processor/bin/ |
H A D | deploy_trace_uploader | 38 paths, use_symlinks=False) as temp_dir: 45 subprocess.call(cmd, cwd=temp_dir)
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
H A D | 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/vboot_reference/cgpt/ |
H A D | 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);
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
H A D | cros_gs.py | 32 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 D | lighttpd_server.py | 49 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 D | tar.test | 62 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.py | 173 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)
|