Searched refs:dir_size (Results 1 – 2 of 2) sorted by relevance
/PHP-5.6/ext/standard/ |
H A D | image.c | 795 size_t ifd_size, dir_size, entry_value, width=0, height=0, ifd_addr; in php_handle_tiff() local 811 …dir_size = 2/*num dir entries*/ +12/*length of entry*/*num_entries +4/* offset to next ifd (points… in php_handle_tiff() 812 ifd_size = dir_size; in php_handle_tiff() 814 if (php_stream_read(stream, ifd_data+2, dir_size-2) != dir_size-2) { in php_handle_tiff() 819 ifd_size = dir_size; in php_handle_tiff()
|
/PHP-5.6/ext/exif/ |
H A D | exif.c | 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() [all …]
|
Completed in 29 milliseconds