Home
last modified time | relevance | path

Searched refs:zinfo_or_arcname (Results 1 – 2 of 2) sorted by relevance

/build/make/tools/releasetools/
Dtest_common.py426 def _test_ZipWriteStr(self, zinfo_or_arcname, contents, extra_args=None): argument
440 if not isinstance(zinfo_or_arcname, zipfile.ZipInfo):
441 arcname = zinfo_or_arcname
444 arcname = zinfo_or_arcname.filename
445 if zinfo_or_arcname.external_attr:
446 zinfo_perms = zinfo_or_arcname.external_attr >> 16
451 common.ZipWriteStr(zip_file, zinfo_or_arcname, contents, **extra_args)
Dcommon.py2269 def ZipWriteStr(zip_file, zinfo_or_arcname, data, perms=None, argument
2285 if not isinstance(zinfo_or_arcname, zipfile.ZipInfo):
2286 zinfo = zipfile.ZipInfo(filename=zinfo_or_arcname)
2291 zinfo = zinfo_or_arcname