Home | History | Annotate | Download | only in sdp

Lines Matching refs:len1

663 BOOLEAN sdpu_compare_uuid_arrays (UINT8 *p_uuid1, UINT32 len1, UINT8 *p_uuid2, UINT16 len2)
669 if (len1 == len2)
671 if (len1 == 2)
673 if (len1 == 4)
677 return (memcmp (p_uuid1, p_uuid2, (size_t)len1) == 0);
679 else if (len1 > len2)
681 /* If the len1 was 4-byte, (so len2 is 2-byte), compare on the fly */
682 if (len1 == 4)
689 /* Normalize UUIDs to 16-byte form, then compare. Len1 must be 16 */
703 /* len2 is greater than len1 */
704 /* If the len2 was 4-byte, (so len1 is 2-byte), compare on the fly */
712 /* Normalize UUIDs to 16-byte form, then compare. Len1 must be 16 */
716 if (len1 == 4)
717 memcpy (nu1, p_uuid1, (size_t)len1);
719 memcpy (nu1 + 2, p_uuid1, (size_t)len1);
855 UINT16 len1;
861 len1 = sdpu_get_attrib_seq_len(p_rec, attr_seq );
863 if (len1 != 0)
864 len += len1;
884 UINT16 len1 = 0;
901 len1 += sdpu_get_attrib_entry_len (p_attr);
917 return len1;