Searched refs:offset (Results 1 – 10 of 10) sorted by relevance
/bootable/recovery/minzip/ |
D | Zip.h | 35 long offset; member 89 return pEntry->offset; in mzGetZipEntryOffset()
|
D | Zip.c | 94 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/ |
D | graphics_fbdev.cpp | 119 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()
|
D | graphics_adf.cpp | 35 __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()
|
D | graphics_drm.cpp | 199 drm_fd, map_dumb.offset); in drm_create_surface()
|
/bootable/recovery/ |
D | fuse_sdcard_provider.c | 39 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()
|
D | fuse_sideload.c | 303 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/ |
D | uncrypt.cpp | 69 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/ |
D | imgdiff.c | 1002 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/ |
D | blockimg.c | 146 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()
|