HomeSort by relevance Sort by last modified time
    Searched refs:tmp_dir (Results 1 - 25 of 45) sorted by null

1 2

  /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/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))
  /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')
  /external/chromium/chrome/browser/safe_browsing/
client_side_detection_service_unittest.cc 178 ScopedTempDir tmp_dir; local
179 ASSERT_TRUE(tmp_dir.CreateUniqueTempDir());
180 FilePath model_path = tmp_dir.path().AppendASCII("model");
203 model_path = tmp_dir.path().AppendASCII("another_model");
211 ScopedTempDir tmp_dir; local
212 ASSERT_TRUE(tmp_dir.CreateUniqueTempDir());
214 tmp_dir.path().AppendASCII("model"), NULL));
226 ScopedTempDir tmp_dir; local
227 ASSERT_TRUE(tmp_dir.CreateUniqueTempDir());
229 tmp_dir.path().AppendASCII("model"), NULL))
276 ScopedTempDir tmp_dir; local
294 ScopedTempDir tmp_dir; local
304 ScopedTempDir tmp_dir; local
    [all...]
  /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)
70 recording1_path = os.path.join(self.tmp_dir, recording1)
71 recording2_path = os.path.join(self.tmp_dir, recording2)
73 new_recording1 = os.path.join(self.tmp_dir, 'data_003.wpr')
74 new_temp_recording = os.path.join(self.tmp_dir, 'recording.wpr')
96 new_recording2 = os.path.join(self.tmp_dir, 'data_004.wpr')
123 page_set_file = os.path.join(self.tmp_dir, 'new_page_set.json'
    [all...]
  /art/test/
run-test 36 tmp_dir="/tmp/${test_dir}"
74 DEX_LOCATION=$tmp_dir
120 tmp_dir=$1
215 rm -rf "$tmp_dir"
216 cp -Rp "$test_dir" "$tmp_dir"
217 cd "$tmp_dir"
272 find $tmp_dir -mindepth 1 ! -regex ".*/\(.*jar\|$build_output\|$expected\)" | xargs rm -rf
295 rm -rf "$tmp_dir"
314 echo "${TEST_NAME} files left in ${tmp_dir} on host"
  /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...]
  /dalvik/tests/
run-test 173 tmp_dir="/tmp/test-$$"
184 rm -rf "$tmp_dir"
185 cp -Rp "$test_dir" "$tmp_dir"
186 cd "$tmp_dir"
236 rm -rf "$tmp_dir"
251 echo "files left in ${tmp_dir}"
  /bionic/libc/bionic/
tmpfile.cpp 59 static FILE* __tmpfile_dir(const char* tmp_dir) {
61 int path_length = snprintf(buf, sizeof(buf), "%s/tmp.XXXXXXXXXX", tmp_dir);
  /external/chromium_org/chrome/browser/extensions/api/image_writer_private/
operation.cc 191 base::FilePath tmp_dir; local
194 &tmp_dir)) {
199 AddCleanUpFunction(base::Bind(&RemoveTempDirectory, tmp_dir));
201 if (!zip::Unzip(*zip_file, tmp_dir)) {
206 base::FileEnumerator file_enumerator(tmp_dir,
  /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...]
  /bionic/libc/tools/zoneinfo/
update-tzdata.py 63 tmp_dir = tempfile.mkdtemp('-tzdata')
64 os.chdir(tmp_dir)
65 print 'Created temporary directory "%s"...' % tmp_dir
  /external/chromium/base/memory/
scoped_temp_dir_unittest.cc 53 FilePath tmp_dir; local
54 EXPECT_TRUE(file_util::GetTempDir(&tmp_dir));
55 EXPECT_TRUE(test_path.value().find(tmp_dir.value()) != std::string::npos);

Completed in 384 milliseconds

1 2