Home
last modified time | relevance | path

Searched refs:tempfile (Results 1 – 25 of 383) sorted by relevance

12345678910>>...16

/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
Dfake_tempfile_test.py67 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/
DtDomain_creation_deletion.py282 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/
Dtest_fileapp.py7 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/
Dmerge.sh66 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/
Dtrace_unittest.py7 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/
Dtrace_packager_unittest.py6 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/
Dlog_io_test.py8 import tempfile
17 file = tempfile.NamedTemporaryFile()
25 file = tempfile.NamedTemporaryFile()
35 file = tempfile.NamedTemporaryFile()
/external/skia/platform_tools/android/tests/
Dmakefile_writer_tests.py16 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/
Dgce_instance_map_job.py9 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/
DroundTrip.py19 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/
Dpdiff_image_comparer.py9 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/
Dlock_unittest.py9 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/
Drun_vbutil_kernel_arg_tests.sh156 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/
Dandroid-run.py42 import tempfile
50 (fd_out, outname) = tempfile.mkstemp()
51 (fd_err, errname) = tempfile.mkstemp()
79 (fd, fname) = tempfile.mkstemp()
Dnacl-run.py38 import tempfile
46 (fd_out, outname) = tempfile.mkstemp()
47 (fd_err, errname) = tempfile.mkstemp()
75 (fd, fname) = tempfile.mkstemp()
/external/autotest/client/cros/
Dtpm_store.py5 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/
Dfile_handle_unittest.py6 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/
Dtest_proxies.py6 import tempfile
41 self.pidfile = tempfile.mktemp()
42 self.logfile = tempfile.mktemp()
43 fd, self.conffile = tempfile.mkstemp()
/external/opencv3/modules/imgcodecs/test/
Dtest_grfmt.cpp145 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/
Ddos2unix.c31 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/
Dcompare_ir32 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/
Dsecurity_HardlinkRestrictions.py21 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/
Dclient_generation_test.py9 import tempfile
25 path = tempfile.mkdtemp()
64 with tempfile.NamedTemporaryFile() as out:
/external/chromium-trace/catapult/perf_insights/perf_insights/endpoints/cloud_mapper/
Dworker.py13 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/
Daudio_CRASFormatConversion.py7 import tempfile
84 reduced_file = tempfile.NamedTemporaryFile()
106 noise_profile = tempfile.NamedTemporaryFile()
118 record_file = tempfile.NamedTemporaryFile()

12345678910>>...16