/cts/tests/tests/icu/tools/ |
update-test-list.sh | 7 TMP_DIR=/tmp/update-test-list-$$ 8 mkdir -p $TMP_DIR 10 unzip $ZIP host_log.txt -d $TMP_DIR 12 HOST_LOG=$TMP_DIR/host_log.txt
|
/external/icu/tools/ |
i18nutil.py | 21 tmp_dir = tempfile.mkdtemp('-i18n') 22 os.chdir(tmp_dir) 23 print 'Created temporary directory "%s"...' % tmp_dir
|
/system/core/base/ |
test_utils.cpp | 60 char tmp_dir[MAX_PATH]; 61 DWORD result = GetTempPathA(sizeof(tmp_dir), tmp_dir); 63 CHECK_LT(result, sizeof(tmp_dir)) << "path truncated to: " << result; 67 CHECK_EQ(tmp_dir[result - 1], '\\'); 68 tmp_dir[result - 1] = '\0'; 69 return tmp_dir; 84 void TemporaryFile::init(const std::string& tmp_dir) { 85 snprintf(path, sizeof(path), "%s%cTemporaryFile-XXXXXX", tmp_dir.c_str(), 98 bool TemporaryDir::init(const std::string& tmp_dir) { [all...] |
/bionic/libc/tools/ |
ndk_missing_symbols.py | 31 tmp_dir = tempfile.mkdtemp() 32 adb_pull('/system/lib/libc.so', tmp_dir) 33 adb_pull('/system/lib/libm.so', tmp_dir) 36 device = (symbols.GetFromElf(os.path.join(tmp_dir, 'libc.so')) | 37 symbols.GetFromElf(os.path.join(tmp_dir, 'libm.so')))
|
/external/autotest/client/site_tests/platform_DebugDaemonDumpDebugLogs/ |
platform_DebugDaemonDumpDebugLogs.py | 19 tmp_file = os.path.join(self.tmp_dir, filename) 40 self.tmp_dir = tempfile.mkdtemp() 43 if os.path.exists(self.tmp_dir): 44 shutil.rmtree(self.tmp_dir)
|
/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...] |
/external/autotest/server/samples/ |
parallel_kvm.srv | 30 tmp_dir= g[0].get_tmp_dir() 31 big_file= os.path.join(tmp_dir, "big_file") 39 tmp_dir= g[i].get_tmp_dir() 40 g[i].run('scp "%s":"%s" "%s"' % (g[0].hostname, big_file, tmp_dir,)) 41 print g[i].run('sha1sum "%s"' % (os.path.join(tmp_dir, "big_file"),)).stdout.strip()
|
/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_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')
|
/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_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')
|
/external/chromium-trace/catapult/telemetry/telemetry/wpr/ |
archive_info_unittest.py | 40 self.tmp_dir = tempfile.mkdtemp() 43 self.tmp_dir, 'info.json') 49 with open(os.path.join(self.tmp_dir, ('data_00%d.wpr' % i)), 'w') as f: 59 shutil.rmtree(self.tmp_dir) 79 {os.path.join(self.tmp_dir, recording1): "dummyhash", 80 os.path.join(self.tmp_dir, recording2): "dummyhash2",}) 111 new_temp_recording = os.path.join(self.tmp_dir, 'recording.wpr') 112 expected_archive_file_path = os.path.join(self.tmp_dir, 'data_003.wpr') 126 recording1_path = os.path.join(self.tmp_dir, recording1) 127 recording2_path = os.path.join(self.tmp_dir, recording2 [all...] |
/system/core/base/include/android-base/ |
test_utils.h | 33 void init(const std::string& tmp_dir); 46 bool init(const std::string& tmp_dir);
|
/bionic/tests/ |
TemporaryFile.h | 56 void init(const char* tmp_dir) { 57 snprintf(filename, sizeof(filename), "%s/TemporaryFile-XXXXXX", tmp_dir); 81 bool init(const char* tmp_dir) { 82 snprintf(dirname, sizeof(dirname), "%s/TemporaryDir-XXXXXX", tmp_dir);
|
/external/autotest/client/tests/dma_memtest/ |
dma_memtest.py | 100 tmp_dir = 'linux.%s' % j 102 os.mkdir(tmp_dir) 104 tar_cmd = ['tar', 'jxf', self.tarball, '-C', tmp_dir] 105 logging.debug("Unpacking tarball to %s", tmp_dir) 110 logging.debug("Unpacking tarball to %s", tmp_dir) 111 utils.extract_tarball_to_dir(self.tarball, tmp_dir) 122 tmp_dir = 'linux.%s/%s' % (j, 125 diff_cmd = ['diff', '-U3', '-rN', 'linux.orig', tmp_dir] 126 logging.debug("Comparing linux.orig with %s", tmp_dir) 133 logging.debug('Comparing linux.orig with %s', tmp_dir) [all...] |
/external/webrtc/talk/build/ |
build_jar.sh | 38 TMP_DIR="$1"; shift 47 rm -rf "$TMP_DIR" 48 mkdir -p "$TMP_DIR" 50 $JAVA_HOME/bin/javac -Xlint:deprecation -Xlint:unchecked -d "$TMP_DIR" \ 52 $JAVA_HOME/bin/jar cf "$JAR_NAME" -C "$TMP_DIR" .
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
dependency_manager_util_unittest.py | 24 self.tmp_dir = os.path.abspath(tempfile.mkdtemp(prefix='telemetry')) 25 self.sub_dir = os.path.join(self.tmp_dir, 'sub_dir') 28 self.read_only_path = (os.path.join(self.tmp_dir, 'read_only')) 33 self.writable_path = (os.path.join(self.tmp_dir, 'writable')) 38 self.executable_path = (os.path.join(self.tmp_dir, 'executable')) 58 self.AssertExpectedDirFiles(self.tmp_dir) 59 self.archive_path = self.CreateZipArchiveFromDir(self.tmp_dir) 62 if os.path.isdir(self.tmp_dir): 63 dependency_manager_util.RemoveDir(self.tmp_dir) 119 dependency_manager_util.RemoveDir(self.tmp_dir) [all...] |
/external/libcxx/test/libcxx/ndk/test/ |
config.py | 49 tmp_dir = getattr(self.config, 'device_dir', '/data/local/tmp/') 57 tmp_dir, 59 exec_env={'LD_LIBRARY_PATH': tmp_dir})
|
/external/autotest/site_utils/ |
brillo_recovery_test.py | 62 tmp_dir = moblab.make_tmp_dir() 65 tmp_dir, os.path.basename(args.recovery_image)) 67 moblab.run('chown -R moblab:moblab %s' % tmp_dir) 72 moblab.run('rm -rf %s' % tmp_dir)
|
/external/autotest/client/bin/ |
setup_job_unittest.py | 212 tmp_dir = 'bar' 215 os.path.exists.expect_call(tmp_dir).and_return(True) 216 os.path.isdir.expect_call(tmp_dir).and_return(False) 219 self.assertRaises(ValueError, self.job.setup_dirs, results_dir, tmp_dir) 230 tmp_dir = 'bar' 233 os.path.exists.expect_call(tmp_dir).and_return(False) 234 os.mkdir.expect_call(tmp_dir) 235 os.path.isdir.expect_call(tmp_dir).and_return(True) 243 self.assertEqual(self.job.setup_dirs(None, tmp_dir), 244 (results_dir3, tmp_dir)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/libcxx/ndk/test/ |
config.py | 83 tmp_dir = getattr(self.config, 'device_dir', '/data/local/tmp/') 89 tmp_dir, 91 exec_env={'LD_LIBRARY_PATH': tmp_dir})
|