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

/PHP_5_3/ext/standard/
H A Dimage.c803 size_t ifd_size, dir_size, entry_value, width=0, height=0, ifd_addr; local
812 ifd_size = 2;
813 ifd_data = emalloc(ifd_size);
820 ifd_size = dir_size;
821 ifd_data = erealloc(ifd_data,ifd_size);
827 ifd_size = dir_size;
/PHP_5_3/ext/exif/
H A Dexif.c3555 size_t ifd_size, dir_size, entry_offset, next_offset, entry_length, entry_value=0, fgot; local
3586 ifd_size = dir_size;
3646 if (entry_offset + entry_length > dir_offset + ifd_size
3647 && entry_offset == dir_offset + ifd_size) {
3648 ifd_size = entry_offset + entry_length - dir_offset;
3650 exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Resize struct: x%04X + x%04X - x%04X = x%04X", entry_offset, entry_length, dir_offset, ifd_size);
3656 if (ifd_size > dir_size) {
3657 if (dir_offset + ifd_size > ImageInfo->FileSize) {
3658 exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_WARNING, "Error in TIFF: filesize(x%04X) less than size of IFD(x%04X + x%04X)", ImageInfo->FileSize, dir_offset, ifd_size);
3661 if (exif_file_sections_realloc(ImageInfo, sn, ifd_size TSRMLS_C
[all...]

Completed in 12 milliseconds