/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 …]
|
D | make_ssl_certs.py | 6 import tempfile 94 with tempfile.NamedTemporaryFile(delete=False) as f: 105 with tempfile.NamedTemporaryFile(delete=False) as f: 143 with tempfile.NamedTemporaryFile("w") as t: 146 with tempfile.NamedTemporaryFile() as f:
|
/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() 174 cand = tempfile._candidate_tempdir_list() 190 cand = tempfile._candidate_tempdir_list() 216 our_temp_directory = tempfile.mkdtemp() 222 with support.swap_attr(tempfile, "_candidate_tempdir_list", 225 tempfile._get_default_tempdir() 234 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/contrib/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/autotest/client/common_lib/ |
D | test_unittest.py | 8 import tempfile 298 self.test.resultsdir = tempfile.mkdtemp() 309 self.test.resultsdir = tempfile.mkdtemp() 322 self.test.resultsdir = tempfile.mkdtemp() 337 self.test.resultsdir = tempfile.mkdtemp() 350 self.test.resultsdir = tempfile.mkdtemp() 364 self.test.resultsdir = tempfile.mkdtemp() 378 self.test.resultsdir = tempfile.mkdtemp() 390 self.test.resultsdir = tempfile.mkdtemp() 403 self.test.resultsdir = 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/contrib/lite/toco/python/ |
D | toco_from_protos_test.py | 20 import tempfile 59 with tempfile.NamedTemporaryFile() as fp_toco, \ 60 tempfile.NamedTemporaryFile() as fp_model, \ 61 tempfile.NamedTemporaryFile() as fp_input, \ 62 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/flac/libFLAC/ |
D | metadata_iterators.c | 110 …rator_copy_file_prefix_(FLAC__Metadata_SimpleIterator *iterator, FILE **tempfile, char **tempfilen… 111 …ator_copy_file_postfix_(FLAC__Metadata_SimpleIterator *iterator, FILE **tempfile, char **tempfilen… 113 static FLAC__bool copy_n_bytes_from_file_(FILE *file, FILE *tempfile, FLAC__off_t bytes, FLAC__Meta… 115 static FLAC__bool copy_remaining_bytes_from_file_(FILE *file, FILE *tempfile, FLAC__Metadata_Simple… 118 …empfile_(const char *filename, const char *tempfile_path_prefix, FILE **tempfile, char **tempfilen… 119 static FLAC__bool transport_tempfile_(const char *filename, FILE **tempfile, char **tempfilename, F… 120 static void cleanup_tempfile_(FILE **tempfile, char **tempfilename); 1405 FILE *f, *tempfile = NULL; in chain_rewrite_file_() local 1419 if(!open_tempfile_(chain->filename, tempfile_path_prefix, &tempfile, &tempfilename, &status)) { in chain_rewrite_file_() 1423 if(!copy_n_bytes_from_file_(f, tempfile, chain->first_offset, &status)) { in chain_rewrite_file_() [all …]
|
/external/v8/tools/ |
D | android-run.py | 42 import tempfile 50 (fd_out, outname) = tempfile.mkstemp() 51 (fd_err, errname) = tempfile.mkstemp() 79 (fd, fname) = tempfile.mkstemp()
|
/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/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()
|