Home
last modified time | relevance | path

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

/bootable/recovery/updater/
Dblockimg.c875 static void MoveRange(uint8_t* dest, RangeSet* locs, const uint8_t* source) { in MoveRange() argument
880 int start = locs->size; in MoveRange()
882 for (i = locs->count-1; i >= 0; --i) { in MoveRange()
883 int blocks = locs->pos[i*2+1] - locs->pos[i*2]; in MoveRange()
885 memmove(dest + (locs->pos[i*2] * BLOCKSIZE), source + (start * BLOCKSIZE), in MoveRange()
916 RangeSet* locs; in LoadSrcTgtVersion2() local
953 locs = parse_range(word); in LoadSrcTgtVersion2()
954 MoveRange(*buffer, locs, *buffer); in LoadSrcTgtVersion2()
955 free(locs); in LoadSrcTgtVersion2()
975 locs = parse_range(colon); in LoadSrcTgtVersion2()
[all …]