Home
last modified time | relevance | path

Searched refs:s_sn_sz (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/elftoolchain/elfcopy/
H A Darchive.c174 ecp->s_sn_sz = 0; in add_to_ar_sym_table()
190 while (ecp->s_sn_sz + strlen(name) + 2 > ecp->s_sn_cap) { in add_to_ar_sym_table()
196 strncpy(&ecp->s_sn[ecp->s_sn_sz], name, strlen(name)); in add_to_ar_sym_table()
197 ecp->s_sn_sz += strlen(name); in add_to_ar_sym_table()
198 ecp->s_sn[ecp->s_sn_sz++] = '\0'; in add_to_ar_sym_table()
213 if (ecp->s_cnt != 0 && ecp->s_sn_sz % 2 != 0) in sync_ar()
214 ecp->s_sn[ecp->s_sn_sz++] = '\0'; in sync_ar()
233 s_sz = (ecp->s_cnt + 1) * sizeof(uint32_t) + ecp->s_sn_sz; in sync_ar()
473 ecp->s_sn_sz); in ac_write_objs()
478 ac_write_data(a, ecp->s_sn, ecp->s_sn_sz); in ac_write_objs()
H A Delfcopy.h266 size_t s_sn_sz; /* current size of sn table. */ member
/freebsd/contrib/elftoolchain/ar/
H A Dwrite.c586 bsdar->s_sn_sz; in bsdar_symtab_size()
595 bsdar->s_sn_sz; in bsdar_symtab_size()
615 write_data(bsdar, a, bsdar->s_sn, bsdar->s_sn_sz); in write_svr4_symtab_entry()
653 br_sz = (long) bsdar->s_sn_sz; in write_bsd_symtab_entry()
655 write_data(bsdar, a, bsdar->s_sn, bsdar->s_sn_sz); in write_bsd_symtab_entry()
708 if (bsdar->s_cnt != 0 && bsdar->s_sn_sz % 2 != 0) in write_objs()
709 bsdar->s_sn[bsdar->s_sn_sz++] = '\0'; in write_objs()
960 bsdar->s_sn_sz = 0; in add_to_ar_sym_table()
977 while (bsdar->s_sn_sz + strlen(name) + 2 > bsdar->s_sn_cap) { in add_to_ar_sym_table()
983 strncpy(&bsdar->s_sn[bsdar->s_sn_sz], name, strlen(name)); in add_to_ar_sym_table()
[all …]
H A Dar.h130 size_t s_sn_sz; /* current size of sn table. */ member
/freebsd/usr.bin/ar/
H A Dwrite.c607 if (bsdar->s_cnt != 0 && bsdar->s_sn_sz % 2 != 0) in write_objs()
608 bsdar->s_sn[bsdar->s_sn_sz++] = '\0'; in write_objs()
627 s_sz = (bsdar->s_cnt + 1) * sizeof(uint32_t) + bsdar->s_sn_sz; in write_objs()
636 bsdar->s_sn_sz; in write_objs()
677 bsdar->s_sn_sz); in write_objs()
687 write_data(bsdar, a, bsdar->s_sn, bsdar->s_sn_sz); in write_objs()
887 bsdar->s_sn_sz = 0; in add_to_ar_sym_table()
905 while (bsdar->s_sn_sz + strlen(name) + 2 > bsdar->s_sn_cap) { in add_to_ar_sym_table()
911 strncpy(&bsdar->s_sn[bsdar->s_sn_sz], name, strlen(name)); in add_to_ar_sym_table()
912 bsdar->s_sn_sz += strlen(name); in add_to_ar_sym_table()
[all …]
H A Dar.h108 size_t s_sn_sz; /* current size of sn table. */ member