Lines Matching refs:len1
871 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()
921 else if (len1 == 2) in sdpu_compare_uuid_arrays()
922 memcpy(nu1 + 2, p_uuid1, (size_t)len1); in sdpu_compare_uuid_arrays()
1004 uint16_t len1; in sdpu_get_list_len() local
1010 len1 = sdpu_get_attrib_seq_len(p_rec, attr_seq); in sdpu_get_list_len()
1012 if (len1 != 0) in sdpu_get_list_len()
1013 len += len1; in sdpu_get_list_len()
1032 uint16_t len1 = 0; in sdpu_get_attrib_seq_len() local
1044 len1 += sdpu_get_attrib_entry_len(p_attr); in sdpu_get_attrib_seq_len()
1057 return len1; in sdpu_get_attrib_seq_len()