Lines Matching refs:chars_required
1944 const size_t chars_required = in ToStringBasePowerOfTwo() local
1947 if (chars_required > String::kMaxLength) { in ToStringBasePowerOfTwo()
1953 ->NewRawOneByteString(static_cast<int>(chars_required)) in ToStringBasePowerOfTwo()
1958 int pos = static_cast<int>(chars_required - 1); in ToStringBasePowerOfTwo()
2010 uint64_t chars_required = bit_length; in ToStringGeneric() local
2011 chars_required *= kBitsPerCharTableMultiplier; in ToStringGeneric()
2012 chars_required += min_bits_per_char - 1; // Round up. in ToStringGeneric()
2013 chars_required /= min_bits_per_char; in ToStringGeneric()
2014 chars_required += sign; in ToStringGeneric()
2016 if (chars_required > String::kMaxLength) { in ToStringGeneric()
2021 ->NewRawOneByteString(static_cast<int>(chars_required)) in ToStringGeneric()
2029 for (int i = 0; i < static_cast<int>(chars_required); i++) chars[i] = '?'; in ToStringGeneric()
2081 DCHECK(pos <= static_cast<int>(chars_required)); in ToStringGeneric()
2086 if (pos < static_cast<int>(chars_required)) { in ToStringGeneric()
2089 SeqOneByteString::SizeFor(static_cast<int>(chars_required)); in ToStringGeneric()