Lines Matching refs:group
76 xf86MatchGroup *group, *next; in xf86freeInputClassList() local
82 xorg_list_for_each_entry_safe(group, next, &ptr->match_product, entry) { in xf86freeInputClassList()
83 xorg_list_del(&group->entry); in xf86freeInputClassList()
84 for (list = group->values; *list; list++) in xf86freeInputClassList()
86 free(group); in xf86freeInputClassList()
88 xorg_list_for_each_entry_safe(group, next, &ptr->match_vendor, entry) { in xf86freeInputClassList()
89 xorg_list_del(&group->entry); in xf86freeInputClassList()
90 for (list = group->values; *list; list++) in xf86freeInputClassList()
92 free(group); in xf86freeInputClassList()
94 xorg_list_for_each_entry_safe(group, next, &ptr->match_device, entry) { in xf86freeInputClassList()
95 xorg_list_del(&group->entry); in xf86freeInputClassList()
96 for (list = group->values; *list; list++) in xf86freeInputClassList()
98 free(group); in xf86freeInputClassList()
100 xorg_list_for_each_entry_safe(group, next, &ptr->match_os, entry) { in xf86freeInputClassList()
101 xorg_list_del(&group->entry); in xf86freeInputClassList()
102 for (list = group->values; *list; list++) in xf86freeInputClassList()
104 free(group); in xf86freeInputClassList()
106 xorg_list_for_each_entry_safe(group, next, &ptr->match_pnpid, entry) { in xf86freeInputClassList()
107 xorg_list_del(&group->entry); in xf86freeInputClassList()
108 for (list = group->values; *list; list++) in xf86freeInputClassList()
110 free(group); in xf86freeInputClassList()
112 xorg_list_for_each_entry_safe(group, next, &ptr->match_usbid, entry) { in xf86freeInputClassList()
113 xorg_list_del(&group->entry); in xf86freeInputClassList()
114 for (list = group->values; *list; list++) in xf86freeInputClassList()
116 free(group); in xf86freeInputClassList()
118 xorg_list_for_each_entry_safe(group, next, &ptr->match_driver, entry) { in xf86freeInputClassList()
119 xorg_list_del(&group->entry); in xf86freeInputClassList()
120 for (list = group->values; *list; list++) in xf86freeInputClassList()
122 free(group); in xf86freeInputClassList()
124 xorg_list_for_each_entry_safe(group, next, &ptr->match_tag, entry) { in xf86freeInputClassList()
125 xorg_list_del(&group->entry); in xf86freeInputClassList()
126 for (list = group->values; *list; list++) in xf86freeInputClassList()
128 free(group); in xf86freeInputClassList()
130 xorg_list_for_each_entry_safe(group, next, &ptr->match_layout, entry) { in xf86freeInputClassList()
131 xorg_list_del(&group->entry); in xf86freeInputClassList()
132 for (list = group->values; *list; list++) in xf86freeInputClassList()
134 free(group); in xf86freeInputClassList()
158 xf86MatchGroup *group; in add_group_entry() local
160 group = malloc(sizeof(*group)); in add_group_entry()
161 if (group) { in add_group_entry()
162 group->is_negated = (type == MATCH_NEGATED); in add_group_entry()
163 group->values = values; in add_group_entry()
164 xorg_list_add(&group->entry, head); in add_group_entry()
398 const xf86MatchGroup *group; in xf86printInputClassSection() local
410 xorg_list_for_each_entry(group, &ptr->match_product, entry) { in xf86printInputClassSection()
412 for (cur = group->values; *cur; cur++) in xf86printInputClassSection()
413 fprintf(cf, "%s%s", cur == group->values ? "" : TOKEN_SEP, in xf86printInputClassSection()
417 xorg_list_for_each_entry(group, &ptr->match_vendor, entry) { in xf86printInputClassSection()
419 for (cur = group->values; *cur; cur++) in xf86printInputClassSection()
420 fprintf(cf, "%s%s", cur == group->values ? "" : TOKEN_SEP, in xf86printInputClassSection()
424 xorg_list_for_each_entry(group, &ptr->match_device, entry) { in xf86printInputClassSection()
426 for (cur = group->values; *cur; cur++) in xf86printInputClassSection()
427 fprintf(cf, "%s%s", cur == group->values ? "" : TOKEN_SEP, in xf86printInputClassSection()
431 xorg_list_for_each_entry(group, &ptr->match_os, entry) { in xf86printInputClassSection()
433 for (cur = group->values; *cur; cur++) in xf86printInputClassSection()
434 fprintf(cf, "%s%s", cur == group->values ? "" : TOKEN_SEP, in xf86printInputClassSection()
438 xorg_list_for_each_entry(group, &ptr->match_pnpid, entry) { in xf86printInputClassSection()
440 for (cur = group->values; *cur; cur++) in xf86printInputClassSection()
441 fprintf(cf, "%s%s", cur == group->values ? "" : TOKEN_SEP, in xf86printInputClassSection()
445 xorg_list_for_each_entry(group, &ptr->match_usbid, entry) { in xf86printInputClassSection()
447 for (cur = group->values; *cur; cur++) in xf86printInputClassSection()
448 fprintf(cf, "%s%s", cur == group->values ? "" : TOKEN_SEP, in xf86printInputClassSection()
452 xorg_list_for_each_entry(group, &ptr->match_driver, entry) { in xf86printInputClassSection()
454 for (cur = group->values; *cur; cur++) in xf86printInputClassSection()
455 fprintf(cf, "%s%s", cur == group->values ? "" : TOKEN_SEP, in xf86printInputClassSection()
459 xorg_list_for_each_entry(group, &ptr->match_tag, entry) { in xf86printInputClassSection()
461 for (cur = group->values; *cur; cur++) in xf86printInputClassSection()
462 fprintf(cf, "%s%s", cur == group->values ? "" : TOKEN_SEP, in xf86printInputClassSection()
466 xorg_list_for_each_entry(group, &ptr->match_layout, entry) { in xf86printInputClassSection()
468 for (cur = group->values; *cur; cur++) in xf86printInputClassSection()
469 fprintf(cf, "%s%s", cur == group->values ? "" : TOKEN_SEP, in xf86printInputClassSection()