Home
last modified time | relevance | path

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

/system/bt/stack/sdp/
Dsdp_utils.cc871 bool sdpu_compare_uuid_arrays(uint8_t* p_uuid1, uint32_t len1, uint8_t* p_uuid2, in sdpu_compare_uuid_arrays() argument
876 if (((len1 != 2) && (len1 != 4) && (len1 != 16)) || in sdpu_compare_uuid_arrays()
883 if (len1 == len2) { in sdpu_compare_uuid_arrays()
884 if (len1 == 2) in sdpu_compare_uuid_arrays()
886 if (len1 == 4) in sdpu_compare_uuid_arrays()
890 return (memcmp(p_uuid1, p_uuid2, (size_t)len1) == 0); in sdpu_compare_uuid_arrays()
891 } else if (len1 > len2) { in sdpu_compare_uuid_arrays()
893 if (len1 == 4) { in sdpu_compare_uuid_arrays()
919 if (len1 == 4) in sdpu_compare_uuid_arrays()
920 memcpy(nu1, p_uuid1, (size_t)len1); in sdpu_compare_uuid_arrays()
[all …]
Dsdpint.h215 extern bool sdpu_compare_uuid_arrays(uint8_t* p_uuid1, uint32_t len1,
/system/bt/stack/l2cap/
Dl2c_utils.cc756 uint16_t len, cfg_len, buf_space, len1; in l2cu_send_peer_config_rej() local
765 len1 = 0xFFFF - len; in l2cu_send_peer_config_rej()
766 if (rej_len > len1) { in l2cu_send_peer_config_rej()