Lines Matching refs:head
641 struct locarhead *head; in write_archive_locales() local
651 if (fstat64 (fd, &st) < 0 || st.st_size < sizeof (*head)) in write_archive_locales()
659 head = (struct locarhead *) addr; in write_archive_locales()
660 if (head->namehash_offset + head->namehash_size > len in write_archive_locales()
661 || head->string_offset + head->string_size > len in write_archive_locales()
662 || head->locrectab_offset + head->locrectab_size > len in write_archive_locales()
663 || head->sumhash_offset + head->sumhash_size > len) in write_archive_locales()
666 namehashtab = (struct namehashent *) (addr + head->namehash_offset); in write_archive_locales()
669 for (cnt = 0; cnt < head->namehash_size; ++cnt) in write_archive_locales()
681 names = (struct nameent *) xmalloc (head->namehash_used in write_archive_locales()
683 for (cnt = used = 0; cnt < head->namehash_size; ++cnt) in write_archive_locales()