Home
last modified time | relevance | path

Searched refs:str_alloc (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/external/lgpl3/gmp/dist/mpq/
H A Dget_str.c39 size_t str_alloc, len; in mpq_get_str() local
44 str_alloc = 0; in mpq_get_str()
52 DIGITS_IN_BASE_PER_LIMB (str_alloc, ABSIZ(NUM(q)) + SIZ(DEN(q)), ABS(base)); in mpq_get_str()
53 str_alloc += 6; in mpq_get_str()
55 str = __GMP_ALLOCATE_FUNC_TYPE (str_alloc, char); in mpq_get_str()
68 ASSERT (str_alloc == 0 || len+1 <= str_alloc); in mpq_get_str()
76 if (str_alloc != 0) in mpq_get_str()
77 __GMP_REALLOCATE_FUNC_MAYBE_TYPE (str, str_alloc, len+1, char); in mpq_get_str()
/netbsd-src/external/lgpl3/gmp/dist/tests/mpq/
H A Dt-get_str.c31 size_t str_alloc; in check_one() local
36 str_alloc = in check_one()
41 if (strlen(str)+1 > str_alloc) in check_one()
46 printf (" want size %lu\n", (unsigned long) str_alloc); in check_one()
60 str = (char *) (*__gmp_allocate_func) (str_alloc); in check_one()
79 (*__gmp_free_func) (str, str_alloc); in check_one()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Ddwarf2.c4312 size_t str_alloc = 0; in parse_comp_unit() local
4433 if (str_count <= str_alloc) in parse_comp_unit()
4435 str_alloc = 2 * str_alloc + 200; in parse_comp_unit()
4437 str_alloc * sizeof (*str_addrp)); in parse_comp_unit()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Ddwarf2.c4387 size_t str_alloc = 0; in parse_comp_unit() local
4518 if (str_count <= str_alloc) in parse_comp_unit()
4520 str_alloc = 2 * str_alloc + 200; in parse_comp_unit()
4522 str_alloc * sizeof (*str_addrp)); in parse_comp_unit()