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

/PHP_5_6/ext/exif/
H A Dexif.c3523 size_t ifd_size, dir_size, entry_offset, next_offset, entry_length, entry_value=0, fgot; local
3539 dir_size = 2/*num dir entries*/ +12/*length of entry*/*num_entries +4/* offset to next ifd (points to thumbnail or NULL)*/;
3540 if (ImageInfo->FileSize >= dir_offset+dir_size) {
3542 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);
3544 if (exif_file_sections_realloc(ImageInfo, sn, dir_size TSRMLS_CC)) {
3547 php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+2), dir_size-2);
3548 /*exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Dump: %s", exif_char_dump(ImageInfo->file.list[sn].data, dir_size, 0));*/
3549 next_offset = php_ifd_get32u(ImageInfo->file.list[sn].data + dir_size - 4, ImageInfo->motorola_intel);
3554 ifd_size = dir_size;
3624 if (ifd_size > dir_size) {
[all...]
/PHP_5_6/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;

Completed in 17 milliseconds