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.py427 def _test_ZipWriteStr(self, zinfo_or_arcname, contents, extra_args=None): argument
441 if not isinstance(zinfo_or_arcname, zipfile.ZipInfo):
442 arcname = zinfo_or_arcname
445 arcname = zinfo_or_arcname.filename
446 if zinfo_or_arcname.external_attr:
447 zinfo_perms = zinfo_or_arcname.external_attr >> 16
452 common.ZipWriteStr(zip_file, zinfo_or_arcname, contents, **extra_args)
Dcommon.py2336 def ZipWriteStr(zip_file, zinfo_or_arcname, data, perms=None, argument
2352 if not isinstance(zinfo_or_arcname, zipfile.ZipInfo):
2353 zinfo = zipfile.ZipInfo(filename=zinfo_or_arcname)
2358 zinfo = zinfo_or_arcname