Home
last modified time | relevance | path

Searched refs:dst_size (Results 1 – 6 of 6) sorted by relevance

/system/media/audio_utils/include/audio_utils/
Dstring.h27 inline size_t audio_utils_strlcpy_zerofill(char *dst, const char *src, size_t dst_size) { in audio_utils_strlcpy_zerofill() argument
28 const size_t srclen = strlcpy(dst, src, dst_size); in audio_utils_strlcpy_zerofill()
30 if (srclen_with_zero < dst_size) { in audio_utils_strlcpy_zerofill()
31 const size_t num_zeroes = dst_size - srclen_with_zero; in audio_utils_strlcpy_zerofill()
/system/extras/boot_control_copy/
Dboot_control_copy.cpp128 uint64_t src_size, dst_size; in module_setActiveBootSlot() local
160 dst_fd = boot_info_open_partition("boot", &dst_size, O_RDWR); in module_setActiveBootSlot()
167 if (src_size != dst_size) { in module_setActiveBootSlot()
172 src_size, dst_size); in module_setActiveBootSlot()
/system/media/camera/include/system/
Dcamera_metadata.h201 camera_metadata_t *place_camera_metadata(void *dst, size_t dst_size,
278 camera_metadata_t *copy_camera_metadata(void *dst, size_t dst_size,
/system/update_engine/payload_consumer/
Dinstall_operation_executor.cc365 auto dst_size = patch_reader->header().new_size; in ExecuteZucchiniOperation() local
366 TEST_AND_RETURN_FALSE(dst_size == in ExecuteZucchiniOperation()
370 brillo::Blob patched_data(dst_size); in ExecuteZucchiniOperation()
/system/media/camera/src/
Dcamera_metadata.c267 size_t dst_size, in place_camera_metadata() argument
274 if (memory_needed > dst_size) { in place_camera_metadata()
276 memory_needed, dst_size); in place_camera_metadata()
345 camera_metadata_t* copy_camera_metadata(void *dst, size_t dst_size, in copy_camera_metadata() argument
350 if (dst_size < memory_needed) { in copy_camera_metadata()
352 memory_needed, dst_size); in copy_camera_metadata()
357 place_camera_metadata(dst, dst_size, src->entry_count, src->data_count); in copy_camera_metadata()
/system/media/camera/tests/
Dcamera_metadata_tests.cpp1887 size_t dst_size = m_size + offsetRange; in TEST() local
1888 uint8_t *dst = new uint8_t[dst_size]; in TEST()
1891 memset(dst, 0, dst_size); in TEST()