Lines Matching refs:dir_offset
3559 static int exif_process_IFD_in_TIFF(image_info_type *ImageInfo, size_t dir_offset, int section_inde… in exif_process_IFD_in_TIFF() argument
3572 if (ImageInfo->FileSize >= dir_offset+2) { in exif_process_IFD_in_TIFF()
3575 …CE, "Read from TIFF: filesize(x%04X), IFD dir(x%04X + x%04X)", ImageInfo->FileSize, dir_offset, 2); in exif_process_IFD_in_TIFF()
3577 …php_stream_seek(ImageInfo->infile, dir_offset, SEEK_SET); /* we do not know the order of sections … in exif_process_IFD_in_TIFF()
3581 if (ImageInfo->FileSize >= dir_offset+dir_size) { in exif_process_IFD_in_TIFF()
3583 …x%04X), IFD dir(x%04X + x%04X), IFD entries(%d)", ImageInfo->FileSize, dir_offset+2, dir_size-2, n… in exif_process_IFD_in_TIFF()
3655 if (entry_offset + entry_length > dir_offset + ifd_size in exif_process_IFD_in_TIFF()
3656 && entry_offset == dir_offset + ifd_size) { in exif_process_IFD_in_TIFF()
3657 ifd_size = entry_offset + entry_length - dir_offset; in exif_process_IFD_in_TIFF()
3659 … "Resize struct: x%04X + x%04X - x%04X = x%04X", entry_offset, entry_length, dir_offset, ifd_size); in exif_process_IFD_in_TIFF()
3664 if (ImageInfo->FileSize >= dir_offset + ImageInfo->file.list[sn].size) { in exif_process_IFD_in_TIFF()
3666 if (dir_offset + ifd_size > ImageInfo->FileSize) { in exif_process_IFD_in_TIFF()
3667 … filesize(x%04X) less than size of IFD(x%04X + x%04X)", ImageInfo->FileSize, dir_offset, ifd_size); in exif_process_IFD_in_TIFF()
3675 … "Read from TIFF: filesize(x%04X), IFD(x%04X + x%04X)", ImageInfo->FileSize, dir_offset, ifd_size); in exif_process_IFD_in_TIFF()
3745 (char*)(ImageInfo->file.list[sn].data-dir_offset), in exif_process_IFD_in_TIFF()
3781 …F: filesize(x%04X) less than size of IFD(x%04X)", ImageInfo->FileSize, dir_offset+ImageInfo->file.… in exif_process_IFD_in_TIFF()
3785 …TIFF: filesize(x%04X) less than size of IFD dir(x%04X)", ImageInfo->FileSize, dir_offset+dir_size); in exif_process_IFD_in_TIFF()
3789 …or in TIFF: filesize(x%04X) less than start of IFD dir(x%04X)", ImageInfo->FileSize, dir_offset+2); in exif_process_IFD_in_TIFF()