Lines Matching refs:trimmed
155 static bool DoubleStrtod(Vector<const char> trimmed, in DoubleStrtod() argument
171 if (trimmed.length() <= kMaxExactDoubleIntegerDecimalDigits) { in DoubleStrtod()
181 *result = static_cast<double>(ReadUint64(trimmed, &read_digits)); in DoubleStrtod()
182 DCHECK(read_digits == trimmed.length()); in DoubleStrtod()
188 *result = static_cast<double>(ReadUint64(trimmed, &read_digits)); in DoubleStrtod()
189 DCHECK(read_digits == trimmed.length()); in DoubleStrtod()
194 kMaxExactDoubleIntegerDecimalDigits - trimmed.length(); in DoubleStrtod()
200 *result = static_cast<double>(ReadUint64(trimmed, &read_digits)); in DoubleStrtod()
201 DCHECK(read_digits == trimmed.length()); in DoubleStrtod()
408 Vector<const char> trimmed = TrimTrailingZeros(left_trimmed); in Strtod() local
409 exponent += left_trimmed.length() - trimmed.length(); in Strtod()
410 if (trimmed.length() == 0) return 0.0; in Strtod()
411 if (trimmed.length() > kMaxSignificantDecimalDigits) { in Strtod()
414 TrimToMaxSignificantDigits(trimmed, exponent, in Strtod()
420 if (exponent + trimmed.length() - 1 >= kMaxDecimalPower) return V8_INFINITY; in Strtod()
421 if (exponent + trimmed.length() <= kMinDecimalPower) return 0.0; in Strtod()
424 if (DoubleStrtod(trimmed, exponent, &guess) || in Strtod()
425 DiyFpStrtod(trimmed, exponent, &guess)) { in Strtod()
428 return BignumStrtod(trimmed, exponent, guess); in Strtod()