Lines Matching refs:got

200   int got{0};  in ScanRealInput()  local
203 if (got < bufferSize) { in ScanRealInput()
204 buffer[got] = ch; in ScanRealInput()
206 ++got; in ScanRealInput()
217 return got; in ScanRealInput()
255 auto start{got}; in ScanRealInput()
265 if (ch == '0' && got == start && !decimalPoint) { in ScanRealInput()
271 decimalPoint = got - start; // # of digits before the decimal point in ScanRealInput()
276 if (got == start) { in ScanRealInput()
324 exponent += got - start - edit.digits.value_or(0); in ScanRealInput()
352 return got; in ScanRealInput()
388 std::size_t got{io.GetNextInputBytes(str)}; in TryFastPathRealInput() local
389 if (got == 0 || str == nullptr || in TryFastPathRealInput()
395 std::min<std::int64_t>(got, edit.width.value_or(got))}; in TryFastPathRealInput()
452 int got{ScanRealInput(buffer, maxDigits + 2, io, edit, exponent)}; in EditCommonRealInput() local
453 if (got >= maxDigits + 2) { in EditCommonRealInput()
457 if (got == 0) { in EditCommonRealInput()
461 bool hadExtra{got > maxDigits}; in EditCommonRealInput()
463 buffer[got++] = 'e'; in EditCommonRealInput()
465 buffer[got++] = '-'; in EditCommonRealInput()
473 buffer[got++] = '0' + dig; in EditCommonRealInput()
476 buffer[got++] = '0' + dig; in EditCommonRealInput()
479 buffer[got++] = '0' + dig; in EditCommonRealInput()
480 buffer[got++] = '0' + (rest - 10 * dig); in EditCommonRealInput()
483 buffer[got++] = '0' + dig; in EditCommonRealInput()
486 buffer[got++] = '0' + dig; in EditCommonRealInput()
487 buffer[got++] = '0' + (rest - 10 * dig); in EditCommonRealInput()
490 buffer[got++] = '0' + dig; in EditCommonRealInput()
491 buffer[got++] = '0' + (exponent - 10 * dig); in EditCommonRealInput()
493 buffer[got++] = '0' + exponent; in EditCommonRealInput()
496 buffer[got] = '\0'; in EditCommonRealInput()