Searched refs:tobuf (Results 1 – 2 of 2) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_tarfile.py | 195 fobj.write(tarfile.TarInfo("foo").tobuf()) 1358 data = tarfile.TarInfo("foo").tobuf() 1362 data = tarfile.TarInfo("foo").tobuf() 1374 tarinfo.tobuf(tarfile.USTAR_FORMAT) 1378 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT) 1382 tarinfo.tobuf(tarfile.USTAR_FORMAT) 1386 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT) 1390 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT) 1395 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT) 1400 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | tarfile.py | 986 def tobuf(self, format=DEFAULT_FORMAT, encoding=ENCODING, errors="strict"): member in TarInfo 2013 buf = tarinfo.tobuf(self.format, self.encoding, self.errors)
|