Lines Matching defs:data_bytes
304 size_t data_bytes = data_count *
306 return data_bytes <= 4 ? 0 : data_bytes;
319 size_t data_bytes =
327 if (data_bytes == 0) {
332 memcpy(dst->data + entry->data.offset, data, data_bytes);
333 dst->data_count += data_bytes;
445 size_t data_bytes = calculate_camera_metadata_entry_data_size(entry->type,
448 if (data_bytes > 0) {
451 uint8_t *end = start + data_bytes;
452 size_t length = dst->data_count - entry->data.offset - data_bytes;
462 e->data.offset -= data_bytes;
466 dst->data_count -= data_bytes;
487 size_t data_bytes =
493 if (data_bytes != entry_bytes) {
495 if (dst->data_capacity < dst->data_count + data_bytes - entry_bytes) {
520 if (data_bytes != 0) {
524 memcpy(dst->data + entry->data.offset, data, data_bytes);
525 dst->data_count += data_bytes;
527 } else if (data_bytes != 0) {
529 memcpy(dst->data + entry->data.offset, data, data_bytes);
532 if (data_bytes == 0) {