Lines Matching defs:p1
50 bool property_equals(const bt_property_t* p1, const bt_property_t* p2) {
53 if (!p1 || !p2 || p1->type != p2->type) {
65 if (p1->type == BT_PROPERTY_BDNAME && p1->len != p2->len) {
66 const bt_property_t *shorter = p1, *longer = p2;
67 if (p1->len > p2->len) {
69 longer = p1;
75 return p1->len == p2->len && !memcmp(p1->val, p2->val, p1->len);