Home
last modified time | relevance | path

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

/bootable/recovery/minzip/
DZip.h35 long offset; member
89 return pEntry->offset; in mzGetZipEntryOffset()
DZip.c94 LOGI(" off=%ld comp=%ld uncomp=%ld how=%d\n", pEntry->offset,
367 pEntry->offset = localHdrOffset + LOCHDR in parseZipArchive()
369 if (!safe_add(NULL, pEntry->offset, pEntry->compLen)) { in parseZipArchive()
373 if ((size_t)pEntry->offset + pEntry->compLen > pArchive->length) { in parseZipArchive()
501 return processFunction(pArchive->addr + pEntry->offset, pEntry->uncompLen, cookie); in processStoredEntry()
524 zstream.next_in = pArchive->addr + pEntry->offset; in processDeflatedEntry()
/bootable/recovery/minui/
Dgraphics_fbdev.cpp119 vi.red.offset, vi.red.length, in fbdev_init()
120 vi.green.offset, vi.green.length, in fbdev_init()
121 vi.blue.offset, vi.blue.length); in fbdev_init()
Dgraphics_adf.cpp35 __u32 offset; member
57 mode->vdisplay, pdata->format, &surf->offset, &surf->pitch); in adf_surface_init()
68 MAP_SHARED, surf->fd, surf->offset)); in adf_surface_init()
203 surf->offset, surf->pitch, -1); in adf_flip()
Dgraphics_drm.cpp199 drm_fd, map_dumb.offset); in drm_create_surface()
/bootable/recovery/
Dfuse_sdcard_provider.c39 off64_t offset = ((off64_t) block) * fd->block_size; in read_block_file() local
40 if (TEMP_FAILURE_RETRY(lseek64(fd->fd, offset, SEEK_SET)) == -1) { in read_block_file()
Dfuse_sideload.c303 uint64_t offset = req->offset; in handle_read() local
323 uint32_t block = offset / fd->block_size; in handle_read()
338 uint32_t block_offset = offset - (block * fd->block_size); in handle_read()
/bootable/recovery/uncrypt/
Duncrypt.cpp69 static int write_at_offset(unsigned char* buffer, size_t size, int wfd, off64_t offset) { in write_at_offset() argument
70 if (TEMP_FAILURE_RETRY(lseek64(wfd, offset, SEEK_SET)) == -1) { in write_at_offset()
71 ALOGE("error seeking to offset %lld: %s\n", offset, strerror(errno)); in write_at_offset()
78 ALOGE("error writing offset %lld: %s\n", (offset + written), strerror(errno)); in write_at_offset()
/bootable/recovery/applypatch/
Dimgdiff.c1002 size_t offset = total_header_size; in main() local
1019 Write8(offset, f); in main()
1020 offset += patch_size[i]; in main()
1029 Write8(offset, f); in main()
1037 offset += patch_size[i]; in main()
/bootable/recovery/updater/
Dblockimg.c146 static bool check_lseek(int fd, off64_t offset, int whence) { in check_lseek() argument
147 off64_t rc = TEMP_FAILURE_RETRY(lseek64(fd, offset, whence)); in check_lseek()
1322 size_t offset = 0; in PerformCommandDiff() local
1337 offset = strtoul(value, NULL, 0); in PerformCommandDiff()
1375 patch_value.data = (char*) (params->patch_start + offset); in PerformCommandDiff()