Home
last modified time | relevance | path

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

/system/bt/stack/sdp/
Dsdp_utils.c667 BOOLEAN sdpu_compare_uuid_arrays (UINT8 *p_uuid1, UINT32 len1, UINT8 *p_uuid2, UINT16 len2) in sdpu_compare_uuid_arrays() argument
672 if( ((len1 != 2) && (len1 != 4) && (len1 != 16)) || in sdpu_compare_uuid_arrays()
680 if (len1 == len2) in sdpu_compare_uuid_arrays()
682 if (len1 == 2) in sdpu_compare_uuid_arrays()
684 if (len1 == 4) in sdpu_compare_uuid_arrays()
688 return (memcmp (p_uuid1, p_uuid2, (size_t)len1) == 0); in sdpu_compare_uuid_arrays()
690 else if (len1 > len2) in sdpu_compare_uuid_arrays()
693 if (len1 == 4) in sdpu_compare_uuid_arrays()
727 if (len1 == 4) in sdpu_compare_uuid_arrays()
728 memcpy (nu1, p_uuid1, (size_t)len1); in sdpu_compare_uuid_arrays()
[all …]
Dsdpint.h287 extern BOOLEAN sdpu_compare_uuid_arrays (UINT8 *p_uuid1, UINT32 len1, UINT8 *p_uuid2, UINT16 len2);
/system/bt/stack/l2cap/
Dl2c_utils.c789 UINT16 len, cfg_len, buf_space, len1; in l2cu_send_peer_config_rej() local
797 len1 = 0xFFFF - len; in l2cu_send_peer_config_rej()
798 if (rej_len > len1) in l2cu_send_peer_config_rej()