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

/PHP_TRUNK/ext/exif/
H A Dexif.c3520 size_t ifd_size, dir_size, entry_offset, next_offset, entry_length, entry_value=0, fgot; local
3551 ifd_size = dir_size;
3611 if (entry_offset + entry_length > dir_offset + ifd_size
3612 && entry_offset == dir_offset + ifd_size) {
3613 ifd_size = entry_offset + entry_length - dir_offset;
3615 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);
3621 if (ifd_size > dir_size) {
3622 if (dir_offset + ifd_size > ImageInfo->FileSize) {
3623 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);
3626 if (exif_file_sections_realloc(ImageInfo, sn, ifd_size TSRMLS_C
[all...]
/PHP_TRUNK/ext/standard/
H A Dimage.c808 size_t ifd_size, dir_size, entry_value, width=0, height=0, ifd_addr; local
817 ifd_size = 2;
818 ifd_data = emalloc(ifd_size);
825 ifd_size = dir_size;
826 ifd_data = erealloc(ifd_data,ifd_size);
832 ifd_size = dir_size;

Completed in 12 milliseconds