Lines Matching refs:t
76 unsigned t; in main() local
84 for (t = 0; t < NTEST; t++) { in main()
85 ret = regcomp(®ex, tests[t].pattern, REG_EXTENDED); in main()
87 printf("expression \"%s\" failed to compile: %d\n", tests[t].pattern, ret); in main()
91 ret = regexec(®ex, tests[t].string, MAX_MATCH, matches, 0); in main()
93 if (ret != tests[t].ret) { in main()
95 tests[t].pattern, tests[t].string, ret, tests[t].ret); in main()
101 if (m < tests[t].nmatch) { 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()
108 tests[t].matches[m].rm_so, in main()
109 tests[t].matches[m].rm_eo); in main()