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

/PHP_5_4/ext/standard/
H A Dimage.c807 size_t ifd_size, dir_size, entry_value, width=0, height=0, ifd_addr; local
823 dir_size = 2/*num dir entries*/ +12/*length of entry*/*num_entries +4/* offset to next ifd (points to thumbnail or NULL)*/;
824 ifd_size = dir_size;
826 if (php_stream_read(stream, ifd_data+2, dir_size-2) != dir_size-2) {
831 ifd_size = dir_size;
/PHP_5_4/ext/exif/
H A Dexif.c3533 size_t ifd_size, dir_size, entry_offset, next_offset, entry_length, entry_value=0, fgot; local
3549 dir_size = 2/*num dir entries*/ +12/*length of entry*/*num_entries +4/* offset to next ifd (points to thumbnail or NULL)*/;
3550 if (ImageInfo->FileSize >= dir_offset+dir_size) {
3552 exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Read from TIFF: filesize(x%04X), IFD dir(x%04X + x%04X), IFD entries(%d)", ImageInfo->FileSize, dir_offset+2, dir_size-2, num_entries);
3554 if (exif_file_sections_realloc(ImageInfo, sn, dir_size TSRMLS_CC)) {
3557 php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+2), dir_size-2);
3558 /*exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Dump: %s", exif_char_dump(ImageInfo->file.list[sn].data, dir_size, 0));*/
3559 next_offset = php_ifd_get32u(ImageInfo->file.list[sn].data + dir_size - 4, ImageInfo->motorola_intel);
3564 ifd_size = dir_size;
3634 if (ifd_size > dir_size) {
[all...]

Completed in 15 milliseconds