Lines Matching refs:dir_offset

2699 static bool exif_process_IFD_in_TIFF(image_info_type *ImageInfo, size_t dir_offset, int section_ind…
4023 static bool exif_process_IFD_in_TIFF_impl(image_info_type *ImageInfo, size_t dir_offset, int sectio… in exif_process_IFD_in_TIFF_impl() argument
4031 if (ImageInfo->FileSize >= 2 && ImageInfo->FileSize - 2 >= dir_offset) { in exif_process_IFD_in_TIFF_impl()
4034 …CE, "Read from TIFF: filesize(x%04X), IFD dir(x%04X + x%04X)", ImageInfo->FileSize, dir_offset, 2); in exif_process_IFD_in_TIFF_impl()
4036 …php_stream_seek(ImageInfo->infile, dir_offset, SEEK_SET); /* we do not know the order of sections … in exif_process_IFD_in_TIFF_impl()
4040 if (ImageInfo->FileSize >= dir_size && ImageInfo->FileSize - dir_size >= dir_offset) { in exif_process_IFD_in_TIFF_impl()
4042 …x%04X), IFD dir(x%04X + x%04X), IFD entries(%d)", ImageInfo->FileSize, dir_offset+2, dir_size-2, n… in exif_process_IFD_in_TIFF_impl()
4113 if (entry_offset + entry_length > dir_offset + ifd_size in exif_process_IFD_in_TIFF_impl()
4114 && entry_offset == dir_offset + ifd_size) { in exif_process_IFD_in_TIFF_impl()
4115 ifd_size = entry_offset + entry_length - dir_offset; in exif_process_IFD_in_TIFF_impl()
4117 … "Resize struct: x%04X + x%04X - x%04X = x%04X", entry_offset, entry_length, dir_offset, ifd_size); in exif_process_IFD_in_TIFF_impl()
4122 …ageInfo->file.list[sn].size && ImageInfo->FileSize - ImageInfo->file.list[sn].size >= dir_offset) { in exif_process_IFD_in_TIFF_impl()
4124 if (ImageInfo->FileSize < ifd_size || dir_offset > ImageInfo->FileSize - ifd_size) { in exif_process_IFD_in_TIFF_impl()
4125 … filesize(x%04X) less than size of IFD(x%04X + x%04X)", ImageInfo->FileSize, dir_offset, ifd_size); in exif_process_IFD_in_TIFF_impl()
4133 … "Read from TIFF: filesize(x%04X), IFD(x%04X + x%04X)", ImageInfo->FileSize, dir_offset, ifd_size); in exif_process_IFD_in_TIFF_impl()
4204 (char *) (ImageInfo->file.list[sn].data - dir_offset), in exif_process_IFD_in_TIFF_impl()
4241 …F: filesize(x%04X) less than size of IFD(x%04X)", ImageInfo->FileSize, dir_offset+ImageInfo->file.… in exif_process_IFD_in_TIFF_impl()
4245 …TIFF: filesize(x%04X) less than size of IFD dir(x%04X)", ImageInfo->FileSize, dir_offset+dir_size); in exif_process_IFD_in_TIFF_impl()
4249 …or in TIFF: filesize(x%04X) less than start of IFD dir(x%04X)", ImageInfo->FileSize, dir_offset+2); in exif_process_IFD_in_TIFF_impl()
4255 static bool exif_process_IFD_in_TIFF(image_info_type *ImageInfo, size_t dir_offset, int section_ind… in exif_process_IFD_in_TIFF() argument
4265 result = exif_process_IFD_in_TIFF_impl(ImageInfo, dir_offset, section_index); in exif_process_IFD_in_TIFF()