Searched refs:dataofs (Results 1 – 4 of 4) sorted by relevance
/third_party/libexif/libexif/fuji/ |
D | exif-mnote-data-fuji.c | 233 size_t dataofs = o + 8; in exif_mnote_data_fuji_load() local 236 dataofs = exif_get_long (buf + dataofs, n->order) + 6 + n->offset; in exif_mnote_data_fuji_load() 238 if (CHECKOVERFLOW(dataofs, buf_size, s)) { in exif_mnote_data_fuji_load() 241 "buffer (%u >= %u)", (unsigned)(dataofs + s), buf_size); in exif_mnote_data_fuji_load() 250 memcpy (n->entries[tcount].data, buf + dataofs, s); in exif_mnote_data_fuji_load()
|
/third_party/libexif/libexif/olympus/ |
D | exif-mnote-data-olympus.c | 474 size_t dataofs = o + 8; in exif_mnote_data_olympus_load() local 477 dataofs = exif_get_long (buf + dataofs, n->order) + datao; in exif_mnote_data_olympus_load() 484 if (dataofs > (buf_size - s) && n->version == sanyoV1) { in exif_mnote_data_olympus_load() 486 dataofs -= datao + 6; in exif_mnote_data_olympus_load() 493 if (CHECKOVERFLOW(dataofs, buf_size, s)) { in exif_mnote_data_olympus_load() 497 (unsigned)(dataofs + s), buf_size); in exif_mnote_data_olympus_load() 506 memcpy (n->entries[tcount].data, buf + dataofs, s); in exif_mnote_data_olympus_load()
|
/third_party/libexif/libexif/canon/ |
D | exif-mnote-data-canon.c | 283 size_t dataofs = o + 8; in exif_mnote_data_canon_load() local 284 if (s > 4) dataofs = exif_get_long (buf + dataofs, n->order) + 6; in exif_mnote_data_canon_load() 286 if (CHECKOVERFLOW(dataofs, buf_size, s)) { in exif_mnote_data_canon_load() 290 (unsigned)(dataofs + s), buf_size); in exif_mnote_data_canon_load() 299 memcpy (n->entries[tcount].data, buf + dataofs, s); in exif_mnote_data_canon_load()
|
/third_party/libexif/libexif/pentax/ |
D | exif-mnote-data-pentax.c | 324 size_t dataofs = o + 8; in exif_mnote_data_pentax_load() local 327 dataofs = exif_get_long (buf + dataofs, n->order) + 6; in exif_mnote_data_pentax_load() 329 if (CHECKOVERFLOW(dataofs, buf_size, s)) { in exif_mnote_data_pentax_load() 332 "of buffer (%u > %u)", (unsigned)(dataofs + s), buf_size); in exif_mnote_data_pentax_load() 341 memcpy (n->entries[tcount].data, buf + dataofs, s); in exif_mnote_data_pentax_load()
|