Lines Matching refs:remaining

22   std::optional<int> remaining;  in EditBOZInput()  local
23 std::optional<char32_t> next{io.PrepareInput(edit, remaining)}; in EditBOZInput()
26 next = io.NextInField(remaining, edit); in EditBOZInput()
32 for (; next; next = io.NextInField(remaining, edit)) { in EditBOZInput()
58 remaining.reset(); in EditBOZInput()
69 char32_t ch{*io.NextInField(remaining, edit)}; in EditBOZInput()
101 std::optional<char32_t> &next, std::optional<int> &remaining) { in ScanNumericPrefix() argument
102 next = io.PrepareInput(edit, remaining); in ScanNumericPrefix()
107 io.SkipSpaces(remaining); in ScanNumericPrefix()
108 next = io.NextInField(remaining, edit); in ScanNumericPrefix()
140 std::optional<int> remaining; in EditIntegerInput() local
142 bool negate{ScanNumericPrefix(io, edit, next, remaining)}; in EditIntegerInput()
146 for (; next; next = io.NextInField(remaining, edit)) { in EditIntegerInput()
198 std::optional<int> remaining; in ScanRealInput() local
208 if (ScanNumericPrefix(io, edit, next, remaining)) { in ScanRealInput()
213 remaining.reset(); in ScanRealInput()
226 next = io.NextInField(remaining, edit)) { in ScanRealInput()
237 next = io.NextInField(remaining, edit); in ScanRealInput()
256 for (; next; next = io.NextInField(remaining, edit)) { in ScanRealInput()
287 io.SkipSpaces(remaining); in ScanRealInput()
288 next = io.NextInField(remaining, edit); in ScanRealInput()
298 next = io.NextInField(remaining, edit); in ScanRealInput()
300 for (exponent = 0; next; next = io.NextInField(remaining, edit)) { in ScanRealInput()
335 next = io.NextInField(remaining, edit); in ScanRealInput()
344 } else if (remaining) { in ScanRealInput()
346 next = io.NextInField(remaining, edit); in ScanRealInput()
572 std::optional<int> remaining; in EditLogicalInput() local
573 std::optional<char32_t> next{io.PrepareInput(edit, remaining)}; in EditLogicalInput()
575 next = io.NextInField(remaining, edit); in EditLogicalInput()
595 if (remaining) { // ignore the rest of the field in EditLogicalInput()
596 io.HandleRelativePosition(*remaining); in EditLogicalInput()
598 while (io.NextInField(remaining, edit)) { // discard rest of field in EditLogicalInput()
655 std::optional<int> remaining{length > 0 ? maxUTF8Bytes : 0}; in EditListDirectedCharacterInput() local
656 while (std::optional<char32_t> next{io.NextInField(remaining, edit)}) { in EditListDirectedCharacterInput()
674 remaining = 0; in EditListDirectedCharacterInput()
677 remaining = --length > 0 ? maxUTF8Bytes : 0; in EditListDirectedCharacterInput()
706 std::size_t remaining{length}; in EditCharacterInput() local
708 remaining = *edit.width; in EditCharacterInput()
717 std::size_t skip{remaining > length ? remaining - length : 0}; in EditCharacterInput()
719 while (remaining > 0) { in EditCharacterInput()
742 --remaining; in EditCharacterInput()
752 --remaining; in EditCharacterInput()
758 chunk = std::min<std::size_t>(remaining, ready); in EditCharacterInput()
763 remaining -= chunk; in EditCharacterInput()