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

/PHP_5_3/ext/standard/
H A Dimage.c803 size_t ifd_size, dir_size, entry_value, width=0, height=0, ifd_addr; local
819 dir_size = 2/*num dir entries*/ +12/*length of entry*/*num_entries +4/* offset to next ifd (points to thumbnail or NULL)*/;
820 ifd_size = dir_size;
822 if (php_stream_read(stream, ifd_data+2, dir_size-2) != dir_size-2) {
827 ifd_size = dir_size;
/PHP_5_3/ext/exif/
H A Dexif.c3555 size_t ifd_size, dir_size, entry_offset, next_offset, entry_length, entry_value=0, fgot; local
3571 dir_size = 2/*num dir entries*/ +12/*length of entry*/*num_entries +4/* offset to next ifd (points to thumbnail or NULL)*/;
3572 if (ImageInfo->FileSize >= dir_offset+dir_size) {
3574 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);
3576 if (exif_file_sections_realloc(ImageInfo, sn, dir_size TSRMLS_CC)) {
3579 php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+2), dir_size-2);
3580 /*exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Dump: %s", exif_char_dump(ImageInfo->file.list[sn].data, dir_size, 0));*/
3581 next_offset = php_ifd_get32u(ImageInfo->file.list[sn].data + dir_size - 4, ImageInfo->motorola_intel);
3586 ifd_size = dir_size;
3656 if (ifd_size > dir_size) {
[all...]

Completed in 11 milliseconds