/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/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/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/site_utils/lxc/ |
D | lxc_config_unittest.py | 10 import tempfile 42 'source': tempfile.mkdtemp(dir=tmpdir), 49 'source': tempfile.mkdtemp(dir=tmpdir), 100 self.rootfs = tempfile.mkdtemp() 159 with tempfile.NamedTemporaryFile() as tmp: 171 tmpdir = tempfile.mkdtemp()
|
/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/autotest/client/common_lib/ |
D | test_unittest.py | 8 import tempfile 296 self.test.resultsdir = tempfile.mkdtemp() 307 self.test.resultsdir = tempfile.mkdtemp() 320 self.test.resultsdir = tempfile.mkdtemp() 335 self.test.resultsdir = tempfile.mkdtemp() 348 self.test.resultsdir = tempfile.mkdtemp() 362 self.test.resultsdir = tempfile.mkdtemp() 376 self.test.resultsdir = tempfile.mkdtemp() 388 self.test.resultsdir = tempfile.mkdtemp() 401 self.test.resultsdir = tempfile.mkdtemp() [all …]
|
/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/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/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/chromium-trace/catapult/devil/devil/android/ |
D | device_blacklist_test.py | 7 import tempfile 16 with tempfile.NamedTemporaryFile() as blacklist_file: 25 with tempfile.NamedTemporaryFile(delete=False) as blacklist_file:
|
/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/ |
D | tpm_store.py | 5 import tempfile 60 pem_file = tempfile.NamedTemporaryFile() 63 der_file = tempfile.NamedTemporaryFile() 75 self._directory = tempfile.mkdtemp()
|
/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/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/toybox/toys/other/ |
D | dos2unix.c | 31 char *tempfile; in GLOBALS() argument 39 if (fd) outfd = copy_tempfile(fd, name, &TT.tempfile); 65 if (fd) replace_tempfile(-1, outfd, &TT.tempfile);
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
D | dependency_manager_util_unittest.py | 9 import tempfile 24 self.tmp_dir = os.path.abspath(tempfile.mkdtemp(prefix='telemetry')) 108 base_path = os.path.join(tempfile.gettempdir(), str(uuid.uuid4())) 132 unzip_path = os.path.join(tempfile.gettempdir(), str(uuid.uuid4())) 153 base_path = os.path.join(tempfile.gettempdir(), str(uuid.uuid4())) 162 unzip_path = os.path.join(tempfile.gettempdir(), str(uuid.uuid4())) 167 unzip_path = os.path.join(tempfile.gettempdir(), str(uuid.uuid4())) 184 tmp_file = tempfile.NamedTemporaryFile(delete=False)
|
/external/mesa3d/src/compiler/glsl/tests/ |
D | compare_ir | 32 import tempfile 48 file1, path1 = tempfile.mkstemp(os.path.basename(sys.argv[1])) 49 file2, path2 = tempfile.mkstemp(os.path.basename(sys.argv[2]))
|
/external/autotest/client/site_tests/security_HardlinkRestrictions/ |
D | security_HardlinkRestrictions.py | 21 import tempfile 110 tmpdir = tempfile.mkdtemp(prefix='hardlinks-') 115 secret = tempfile.NamedTemporaryFile(prefix="secret-") 116 readable = tempfile.NamedTemporaryFile(prefix="readable-") 118 available = tempfile.NamedTemporaryFile(prefix="available-") 148 devdir = tempfile.mkdtemp(prefix="hardlinks-", dir="/dev")
|
/external/compiler-rt/test/asan/android_commands/ |
D | android_common.py | 1 import os, subprocess, tempfile 14 tmpname = tempfile.mktemp() 33 tmp = tempfile.mktemp()
|