Home | History | Annotate | Download | only in tar

Lines Matching refs:hdr

204 		file: "testdata/pax-bad-hdr-file.tar",
367 var hdr *Header
368 hdr, err = tr.Next()
375 hdrs = append(hdrs, hdr)
388 for j, hdr := range hdrs {
391 v.file, i, j, *hdr)
394 if !reflect.DeepEqual(*hdr, *v.headers[j]) {
396 v.file, i, j, *hdr, *v.headers[j])
434 hdr, err := tr.Next()
435 if err != nil || hdr == nil {
447 hdr, err = tr.Next()
448 if err != nil || hdr == nil {
662 hdr := new(Header)
663 got, err := tr.readOldGNUSparseMap(hdr, v.rawHdr)
858 "testdata/pax-path-hdr.tar",
973 f, err := os.Open("testdata/hdr-only.tar")
982 hdr, err := tr.Next()
990 hdrs = append(hdrs, hdr)
994 if cnt > 0 && hdr.Typeflag != TypeReg {