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