Home
last modified time | relevance | path

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

/freebsd/contrib/elftoolchain/elfcopy/
H A Darchive.c134 ecp->as_cap = _INIT_AS_CAP; in add_to_ar_str_table()
136 if ((ecp->as = malloc(ecp->as_cap)) == NULL) in add_to_ar_str_table()
144 while (ecp->as_sz + strlen(name) + 3 > ecp->as_cap) { in add_to_ar_str_table()
145 ecp->as_cap *= 2; in add_to_ar_str_table()
146 ecp->as = realloc(ecp->as, ecp->as_cap); in add_to_ar_str_table()
H A Delfcopy.h260 size_t as_cap; /* capacity of as table buffer. */ member
/freebsd/contrib/elftoolchain/ar/
H A Dwrite.c918 bsdar->as_cap = _INIT_AS_CAP; in add_to_ar_str_table()
920 if ((bsdar->as = malloc(bsdar->as_cap)) == NULL) in add_to_ar_str_table()
929 while (bsdar->as_sz + strlen(name) + 3 > bsdar->as_cap) { in add_to_ar_str_table()
930 bsdar->as_cap *= 2; in add_to_ar_str_table()
931 bsdar->as = realloc(bsdar->as, bsdar->as_cap); in add_to_ar_str_table()
H A Dar.h120 size_t as_cap; /* capacity of as table buffer. */ member
/freebsd/usr.bin/ar/
H A Dwrite.c846 bsdar->as_cap = _INIT_AS_CAP; in add_to_ar_str_table()
848 if ((bsdar->as = malloc(bsdar->as_cap)) == NULL) in add_to_ar_str_table()
856 while (bsdar->as_sz + strlen(name) + 3 > bsdar->as_cap) { in add_to_ar_str_table()
857 bsdar->as_cap *= 2; in add_to_ar_str_table()
858 bsdar->as = realloc(bsdar->as, bsdar->as_cap); in add_to_ar_str_table()
H A Dar.h96 size_t as_cap; /* capacity of as table buffer. */ member