Lines Matching refs:NumDirEntries
2731 int NumDirEntries, old_motorola_intel, offset_diff; in exif_process_IFD_in_MAKERNOTE() local
2784 NumDirEntries = php_ifd_get16u(dir_start, ImageInfo->motorola_intel); in exif_process_IFD_in_MAKERNOTE()
2797 offset_diff = 2 + NumDirEntries*12 + 4 - php_ifd_get32u(dir_start+10, ImageInfo->motorola_intel); in exif_process_IFD_in_MAKERNOTE()
2814 if ((2+NumDirEntries*12) > value_len) { in exif_process_IFD_in_MAKERNOTE()
2815 …ARNING, "Illegal IFD size: 2 + 0x%04X*12 = 0x%04X > 0x%04X", NumDirEntries, 2+NumDirEntries*12, va… in exif_process_IFD_in_MAKERNOTE()
2818 if ((dir_start - value_ptr) > value_len - (2+NumDirEntries*12)) { in exif_process_IFD_in_MAKERNOTE()
2819 …NG, "Illegal IFD size: 0x%04X > 0x%04X", (dir_start - value_ptr) + (2+NumDirEntries*12), value_len… in exif_process_IFD_in_MAKERNOTE()
2823 for (de=0;de<NumDirEntries;de++) { in exif_process_IFD_in_MAKERNOTE()
3165 int NumDirEntries; in exif_process_IFD_in_JPEG() local
3179 NumDirEntries = php_ifd_get16u(dir_start, ImageInfo->motorola_intel); in exif_process_IFD_in_JPEG()
3181 if ((dir_start+2+NumDirEntries*12) > (offset_base+IFDlength)) { in exif_process_IFD_in_JPEG()
3182 … (int)((size_t)dir_start+2-(size_t)offset_base), NumDirEntries, (int)((size_t)dir_start+2+NumDirEn… in exif_process_IFD_in_JPEG()
3186 for (de=0;de<NumDirEntries;de++) { in exif_process_IFD_in_JPEG()