/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
D | fake_tempfile_test.py | 67 self.tempfile = fake_tempfile.FakeTempfileModule(self.filesystem) 78 filename_a = self.tempfile._TempFilename() 84 filename_b = self.tempfile._TempFilename() 91 filename = self.tempfile._TempFilename(suffix='.suffix') 98 filename = self.tempfile._TempFilename(prefix='prefix.') 104 filename = self.tempfile._TempFilename(dir='/dir') 109 obj = self.tempfile.TemporaryFile() 114 obj = self.tempfile.NamedTemporaryFile() 115 created_filenames = self.tempfile.FakeReturnedMktempValues() 122 obj = self.tempfile.NamedTemporaryFile(delete=False) [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/chromium-trace/catapult/third_party/Paste/tests/ |
D | test_fileapp.py | 7 import tempfile 102 tempfile = "test_fileapp.%s.txt" % (random.random()) 106 with open(tempfile, "wb") as fp: 109 app = fileapp.FileApp(tempfile) 116 print("updating", tempfile) 117 file = open(tempfile,"a+") 125 file = open(tempfile,"a+") 136 os.unlink(tempfile) 139 tmpdir = tempfile.mkdtemp() 194 tempfile = "test_fileapp.%s.txt" % (random.random()) [all …]
|
/external/llvm/utils/release/ |
D | merge.sh | 66 tempfile=`mktemp /tmp/merge.XXXXXX` || exit 1 69 echo "Reverting r$rev:" > $tempfile 71 echo "Merging r$rev:" > $tempfile 73 svn log -c $rev http://llvm.org/svn/llvm-project/$proj/trunk >> $tempfile 2>&1 89 echo svn commit -F $tempfile
|
/external/chromium-trace/catapult/telemetry/telemetry/value/ |
D | trace_unittest.py | 7 import tempfile 74 tempdir = tempfile.mkdtemp() 89 test_temp_file = tempfile.NamedTemporaryFile(delete=False) 112 self.temp_test_dir = tempfile.mkdtemp() 113 self.actual_tempdir = trace.tempfile.tempdir 114 trace.tempfile.tempdir = self.temp_test_dir 129 trace.tempfile.tempdir = self.actual_tempdir
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
D | trace_packager_unittest.py | 6 import tempfile 20 with tempfile.NamedTemporaryFile(delete=False) as f1, \ 21 tempfile.NamedTemporaryFile(delete=False) as f2: 27 with tempfile.NamedTemporaryFile() as output:
|
/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/skia/platform_tools/android/tests/ |
D | makefile_writer_tests.py | 16 import tempfile 147 f = tempfile.TemporaryFile() 157 fd, filename = tempfile.mkstemp() 175 fd, outfile = tempfile.mkstemp() 195 outdir = tempfile.mkdtemp() 204 outdir = tempfile.mkdtemp() 212 outdir = tempfile.mkdtemp()
|
/external/chromium-trace/catapult/perf_insights/perf_insights/ |
D | gce_instance_map_job.py | 9 import tempfile 25 file_handle, file_name = tempfile.mkstemp() 37 file_handle, file_name = tempfile.mkstemp() 78 temp_directory = tempfile.mkdtemp() 79 _, file_name = tempfile.mkstemp()
|
/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/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/chromium-trace/catapult/catapult_base/catapult_base/ |
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/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()
|
D | nacl-run.py | 38 import tempfile 46 (fd_out, outname) = tempfile.mkstemp() 47 (fd_err, errname) = tempfile.mkstemp() 75 (fd, fname) = tempfile.mkstemp()
|
/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/chromium-trace/catapult/telemetry/telemetry/internal/util/ |
D | file_handle_unittest.py | 6 import tempfile 15 self.temp_file_txt = tempfile.NamedTemporaryFile( 17 self.abs_path_html = tempfile.NamedTemporaryFile(
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/test/functional/ |
D | test_proxies.py | 6 import tempfile 41 self.pidfile = tempfile.mktemp() 42 self.logfile = tempfile.mktemp() 43 fd, self.conffile = tempfile.mkstemp()
|
/external/opencv3/modules/imgcodecs/test/ |
D | test_grfmt.cpp | 145 imwrite(cv::tempfile(".png"), img); in run() 194 string img_path = cv::tempfile(ext_from_int(ext).c_str()); in run() 224 string filename = cv::tempfile(".jpg"); in run() 255 string filename = cv::tempfile(".tiff"); in run() 485 string output_progressive = cv::tempfile(".jpg"); in TEST() 489 string output_normal = cv::tempfile(".jpg"); in TEST() 509 string output_optimized = cv::tempfile(".jpg"); in TEST() 513 string output_normal = cv::tempfile(".jpg"); in TEST() 533 string output_rst = cv::tempfile(".jpg"); in TEST() 537 string output_normal = cv::tempfile(".jpg"); in TEST() [all …]
|
/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/mesa3d/src/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/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/ |
D | client_generation_test.py | 9 import tempfile 25 path = tempfile.mkdtemp() 64 with tempfile.NamedTemporaryFile() as out:
|
/external/chromium-trace/catapult/perf_insights/perf_insights/endpoints/cloud_mapper/ |
D | worker.py | 13 import tempfile 37 temp_directory = tempfile.mkdtemp() 106 output_handle, output_name = tempfile.mkstemp() 113 _, map_file_name = tempfile.mkstemp() 120 _, reducer_file_name = tempfile.mkstemp()
|
/external/autotest/client/site_tests/audio_CRASFormatConversion/ |
D | audio_CRASFormatConversion.py | 7 import tempfile 84 reduced_file = tempfile.NamedTemporaryFile() 106 noise_profile = tempfile.NamedTemporaryFile() 118 record_file = tempfile.NamedTemporaryFile()
|