Home | History | Annotate | Download | only in python2.7

Lines Matching refs:pax_headers

941         self.pax_headers = {}   # pax header information
1035 pax_headers = self.pax_headers.copy()
1043 if hname in pax_headers:
1053 pax_headers[hname] = val
1057 pax_headers[hname] = val
1062 if name in pax_headers:
1069 pax_headers[name] = unicode(val)
1073 if pax_headers:
1074 buf = self._create_pax_generic_header(pax_headers)
1081 def create_pax_global_header(cls, pax_headers):
1084 return cls._create_pax_generic_header(pax_headers, type=XGLTYPE)
1157 def _create_pax_generic_header(cls, pax_headers, type=XHDTYPE):
1163 for keyword, value in pax_headers.iteritems():
1281 self._apply_pax_info(tarfile.pax_headers, tarfile.encoding, tarfile.errors)
1374 pax_headers = tarfile.pax_headers
1376 pax_headers = tarfile.pax_headers.copy()
1396 pax_headers[keyword] = value
1407 next._apply_pax_info(pax_headers, tarfile.encoding, tarfile.errors)
1410 if "size" in pax_headers:
1421 def _apply_pax_info(self, pax_headers, encoding, errors):
1425 for keyword, value in pax_headers.iteritems():
1442 self.pax_headers = pax_headers.copy()
1503 errors=None, pax_headers=None, debug=None, errorlevel=None):
1552 if pax_headers is not None and self.format == PAX_FORMAT:
1553 self.pax_headers = pax_headers
1555 self.pax_headers = {}
1593 if self.pax_headers:
1594 buf = self.tarinfo.create_pax_global_header(self.pax_headers.copy())