/external/python/cpython3/Lib/test/ |
D | test_csv.py | 8 from tempfile import TemporaryFile 123 with TemporaryFile("w+", newline='') as fileobj: 131 with TemporaryFile("w+", newline='') as fileobj: 207 with TemporaryFile("w+", newline='') as fileobj: 215 with TemporaryFile("w+", newline='') as fileobj: 221 with TemporaryFile("w+", newline='') as fileobj: 227 with TemporaryFile("w+", newline='') as fileobj: 238 with TemporaryFile("w+", newline='') as fileobj: 335 with TemporaryFile("w+", newline='') as fileobj: 345 with TemporaryFile("w+", newline='') as fileobj: [all …]
|
D | test_zipfile64.py | 18 from tempfile import TemporaryFile 74 with TemporaryFile() as f: 83 with TemporaryFile() as f:
|
D | test_faulthandler.py | 288 with tempfile.TemporaryFile('wb+') as fp: 442 with tempfile.TemporaryFile('wb+') as fp: 615 with tempfile.TemporaryFile('wb+') as fp: 717 with tempfile.TemporaryFile('wb+') as fp:
|
D | threaded_import_hangers.py | 32 ("tempfile.TemporaryFile", lambda: tempfile.TemporaryFile().close(), ()),
|
D | test_threadedtempfile.py | 38 f = tempfile.TemporaryFile("w+b")
|
D | test_ntpath.py | 8 from tempfile import TemporaryFile 384 with TemporaryFile() as tf1, TemporaryFile() as tf2:
|
D | test_subprocess.py | 171 tf = tempfile.TemporaryFile() 200 tf = tempfile.TemporaryFile() 445 tf = tempfile.TemporaryFile() 458 tf = tempfile.TemporaryFile() 478 tf = tempfile.TemporaryFile() 490 tf = tempfile.TemporaryFile() 509 tf = tempfile.TemporaryFile() 521 tf = tempfile.TemporaryFile() 565 tf = tempfile.TemporaryFile() 1424 tf = tempfile.TemporaryFile() [all …]
|
D | test_zipfile.py | 13 from tempfile import TemporaryFile 36 with TemporaryFile() as f: 845 with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp: 862 with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp: 878 with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp: 892 with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp: 924 with TemporaryFile() as t, \ 944 with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp: 964 with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp: 976 with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp: [all …]
|
D | test_tempfile.py | 1219 if tempfile.NamedTemporaryFile is not tempfile.TemporaryFile: 1227 tempfile.TemporaryFile() 1232 f = tempfile.TemporaryFile(dir=dir) 1247 f = tempfile.TemporaryFile() 1257 with tempfile.TemporaryFile(*args, **kwargs) as fileobj: 1277 self.assertRaises(ValueError, tempfile.TemporaryFile)
|
/external/minijail/ |
D | system_unittest.cc | 98 class TemporaryFile { class 100 TemporaryFile() : path(temp_path_pattern()) { in TemporaryFile() function in __anon4ccbf8ce0111::TemporaryFile 108 ~TemporaryFile() { in ~TemporaryFile() 119 TemporaryFile(const TemporaryFile&) = delete; 120 TemporaryFile& operator=(const TemporaryFile&) = delete; 203 TemporaryFile tmp; in TEST()
|
/external/python/cpython2/Lib/test/ |
D | test_zipfile.py | 16 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 …]
|
D | test_zipfile64.py | 24 from tempfile import TemporaryFile 82 with TemporaryFile() as f: 91 with TemporaryFile() as f:
|
D | threaded_import_hangers.py | 32 ("tempfile.TemporaryFile", tempfile.TemporaryFile, ()),
|
D | test_threadedtempfile.py | 38 f = tempfile.TemporaryFile("w+b")
|
D | test_subprocess.py | 225 tf = tempfile.TemporaryFile() 237 tf = tempfile.TemporaryFile() 256 tf = tempfile.TemporaryFile() 267 tf = tempfile.TemporaryFile() 285 tf = tempfile.TemporaryFile() 296 tf = tempfile.TemporaryFile() 339 tf = tempfile.TemporaryFile()
|
D | test_tempfile.py | 1058 tempfile.TemporaryFile() 1065 f = tempfile.TemporaryFile(dir=dir) 1081 f = tempfile.TemporaryFile() 1093 if tempfile.NamedTemporaryFile is not tempfile.TemporaryFile:
|
/external/autotest/client/common_lib/cros/fake_device_server/ |
D | common_util_unittest.py | 26 json_file = tempfile.TemporaryFile() 38 json_file = tempfile.TemporaryFile()
|
/external/python/cpython3/Doc/library/ |
D | tempfile.rst | 18 supported platforms. :class:`TemporaryFile`, :class:`NamedTemporaryFile`, 34 .. function:: TemporaryFile(mode='w+b', buffering=None, encoding=None, newline=None, suffix=None, p… 72 This function operates exactly as :func:`TemporaryFile` does, except that 88 This function operates exactly as :func:`TemporaryFile` does, except that 92 :func:`TemporaryFile`. 137 Unlike :func:`TemporaryFile`, the user of :func:`mkstemp` is responsible 270 >>> fp = tempfile.TemporaryFile() 280 >>> with tempfile.TemporaryFile() as fp:
|
/external/python/cpython2/Doc/library/ |
D | tempfile.rst | 38 .. 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
|
/external/bcc/tests/python/ |
D | test_bpf_log.py | 40 self.fp = tempfile.TemporaryFile()
|
/external/python/cpython2/Lib/ |
D | tempfile.py | 487 TemporaryFile = NamedTemporaryFile variable 490 def TemporaryFile(mode='w+b', bufsize=-1, suffix="", function 542 newfile = self._file = TemporaryFile(*self._TemporaryFileArgs)
|
/external/python/cpython3/Lib/ |
D | tempfile.py | 561 TemporaryFile = NamedTemporaryFile variable 569 def TemporaryFile(mode='w+b', buffering=-1, encoding=None, function 660 newfile = self._file = TemporaryFile(**self._TemporaryFileArgs)
|
/external/harfbuzz_ng/test/fuzzing/ |
D | run-shape-fuzzer-tests.py | 29 with tempfile.TemporaryFile() as tempf:
|
/external/autotest/client/site_tests/hardware_TouchScreenPowerCycles/ |
D | hardware_TouchScreenPowerCycles.py | 83 self.event_file = tempfile.TemporaryFile()
|
/external/boringssl/src/util/bot/ |
D | update_clang.py | 92 with tempfile.TemporaryFile() as f:
|