Lines Matching refs:entsize
69 unsigned int entsize;
150 if (table->entsize == 1)
164 for (i = 0; i < table->entsize; ++i)
167 if (i == table->entsize)
169 for (i = 0; i < table->entsize; ++i)
178 len *= table->entsize;
181 len += table->entsize;
185 for (i = 0; i < table->entsize; ++i)
191 len = table->entsize;
234 sec_merge_init (unsigned int entsize, bfd_boolean strings)
252 table->entsize = entsize;
358 || sec->entsize == 0)
368 if ((sec->entsize < (unsigned) 1 << align
369 && ((sec->entsize & (sec->entsize - 1))
371 || (sec->entsize > (unsigned) 1 << align
372 && (sec->entsize & (((unsigned) 1 << align) - 1))))
386 && secinfo->sec->entsize == sec->entsize
401 sinfo->htab = sec_merge_init (sec->entsize, (sec->flags & SEC_STRINGS));
413 amt += sec->entsize;
434 memset (secinfo->contents + sec->size, 0, sec->entsize);
475 if (sec->entsize == 1)
494 for (i = 0; i < sec->entsize; i++)
497 if (i != sec->entsize)
507 p += sec->entsize;
514 for (p = secinfo->contents; p < end; p += sec->entsize)
553 alignment > entsize. */
615 e->len -= sinfo->htab->entsize;
630 (alignment != (unsigned) -1 && alignment > sinfo->htab->entsize
635 e->len += sinfo->htab->entsize;
640 cmp->len += sinfo->htab->entsize;
839 if (sec->entsize == 1)
848 p = secinfo->contents + (offset / sec->entsize) * sec->entsize;
849 p -= sec->entsize;
854 for (i = 0; i < sec->entsize; ++i)
857 if (i == sec->entsize)
859 p -= sec->entsize;
861 p += sec->entsize;
866 p = secinfo->contents + (offset / sec->entsize) * sec->entsize;
880 p = (secinfo->contents + (offset / sec->entsize + 1) * sec->entsize