/external/chromium_org/base/ |
os_compat_android_unittest.cc | 19 FilePath tmp_dir; local 20 EXPECT_TRUE(base::GetTempDir(&tmp_dir)); 23 FilePath sub_dir = tmp_dir.Append("XX"); 34 FilePath sub_dir2 = tmp_dir.Append("XXXXXX");
|
/external/chromium_org/base/test/ |
perf_test_suite.cc | 29 base::FilePath tmp_dir; local 30 PathService::Get(base::DIR_CACHE, &tmp_dir); 31 log_path = tmp_dir.Append(log_path.BaseName());
|
/external/chromium_org/tools/grit/grit/gather/ |
chrome_html_unittest.py | 37 tmp_dir = util.TempDir({ 63 html = chrome_html.ChromeHtml(tmp_dir.GetPath('index.html')) 83 tmp_dir.CleanUp() 89 tmp_dir = util.TempDir({ 104 html = chrome_html.ChromeHtml(tmp_dir.GetPath('index.html')) 117 tmp_dir.CleanUp() 122 tmp_dir = util.TempDir({ 136 html = chrome_html.ChromeHtml(tmp_dir.GetPath('test.css')) 146 tmp_dir.CleanUp() 151 tmp_dir = util.TempDir( [all...] |
chrome_scaled_image_unittest.py | 52 def _GetFilesInRc(rcname, tmp_dir, contents): 56 contents = dict((tmp_dir.GetPath(k), v) for k, v in contents.items()) 103 with util.TempDir(infiles) as tmp_dir: 104 with tmp_dir.AsCurrentDir(): 106 options.input = tmp_dir.GetPath('in/in.grd') 112 _GetFilesInPak(tmp_dir.GetPath('out/%s.pak' % context))) 115 _GetFilesInRc(tmp_dir.GetPath('out/%s.rc' % context), 116 tmp_dir, infiles))
|
/bionic/tests/ |
TemporaryFile.h | 52 void init(const char* tmp_dir) { 53 snprintf(filename, sizeof(filename), "%s/TemporaryFile-XXXXXX", tmp_dir); 75 bool init(const char* tmp_dir) { 76 snprintf(dirname, sizeof(dirname), "%s/TemporaryDir-XXXXXX", tmp_dir);
|
/external/chromium_org/chrome/test/remoting/ |
install_and_launch_app.py | 52 tmp_dir: Name of the temporary folder that was created. 53 profile_dir: Name of the profile-dir under the tmp_dir. 56 tmp_dir = tempfile.mkdtemp() 57 print 'Created folder %s' % (tmp_dir) 58 profile_dir = os.path.join(tmp_dir, 'testuser') 61 return tmp_dir, profile_dir 138 tmp_dir, profile_dir = CreateTempProfileDir(org_profile_dir) 199 print 'Deleting %s' % tmp_dir 201 os.rmdir(tmp_dir)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_sdist.py | 61 # and put it in self.tmp_dir 65 os.mkdir(join(self.tmp_dir, 'somecode')) 66 os.mkdir(join(self.tmp_dir, 'dist')) 68 self.write_file((self.tmp_dir, 'README'), 'xxx') 69 self.write_file((self.tmp_dir, 'somecode', '__init__.py'), '#') 70 self.write_file((self.tmp_dir, 'setup.py'), SETUP_PY) 71 os.chdir(self.tmp_dir) 98 os.mkdir(join(self.tmp_dir, 'somecode', '.svn')) 99 self.write_file((self.tmp_dir, 'somecode', '.svn', 'ok.py'), 'xxx') 101 os.mkdir(join(self.tmp_dir, 'somecode', '.hg') [all...] |
test_file_util.py | 24 tmp_dir = self.mkdtemp() 25 self.source = os.path.join(tmp_dir, 'f1') 26 self.target = os.path.join(tmp_dir, 'f2') 27 self.target_dir = os.path.join(tmp_dir, 'd1')
|
test_build_ext.py | 26 self.tmp_dir = self.mkdtemp() 28 sys.path.append(self.tmp_dir) 29 self.addCleanup(sys.path.remove, self.tmp_dir) 46 support.copy_xxmodule_c(self.tmp_dir) 48 xx_c = os.path.join(self.tmp_dir, 'xxmodule.c') 51 dist.package_dir = self.tmp_dir 54 cmd.build_lib = self.tmp_dir 55 cmd.build_temp = self.tmp_dir 271 tmp_dir = self.mkdtemp() 272 c_file = os.path.join(tmp_dir, 'foo.c' [all...] |
test_config.py | 59 self.tmp_dir = self.mkdtemp() 60 os.environ['HOME'] = self.tmp_dir 61 self.rc = os.path.join(self.tmp_dir, '.pypirc')
|
test_config_cmd.py | 70 tmp_dir = self.mkdtemp() 71 f1 = os.path.join(tmp_dir, 'one') 72 f2 = os.path.join(tmp_dir, 'two')
|
test_bdist_rpm.py | 55 tmp_dir = self.mkdtemp() 56 pkg_dir = os.path.join(tmp_dir, 'foo') 100 tmp_dir = self.mkdtemp() 101 pkg_dir = os.path.join(tmp_dir, 'foo')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_sdist.py | 61 # and put it in self.tmp_dir 65 os.mkdir(join(self.tmp_dir, 'somecode')) 66 os.mkdir(join(self.tmp_dir, 'dist')) 68 self.write_file((self.tmp_dir, 'README'), 'xxx') 69 self.write_file((self.tmp_dir, 'somecode', '__init__.py'), '#') 70 self.write_file((self.tmp_dir, 'setup.py'), SETUP_PY) 71 os.chdir(self.tmp_dir) 98 os.mkdir(join(self.tmp_dir, 'somecode', '.svn')) 99 self.write_file((self.tmp_dir, 'somecode', '.svn', 'ok.py'), 'xxx') 101 os.mkdir(join(self.tmp_dir, 'somecode', '.hg') [all...] |
test_file_util.py | 24 tmp_dir = self.mkdtemp() 25 self.source = os.path.join(tmp_dir, 'f1') 26 self.target = os.path.join(tmp_dir, 'f2') 27 self.target_dir = os.path.join(tmp_dir, 'd1')
|
test_build_ext.py | 26 self.tmp_dir = self.mkdtemp() 28 sys.path.append(self.tmp_dir) 29 self.addCleanup(sys.path.remove, self.tmp_dir) 46 support.copy_xxmodule_c(self.tmp_dir) 48 xx_c = os.path.join(self.tmp_dir, 'xxmodule.c') 51 dist.package_dir = self.tmp_dir 54 cmd.build_lib = self.tmp_dir 55 cmd.build_temp = self.tmp_dir 271 tmp_dir = self.mkdtemp() 272 c_file = os.path.join(tmp_dir, 'foo.c' [all...] |
test_config.py | 59 self.tmp_dir = self.mkdtemp() 60 os.environ['HOME'] = self.tmp_dir 61 self.rc = os.path.join(self.tmp_dir, '.pypirc')
|
test_config_cmd.py | 70 tmp_dir = self.mkdtemp() 71 f1 = os.path.join(tmp_dir, 'one') 72 f2 = os.path.join(tmp_dir, 'two')
|
test_bdist_rpm.py | 55 tmp_dir = self.mkdtemp() 56 pkg_dir = os.path.join(tmp_dir, 'foo') 100 tmp_dir = self.mkdtemp() 101 pkg_dir = os.path.join(tmp_dir, 'foo')
|
/art/test/ |
run-test | 37 tmp_dir="/tmp/$USER/${test_dir}" 39 tmp_dir="${TMPDIR}/$USER/${test_dir}" 85 DEX_LOCATION=$tmp_dir 167 tmp_dir=$1 168 if [ "x$tmp_dir" = "x" ]; then 202 # tmp_dir may be relative, resolve. 208 tmp_dir="`cd $oldwd ; python -c "import os; print os.path.realpath('$tmp_dir')"`" 209 mkdir -p $tmp_dir 373 rm -rf "$tmp_dir" [all...] |
/prebuilts/devtools/tools/ |
android.bat | 49 set tmp_dir=%TEMP%\temp-android-tool
variable 50 xcopy %swt_path% %tmp_dir%\%swt_path% /I /E /C /G /R /Y /Q > nul
51 copy /B /D /Y lib\common.jar %tmp_dir%\lib\ > nul
52 copy /B /D /Y lib\commons-codec* %tmp_dir%\lib\ > nul
53 copy /B /D /Y lib\commons-compress* %tmp_dir%\lib\ > nul
54 copy /B /D /Y lib\commons-logging* %tmp_dir%\lib\ > nul
55 copy /B /D /Y lib\dvlib.jar %tmp_dir%\lib\ > nul
56 copy /B /D /Y lib\guava* %tmp_dir%\lib\ > nul
57 copy /B /D /Y lib\httpclient* %tmp_dir%\lib\ > nul
58 copy /B /D /Y lib\httpcore* %tmp_dir%\lib\ > nul [all...] |
/bionic/libc/bionic/ |
tmpfile.cpp | 59 static FILE* __tmpfile_dir(const char* tmp_dir) { 61 if (asprintf(&path, "%s/tmp.XXXXXXXXXX", tmp_dir) == -1) {
|
/external/chromium_org/base/files/ |
scoped_temp_dir_unittest.cc | 57 FilePath tmp_dir; local 58 EXPECT_TRUE(base::GetTempDir(&tmp_dir)); 59 EXPECT_TRUE(test_path.value().find(tmp_dir.value()) != std::string::npos);
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
page_set_archive_info_unittest.py | 38 self.tmp_dir = tempfile.mkdtemp() 40 self.page_set_archive_info_file = os.path.join(self.tmp_dir, 'info.json') 46 with open(os.path.join(self.tmp_dir, ('data_00%d.wpr' % i)), 'w') as f: 54 shutil.rmtree(self.tmp_dir) 87 new_temp_recording = os.path.join(self.tmp_dir, 'recording.wpr') 98 recording1_path = os.path.join(self.tmp_dir, recording1) 99 recording2_path = os.path.join(self.tmp_dir, recording2) 101 new_recording1 = os.path.join(self.tmp_dir, 'data_003.wpr') 102 new_temp_recording = os.path.join(self.tmp_dir, 'recording.wpr') 124 new_recording2 = os.path.join(self.tmp_dir, 'data_004.wpr' [all...] |
/external/chromium_org/tools/grit/grit/format/ |
html_inline_unittest.py | 72 tmp_dir = util.TempDir(files) 74 source_resources.add(tmp_dir.GetPath(filename)) 76 resources = html_inline.GetResourceFilenames(tmp_dir.GetPath('index.html')) 77 resources.add(tmp_dir.GetPath('index.html')) 79 tmp_dir.CleanUp() 91 tmp_dir = util.TempDir(files) 93 source_resources.add(tmp_dir.GetPath(filename)) 95 resources = html_inline.GetResourceFilenames(tmp_dir.GetPath('index.js')) 96 resources.add(tmp_dir.GetPath('index.js')) 98 tmp_dir.CleanUp( [all...] |
/external/chromium_org/ipc/ |
unix_domain_socket_util_unittest.cc | 82 base::FilePath tmp_dir; local 83 PathService::Get(base::DIR_CACHE, &tmp_dir); 84 return tmp_dir;
|