Home
last modified time | relevance | path

Searched refs:src_size (Results 1 – 5 of 5) sorted by relevance

/system/extras/boot_control_copy/
Dboot_control_copy.cpp128 uint64_t src_size, dst_size; in module_setActiveBootSlot() local
154 src_fd = boot_info_open_partition(src_name, &src_size, O_RDONLY); in module_setActiveBootSlot()
167 if (src_size != dst_size) { in module_setActiveBootSlot()
172 src_size, dst_size); in module_setActiveBootSlot()
178 if (!copy_data(src_fd, dst_fd, src_size)) { in module_setActiveBootSlot()
/system/update_engine/lz4diff/
Dlz4diff_compress.cc71 switch (int src_size = uncompressed_size - block.uncompressed_offset; in TryCompressBlob() local
78 &src_size, in TryCompressBlob()
86 &src_size, in TryCompressBlob()
/system/update_engine/payload_consumer/
Dinstall_operation_executor.cc343 uint64_t src_size = in ExecuteZucchiniOperation() local
345 brillo::Blob source_bytes(src_size); in ExecuteZucchiniOperation()
353 TEST_AND_RETURN_FALSE(reader->Read(source_bytes.data(), src_size)); in ExecuteZucchiniOperation()
/system/media/camera/src/
Dcamera_metadata.c225 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/
Dcamera_metadata.h188 size_t src_size);