Lines Matching refs:matches
48 regmatch_t matches[MAX_MATCH]; member
53 .ret = 0, .nmatch = 1, .matches = { { .rm_so = 0, .rm_eo = 1 } }
56 .ret = 0, .nmatch = 1, .matches = { { .rm_so = 0, .rm_eo = 3 } }
59 .ret = 0, .nmatch = 4, .matches = {
67 .ret = 0, .nmatch = 1, .matches = { { .rm_so = 3, .rm_eo = 10 } }
79 regmatch_t matches[MAX_MATCH]; in main() local
91 ret = regexec(®ex, tests[t].string, MAX_MATCH, matches, 0); in main()
102 if (matches[m].rm_so != tests[t].matches[m].rm_so || in main()
103 matches[m].rm_eo != tests[t].matches[m].rm_eo) { in main()
106 matches[m].rm_so, in main()
107 matches[m].rm_eo, in main()
108 tests[t].matches[m].rm_so, in main()
109 tests[t].matches[m].rm_eo); in main()
113 if (matches[m].rm_so != -1) { in main()