/external/python/cpython2/Lib/test/ |
D | test_dircache.py | 14 self.tempdir = tempfile.mkdtemp() 17 for fname in os.listdir(self.tempdir): 19 os.rmdir(self.tempdir) 22 f = open(os.path.join(self.tempdir, fname), 'w') 26 os.mkdir(os.path.join(self.tempdir, fname)) 29 fname = os.path.join(self.tempdir, fname) 37 entries = dircache.listdir(self.tempdir) 41 self.assertTrue(dircache.listdir(self.tempdir) is entries) 54 entries = dircache.listdir(self.tempdir) 56 self.assertTrue(dircache.listdir(self.tempdir) is entries) [all …]
|
/external/avb/test/ |
D | at_auth_unlock_unittest.py | 142 tempdir = tempfile.mkdtemp() 146 pubkey = os.path.join(tempdir, 'pubkey.pub') 155 shutil.rmtree(tempdir) 159 tempdir = tempfile.mkdtemp() 163 shortfile = os.path.join(tempdir, 'shortfile.bin') 181 longfile = os.path.join(tempdir, 'longfile.bin') 196 shutil.rmtree(tempdir) 225 tempdir = tempfile.mkdtemp() 227 challenge_file = os.path.join(tempdir, 'challenge') 230 out_cred = os.path.join(tempdir, 'credential') [all …]
|
/external/fonttools/Tests/varLib/ |
D | interpolate_layout_test.py | 26 self.tempdir = None 30 if self.tempdir: 31 shutil.rmtree(self.tempdir) 55 return os.path.join(self.tempdir, 59 if not self.tempdir: 60 self.tempdir = tempfile.mkdtemp() 119 self.compile_font(path, suffix, self.tempdir) 121 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix) 143 self.compile_font(path, suffix, self.tempdir) 145 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix) [all …]
|
D | interpolatable_test.py | 32 self.tempdir = None 36 if self.tempdir: 37 shutil.rmtree(self.tempdir) 56 return os.path.join(self.tempdir, 60 if not self.tempdir: 61 self.tempdir = tempfile.mkdtemp() 82 self.compile_font(path, suffix, self.tempdir) 84 ttf_paths = self.get_file_list(self.tempdir, suffix) 95 self.compile_font(path, suffix, self.tempdir) 97 otf_paths = self.get_file_list(self.tempdir, suffix)
|
D | mutator_test.py | 24 self.tempdir = None 28 if self.tempdir: 29 shutil.rmtree(self.tempdir) 53 return os.path.join(self.tempdir, 57 if not self.tempdir: 58 self.tempdir = tempfile.mkdtemp() 104 self.compile_font(path, suffix, self.tempdir) 106 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix) 109 varfont_path = os.path.join(self.tempdir, varfont_name + suffix) 128 self.compile_font(path, suffix, self.tempdir) [all …]
|
D | varLib_test.py | 35 self.tempdir = None 39 if self.tempdir: 40 shutil.rmtree(self.tempdir) 64 return os.path.join(self.tempdir, 68 if not self.tempdir: 69 self.tempdir = tempfile.mkdtemp() 118 self.compile_font(path, suffix, self.tempdir) 120 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix) 255 ttf_dir = os.path.join(self.tempdir, 'master_ttf_interpolatable') 261 ds_copy = os.path.join(self.tempdir, 'BuildMain.designspace') [all …]
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | ICUWriter.java | 142 String tempdir = fileName.replace('\\', '/'); in writeHeader() local 143 int index = tempdir.indexOf("/common"); in writeHeader() 145 tempdir = "<path>" + tempdir.substring(index, tempdir.length()); in writeHeader() 147 index = tempdir.indexOf("/xml"); in writeHeader() 149 tempdir = "<path>" + tempdir.substring(index, tempdir.length()); in writeHeader() 151 tempdir = "<path>/" + tempdir; in writeHeader() 154 buffer.append("// * Source File:" + tempdir) in writeHeader()
|
/external/curl/src/ |
D | tool_dirhie.c | 104 char *tempdir; in create_dir_hierarchy() local 125 tempdir = strtok(outdup, PATH_DELIMITERS); in create_dir_hierarchy() 127 while(tempdir != NULL) { in create_dir_hierarchy() 134 msnprintf(&dirbuildup[dlen], outlen - dlen, "%s%s", DIR_CHAR, tempdir); in create_dir_hierarchy() 136 if(outdup == tempdir) in create_dir_hierarchy() 138 strcpy(dirbuildup, tempdir); in create_dir_hierarchy() 140 msnprintf(dirbuildup, outlen, "%s%s", DIR_CHAR, tempdir); in create_dir_hierarchy() 148 tempdir = tempdir2; in create_dir_hierarchy()
|
/external/swiftshader/third_party/subzero/pydir/ |
D | build-runtime.py | 42 srcdir, tempdir, rtdir, verbose, excluded_targets): argument 48 return template.format(dir=tempdir, target=target_info.target) 188 tempdir = tempfile.mkdtemp() 198 '-o', '{dir}/szrt.tmp.bc'.format(dir=tempdir) 204 '{dir}/szrt.tmp.bc'.format(dir=tempdir), 206 '-o', '{dir}/szrt.ll'.format(dir=tempdir) 208 ll_files = ['{dir}/szrt.ll'.format(dir=tempdir), 212 srcdir, tempdir, rtdir, args.verbose, 215 srcdir, tempdir, rtdir, args.verbose, 218 srcdir, tempdir, rtdir, args.verbose, [all …]
|
/external/grpc-grpc/tools/distrib/ |
D | yapf_code.sh | 54 tempdir=$(mktemp -d) 55 cp -RT "${dir}" "${tempdir}" 56 yapf "${tempdir}" 57 diff -x '*.pyc' -ru "${dir}" "${tempdir}" || ok=no 58 rm -rf "${tempdir}"
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/ |
D | ext.py | 181 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/common/py_vulcanize/third_party/rjsmin/_setup/py2/ |
D | ext.py | 181 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/common/py_vulcanize/third_party/rcssmin/_setup/py3/ |
D | ext.py | 180 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/common/py_vulcanize/third_party/rjsmin/_setup/py3/ |
D | ext.py | 180 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/tensorflow/tensorflow/lite/examples/ios/ |
D | download_models.sh | 31 tempdir=$(mktemp -d) 33 curl -L ${url} > ${tempdir}/archive.tgz 35 tar zxvf ${tempdir}/archive.tgz 36 rm -rf ${tempdir}
|
/external/avb/tools/ |
D | at_auth_unlock.py | 170 tempdir = tempfile.mkdtemp() 186 zip.extractall(path=tempdir, members=[pik_cert, puk_cert, puk]) 189 intermediate_cert_file=os.path.join(tempdir, pik_cert), 190 unlock_cert_file=os.path.join(tempdir, puk_cert), 191 unlock_key_file=os.path.join(tempdir, puk), 194 shutil.rmtree(tempdir) 299 tempdir = tempfile.mkdtemp() 301 challenge_file = os.path.join(tempdir, 'challenge') 302 credential_file = os.path.join(tempdir, 'credential') 350 shutil.rmtree(tempdir)
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_msvccompiler.py | 62 tempdir = self.mkdtemp() 65 compiler._copy_vcruntime(tempdir) 68 tempdir, os.path.basename(__file__)))) 75 tempdir = self.mkdtemp() 81 compiler._copy_vcruntime(tempdir) 84 tempdir, os.path.basename(dll))), dll or "<None>")
|
/external/python/cpython3/Lib/test/test_importlib/source/ |
D | test_finder.py | 160 tempdir = tempfile.TemporaryDirectory() 161 original_mode = os.stat(tempdir.name).st_mode 162 def cleanup(tempdir): argument 170 os.chmod(tempdir.name, original_mode) 174 tempdir.__exit__(None, None, None) 175 self.addCleanup(cleanup, tempdir) 176 os.chmod(tempdir.name, stat.S_IWUSR | stat.S_IXUSR) 177 finder = self.get_finder(tempdir.name)
|
/external/tensorflow/tensorflow/lite/schema/ |
D | upgrade_schema.py | 128 with TemporaryDirectoryResource() as tempdir: 138 ] + raw_binary + ["-o", tempdir, schema, "--", input_file]) 141 json_file = os.path.join(tempdir, basename_no_extension + ".json") 162 with TemporaryDirectoryResource() as tempdir: 166 input_json = os.path.join(tempdir, "temp.json") 171 tempdir, self._new_schema, input_json 176 shutil.copy(os.path.join(tempdir, "temp.tflite"), output_file)
|
/external/tensorflow/tensorflow/contrib/makefile/ |
D | download_dependencies.sh | 77 tempdir=$(mktemp -d) 81 (cd "${tempdir}"; curl --remote-name --silent --location "${url}") 83 wget -P "${tempdir}" "${url}" 85 unzip "${tempdir}"/* -d "${tempdir2}" 89 rm -rf "${tempdir2}" "${tempdir}"
|
/external/autotest/client/bin/ |
D | site_sysinfo_unittest.py | 26 self.tempdir = autotemp.tempdir(unique_id='diffable_logdir') 27 self.src_dir = os.path.join(self.tempdir.name, 'src') 28 self.dest_dir = os.path.join(self.tempdir.name, 'dest') 52 self.tempdir.clean() 149 self.tempdir = tempfile.mkdtemp() 150 self.addCleanup(shutil.rmtree, self.tempdir) 152 self.from_dir = os.path.join(self.tempdir, 'from') 153 self.to_dir = os.path.join(self.tempdir, 'to') 198 from_symlink = os.path.join(self.tempdir, 'from_symlink')
|
/external/curl/ |
D | maketgz | 196 rm -rf $tempdir 197 mkdir $tempdir 198 cd $tempdir 203 rm -rf $tempdir 208 tempdir=".builddir"
|
/external/tensorflow/tensorflow/lite/tools/make/ |
D | download_dependencies.sh | 66 tempdir=$(mktemp -d) 69 curl -L ${url} > ${tempdir}/zipped.zip 70 unzip ${tempdir}/zipped.zip -d ${tempdir2} 81 rm -rf ${tempdir2} ${tempdir}
|
/external/autotest/client/cros/ |
D | ownership.py | 42 tempdir = autotemp.tempdir(unique_id='ownership') variable in scoped_tempfile 287 keyfile = scoped_tempfile.tempdir.name + '/private.key' 288 certfile = scoped_tempfile.tempdir.name + '/cert.pem' 320 for_push = scoped_tempfile(scoped_tempfile.tempdir.name + '/for_push.p12') 340 outfile = scoped_tempfile(scoped_tempfile.tempdir.name + '/pubkey.der') 366 pem_key_file = scoped_tempfile(scoped_tempfile.tempdir.name + '/pkey.pem')
|
/external/fonttools/Lib/fontTools/misc/ |
D | testTools.py | 167 self.tempdir = None 171 if self.tempdir: 172 shutil.rmtree(self.tempdir) 179 if not self.tempdir: 180 self.tempdir = tempfile.mkdtemp() 184 temppath = os.path.join(self.tempdir, file_name)
|