Lines Matching refs:dir_size
3575 size_t ifd_size, dir_size, entry_offset, next_offset, entry_length, entry_value=0, fgot; in exif_process_IFD_in_TIFF() local
3591 …dir_size = 2/*num dir entries*/ +12/*length of entry*/*num_entries +4/* offset to next ifd (points… in exif_process_IFD_in_TIFF()
3592 if (ImageInfo->FileSize >= dir_offset+dir_size) { in exif_process_IFD_in_TIFF()
3594 … dir(x%04X + x%04X), IFD entries(%d)", ImageInfo->FileSize, dir_offset+2, dir_size-2, num_entries); in exif_process_IFD_in_TIFF()
3596 if (exif_file_sections_realloc(ImageInfo, sn, dir_size TSRMLS_CC)) { in exif_process_IFD_in_TIFF()
3599 php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+2), dir_size-2); in exif_process_IFD_in_TIFF()
3601 …next_offset = php_ifd_get32u(ImageInfo->file.list[sn].data + dir_size - 4, ImageInfo->motorola_int… in exif_process_IFD_in_TIFF()
3606 ifd_size = dir_size; in exif_process_IFD_in_TIFF()
3676 if (ifd_size > dir_size) { in exif_process_IFD_in_TIFF()
3688 …stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+dir_size), ifd_size-dir_size); in exif_process_IFD_in_TIFF()
3796 …TIFF: filesize(x%04X) less than size of IFD dir(x%04X)", ImageInfo->FileSize, dir_offset+dir_size); in exif_process_IFD_in_TIFF()