Lines Matching refs:dir_offset
2727 static bool exif_process_IFD_in_TIFF(image_info_type *ImageInfo, size_t dir_offset, int section_ind…
4057 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
4065 if (ImageInfo->FileSize >= 2 && ImageInfo->FileSize - 2 >= dir_offset) { in exif_process_IFD_in_TIFF_impl()
4068 …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()
4070 …php_stream_seek(ImageInfo->infile, dir_offset, SEEK_SET); /* we do not know the order of sections … in exif_process_IFD_in_TIFF_impl()
4076 if (ImageInfo->FileSize >= dir_size && ImageInfo->FileSize - dir_size >= dir_offset) { in exif_process_IFD_in_TIFF_impl()
4078 …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()
4151 if (entry_offset + entry_length > dir_offset + ifd_size in exif_process_IFD_in_TIFF_impl()
4152 && entry_offset == dir_offset + ifd_size) { in exif_process_IFD_in_TIFF_impl()
4153 ifd_size = entry_offset + entry_length - dir_offset; in exif_process_IFD_in_TIFF_impl()
4155 … "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()
4160 …ageInfo->file.list[sn].size && ImageInfo->FileSize - ImageInfo->file.list[sn].size >= dir_offset) { in exif_process_IFD_in_TIFF_impl()
4162 if (ImageInfo->FileSize < ifd_size || dir_offset > ImageInfo->FileSize - ifd_size) { in exif_process_IFD_in_TIFF_impl()
4163 … 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()
4171 … "Read from TIFF: filesize(x%04X), IFD(x%04X + x%04X)", ImageInfo->FileSize, dir_offset, ifd_size); in exif_process_IFD_in_TIFF_impl()
4242 (char *) (ImageInfo->file.list[sn].data - dir_offset), in exif_process_IFD_in_TIFF_impl()
4279 …F: filesize(x%04X) less than size of IFD(x%04X)", ImageInfo->FileSize, dir_offset+ImageInfo->file.… in exif_process_IFD_in_TIFF_impl()
4283 …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()
4287 …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()
4293 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
4303 result = exif_process_IFD_in_TIFF_impl(ImageInfo, dir_offset, section_index); in exif_process_IFD_in_TIFF()