Home
last modified time | relevance | path

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

/bootable/recovery/updater/
Dblockimg.c62 } RangeSet; typedef
64 static RangeSet* parse_range(char* text) { in parse_range()
69 RangeSet* out = malloc(sizeof(RangeSet) + num * sizeof(int)); in parse_range()
72 sizeof(RangeSet) + num * sizeof(int)); in parse_range()
90 static int range_overlaps(RangeSet* r1, RangeSet* r2) { in range_overlaps()
171 RangeSet* tgt;
292 static int ReadBlocks(RangeSet* src, uint8_t* buffer, int fd) { in ReadBlocks()
318 static int WriteBlocks(RangeSet* tgt, uint8_t* buffer, int fd) { in WriteBlocks()
354 static int LoadSrcTgtVersion1(char** wordsave, RangeSet** tgt, int* src_blocks, in LoadSrcTgtVersion1()
360 RangeSet* src = parse_range(word); in LoadSrcTgtVersion1()
[all …]