Lines Matching refs:subs
33 regmatch_t subs[NS]; local
93 subs[0].rm_so = startoff;
94 subs[0].rm_eo = strlen(argv[optind]) - endoff;
96 err = regexec(&re, argv[optind], (size_t)NS, subs, eopts);
104 len = (int)(subs[0].rm_eo - subs[0].rm_so);
105 if (subs[0].rm_so != -1) {
108 argv[optind] + subs[0].rm_so);
111 argv[optind] + subs[0].rm_so);
114 if (subs[i].rm_so != -1)
116 (int)(subs[i].rm_eo - subs[i].rm_so),
117 argv[optind] + subs[i].rm_so);
214 regmatch_t subs[NSUBS]; local
257 subs[0].rm_so = strchr(f2, '(') - f2 + 1;
258 subs[0].rm_eo = strchr(f2, ')') - f2;
260 err = regexec(&re, f2copy, NSUBS, subs, options('e', f1));
279 } else if ((grump = check(f2, subs[0], f3)) != NULL) {
298 grump = check(f2, subs[i], should[i]);