Lines Matching defs:attr1
1107 cmp_attr_fields(InputAttributes * attr1, InputAttributes * attr2)
1111 assert(attr1);
1113 assert(attr1 != attr2);
1114 assert(attr1->flags == attr2->flags);
1116 if (attr1->product != NULL) {
1117 assert(attr1->product != attr2->product);
1118 assert(strcmp(attr1->product, attr2->product) == 0);
1123 if (attr1->vendor != NULL) {
1124 assert(attr1->vendor != attr2->vendor);
1125 assert(strcmp(attr1->vendor, attr2->vendor) == 0);
1130 if (attr1->device != NULL) {
1131 assert(attr1->device != attr2->device);
1132 assert(strcmp(attr1->device, attr2->device) == 0);
1137 if (attr1->pnp_id != NULL) {
1138 assert(attr1->pnp_id != attr2->pnp_id);
1139 assert(strcmp(attr1->pnp_id, attr2->pnp_id) == 0);
1144 if (attr1->usb_id != NULL) {
1145 assert(attr1->usb_id != attr2->usb_id);
1146 assert(strcmp(attr1->usb_id, attr2->usb_id) == 0);
1151 tags1 = attr1->tags;
1176 tags1 = attr1->tags;