Home
last modified time | relevance | path

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

/system/bt/stack/sdp/
Dsdp_utils.cc628 bool sdpu_compare_uuid_arrays(uint8_t* p_uuid1, uint32_t len1, uint8_t* p_uuid2, in sdpu_compare_uuid_arrays() argument
633 if (((len1 != 2) && (len1 != 4) && (len1 != 16)) || in sdpu_compare_uuid_arrays()
640 if (len1 == len2) { in sdpu_compare_uuid_arrays()
641 if (len1 == 2) in sdpu_compare_uuid_arrays()
643 if (len1 == 4) in sdpu_compare_uuid_arrays()
647 return (memcmp(p_uuid1, p_uuid2, (size_t)len1) == 0); in sdpu_compare_uuid_arrays()
648 } else if (len1 > len2) { in sdpu_compare_uuid_arrays()
650 if (len1 == 4) { in sdpu_compare_uuid_arrays()
676 if (len1 == 4) in sdpu_compare_uuid_arrays()
677 memcpy(nu1, p_uuid1, (size_t)len1); in sdpu_compare_uuid_arrays()
[all …]
Dsdpint.h268 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.cc744 uint16_t len, cfg_len, buf_space, len1; in l2cu_send_peer_config_rej() local
753 len1 = 0xFFFF - len; in l2cu_send_peer_config_rej()
754 if (rej_len > len1) { in l2cu_send_peer_config_rej()