Home
last modified time | relevance | path

Searched refs:ifd_size (Results 1 – 2 of 2) sorted by relevance

/PHP-5.5/ext/standard/
H A Dimage.c807 size_t ifd_size, dir_size, entry_value, width=0, height=0, ifd_addr; in php_handle_tiff() local
816 ifd_size = 2; in php_handle_tiff()
817 ifd_data = emalloc(ifd_size); in php_handle_tiff()
824 ifd_size = dir_size; in php_handle_tiff()
825 ifd_data = erealloc(ifd_data,ifd_size); in php_handle_tiff()
831 ifd_size = dir_size; in php_handle_tiff()
/PHP-5.5/ext/exif/
H A Dexif.c3569 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()
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()
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()
[all …]

Completed in 27 milliseconds