Searched refs:s_cnt (Results 1 - 6 of 6) sorted by relevance

/freebsd-12-stable/contrib/elftoolchain/elfcopy/
H A Darchive.c152 ecp->s_cnt = 0;
162 if (ecp->s_cnt * sizeof(uint32_t) >= ecp->s_so_cap) {
168 ecp->s_so[ecp->s_cnt] = ecp->rela_off;
169 ecp->s_cnt++;
198 if (ecp->s_cnt != 0 && ecp->s_sn_sz % 2 != 0)
217 if (ecp->s_cnt != 0) {
218 s_sz = (ecp->s_cnt + 1) * sizeof(uint32_t) + ecp->s_sn_sz;
222 for (i = 0; (size_t)i < ecp->s_cnt; i++)
457 archive_entry_set_size(entry, (ecp->s_cnt + 1) * sizeof(uint32_t) +
460 nr = htobe32(ecp->s_cnt);
[all...]
H A Delfcopy.h261 uint32_t s_cnt; /* current number of symbols. */ member in struct:elfcopy
/freebsd-12-stable/contrib/elftoolchain/ar/
H A Dwrite.c581 * there are 's_cnt' entries, each entry being
585 sz = 2 * sizeof(long) + (bsdar->s_cnt * 2 * sizeof(long)) +
594 sz = sizeof(uint32_t) + bsdar->s_cnt * sizeof(uint32_t) +
608 for (i = 0; i < bsdar->s_cnt; i++)
611 nr = htobe32(bsdar->s_cnt);
614 bsdar->s_cnt);
630 br_sz = (long) (bsdar->s_cnt * 2 * sizeof(long));
638 for (i = 0, s = bsdar->s_sn; i < bsdar->s_cnt; i++) {
708 if (bsdar->s_cnt != 0 && bsdar->s_sn_sz % 2 != 0)
729 if (bsdar->s_cnt !
[all...]
H A Dar.h125 uint32_t s_cnt; /* current number of symbols. */ member in struct:bsdar
/freebsd-12-stable/usr.bin/ar/
H A Dwrite.c642 if (bsdar->s_cnt != 0 && bsdar->s_sn_sz % 2 != 0)
661 if (bsdar->s_cnt != 0) {
662 s_sz = (bsdar->s_cnt + 1) * sizeof(uint32_t) + bsdar->s_sn_sz;
670 s_sz = (bsdar->s_cnt + 1) * sizeof(uint64_t) +
674 for (i = 0; i < bsdar->s_cnt; i++)
682 for (i = 0; i < bsdar->s_cnt; i++)
700 if ((bsdar->s_cnt != 0 && !(bsdar->options & AR_SS)) ||
712 archive_entry_set_size(entry, (bsdar->s_cnt + 1) * w_sz +
716 nr = htobe64(bsdar->s_cnt);
719 nr32 = htobe32((uint32_t)bsdar->s_cnt);
[all...]
H A Dar.h103 uint64_t s_cnt; /* current number of symbols. */ member in struct:bsdar

Completed in 163 milliseconds