Lines Matching refs:entries
43 if (n->entries) { in exif_mnote_data_fuji_clear()
45 if (n->entries[i].data) { in exif_mnote_data_fuji_clear()
46 exif_mem_free (d->mem, n->entries[i].data); in exif_mnote_data_fuji_clear()
47 n->entries[i].data = NULL; in exif_mnote_data_fuji_clear()
49 exif_mem_free (d->mem, n->entries); in exif_mnote_data_fuji_clear()
50 n->entries = NULL; in exif_mnote_data_fuji_clear()
75 return mnote_fuji_entry_get_value (&n->entries[i], val, maxlen); in exif_mnote_data_fuji_get_value()
113 exif_set_short (*buf + o + 0, n->order, (ExifShort) n->entries[i].tag); in exif_mnote_data_fuji_save()
114 exif_set_short (*buf + o + 2, n->order, (ExifShort) n->entries[i].format); in exif_mnote_data_fuji_save()
115 exif_set_long (*buf + o + 4, n->order, n->entries[i].components); in exif_mnote_data_fuji_save()
117 s = exif_format_get_size (n->entries[i].format) * in exif_mnote_data_fuji_save()
118 n->entries[i].components; in exif_mnote_data_fuji_save()
146 if (!n->entries[i].data) memset (*buf + doff, 0, s); in exif_mnote_data_fuji_save()
147 else memcpy (*buf + doff, n->entries[i].data, s); in exif_mnote_data_fuji_save()
188 n->entries = exif_mem_alloc (en->mem, sizeof (MnoteFujiEntry) * c); in exif_mnote_data_fuji_load()
189 if (!n->entries) { in exif_mnote_data_fuji_load()
204 n->entries[tcount].tag = exif_get_short (buf + o, n->order); in exif_mnote_data_fuji_load()
205 n->entries[tcount].format = exif_get_short (buf + o + 2, n->order); in exif_mnote_data_fuji_load()
206 n->entries[tcount].components = exif_get_long (buf + o + 4, n->order); in exif_mnote_data_fuji_load()
207 n->entries[tcount].order = n->order; in exif_mnote_data_fuji_load()
210 "Loading entry 0x%x ('%s')...", n->entries[tcount].tag, in exif_mnote_data_fuji_load()
211 mnote_fuji_tag_get_name (n->entries[tcount].tag)); in exif_mnote_data_fuji_load()
217 s = exif_format_get_size (n->entries[tcount].format) * n->entries[tcount].components; in exif_mnote_data_fuji_load()
218 n->entries[tcount].size = s; in exif_mnote_data_fuji_load()
232 n->entries[tcount].data = exif_mem_alloc (en->mem, s); in exif_mnote_data_fuji_load()
233 if (!n->entries[tcount].data) { in exif_mnote_data_fuji_load()
237 memcpy (n->entries[tcount].data, buf + dataofs, s); in exif_mnote_data_fuji_load()
260 return note->entries[n].tag; in exif_mnote_data_fuji_get_id()
270 return mnote_fuji_tag_get_name (n->entries[i].tag); in exif_mnote_data_fuji_get_name()
280 return mnote_fuji_tag_get_title (n->entries[i].tag); in exif_mnote_data_fuji_get_title()
290 return mnote_fuji_tag_get_description (n->entries[i].tag); in exif_mnote_data_fuji_get_description()
305 n->entries[i].order = o; in exif_mnote_data_fuji_set_byte_order()
306 exif_array_set_byte_order (n->entries[i].format, n->entries[i].data, in exif_mnote_data_fuji_set_byte_order()
307 n->entries[i].components, o_orig, o); in exif_mnote_data_fuji_set_byte_order()