Home
last modified time | relevance | path

Searched refs:TemporaryFile (Results 1 – 25 of 26) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_zipfile.py16 from tempfile import TemporaryFile
119 for f in (TESTFN2, TemporaryFile(), StringIO()):
147 for f in (TESTFN2, TemporaryFile(), StringIO()):
186 for f in (TESTFN2, TemporaryFile(), StringIO()):
254 for f in (TESTFN2, TemporaryFile(), StringIO()):
258 for f in (TESTFN2, TemporaryFile(), StringIO()):
262 for f in (TESTFN2, TemporaryFile(), StringIO()):
266 for f in (TESTFN2, TemporaryFile(), StringIO()):
271 for f in (TESTFN2, TemporaryFile(), StringIO()):
276 for f in (TESTFN2, TemporaryFile(), StringIO()):
[all …]
Dtest_zipfile64.py24 from tempfile import TemporaryFile
82 with TemporaryFile() as f:
91 with TemporaryFile() as f:
Dthreaded_import_hangers.py32 ("tempfile.TemporaryFile", tempfile.TemporaryFile, ()),
Dtest_threadedtempfile.py38 f = tempfile.TemporaryFile("w+b")
Dtest_subprocess.py209 tf = tempfile.TemporaryFile()
221 tf = tempfile.TemporaryFile()
240 tf = tempfile.TemporaryFile()
251 tf = tempfile.TemporaryFile()
269 tf = tempfile.TemporaryFile()
280 tf = tempfile.TemporaryFile()
323 tf = tempfile.TemporaryFile()
Dtest_tempfile.py1051 tempfile.TemporaryFile()
1058 f = tempfile.TemporaryFile(dir=dir)
1074 f = tempfile.TemporaryFile()
1086 if tempfile.NamedTemporaryFile is not tempfile.TemporaryFile:
Dtest_curses.py48 cls.tmp = tempfile.TemporaryFile()
213 with tempfile.TemporaryFile() as f:
Dtest_cgi.py227 f = TestReadlineFile(tempfile.TemporaryFile())
Dtest_httplib.py524 with tempfile.TemporaryFile() as body:
Dtest_mailbox.py80 with tempfile.TemporaryFile('w+') as f:
/external/autotest/client/common_lib/cros/fake_device_server/
Dcommon_util_unittest.py26 json_file = tempfile.TemporaryFile()
38 json_file = tempfile.TemporaryFile()
/external/python/cpython2/Doc/library/
Dtempfile.rst38 .. function:: TemporaryFile([mode='w+b'[, bufsize=-1[, suffix=''[, prefix='tmp'[, dir=None]]]]])
64 This function operates exactly as :func:`TemporaryFile` does, except that
86 This function operates exactly as :func:`TemporaryFile` does, except that
90 :func:`TemporaryFile`. Also, it's ``truncate`` method does not
114 Unlike :func:`TemporaryFile`, the user of :func:`mkstemp` is responsible
Dmarshal.rst72 TemporaryFile on Windows. It must be opened in binary mode (``'wb'``
/external/python/cpython2/Lib/
Dtempfile.py487 TemporaryFile = NamedTemporaryFile variable
490 def TemporaryFile(mode='w+b', bufsize=-1, suffix="", function
542 newfile = self._file = TemporaryFile(*self._TemporaryFileArgs)
Dcgi.py776 return tempfile.TemporaryFile("w+b")
/external/autotest/client/site_tests/hardware_TouchScreenPowerCycles/
Dhardware_TouchScreenPowerCycles.py83 self.event_file = tempfile.TemporaryFile()
/external/autotest/client/cros/cellular/wardmodem/
Dat_channel_unittest.py37 self._channel_file = tempfile.TemporaryFile(mode = 'w+')
/external/swiftshader/third_party/LLVM/utils/lit/lit/
DTestRunner.py118 r[2] = tempfile.TemporaryFile(mode=r[1])
145 stderr = tempfile.TemporaryFile(mode='w+b')
/external/autotest/client/cros/
Downership.py47 self.fo = tempfile.TemporaryFile()
/external/chromium-trace/catapult/systrace/profile_chrome/
Dperf_tracing_agent.py54 self._log_file = tempfile.TemporaryFile()
/external/autotest/site_utils/
Dgs_offloader.py536 with tempfile.TemporaryFile('w+') as stdout_file, \
537 tempfile.TemporaryFile('w+') as stderr_file:
/external/llvm/utils/lit/lit/
DTestRunner.py260 r[2] = tempfile.TemporaryFile(mode=r[1])
293 stderr = tempfile.TemporaryFile(mode='w+b')
/external/fonttools/Lib/fontTools/ttLib/
D__init__.py204 tmp = tempfile.TemporaryFile(prefix="ttx-fonttools")
/external/v8/tools/clang/scripts/
Dupdate.py141 with tempfile.TemporaryFile() as f:
/external/python/cpython2/Misc/
DHISTORY943 - Bug #1473760: ``tempfile.TemporaryFile()`` could hang on Windows, when
5106 higher-level functions NamedTemporaryFile() and TemporaryFile().
5914 - New tempfile.TemporaryFile implementation for Windows: this doesn't
13673 - The tempfile.py module has a new class, TemporaryFile, which creates
13681 by using the new tempfile.TemporaryFile class; temporary files are now

12