Home
last modified time | relevance | path

Searched refs:tarinfo (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_tarfile.py54 tarinfo = self.tar.getmember("ustar/regtype")
55 fobj = self.tar.extractfile(tarinfo)
57 self.assertTrue((len(data), md5sum(data)) == (tarinfo.size, md5_regtype),
62 tarinfo = self.tar.getmember("ustar/regtype")
64 fobj2 = self.tar.extractfile(tarinfo)
78 tarinfo = self.tar.getmember("ustar/regtype")
80 fobj2 = self.tar.extractfile(tarinfo)
92 tarinfo = self.tar.getmember("ustar/regtype")
93 fobj = self.tar.extractfile(tarinfo)
112 self.assertTrue(tarinfo.size == fobj.tell(),
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dtarfile.py785 def __init__(self, tarfile, tarinfo): argument
787 tarinfo.offset_data,
788 tarinfo.size,
789 getattr(tarinfo, "sparse", None))
790 self.name = tarinfo.name
793 self.size = tarinfo.size
1495 tarinfo = TarInfo # The default TarInfo class to use. variable in TarFile
1500 tarinfo=None, dereference=None, ignore_zeros=None, encoding=None, argument
1534 if tarinfo is not None:
1535 self.tarinfo = tarinfo
[all …]
Dshutil.py376 def _set_uid_gid(tarinfo): argument
378 tarinfo.gid = gid
379 tarinfo.gname = group
381 tarinfo.uid = uid
382 tarinfo.uname = owner
383 return tarinfo
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Darchive_util.py91 def _set_uid_gid(tarinfo): argument
93 tarinfo.gid = gid
94 tarinfo.gname = group
96 tarinfo.uid = uid
97 tarinfo.uname = owner
98 return tarinfo
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dshutil.py381 def _set_uid_gid(tarinfo): argument
383 tarinfo.gid = gid
384 tarinfo.gname = group
386 tarinfo.uid = uid
387 tarinfo.uname = owner
388 return tarinfo