Searched refs:dataofs (Results 1 – 4 of 4) sorted by relevance
/external/libexif/libexif/fuji/ |
D | exif-mnote-data-fuji.c | 220 size_t dataofs = o + 8; in exif_mnote_data_fuji_load() local 223 dataofs = exif_get_long (buf + dataofs, n->order) + 6 + n->offset; in exif_mnote_data_fuji_load() 224 if ((dataofs + s < dataofs) || (dataofs + s < s) || in exif_mnote_data_fuji_load() 225 (dataofs + s >= buf_size)) { in exif_mnote_data_fuji_load() 228 "buffer (%zu >= %u)", dataofs + s, buf_size); in exif_mnote_data_fuji_load() 237 memcpy (n->entries[tcount].data, buf + dataofs, s); in exif_mnote_data_fuji_load()
|
/external/libexif/libexif/canon/ |
D | exif-mnote-data-canon.c | 265 size_t dataofs = o + 8; in exif_mnote_data_canon_load() local 266 if (s > 4) dataofs = exif_get_long (buf + dataofs, n->order) + 6; in exif_mnote_data_canon_load() 267 if ((dataofs + s < s) || (dataofs + s < dataofs) || (dataofs + s > buf_size)) { in exif_mnote_data_canon_load() 271 dataofs + s, buf_size); in exif_mnote_data_canon_load() 280 memcpy (n->entries[tcount].data, buf + dataofs, s); in exif_mnote_data_canon_load()
|
/external/libexif/libexif/pentax/ |
D | exif-mnote-data-pentax.c | 303 size_t dataofs = o + 8; in exif_mnote_data_pentax_load() local 306 dataofs = exif_get_long (buf + dataofs, n->order) + 6; in exif_mnote_data_pentax_load() 307 if ((dataofs + s < dataofs) || (dataofs + s < s) || in exif_mnote_data_pentax_load() 308 (dataofs + s > buf_size)) { in exif_mnote_data_pentax_load() 311 "of buffer (%zu > %u)", dataofs + s, buf_size); in exif_mnote_data_pentax_load() 320 memcpy (n->entries[tcount].data, buf + dataofs, s); in exif_mnote_data_pentax_load()
|
/external/libexif/libexif/olympus/ |
D | exif-mnote-data-olympus.c | 462 size_t dataofs = o + 8; in exif_mnote_data_olympus_load() local 465 dataofs = exif_get_long (buf + dataofs, n->order) + datao; in exif_mnote_data_olympus_load() 472 if (dataofs + s > buf_size && n->version == sanyoV1) { in exif_mnote_data_olympus_load() 474 dataofs -= datao + 6; in exif_mnote_data_olympus_load() 481 if ((dataofs + s < dataofs) || (dataofs + s < s) || in exif_mnote_data_olympus_load() 482 (dataofs + s > buf_size)) { in exif_mnote_data_olympus_load() 486 dataofs + s, buf_size); in exif_mnote_data_olympus_load() 495 memcpy (n->entries[tcount].data, buf + dataofs, s); in exif_mnote_data_olympus_load()
|