Searched refs:dst_size (Results 1 – 8 of 8) sorted by relevance
/system/media/audio_utils/include/audio_utils/ |
D | string.h | 24 inline size_t audio_utils_strlcpy_zerofill(char *dst, const char *src, size_t dst_size) { in audio_utils_strlcpy_zerofill() argument 25 const size_t srclen = strlcpy(dst, src, dst_size); in audio_utils_strlcpy_zerofill() 27 if (srclen_with_zero < dst_size) { in audio_utils_strlcpy_zerofill() 28 const size_t num_zeroes = dst_size - srclen_with_zero; in audio_utils_strlcpy_zerofill()
|
/system/extras/boot_control_copy/ |
D | boot_control_copy.cpp | 139 uint64_t src_size, dst_size; in module_setActiveBootSlot() local 174 dst_fd = boot_info_open_partition("boot", &dst_size, O_RDWR); in module_setActiveBootSlot() 181 if (src_size != dst_size) { in module_setActiveBootSlot() 185 src_size, dst_size); in module_setActiveBootSlot()
|
/system/media/camera/include/system/ |
D | camera_metadata.h | 201 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/media/camera/src/ |
D | camera_metadata.c | 267 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/bt/stack/sdp/ |
D | sdp_api.cc | 779 uint16_t dst_size) { in SDP_AttrStringCopy() argument 783 if (len > dst_size - 1) { in SDP_AttrStringCopy() 784 len = dst_size - 1; in SDP_AttrStringCopy()
|
/system/core/libpixelflinger/codeflinger/ |
D | GGLAssembler.cpp | 481 int dst_size, in build_incoming_component() argument 507 (parts.texel[i].component_size(component) < dst_size)) { in build_incoming_component() 539 if (need_expander && (fragment.size() < dst_size)) { in build_incoming_component() 542 expand(fragment, fragment, dst_size); in build_incoming_component() 547 (mInfo[component].needed || fragment.size()<dst_size)) in build_incoming_component()
|
D | GGLAssembler.h | 428 int dst_size,
|
/system/media/camera/tests/ |
D | camera_metadata_tests.cpp | 1887 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()
|