/external/ltp/testcases/kernel/fs/stream/ |
D | stream05.c | 52 char tempfile[40] = ""; variable 73 sprintf(tempfile, "stream05.%d", getpid()); in main() 76 if ((stream = fopen(tempfile, "a+")) == NULL) { in main() 78 tempfile, in main() 84 if ((stream = fopen(tempfile, "r+")) == NULL) { in main() 86 tempfile, in main() 135 if ((stream = fopen(tempfile, "r+")) == NULL) { in main() 137 tempfile, in main() 182 if ((stream = fopen(tempfile, "rb")) == NULL) { in main() 184 tempfile, in main() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_tempfile.py | 2 import tempfile 25 has_textmode = (tempfile._text_openflags != tempfile._bin_openflags) 41 self.assertIs(str, tempfile._infer_return_type('')) 42 self.assertIs(bytes, tempfile._infer_return_type(b'')) 43 self.assertIs(str, tempfile._infer_return_type(None)) 46 self.assertIs(str, tempfile._infer_return_type('', '')) 47 self.assertIs(bytes, tempfile._infer_return_type(b'', b'')) 49 tempfile._infer_return_type('', b'') 51 tempfile._infer_return_type(b'', '') 54 self.assertIs(str, tempfile._infer_return_type(None, '')) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_tempfile.py | 2 import tempfile 26 has_textmode = (tempfile._text_openflags != tempfile._bin_openflags) 73 dict = tempfile.__dict__ 103 self.r = tempfile._RandomNameSequence() 181 cand = tempfile._candidate_tempdir_list() 197 cand = tempfile._candidate_tempdir_list() 223 our_temp_directory = tempfile.mkdtemp() 229 with support.swap_attr(tempfile, "_candidate_tempdir_list", 232 tempfile._get_default_tempdir() 241 tempfile._get_default_tempdir() [all …]
|
D | make_ssl_certs.py | 7 import tempfile 95 with tempfile.NamedTemporaryFile(delete=False) as f: 106 with tempfile.NamedTemporaryFile(delete=False) as f: 144 with tempfile.NamedTemporaryFile("w") as t: 147 with tempfile.NamedTemporaryFile() as f:
|
D | test_csv.py | 10 import tempfile 123 fd, name = tempfile.mkstemp() 136 fd, name = tempfile.mkstemp() 208 fd, name = tempfile.mkstemp() 321 fd, name = tempfile.mkstemp() 383 fd, name = tempfile.mkstemp() 405 fd, name = tempfile.mkstemp() 416 fd, name = tempfile.mkstemp() 427 fd, name = tempfile.mkstemp() 438 fd, name = tempfile.mkstemp() [all …]
|
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/ |
D | tDomain_creation_deletion.py | 282 tempfile = open("tempfile", "w") 283 tempfile.write(out) 284 tempfile.close() 287 tempfile = open("tempfile", "r") 289 line=tempfile.readline() 291 line=tempfile.readline() 293 tempfile.close() 295 tempfile = open("tempfile", "r") 299 domain_created = tempfile.readline().strip('\n\r'), 302 domain_created = tempfile.readline() [all …]
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open09.c | 38 static char tempfile[40] = ""; variable 57 fildes = open(tempfile, O_WRONLY); in main() 69 fildes = open(tempfile, O_RDONLY); in main() 94 sprintf(tempfile, "open09.%d", getpid()); in setup() 96 fildes = creat(tempfile, 0600); in setup() 99 tempfile); in setup() 107 unlink(tempfile); in cleanup()
|
/external/tensorflow/tensorflow/lite/schema/ |
D | upgrade_schema_test.py | 22 import tempfile 257 non_existent = tempfile.mktemp(suffix=".json") 263 invalid_extension = tempfile.mktemp(suffix=".foo") 266 with tempfile.NamedTemporaryFile(suffix=".json", mode="w+") as in_json: 279 with tempfile.NamedTemporaryFile(suffix=".json", mode="w+") as in_json, \ 280 tempfile.NamedTemporaryFile( 282 tempfile.NamedTemporaryFile( 284 tempfile.NamedTemporaryFile(
|
/external/llvm/utils/release/ |
D | merge.sh | 76 tempfile=`mktemp /tmp/merge.XXXXXX` || exit 1 79 echo "Reverting r$rev:" > $tempfile 81 echo "Merging r$rev:" > $tempfile 83 svn log -c $rev http://llvm.org/svn/llvm-project/$proj/trunk >> $tempfile 2>&1 99 echo svn commit -F $tempfile
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/release/ |
D | merge.sh | 76 tempfile=`mktemp /tmp/merge.XXXXXX` || exit 1 79 echo "Reverting r$rev:" > $tempfile 81 echo "Merging r$rev:" > $tempfile 83 svn log -c $rev http://llvm.org/svn/llvm-project/$proj/trunk >> $tempfile 2>&1 99 echo svn commit -F $tempfile
|
/external/autotest/client/common_lib/ |
D | test_unittest.py | 8 import tempfile 202 self.test.resultsdir = tempfile.mkdtemp() 213 self.test.resultsdir = tempfile.mkdtemp() 226 self.test.resultsdir = tempfile.mkdtemp() 241 self.test.resultsdir = tempfile.mkdtemp() 254 self.test.resultsdir = tempfile.mkdtemp() 268 self.test.resultsdir = tempfile.mkdtemp() 282 self.test.resultsdir = tempfile.mkdtemp() 294 self.test.resultsdir = tempfile.mkdtemp() 307 self.test.resultsdir = tempfile.mkdtemp() [all …]
|
/external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/ |
D | estimator_test.py | 20 import tempfile 137 self._export_dir_base = tempfile.mkdtemp() + "export/" 148 model_dir = tempfile.mkdtemp() 167 model_dir = tempfile.mkdtemp() 189 model_dir = tempfile.mkdtemp() 214 model_dir = tempfile.mkdtemp() 234 model_dir = tempfile.mkdtemp() 254 model_dir = tempfile.mkdtemp() 282 model_dir = tempfile.mkdtemp() 302 model_dir = tempfile.mkdtemp() [all …]
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/utils/ |
D | export_test.py | 23 import tempfile 93 export_dir = os.path.join(tempfile.mkdtemp(), 'export') 104 export_dir = os.path.join(tempfile.mkdtemp(), 'export') 126 export_dir=os.path.join(tempfile.mkdtemp(), 'export'), 144 export_dir=os.path.join(tempfile.mkdtemp(), 'export'), 168 export_dir=os.path.join(tempfile.mkdtemp(), 'export'), 189 export_dir=os.path.join(tempfile.mkdtemp(), 'export'), 210 export_dir = os.path.join(tempfile.mkdtemp(), 'export') 235 export_dir = os.path.join(tempfile.mkdtemp(), 'export')
|
/external/libcups/cups/ |
D | ppd-util.c | 144 char tempfile[1024] = ""; /* Temporary filename */ in cupsGetPPD3() local 372 fd = cupsTempFd(tempfile, sizeof(tempfile)); in cupsGetPPD3() 410 if (tempfile[0]) in cupsGetPPD3() 411 strlcpy(buffer, tempfile, bufsize); in cupsGetPPD3() 419 else if (tempfile[0]) in cupsGetPPD3() 420 unlink(tempfile); in cupsGetPPD3() 422 else if (tempfile[0]) in cupsGetPPD3() 423 unlink(tempfile); in cupsGetPPD3()
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/ |
D | log_io_test.py | 8 import tempfile 17 file = tempfile.NamedTemporaryFile() 25 file = tempfile.NamedTemporaryFile() 35 file = tempfile.NamedTemporaryFile()
|
/external/tensorflow/tensorflow/lite/toco/python/ |
D | toco_from_protos_test.py | 20 import tempfile 60 with tempfile.NamedTemporaryFile() as fp_toco, \ 61 tempfile.NamedTemporaryFile() as fp_model, \ 62 tempfile.NamedTemporaryFile() as fp_input, \ 63 tempfile.NamedTemporaryFile() as fp_output:
|
/external/autotest/site_utils/lxc/ |
D | lxc_config_unittest.py | 9 import tempfile 48 'source': tempfile.mkdtemp(dir=tmpdir), 55 'source': tempfile.mkdtemp(dir=tmpdir), 106 self.rootfs = tempfile.mkdtemp() 165 with tempfile.NamedTemporaryFile() as tmp:
|
/external/toolchain-utils/fdo_scripts/ |
D | divide_and_merge_profiles_test.py | 10 import tempfile 26 self._program_dir = tempfile.mkdtemp() 34 profile_dir = tempfile.mkdtemp() 90 my_output = tempfile.mkdtemp() 103 reference_output = tempfile.mkdtemp()
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | lock_unittest.py | 9 import tempfile 49 tf = tempfile.NamedTemporaryFile(delete=False) 76 tf = tempfile.NamedTemporaryFile(delete=False) 105 tf = tempfile.NamedTemporaryFile(delete=False) 122 tf = tempfile.NamedTemporaryFile(delete=False) 140 tf = tempfile.NamedTemporaryFile(delete=False)
|
/external/vboot_reference/tests/ |
D | run_vbutil_kernel_arg_tests.sh | 156 tempfile="${TMPDIR}/foo.bin" 157 cat "${SSD_KERN}" > "$tempfile" 158 dd if="${USB_KERN}" bs=65536 skip=1 >> $tempfile 2>/dev/null 163 --verify "$tempfile" \ 184 repacked=$("${FUTILITY}" dump_kernel_config "${tempfile}")
|
/external/autotest/client/cros/image_comparison/ |
D | pdiff_image_comparer.py | 9 import tempfile 39 tmp_golden_img_file = tempfile.NamedTemporaryFile(suffix=ext) 40 tmp_test_img_file = tempfile.NamedTemporaryFile(suffix=ext) 66 tmp_diff_file = tempfile.NamedTemporaryFile(suffix='.png', delete=False)
|
/external/fonttools/MetaTools/ |
D | roundTrip.py | 19 import tempfile 34 xmlFile1 = tempfile.mktemp(".%s.ttx1" % fn) 35 ttFile2 = tempfile.mktemp(".%s" % fn) 36 xmlFile2 = tempfile.mktemp(".%s.ttx2" % fn)
|
/external/python/cpython3/Tools/scripts/ |
D | get-remote-certificate.py | 12 import tempfile 31 tn = tempfile.mktemp() 36 tn2 = (outfile or tempfile.mktemp()) 51 tfile = tempfile.mktemp()
|
/external/python/cpython2/Tools/ssl/ |
D | get-remote-certificate.py | 13 import re, tempfile, os, ssl 29 tn = tempfile.mktemp() 34 tn2 = (outfile or tempfile.mktemp()) 48 tfile = tempfile.mktemp()
|
/external/autotest/client/cros/ |
D | tpm_store.py | 5 import tempfile 60 pem_file = tempfile.NamedTemporaryFile() 63 der_file = tempfile.NamedTemporaryFile() 75 self._directory = tempfile.mkdtemp()
|