Home
last modified time | relevance | path

Searched refs:total_len (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_discovery.cc298 uint32_t total_len; in add_attr() local
318 total_len = attr_len - 4 + (uint16_t)sizeof(tSDP_DISC_ATTR); in add_attr()
320 total_len = sizeof(tSDP_DISC_ATTR); in add_attr()
329 total_len = (total_len + 3) & ~3; in add_attr()
332 if (p_db->mem_free < total_len) return (NULL); in add_attr()
351 total_len = 0; in add_attr()
430 total_len = 0; in add_attr()
471 p_db->p_free_mem += total_len; in add_attr()
472 p_db->mem_free -= total_len; in add_attr()
/packages/modules/Virtualization/pvmfw/avb/tests/
Dapi_test.rs246 let total_len = kernel.len() as u64; in kernel_footer_with_vbmeta_offset_overwritten_fails_verification() localVariable
248 assert!(footer.vbmeta_offset < total_len); in kernel_footer_with_vbmeta_offset_overwritten_fails_verification()
261 let wrong_offsets = [total_len, u64::MAX]; in kernel_footer_with_vbmeta_offset_overwritten_fails_verification()
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_sr.cc161 size_t total_len, len; in build_read_multi_rsp() local
196 total_len = p_buf->len; in build_read_multi_rsp()
198 total_len += 2; in build_read_multi_rsp()
201 if (total_len > mtu) { in build_read_multi_rsp()
206 len = std::min((size_t) p_rsp->attr_value.len, mtu - total_len); in build_read_multi_rsp()