Lines Matching refs:ifd_size
3569 size_t ifd_size, dir_size, entry_offset, next_offset, entry_length, entry_value=0, fgot; in exif_process_IFD_in_TIFF() local
3600 ifd_size = dir_size; in exif_process_IFD_in_TIFF()
3660 if (entry_offset + entry_length > dir_offset + ifd_size in exif_process_IFD_in_TIFF()
3661 && entry_offset == dir_offset + ifd_size) { in exif_process_IFD_in_TIFF()
3662 ifd_size = entry_offset + entry_length - dir_offset; in exif_process_IFD_in_TIFF()
3664 … "Resize struct: x%04X + x%04X - x%04X = x%04X", entry_offset, entry_length, dir_offset, ifd_size); in exif_process_IFD_in_TIFF()
3670 if (ifd_size > dir_size) { in exif_process_IFD_in_TIFF()
3671 if (dir_offset + ifd_size > ImageInfo->FileSize) { in exif_process_IFD_in_TIFF()
3672 … 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 if (exif_file_sections_realloc(ImageInfo, sn, ifd_size TSRMLS_CC)) { in exif_process_IFD_in_TIFF()
3680 … "Read from TIFF: filesize(x%04X), IFD(x%04X + x%04X)", ImageInfo->FileSize, dir_offset, ifd_size); in exif_process_IFD_in_TIFF()
3682 …php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+dir_size), ifd_size-dir_s… in exif_process_IFD_in_TIFF()
3748 ifd_size, 0, section_index, 0, tag_table TSRMLS_CC)) { in exif_process_IFD_in_TIFF()