Lines Matching refs:header
97 const union record *header = (const union record *)(const void *)buf; in is_tar() local
102 if (nbytes < sizeof(*header)) in is_tar()
105 recsum = from_oct(header->header.chksum, sizeof(header->header.chksum)); in is_tar()
108 p = header->charptr; in is_tar()
109 ep = header->charptr + sizeof(*header); in is_tar()
114 for (i = 0; i < sizeof(header->header.chksum); i++) in is_tar()
115 sum -= header->header.chksum[i]; in is_tar()
116 sum += ' ' * sizeof(header->header.chksum); in is_tar()
121 if (strncmp(header->header.magic, GNUTMAGIC, in is_tar()
122 sizeof(header->header.magic)) == 0) in is_tar()
125 if (strncmp(header->header.magic, TMAGIC, in is_tar()
126 sizeof(header->header.magic)) == 0) in is_tar()