Lines Matching refs:value_ptr

1553 … *dump_free, int format, int components, int length, int motorola_intel, char *value_ptr) /* {{{ */  in exif_dump_data()  argument
1560 return value_ptr ? value_ptr : "<no data>"; in exif_dump_data()
1584 snprintf(dump + len, 4 + 1, "0x%02X", *value_ptr); in exif_dump_data()
1586 value_ptr++; in exif_dump_data()
1591 snprintf(dump + len, 6 + 1, "0x%04X", php_ifd_get16s(value_ptr, motorola_intel)); in exif_dump_data()
1593 value_ptr += 2; in exif_dump_data()
1598 snprintf(dump + len, 6 + 1, "0x%04X", php_ifd_get32s(value_ptr, motorola_intel)); in exif_dump_data()
1600 value_ptr += 4; in exif_dump_data()
1605 …mp + len, 13 + 1, "0x%04X/0x%04X", php_ifd_get32s(value_ptr, motorola_intel), php_ifd_get32s(value… in exif_dump_data()
1607 value_ptr += 8; in exif_dump_data()
2782 char *value_ptr, *data_ptr; in exif_ifd_make_value() local
2788 value_ptr = safe_emalloc(max(byte_count, 4), 1, 0); in exif_ifd_make_value()
2789 memset(value_ptr, 0, 4); in exif_ifd_make_value()
2791 return value_ptr; in exif_ifd_make_value()
2796 memmove(value_ptr, info_data->value.s, byte_count); in exif_ifd_make_value()
2797 return value_ptr; in exif_ifd_make_value()
2799 *value_ptr = info_data->value.u; in exif_ifd_make_value()
2800 return value_ptr; in exif_ifd_make_value()
2802 *value_ptr = info_data->value.i; in exif_ifd_make_value()
2803 return value_ptr; in exif_ifd_make_value()
2805 data_ptr = value_ptr; in exif_ifd_make_value()
2850 return value_ptr; in exif_ifd_make_value()
2859 void *value_ptr; in exif_thumbnail_build() local
2922 value_ptr = exif_ifd_make_value(info_data, ImageInfo->motorola_intel); in exif_thumbnail_build()
2924 memmove(new_data+8, value_ptr, 4); in exif_thumbnail_build()
2930 memmove(ImageInfo->Thumbnail.data+new_value, value_ptr, byte_count); in exif_thumbnail_build()
2933 efree(value_ptr); in exif_thumbnail_build()
3140 static int exif_process_IFD_in_MAKERNOTE(image_info_type *ImageInfo, char * value_ptr, int value_le… in exif_process_IFD_in_MAKERNOTE() argument
3169 && strncmp(maker_note->id_string, value_ptr, maker_note->id_string_len)) in exif_process_IFD_in_MAKERNOTE()
3180 dir_start = value_ptr + maker_note->offset; in exif_process_IFD_in_MAKERNOTE()
3183 …e+maker_note->offset+displacement, value_len, value_len, exif_char_dump(value_ptr, value_len, (int… in exif_process_IFD_in_MAKERNOTE()
3205 offset_base = value_ptr; in exif_process_IFD_in_MAKERNOTE()
3223 offset_base = value_ptr + offset_diff; in exif_process_IFD_in_MAKERNOTE()
3237 if ((dir_start - value_ptr) > value_len - (2+NumDirEntries*12)) { in exif_process_IFD_in_MAKERNOTE()
3238 …ImageInfo, E_WARNING, "Illegal IFD size: 0x%04X > 0x%04X", (dir_start - value_ptr) + (2+NumDirEntr… in exif_process_IFD_in_MAKERNOTE()
3272 char *value_ptr, tagname[64], cbuf[32], *outside=NULL; in exif_process_IFD_TAG() local
3311 value_ptr = offset_base+offset_val; in exif_process_IFD_TAG()
3317 …if (byte_count > IFDlength || offset_val > IFDlength-byte_count || value_ptr < dir_entry || offset… in exif_process_IFD_TAG()
3322 if (value_ptr < dir_entry) { in exif_process_IFD_TAG()
3335 value_ptr = safe_emalloc(byte_count, 1, 0); in exif_process_IFD_TAG()
3336 outside = value_ptr; in exif_process_IFD_TAG()
3344 value_ptr = cbuf; in exif_process_IFD_TAG()
3355 fgot = php_stream_read(ImageInfo->infile, value_ptr, byte_count); in exif_process_IFD_TAG()
3365 value_ptr = dir_entry+8; in exif_process_IFD_TAG()
3366 offset_val= value_ptr-offset_base; in exif_process_IFD_TAG()
3371 …ata = exif_dump_data(&dump_free, format, components, length, ImageInfo->motorola_intel, value_ptr); in exif_process_IFD_TAG()
3387 …ImageInfo->Thumbnail.width = exif_convert_any_to_int(value_ptr, exif_rewrite_tag_format_to_unsigne… in exif_process_IFD_TAG()
3392 …ImageInfo->Thumbnail.height = exif_convert_any_to_int(value_ptr, exif_rewrite_tag_format_to_unsign… in exif_process_IFD_TAG()
3398 …ImageInfo->Thumbnail.offset = exif_convert_any_to_int(value_ptr, exif_rewrite_tag_format_to_unsign… in exif_process_IFD_TAG()
3408 …ImageInfo->Thumbnail.size = exif_convert_any_to_int(value_ptr, exif_rewrite_tag_format_to_unsigned… in exif_process_IFD_TAG()
3414 …ImageInfo->Thumbnail.size = exif_convert_any_to_int(value_ptr, exif_rewrite_tag_format_to_unsigned… in exif_process_IFD_TAG()
3424 if (byte_count>1 && (length=php_strnlen(value_ptr, byte_count)) > 0) { in exif_process_IFD_TAG()
3430 ImageInfo->CopyrightPhotographer = estrdup(value_ptr); in exif_process_IFD_TAG()
3431 ImageInfo->CopyrightEditor = estrndup(value_ptr+length+1, byte_count-length-1); in exif_process_IFD_TAG()
3438 ImageInfo->Copyright = estrndup(value_ptr, byte_count); in exif_process_IFD_TAG()
3448 …nt(ImageInfo, &(ImageInfo->UserComment), &(ImageInfo->UserCommentEncoding), value_ptr, byte_count); in exif_process_IFD_TAG()
3460 …ImageInfo, &(ImageInfo->xp_fields.list[ImageInfo->xp_fields.count-1]), tag, value_ptr, byte_count); in exif_process_IFD_TAG()
3467 …ImageInfo->ApertureFNumber = (float)exif_convert_any_format(value_ptr, format, ImageInfo->motorola… in exif_process_IFD_TAG()
3477 … = (float)exp(exif_convert_any_format(value_ptr, format, ImageInfo->motorola_intel)*log(2)*0.5); in exif_process_IFD_TAG()
3489 … = (float)(1/exp(exif_convert_any_format(value_ptr, format, ImageInfo->motorola_intel)*log(2))); in exif_process_IFD_TAG()
3498 …ImageInfo->ExifImageWidth = exif_convert_any_to_int(value_ptr, exif_rewrite_tag_format_to_unsigned… in exif_process_IFD_TAG()
3503 … ImageInfo->FocalplaneXRes = exif_convert_any_format(value_ptr, format, ImageInfo->motorola_intel); in exif_process_IFD_TAG()
3510 …ImageInfo->Distance = (float)exif_convert_any_format(value_ptr, format, ImageInfo->motorola_intel); in exif_process_IFD_TAG()
3515 switch((int)exif_convert_any_format(value_ptr, format, ImageInfo->motorola_intel)) { in exif_process_IFD_TAG()
3541 ImageInfo->make = estrndup(value_ptr, byte_count); in exif_process_IFD_TAG()
3545 ImageInfo->model = estrndup(value_ptr, byte_count); in exif_process_IFD_TAG()
3549 …if (!exif_process_IFD_in_MAKERNOTE(ImageInfo, value_ptr, byte_count, offset_base, IFDlength, displ… in exif_process_IFD_TAG()
3585 Subdir_start = offset_base + php_ifd_get32u(value_ptr, ImageInfo->motorola_intel); in exif_process_IFD_TAG()
3601 …tagname(tag, tagname, sizeof(tagname), tag_table), tag, format, components, value_ptr, byte_count); in exif_process_IFD_TAG()