• Home
  • Raw
  • Download

Lines Matching refs:trimmed

150                        Vector<const char>* trimmed, int* updated_exponent) {  in TrimAndCut()  argument
159 *trimmed = Vector<const char>(buffer_copy_space, in TrimAndCut()
162 *trimmed = right_trimmed; in TrimAndCut()
212 static bool DoubleStrtod(Vector<const char> trimmed, in DoubleStrtod() argument
224 if (trimmed.length() <= kMaxExactDoubleIntegerDecimalDigits) { in DoubleStrtod()
234 *result = static_cast<double>(ReadUint64(trimmed, &read_digits)); in DoubleStrtod()
235 ASSERT(read_digits == trimmed.length()); in DoubleStrtod()
241 *result = static_cast<double>(ReadUint64(trimmed, &read_digits)); in DoubleStrtod()
242 ASSERT(read_digits == trimmed.length()); in DoubleStrtod()
247 kMaxExactDoubleIntegerDecimalDigits - trimmed.length(); in DoubleStrtod()
253 *result = static_cast<double>(ReadUint64(trimmed, &read_digits)); in DoubleStrtod()
254 ASSERT(read_digits == trimmed.length()); in DoubleStrtod()
438 static bool ComputeGuess(Vector<const char> trimmed, int exponent, in ComputeGuess() argument
440 if (trimmed.length() == 0) { in ComputeGuess()
444 if (exponent + trimmed.length() - 1 >= kMaxDecimalPower) { in ComputeGuess()
448 if (exponent + trimmed.length() <= kMinDecimalPower) { in ComputeGuess()
453 if (DoubleStrtod(trimmed, exponent, guess) || in ComputeGuess()
454 DiyFpStrtod(trimmed, exponent, guess)) { in ComputeGuess()
465 Vector<const char> trimmed; in Strtod() local
468 &trimmed, &updated_exponent); in Strtod()
472 bool is_correct = ComputeGuess(trimmed, exponent, &guess); in Strtod()
476 int comparison = CompareBufferWithDiyFp(trimmed, exponent, upper_boundary); in Strtod()
491 Vector<const char> trimmed; in Strtof() local
494 &trimmed, &updated_exponent); in Strtof()
498 bool is_correct = ComputeGuess(trimmed, exponent, &double_guess); in Strtof()
557 int comparison = CompareBufferWithDiyFp(trimmed, exponent, upper_boundary); in Strtof()