Home
last modified time | relevance | path

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

/system/bt/stack/sdp/
Dsdp_utils.cc875 bool sdpu_compare_uuid_arrays(uint8_t* p_uuid1, uint32_t len1, uint8_t* p_uuid2, in sdpu_compare_uuid_arrays() argument
880 if (((len1 != 2) && (len1 != 4) && (len1 != 16)) || in sdpu_compare_uuid_arrays()
887 if (len1 == len2) { in sdpu_compare_uuid_arrays()
888 if (len1 == 2) in sdpu_compare_uuid_arrays()
890 if (len1 == 4) in sdpu_compare_uuid_arrays()
894 return (memcmp(p_uuid1, p_uuid2, (size_t)len1) == 0); in sdpu_compare_uuid_arrays()
895 } else if (len1 > len2) { in sdpu_compare_uuid_arrays()
897 if (len1 == 4) { in sdpu_compare_uuid_arrays()
923 if (len1 == 4) in sdpu_compare_uuid_arrays()
924 memcpy(nu1, p_uuid1, (size_t)len1); in sdpu_compare_uuid_arrays()
[all …]
Dsdpint.h224 extern bool sdpu_compare_uuid_arrays(uint8_t* p_uuid1, uint32_t len1,
/system/bt/stack/l2cap/
Dl2c_utils.cc730 uint16_t len, cfg_len, buf_space, len1; in l2cu_send_peer_config_rej() local
739 len1 = 0xFFFF - len; in l2cu_send_peer_config_rej()
740 if (rej_len > len1) { in l2cu_send_peer_config_rej()