Lines Matching refs:repeat
179 int repeat{stack_[height_ - 1].remaining}; in CueUpNextDataEdit()
181 if (repeat > 0) { in CueUpNextDataEdit()
182 return repeat; in CueUpNextDataEdit()
186 std::optional<int> repeat; in CueUpNextDataEdit() local
199 repeat = GetIntField(context, ch); in CueUpNextDataEdit()
231 } else if (repeat) { in CueUpNextDataEdit()
232 if (*repeat <= 0) { in CueUpNextDataEdit()
233 *repeat = 1; // error recovery in CueUpNextDataEdit()
235 stack_[height_].remaining = *repeat - 1; in CueUpNextDataEdit()
306 if (!repeat || *repeat < 1 || offset_ + *repeat > formatLength_) { in CueUpNextDataEdit()
311 context.Emit(format_ + offset_, static_cast<std::size_t>(*repeat)); in CueUpNextDataEdit()
312 offset_ += *repeat; in CueUpNextDataEdit()
337 return repeat && *repeat > 0 ? *repeat : 1; in CueUpNextDataEdit()
341 repeat = GetIntField(context); in CueUpNextDataEdit()
344 repeat ? *repeat : 1); in CueUpNextDataEdit()
347 context.AdvanceRecord(repeat && *repeat > 0 ? *repeat : 1); in CueUpNextDataEdit()
366 int repeat{CueUpNextDataEdit(context)}; in GetNextDataEdit()
453 edit.repeat = std::min(repeat, maxRepeat); // 0 if maxRepeat==0 in GetNextDataEdit()
454 if (repeat > maxRepeat) { in GetNextDataEdit()
456 stack_[height_].remaining = repeat - edit.repeat; in GetNextDataEdit()