Searched refs:s_sn_sz (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/elftoolchain/elfcopy/ |
H A D | archive.c | 174 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 D | elfcopy.h | 266 size_t s_sn_sz; /* current size of sn table. */ member
|
/freebsd/contrib/elftoolchain/ar/ |
H A D | write.c | 586 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 D | ar.h | 130 size_t s_sn_sz; /* current size of sn table. */ member
|
/freebsd/usr.bin/ar/ |
H A D | write.c | 607 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 D | ar.h | 108 size_t s_sn_sz; /* current size of sn table. */ member
|