Home | History | Annotate | Download | only in Lib

Lines Matching refs:pax_headers

953         self.pax_headers = {}   # pax header information
1047 pax_headers = self.pax_headers.copy()
1055 if hname in pax_headers:
1065 pax_headers[hname] = val
1069 pax_headers[hname] = val
1074 if name in pax_headers:
1081 pax_headers[name] = unicode(val)
1085 if pax_headers:
1086 buf = self._create_pax_generic_header(pax_headers)
1093 def create_pax_global_header(cls, pax_headers):
1096 return cls._create_pax_generic_header(pax_headers, type=XGLTYPE)
1169 def _create_pax_generic_header(cls, pax_headers, type=XHDTYPE):
1175 for keyword, value in pax_headers.iteritems():
1293 self._apply_pax_info(tarfile.pax_headers, tarfile.encoding, tarfile.errors)
1386 pax_headers = tarfile.pax_headers
1388 pax_headers = tarfile.pax_headers.copy()
1408 pax_headers[keyword] = value
1419 next._apply_pax_info(pax_headers, tarfile.encoding, tarfile.errors)
1422 if "size" in pax_headers:
1433 def _apply_pax_info(self, pax_headers, encoding, errors):
1437 for keyword, value in pax_headers.iteritems():
1454 self.pax_headers = pax_headers.copy()
1515 errors=None, pax_headers=None, debug=None, errorlevel=None):
1565 if pax_headers is not None and self.format == PAX_FORMAT:
1566 self.pax_headers = pax_headers
1568 self.pax_headers = {}
1606 if self.pax_headers:
1607 buf = self.tarinfo.create_pax_global_header(self.pax_headers.copy())