Lines Matching refs:new_data
2441 char *new_data; in exif_thumbnail_build() local
2477 new_data = safe_erealloc(ImageInfo->Thumbnail.data, 1, ImageInfo->Thumbnail.size, new_size); in exif_thumbnail_build()
2478 ImageInfo->Thumbnail.data = new_data; in exif_thumbnail_build()
2483 memmove(new_data, "MM\x00\x2a\x00\x00\x00\x08", 8); in exif_thumbnail_build()
2485 memmove(new_data, "II\x2a\x00\x08\x00\x00\x00", 8); in exif_thumbnail_build()
2487 new_data += 8; in exif_thumbnail_build()
2488 php_ifd_set16u(new_data, info_list->count, ImageInfo->motorola_intel); in exif_thumbnail_build()
2489 new_data += 2; in exif_thumbnail_build()
2497 php_ifd_set16u(new_data + 0, info_data->tag, ImageInfo->motorola_intel); in exif_thumbnail_build()
2498 php_ifd_set16u(new_data + 2, TAG_FMT_ULONG, ImageInfo->motorola_intel); in exif_thumbnail_build()
2499 php_ifd_set32u(new_data + 4, 1, ImageInfo->motorola_intel); in exif_thumbnail_build()
2500 php_ifd_set32u(new_data + 8, new_move, ImageInfo->motorola_intel); in exif_thumbnail_build()
2502 php_ifd_set16u(new_data + 0, info_data->tag, ImageInfo->motorola_intel); in exif_thumbnail_build()
2503 php_ifd_set16u(new_data + 2, info_data->format, ImageInfo->motorola_intel); in exif_thumbnail_build()
2504 php_ifd_set32u(new_data + 4, info_data->length, ImageInfo->motorola_intel); in exif_thumbnail_build()
2507 memmove(new_data+8, value_ptr, 4); in exif_thumbnail_build()
2509 php_ifd_set32u(new_data+8, new_value, ImageInfo->motorola_intel); in exif_thumbnail_build()
2518 new_data += 12; in exif_thumbnail_build()
2520 memset(new_data, 0, 4); /* next ifd pointer */ in exif_thumbnail_build()