Lines Matching defs:repeat
298 int repeat{stack_[height_ - 1].remaining};
300 if (repeat > 0) {
301 return repeat;
305 Fortran::common::optional<int> repeat;
319 repeat = GetIntField(context, ch);
356 } else if (repeat) {
357 if (*repeat <= 0) {
358 *repeat = 1; // error recovery
360 stack_[height_].remaining = *repeat - 1;
367 // end of the format, including its repeat count.
433 if (!repeat || *repeat < 1 || offset_ + *repeat > formatLength_) {
438 EmitAscii(context, format_ + offset_, static_cast<std::size_t>(*repeat));
439 offset_ += *repeat;
465 return repeat && *repeat > 0 ? *repeat : 1;
469 repeat = GetIntField(context);
472 repeat ? *repeat : 1);
475 context.AdvanceRecord(repeat && *repeat > 0 ? *repeat : 1);
494 int repeat{CueUpNextDataEdit(context)};
499 edit.repeat = std::min(repeat, maxRepeat); // 0 if maxRepeat==0
500 if (repeat > maxRepeat) {
501 stack_[height_].start = start; // after repeat count
502 stack_[height_].remaining = repeat - edit.repeat;