Searched refs:newalc (Results 1 – 3 of 3) sorted by relevance
555 bfd_size_type newalc; in _bfd_xcoff64_put_ldsymbol_name() local558 newalc = ldinfo->string_alc * 2; in _bfd_xcoff64_put_ldsymbol_name()559 if (newalc == 0) in _bfd_xcoff64_put_ldsymbol_name()560 newalc = 32; in _bfd_xcoff64_put_ldsymbol_name()561 while (ldinfo->string_size + len + 3 > newalc) in _bfd_xcoff64_put_ldsymbol_name()562 newalc *= 2; in _bfd_xcoff64_put_ldsymbol_name()564 newstrings = bfd_realloc (ldinfo->strings, newalc); in _bfd_xcoff64_put_ldsymbol_name()570 ldinfo->string_alc = newalc; in _bfd_xcoff64_put_ldsymbol_name()
3523 bfd_size_type newalc; in _bfd_xcoff_put_ldsymbol_name() local3526 newalc = ldinfo->string_alc * 2; in _bfd_xcoff_put_ldsymbol_name()3527 if (newalc == 0) in _bfd_xcoff_put_ldsymbol_name()3528 newalc = 32; in _bfd_xcoff_put_ldsymbol_name()3529 while (ldinfo->string_size + len + 3 > newalc) in _bfd_xcoff_put_ldsymbol_name()3530 newalc *= 2; in _bfd_xcoff_put_ldsymbol_name()3532 newstrings = bfd_realloc (ldinfo->strings, newalc); in _bfd_xcoff_put_ldsymbol_name()3538 ldinfo->string_alc = newalc; in _bfd_xcoff_put_ldsymbol_name()
3761 size_t newalc; in d_growable_string_resize() local3770 newalc = dgs->alc > 0 ? dgs->alc : 2; in d_growable_string_resize()3771 while (newalc < need) in d_growable_string_resize()3772 newalc <<= 1; in d_growable_string_resize()3774 newbuf = (char *) realloc (dgs->buf, newalc); in d_growable_string_resize()3785 dgs->alc = newalc; in d_growable_string_resize()