Lines Matching refs:dir_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
3585 …dir_size = 2/*num dir entries*/ +12/*length of entry*/*num_entries +4/* offset to next ifd (points… in exif_process_IFD_in_TIFF()
3586 if (ImageInfo->FileSize >= dir_offset+dir_size) { in exif_process_IFD_in_TIFF()
3588 … dir(x%04X + x%04X), IFD entries(%d)", ImageInfo->FileSize, dir_offset+2, dir_size-2, num_entries); in exif_process_IFD_in_TIFF()
3590 if (exif_file_sections_realloc(ImageInfo, sn, dir_size TSRMLS_CC)) { in exif_process_IFD_in_TIFF()
3593 php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+2), dir_size-2); in exif_process_IFD_in_TIFF()
3595 …next_offset = php_ifd_get32u(ImageInfo->file.list[sn].data + dir_size - 4, ImageInfo->motorola_int… in exif_process_IFD_in_TIFF()
3600 ifd_size = dir_size; in exif_process_IFD_in_TIFF()
3670 if (ifd_size > dir_size) { in exif_process_IFD_in_TIFF()
3682 …stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+dir_size), ifd_size-dir_size); in exif_process_IFD_in_TIFF()
3784 …TIFF: filesize(x%04X) less than size of IFD dir(x%04X)", ImageInfo->FileSize, dir_offset+dir_size); in exif_process_IFD_in_TIFF()