Home
last modified time | relevance | path

Searched refs:NamedTemporaryFile (Results 1 – 25 of 193) sorted by relevance

12345678

/external/tensorflow/tensorflow/lite/schema/
Dupgrade_schema_test.py266 with tempfile.NamedTemporaryFile(suffix=".json", mode="w+") as in_json:
279 with tempfile.NamedTemporaryFile(suffix=".json", mode="w+") as in_json, \
280 tempfile.NamedTemporaryFile(
282 tempfile.NamedTemporaryFile(
284 tempfile.NamedTemporaryFile(
/external/tensorflow/tensorflow/lite/toco/python/
Dtoco_from_protos_test.py60 with tempfile.NamedTemporaryFile() as fp_toco, \
61 tempfile.NamedTemporaryFile() as fp_model, \
62 tempfile.NamedTemporaryFile() as fp_input, \
63 tempfile.NamedTemporaryFile() as fp_output:
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dlock_unittest.py53 tf = tempfile.NamedTemporaryFile(delete=False)
80 tf = tempfile.NamedTemporaryFile(delete=False)
109 tf = tempfile.NamedTemporaryFile(delete=False)
126 tf = tempfile.NamedTemporaryFile(delete=False)
144 tf = tempfile.NamedTemporaryFile(delete=False)
Dtempfile_ext.py34 def NamedTemporaryFile(mode='w+b', suffix='', prefix='tmp'): function
43 yield tempfile.NamedTemporaryFile(
/external/python/cpython2/Lib/test/
Dmake_ssl_certs.py95 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:
Dtest_tempfile.py529 file = tempfile.NamedTemporaryFile()
657 file = tempfile.NamedTemporaryFile(delete=False)
746 file = tempfile.NamedTemporaryFile(dir=dir, prefix=pre, suffix=suf,
765 f = tempfile.NamedTemporaryFile()
773 f = tempfile.NamedTemporaryFile(dir=dir)
786 f = tempfile.NamedTemporaryFile(dir=dir, delete=False)
799 f = tempfile.NamedTemporaryFile()
810 with tempfile.NamedTemporaryFile() as f:
831 self.assertRaises(ValueError, tempfile.NamedTemporaryFile)
841 tempfile.NamedTemporaryFile(mode=(), dir=dir)
[all …]
/external/tensorflow/tensorflow/lite/testing/
Dtoco_convert.py110 with tempfile.NamedTemporaryFile() as graphdef_file:
167 with tempfile.NamedTemporaryFile() as graphdef_file, \
168 tempfile.NamedTemporaryFile() as output_file, \
169 tempfile.NamedTemporaryFile("w+") as stdout_file:
/external/autotest/client/cros/image_comparison/
Dpdiff_image_comparer.py39 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/python/cpython3/Lib/test/
Dmake_ssl_certs.py115 with tempfile.NamedTemporaryFile(delete=False) as f:
127 with tempfile.NamedTemporaryFile(delete=False) as f:
172 with tempfile.NamedTemporaryFile("w") as t:
175 with tempfile.NamedTemporaryFile() as f:
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_blacklist_test.py16 with tempfile.NamedTemporaryFile() as blacklist_file:
25 with tempfile.NamedTemporaryFile(delete=False) as blacklist_file:
/external/autotest/client/site_tests/audio_CRASFormatConversion/
Daudio_CRASFormatConversion.py96 reduced_file = tempfile.NamedTemporaryFile()
118 noise_profile = tempfile.NamedTemporaryFile()
130 record_file = tempfile.NamedTemporaryFile()
/external/fonttools/Tests/misc/
DxmlReader_test.py121 with tempfile.NamedTemporaryFile(delete=False) as tmp:
133 with tempfile.NamedTemporaryFile(delete=False) as tmp:
152 with tempfile.NamedTemporaryFile(delete=False) as tmp:
164 with tempfile.NamedTemporaryFile(delete=False) as tmp2:
DmacRes_test.py58 with tempfile.NamedTemporaryFile(delete=False) as tmp:
71 tmp = tempfile.NamedTemporaryFile(delete=False)
/external/tensorflow/tensorflow/lite/python/
Dconvert.py170 with _tempfile.NamedTemporaryFile(delete=False) as fp_toco, \
171 _tempfile.NamedTemporaryFile(delete=False) as fp_model, \
172 _tempfile.NamedTemporaryFile(delete=False) as fp_input, \
173 _tempfile.NamedTemporaryFile(delete=False) as fp_debug:
197 with _tempfile.NamedTemporaryFile(delete=False) as fp:
/external/fonttools/Tests/svgLib/path/
Dpath_test.py8 from tempfile import NamedTemporaryFile
43 with NamedTemporaryFile(delete=False) as tmp:
/external/puffin/scripts/
Dtest_corpus.py74 with tempfile.NamedTemporaryFile() as tgt_file:
95 with tempfile.NamedTemporaryFile() as patch, \
96 tempfile.NamedTemporaryFile() as new_tgt:
Dmeasure_patch_size.py73 with tempfile.NamedTemporaryFile() as puffdiff_patch, \
74 tempfile.NamedTemporaryFile() as bsdiff_patch:
/external/autotest/server/site_tests/brillo_ADBFileTransfer/
Dbrillo_ADBFileTransfer.py25 self.temp_file = tempfile.NamedTemporaryFile()
42 with tempfile.NamedTemporaryFile() as return_temp_file:
/external/tensorflow/tensorflow/python/autograph/pyct/
Dloader_deprecated_py2.py44 f = tempfile.NamedTemporaryFile(mode='w', suffix='.py', delete=False)
46 f = tempfile.NamedTemporaryFile( # pylint:disable=unexpected-keyword-arg
/external/tensorflow/tensorflow/python/kernel_tests/
Dio_ops_test.py39 with tempfile.NamedTemporaryFile(
52 with tempfile.NamedTemporaryFile(
90 tempfile.NamedTemporaryFile(
/external/autotest/client/cros/
Dtpm_store.py51 pem_file = tempfile.NamedTemporaryFile()
54 der_file = tempfile.NamedTemporaryFile()
/external/python/cpython3/Doc/includes/
Demail-read-alternative.py57 with tempfile.NamedTemporaryFile(suffix=extension, delete=False) as f:
64 with tempfile.NamedTemporaryFile(mode='w', delete=False) as f:
/external/chromium-trace/catapult/devil/devil/android/tools/
Dscript_common_test.py77 with tempfile.NamedTemporaryFile() as f:
85 with tempfile.NamedTemporaryFile() as f:
/external/autotest/client/cros/chameleon/
Daudio_widget.py258 with tempfile.NamedTemporaryFile(
260 with tempfile.NamedTemporaryFile(
457 with tempfile.NamedTemporaryFile(prefix='recorded_') as f:
574 with tempfile.NamedTemporaryFile(prefix='audio_') as f:
767 with tempfile.NamedTemporaryFile(prefix='recorded_') as f:
/external/autotest/client/site_tests/desktopui_MediaAudioFeedback/
Ddesktopui_MediaAudioFeedback.py25 noiseprof_file = tempfile.NamedTemporaryFile()
67 reduced_file = tempfile.NamedTemporaryFile()

12345678