Lines Matching refs:p_uuid
42 static void *allocate_attr_in_db(tGATT_SVC_DB *p_db, tBT_UUID *p_uuid, tGATT_PERM perm);
910 static void *allocate_attr_in_db(tGATT_SVC_DB *p_db, tBT_UUID *p_uuid, tGATT_PERM perm) in allocate_attr_in_db() argument
917 if (p_uuid == NULL) in allocate_attr_in_db()
923 if (p_uuid->len == LEN_UUID_16) in allocate_attr_in_db()
925 else if (p_uuid->len == LEN_UUID_32) in allocate_attr_in_db()
948 if (p_uuid->len == LEN_UUID_16 && p_uuid->uu.uuid16 != GATT_ILLEGAL_UUID) in allocate_attr_in_db()
951 p_attr16->uuid = p_uuid->uu.uuid16; in allocate_attr_in_db()
953 else if (p_uuid->len == LEN_UUID_32) in allocate_attr_in_db()
957 p_attr32->uuid = p_uuid->uu.uuid32; in allocate_attr_in_db()
959 else if (p_uuid->len == LEN_UUID_128) in allocate_attr_in_db()
963 memcpy(p_attr128->uuid, p_uuid->uu.uuid128, LEN_UUID_128); in allocate_attr_in_db()