Lines Matching refs:tobuf
290 fobj.write(tarinfo.tobuf())
1610 data = tarfile.TarInfo("foo").tobuf()
1614 data = tarfile.TarInfo("foo").tobuf()
1626 tarinfo.tobuf(tarfile.USTAR_FORMAT)
1630 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT)
1634 tarinfo.tobuf(tarfile.USTAR_FORMAT)
1638 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT)
1642 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT)
1647 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT)
1652 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT)
1656 tarinfo.tobuf(tarfile.GNU_FORMAT)
1660 tarinfo.tobuf(tarfile.GNU_FORMAT)
1665 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.GNU_FORMAT)
1669 tarinfo.tobuf(tarfile.PAX_FORMAT)
1673 tarinfo.tobuf(tarfile.PAX_FORMAT)
1677 tarinfo.tobuf(tarfile.PAX_FORMAT)
1816 tobuf())