Searched refs:input_remaining (Results 1 – 2 of 2) sorted by relevance
137 size_t input_remaining = size; in SimulateInFramer() local139 while (input_remaining > 0 && in SimulateInFramer()146 (rand() % std::min(input_remaining, kMaxReadSize)) + 1; in SimulateInFramer()149 input_remaining -= bytes_processed; in SimulateInFramer()
478 size_t input_remaining = size; in SimulateInFramer() local480 while (input_remaining > 0 && in SimulateInFramer()487 (rand() % min(input_remaining, kMaxReadSize)) + 1; in SimulateInFramer()489 input_remaining -= bytes_processed; in SimulateInFramer()