Home
last modified time | relevance | path

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

/bootable/recovery/applypatch/
Dapplypatch.c431 size_t to_write = len - start; in WriteToPartition() local
432 if (to_write > 1<<20) to_write = 1<<20; in WriteToPartition()
434 ssize_t written = TEMP_FAILURE_RETRY(write(fd, data+start, to_write)); in WriteToPartition()
/bootable/recovery/updater/
Dinstall.c1480 int to_write = strlen(stagestr)+1; in SetStageFn() local
1482 if (to_write > max_size) { in SetStageFn()
1483 to_write = max_size; in SetStageFn()
1486 fwrite(stagestr, to_write, 1, f); in SetStageFn()