Searched refs:zinfo_or_arcname (Results 1 – 2 of 2) sorted by relevance
/build/tools/releasetools/ |
D | test_common.py | 109 def _test_ZipWriteStr(self, zinfo_or_arcname, contents, extra_args=None): argument 123 if not isinstance(zinfo_or_arcname, zipfile.ZipInfo): 124 arcname = zinfo_or_arcname 127 arcname = zinfo_or_arcname.filename 129 zinfo_or_arcname.external_attr >> 16) 131 common.ZipWriteStr(zip_file, zinfo_or_arcname, contents, **extra_args)
|
D | common.py | 887 def ZipWriteStr(zip_file, zinfo_or_arcname, data, perms=None, argument 903 if not isinstance(zinfo_or_arcname, zipfile.ZipInfo): 904 zinfo = zipfile.ZipInfo(filename=zinfo_or_arcname) 909 zinfo = zinfo_or_arcname
|