Lines Matching refs:refcount
1739 tool->refcount++;
1746 assert(tool->refcount > 0);
1748 tool->refcount--;
1749 if (tool->refcount > 0)
1867 libinput->refcount = 1;
1941 libinput->refcount++;
1957 assert(libinput->refcount > 0);
1958 libinput->refcount--;
1959 if (libinput->refcount > 0)
2075 seat->refcount = 1;
2087 seat->refcount++;
2103 assert(seat->refcount > 0);
2104 seat->refcount--;
2105 if (seat->refcount == 0) {
2148 device->refcount = 1;
2155 device->refcount++;
2169 assert(device->refcount > 0);
2170 device->refcount--;
2171 if (device->refcount == 0) {
3471 group->refcount++;
3479 assert(group->refcount > 0);
3481 group->refcount--;
3482 if (group->refcount > 0)
3773 group->refcount++;
3784 group->refcount = 1;
3828 assert(group->refcount > 0);
3829 group->refcount--;
3830 if (group->refcount == 0) {
4745 li->libwacom.refcount = 0;
4748 li->libwacom.refcount++;
4759 assert(li->libwacom.refcount >= 1);
4761 if (--li->libwacom.refcount == 0) {