Lines Matching refs:header
101 const union record *header = RCAST(const union record *, in is_tar() local
107 if (nbytes < sizeof(*header)) in is_tar()
110 recsum = from_oct(header->header.chksum, sizeof(header->header.chksum)); in is_tar()
113 p = header->charptr; in is_tar()
114 ep = header->charptr + sizeof(*header); in is_tar()
119 for (i = 0; i < sizeof(header->header.chksum); i++) in is_tar()
120 sum -= header->header.chksum[i]; in is_tar()
121 sum += ' ' * sizeof(header->header.chksum); in is_tar()
126 if (strncmp(header->header.magic, GNUTMAGIC, in is_tar()
127 sizeof(header->header.magic)) == 0) in is_tar()
130 if (strncmp(header->header.magic, TMAGIC, in is_tar()
131 sizeof(header->header.magic)) == 0) in is_tar()