Searched refs:writestr (Results 1 – 25 of 33) sorted by relevance
12
/external/python/cpython3/Lib/test/ |
D | test_zipfile64.py | 47 zipfp.writestr("testfn%d" % num, self.data) 99 zipf.writestr("foo%08d" % i, "%d" % (i**3 % 57)) 113 zipf.writestr("foo%08d" % i, "%d" % (i**3 % 57)) 116 zipf.writestr("foo%08d" % numfiles, b'') 123 zipf.writestr("foo%08d" % numfiles, b'') 131 zipf.writestr("foo%08d" % i, "%d" % (i**3 % 57))
|
D | test_zipfile.py | 64 zipfp.writestr("strfile", self.data) 289 zipfp.writestr("strfile", '12') 299 zipfp.writestr("b.txt", "hello world", compress_type=self.compression) 305 zipfp.writestr("a.txt", "hello world", compress_type=self.compression) 306 zipfp.writestr("b.txt", "hello world", compress_type=self.compression, 326 zipf.writestr('foo', junk) 334 zipf.writestr('strfile', self.data, compress_type=self.compression) 484 zipfp.writestr("strfile", self.data) 536 zipfp.writestr('strfile', self.data) 575 zipfp.writestr(fname, "bogus") [all …]
|
D | test_pkgutil.py | 70 z.writestr(pkg + '/__init__.py', "") 72 z.writestr(pkg + '/res.txt', RESOURCE_DATA) 73 z.writestr(pkg + '/sub/res.txt', RESOURCE_DATA) 153 z.writestr(pkg2 + '/__init__.py', "") 154 z.writestr(pkg2 + '/' + pkg1 + '/__init__.py', "") 155 z.writestr(pkg2 + '/' + pkg1 + '/mod.py', "") 156 z.writestr(pkg1 + '/__init__.py', "") 157 z.writestr(pkg1 + '/' + pkg2 + '/__init__.py', "") 158 z.writestr(pkg1 + '/' + pkg2 + '/mod.py', "")
|
D | test_zipimport.py | 119 z.writestr(zinfo, data) 447 z.writestr(zinfo, data) 501 z.writestr(zinfo, data) 544 z.writestr(name, data) 655 z.writestr(zinfo, test_src) 664 z.writestr(zinfo, test_src)
|
D | test_zipimport_support.py | 127 z.writestr(mod_name + ".py", src)
|
/external/python/cpython2/Lib/test/ |
D | test_zipfile.py | 58 zipfp.writestr("strfile", self.data) 153 zipfp.writestr("name", "foo") 155 zipfp.writestr("name", "bar") 194 zipfp.writestr(TESTFN, data) 310 zipfp.writestr("strfile", '12') 331 zipfp.writestr("strfile", self.data) 383 zipfp.writestr('strfile', self.data) 435 zipfp.writestr("somefile.txt", "bogus") 443 zipfp.writestr(fpath, fdata) 466 zipfp.writestr(fpath, fdata) [all …]
|
D | test_zipfile64.py | 56 zipfp.writestr("testfn%d" % num, self.data) 110 zipf.writestr("foo%08d" % i, "%d" % (i**3 % 57)) 125 zipf.writestr("foo%08d" % i, "%d" % (i**3 % 57)) 128 zipf.writestr("foo%08d" % numfiles, b'') 136 zipf.writestr("foo%08d" % numfiles, b'') 145 zipf.writestr("foo%08d" % i, "%d" % (i**3 % 57))
|
D | test_pkgutil.py | 65 z.writestr(pkg + '/__init__.py', "") 67 z.writestr(pkg + '/res.txt', RESOURCE_DATA) 68 z.writestr(pkg + '/sub/res.txt', RESOURCE_DATA)
|
D | test_zipimport.py | 75 z.writestr(zinfo, data) 213 z.writestr(zinfo, data) 257 z.writestr(zinfo, data) 291 z.writestr(name, data)
|
D | test_zipimport_support.py | 122 z.writestr(mod_name + ".py", src)
|
/external/python/setuptools/pkg_resources/tests/ |
D | test_pkg_resources.py | 60 zip_egg.writestr(zip_info, 'x = 3\n') 64 zip_egg.writestr(zip_info, 'hello, world!') 68 zip_egg.writestr(zip_info, 'x = 6\n') 72 zip_egg.writestr(zip_info, 'goodbye, world!')
|
/external/tensorflow/tensorflow/lite/testing/ |
D | zip_test_utils.py | 481 archive.writestr(zip_path_label + ".pbtxt", 490 archive.writestr(zip_path_label + ".bin", tflite_model_binary, 496 archive.writestr(zip_path_label + ".inputs", example_fp.getvalue(), 501 archive.writestr(zip_path_label + "_tests.txt", 532 archive.writestr("report_" + options.multi_gen_state.test_name + ".html", 535 archive.writestr("report.html", report_io.getvalue()) 540 archive.writestr("manifest.txt", "".join(zip_manifest),
|
D | generate_examples_lib.py | 336 archive.writestr("manifest.txt", "".join(multi_gen_state.zip_manifest),
|
/external/skia/infra/bots/ |
D | zip_utils.py | 55 z.writestr(zi, content)
|
/external/skqp/infra/bots/ |
D | zip_utils.py | 54 z.writestr(zi, content)
|
/external/libchrome/build/android/gyp/util/ |
D | md5_check_test.py | 17 zip_file.writestr(subpath, data)
|
D | build_utils.py | 313 zip_file.writestr(zipinfo, os.readlink(src_path)) 330 zip_file.writestr(zipinfo, data, compress_type)
|
/external/python/cpython3/Lib/ |
D | zipapp.py | 144 z.writestr('__main__.py', main_py.encode('utf-8'))
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6b3.rst | 384 Fix tarfile.TarFileCompat.writestr() which always raised an AttributeError. 487 zipfile.writestr sets external attributes when passed a file name rather
|
D | 2.7a4.rst | 223 Add an argument to ``zipfile.Zipfile.writestr`` to specify the compression
|
/external/python/cpython2/Doc/library/ |
D | zipfile.rst | 309 .. method:: ZipFile.writestr(zinfo_or_arcname, bytes[, compress_type]) 315 opened with mode ``'w'`` or ``'a'`` -- calling :meth:`writestr` on a ZipFile 317 :meth:`writestr` on a closed ZipFile will raise a :exc:`RuntimeError`.
|
/external/python/setuptools/setuptools/tests/ |
D | test_easy_install.py | 165 sdist_zip.writestr(filename, content)
|
/external/python/cpython3/PC/layout/ |
D | main.py | 428 zip_file.writestr(str(dest), content)
|
/external/python/cpython2/Lib/plat-mac/ |
D | bundlebuilder.py | 577 zf.writestr(path, pyc)
|
/external/libchrome/third_party/jinja2/ |
D | environment.py | 687 zip_file.writestr(info, data)
|
12