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

/bootable/recovery/mtdutils/
H A Dmtdutils.h52 void mtd_read_skip_to(const MtdReadContext *, size_t offset);
H A Dmtdutils.c284 void mtd_read_skip_to(const MtdReadContext* ctx, size_t offset) { argument
285 lseek64(ctx->fd, offset, SEEK_SET);
558 /* Return the offset of the first good block at or after pos (which
/bootable/recovery/minzip/
H A DZip.h35 long offset; member in struct:ZipEntry
125 return pEntry->offset;
H A DZip.c94 LOGI(" off=%ld comp=%ld uncomp=%ld how=%d\n", pEntry->offset,
226 * entries in the file, and the file offset of the start of the
234 LOGW("Invalid entries=%d offset=%d (len=%zd)\n",
364 LOGW("Bad offset to local header: %d (at %d)\n", localHdrOffset, i);
371 pEntry->offset = localHdrOffset + LOCHDR
373 if (!safe_add(NULL, pEntry->offset, pEntry->compLen)) {
377 if ((size_t)pEntry->offset + pEntry->compLen > pArchive->length) {
505 return processFunction(pArchive->addr + pEntry->offset, pEntry->uncompLen, cookie);
528 zstream.next_in = pArchive->addr + pEntry->offset;
726 * Uncompress "pEntry" in "pArchive" to "fd" at the current offset
[all...]
/bootable/recovery/minui/
H A Dgraphics_adf.c34 __u32 offset; member in struct:adf_surface_pdata
58 mode->vdisplay, pdata->format, &surf->offset, &surf->pitch);
68 MAP_SHARED, surf->fd, surf->offset);
201 surf->offset, surf->pitch, -1);
H A Dgraphics_fbdev.c118 " vi.red.offset = %3d .length = %3d\n"
119 " vi.green.offset = %3d .length = %3d\n"
120 " vi.blue.offset = %3d .length = %3d\n",
122 vi.red.offset, vi.red.length,
123 vi.green.offset, vi.green.length,
124 vi.blue.offset, vi.blue.length);
/bootable/recovery/uncrypt/
H A Duncrypt.c64 int wfd, off64_t offset)
66 lseek64(wfd, offset, SEEK_SET);
71 ALOGE("error writing offset %lld: %s\n", offset, strerror(errno));
63 write_at_offset(unsigned char* buffer, size_t size, int wfd, off64_t offset) argument
/bootable/recovery/
H A Dfuse_sideload.c277 uint64_t offset = req->offset;
297 uint32_t block = offset / fd->block_size;
312 uint32_t block_offset = offset - (block * fd->block_size);
/bootable/recovery/applypatch/
H A Dimgdiff.c71 * bsdiff patch offset (8) [from start of patch file]
75 * bsdiff patch offset (8) [from start of patch file]
89 * bsdiff patch offset (8) [from start of patch file]
112 * After the header there are 'chunk count' bsdiff patches; the offset
138 size_t start; // offset of chunk in original image file
236 int hoffset = Read4(cd+42); // local header offset
410 // 'pos' is the offset of the start of a gzip chunk.
501 // 'pos' is not the offset of the start of a gzip chunk, so scan
974 // that we can correctly compute the offset of each bsdiff patch
993 size_t offset local
[all...]
/bootable/recovery/updater/
H A Dblockimg.c109 static void check_lseek(int fd, off64_t offset, int whence) { argument
111 off64_t ret = lseek64(fd, offset, whence);
727 // offset in bytes

Completed in 173 milliseconds