Home
last modified time | relevance | path

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

/system/bt/stack/sdp/
Dsdp_utils.cc629 bool sdpu_compare_uuid_arrays(uint8_t* p_uuid1, uint32_t len1, uint8_t* p_uuid2, in sdpu_compare_uuid_arrays() argument
634 if (((len1 != 2) && (len1 != 4) && (len1 != 16)) || in sdpu_compare_uuid_arrays()
641 if (len1 == len2) { in sdpu_compare_uuid_arrays()
642 if (len1 == 2) in sdpu_compare_uuid_arrays()
644 if (len1 == 4) in sdpu_compare_uuid_arrays()
648 return (memcmp(p_uuid1, p_uuid2, (size_t)len1) == 0); in sdpu_compare_uuid_arrays()
649 } else if (len1 > len2) { in sdpu_compare_uuid_arrays()
651 if (len1 == 4) { in sdpu_compare_uuid_arrays()
677 if (len1 == 4) in sdpu_compare_uuid_arrays()
678 memcpy(nu1, p_uuid1, (size_t)len1); in sdpu_compare_uuid_arrays()
[all …]
Dsdpint.h269 extern bool sdpu_compare_uuid_arrays(uint8_t* p_uuid1, uint32_t len1,
/system/extras/simpleperf/
DUnixSocket.h73 uint32_t len1 = data_.size() - write_head; in StoreMessage() local
74 memcpy(data_.data() + write_head, &message, len1); in StoreMessage()
75 memcpy(data_.data(), reinterpret_cast<const char*>(&message) + len1, in StoreMessage()
76 message.len - len1); in StoreMessage()
/system/bt/stack/l2cap/
Dl2c_utils.cc736 uint16_t len, cfg_len, buf_space, len1; in l2cu_send_peer_config_rej() local
745 len1 = 0xFFFF - len; in l2cu_send_peer_config_rej()
746 if (rej_len > len1) { in l2cu_send_peer_config_rej()