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

/freebsd-11.0-release/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++)
454 archive_entry_set_size(entry, (ecp->s_cnt + 1) * sizeof(uint32_t) +
457 nr = htobe32(ecp->s_cnt);
[all...]
H A Delfcopy.h256 uint32_t s_cnt; /* current number of symbols. */ member in struct:elfcopy
/freebsd-11.0-release/usr.bin/ar/
H A Dar.h101 uint32_t s_cnt; /* current number of symbols. */ member in struct:bsdar
H A Dwrite.c628 if (bsdar->s_cnt != 0 && bsdar->s_sn_sz % 2 != 0)
647 if (bsdar->s_cnt != 0) {
648 s_sz = (bsdar->s_cnt + 1) * sizeof(uint32_t) + bsdar->s_sn_sz;
652 for (i = 0; (size_t)i < bsdar->s_cnt; i++)
669 if ((bsdar->s_cnt != 0 && !(bsdar->options & AR_SS)) ||
678 archive_entry_set_size(entry, (bsdar->s_cnt + 1) *
681 nr = htobe32(bsdar->s_cnt);
684 bsdar->s_cnt);
880 bsdar->s_cnt = 0;
890 if (bsdar->s_cnt * sizeo
[all...]
/freebsd-11.0-release/contrib/elftoolchain/ar/
H A Dwrite.c570 * there are 's_cnt' entries, each entry being
574 sz = 2 * sizeof(long) + (bsdar->s_cnt * 2 * sizeof(long)) +
583 sz = sizeof(uint32_t) + bsdar->s_cnt * sizeof(uint32_t) +
597 for (i = 0; i < bsdar->s_cnt; i++)
600 nr = htobe32(bsdar->s_cnt);
603 bsdar->s_cnt);
619 br_sz = (long) (bsdar->s_cnt * 2 * sizeof(long));
627 for (i = 0, s = bsdar->s_sn; i < bsdar->s_cnt; i++) {
697 if (bsdar->s_cnt != 0 && bsdar->s_sn_sz % 2 != 0)
718 if (bsdar->s_cnt !
[all...]
H A Dar.h125 uint32_t s_cnt; /* current number of symbols. */ member in struct:bsdar

Completed in 115 milliseconds