Lines Matching refs:header
103 const union record *header = RCAST(const union record *, in is_tar() local
110 if (nbytes < sizeof(*header)) in is_tar()
117 memchr(header->header.name, 0, sizeof(header->header.name))); in is_tar()
118 if (nulp != NULL && nulp >= header->header.name + sizeof(gpkg_match) && in is_tar()
123 recsum = from_oct(header->header.chksum, sizeof(header->header.chksum)); in is_tar()
126 p = header->charptr; in is_tar()
127 ep = header->charptr + sizeof(*header); in is_tar()
132 for (i = 0; i < sizeof(header->header.chksum); i++) in is_tar()
133 sum -= header->header.chksum[i]; in is_tar()
134 sum += ' ' * sizeof(header->header.chksum); in is_tar()
139 if (strncmp(header->header.magic, GNUTMAGIC, in is_tar()
140 sizeof(header->header.magic)) == 0) in is_tar()
143 if (strncmp(header->header.magic, TMAGIC, in is_tar()
144 sizeof(header->header.magic)) == 0) in is_tar()