Home
last modified time | relevance | path

Searched refs:current_index (Results 1 – 1 of 1) sorted by relevance

/bootable/recovery/otautil/
Drangeset.cpp202 size_t current_index = 0; in GetSubRanges() local
207 if (current_index + blocks_in_range <= start_index) { in GetSubRanges()
208 current_index += blocks_in_range; in GetSubRanges()
214 if (current_index < start_index) { in GetSubRanges()
215 trimmed_range_start += start_index - current_index; in GetSubRanges()
219 if (current_index + blocks_in_range >= end_index) { in GetSubRanges()
220 size_t trimmed_range_end = range_end - (current_index + blocks_in_range - end_index); in GetSubRanges()
231 current_index += blocks_in_range; in GetSubRanges()