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

/PHP_5_5/ext/exif/
H A Dexif.c3533 size_t ifd_size, dir_size, entry_offset, next_offset, entry_length, entry_value=0, fgot; local
3564 ifd_size = dir_size;
3624 if (entry_offset + entry_length > dir_offset + ifd_size
3625 && entry_offset == dir_offset + ifd_size) {
3626 ifd_size = entry_offset + entry_length - dir_offset;
3628 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);
3634 if (ifd_size > dir_size) {
3635 if (dir_offset + ifd_size > ImageInfo->FileSize) {
3636 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);
3639 if (exif_file_sections_realloc(ImageInfo, sn, ifd_size TSRMLS_C
[all...]
/PHP_5_5/ext/standard/
H A Dimage.c807 size_t ifd_size, dir_size, entry_value, width=0, height=0, ifd_addr; local
816 ifd_size = 2;
817 ifd_data = emalloc(ifd_size);
824 ifd_size = dir_size;
825 ifd_data = erealloc(ifd_data,ifd_size);
831 ifd_size = dir_size;

Completed in 12 milliseconds