Lines Matching refs:entry
65 ExifEntry* entry = exif_content_get_entry(exifData->ifd[ifd], in removeExistingEntry() local
67 if (entry) { in removeExistingEntry()
68 exif_content_remove_entry(exifData->ifd[ifd], entry); in removeExistingEntry()
76 ExifEntry* entry = exif_entry_new_mem(mem); in allocateEntry() local
79 entry->data = reinterpret_cast<unsigned char*>(exif_mem_alloc(mem, size)); in allocateEntry()
80 entry->size = size; in allocateEntry()
81 entry->tag = static_cast<ExifTag>(tag); in allocateEntry()
82 entry->components = numComponents; in allocateEntry()
83 entry->format = format; in allocateEntry()
86 return entry; in allocateEntry()
99 ExifEntry* entry = allocateEntry(tag, EXIF_FORMAT_RATIONAL, N); in createEntry() local
100 exif_content_add_entry(exifData->ifd[ifd], entry); in createEntry()
108 exif_set_rational(&entry->data[i * rationalSize], byteOrder, rational); in createEntry()
112 exif_entry_unref(entry); in createEntry()
136 ExifEntry* entry = allocateEntry(tag, format, size); in createEntry() local
137 memcpy(entry->data, data, size); in createEntry()
138 exif_content_add_entry(exifData->ifd[ifd], entry); in createEntry()
140 exif_entry_unref(entry); in createEntry()
170 ExifEntry* entry = exif_entry_new(); in createEntry() local
171 exif_content_add_entry(exifData->ifd[ifd], entry); in createEntry()
172 exif_entry_initialize(entry, static_cast<ExifTag>(tag)); in createEntry()
174 exif_entry_unref(entry); in createEntry()
186 ExifEntry* entry = allocateEntry(tag, EXIF_FORMAT_LONG, 1); in createEntry() local
187 exif_content_add_entry(exifData->ifd[ifd], entry); in createEntry()
188 exif_set_long(entry->data, byteOrder, value); in createEntry()
191 exif_entry_unref(entry); in createEntry()