Searched refs:src_size (Results 1 – 3 of 3) sorted by relevance
/system/extras/boot_control_copy/ |
D | boot_control_copy.cpp | 139 uint64_t src_size, dst_size; in module_setActiveBootSlot() local 168 src_fd = boot_info_open_partition(src_name, &src_size, O_RDONLY); in module_setActiveBootSlot() 181 if (src_size != dst_size) { in module_setActiveBootSlot() 185 src_size, dst_size); in module_setActiveBootSlot() 191 if (!copy_data(src_fd, dst_fd, src_size)) { in module_setActiveBootSlot()
|
/system/media/camera/src/ |
D | camera_metadata.c | 225 size_t src_size) { in allocate_copy_camera_metadata_checked() argument 231 if (src_size < sizeof(camera_metadata_t)) { in allocate_copy_camera_metadata_checked() 237 void *buffer = calloc(1, src_size); in allocate_copy_camera_metadata_checked() 238 memcpy(buffer, src, src_size); in allocate_copy_camera_metadata_checked() 241 if (validate_camera_metadata_structure(metadata, &src_size) != OK) { in allocate_copy_camera_metadata_checked()
|
/system/media/camera/include/system/ |
D | camera_metadata.h | 188 size_t src_size);
|