Home
last modified time | relevance | path

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

/system/core/fastboot/device/
Dcommands.cpp809 uint64_t current_offset = start_offset_; in Fetch() local
810 while (current_offset < end_offset) { in Fetch()
814 uint64_t remaining = end_offset - current_offset; in Fetch()
818 << partition_name_ << " @ offset 0x" << current_offset; in Fetch()
824 << partition_name_ << " @ offset 0x" << current_offset; in Fetch()
828 current_offset += chunk_size; in Fetch()
/system/core/fastboot/
Dfastboot_driver.cpp328 uint64_t current_offset = 0; in RunAndReadBuffer() local
329 while (current_offset < total_size) { in RunAndReadBuffer()
330 uint64_t remaining = total_size - current_offset; in RunAndReadBuffer()
338 current_offset += chunk_size; in RunAndReadBuffer()
/system/libziparchive/
Dzip_archive.cc1144 const off64_t current_offset = lseek64(fd, 0, SEEK_CUR); in Create() local
1145 if (current_offset == -1) { in Create()
1166 long result = TEMP_FAILURE_RETRY(fallocate(fd, 0, current_offset, declared_length)); in Create()
1169 declared_length, static_cast<int64_t>(current_offset), strerror(errno)); in Create()
1183 long result = TEMP_FAILURE_RETRY(ftruncate(fd, declared_length + current_offset)); in Create()
1186 static_cast<int64_t>(declared_length + current_offset), strerror(errno)); in Create()