Lines Matching refs:p_uuid
42 static void *allocate_attr_in_db(tGATT_SVC_DB *p_db, tBT_UUID *p_uuid, tGATT_PERM perm);
923 static void *allocate_attr_in_db(tGATT_SVC_DB *p_db, tBT_UUID *p_uuid, tGATT_PERM perm) in allocate_attr_in_db() argument
930 if (p_uuid == NULL) in allocate_attr_in_db()
936 if (p_uuid->len == LEN_UUID_16) in allocate_attr_in_db()
938 else if (p_uuid->len == LEN_UUID_32) in allocate_attr_in_db()
961 if (p_uuid->len == LEN_UUID_16 && p_uuid->uu.uuid16 != GATT_ILLEGAL_UUID) in allocate_attr_in_db()
964 p_attr16->uuid = p_uuid->uu.uuid16; in allocate_attr_in_db()
966 else if (p_uuid->len == LEN_UUID_32) in allocate_attr_in_db()
970 p_attr32->uuid = p_uuid->uu.uuid32; in allocate_attr_in_db()
972 else if (p_uuid->len == LEN_UUID_128) in allocate_attr_in_db()
976 memcpy(p_attr128->uuid, p_uuid->uu.uuid128, LEN_UUID_128); in allocate_attr_in_db()