Lines Matching refs:err
35 int err; local
78 err = regcomp(&re, argv[optind++], copts);
79 if (err) {
80 len = regerror(err, &re, erbuf, sizeof(erbuf));
82 eprint(err), len, sizeof(erbuf), erbuf);
96 err = regexec(&re, argv[optind], (size_t)NS, subs, eopts);
97 if (err) {
98 len = regerror(err, &re, erbuf, sizeof(erbuf));
100 eprint(err), len, sizeof(erbuf), erbuf);
219 int err; local
230 err = regcomp(&re, f0copy, opts);
231 if (err != 0 && (!opt('C', f1) || err != efind(f2))) {
233 len = regerror(err, &re, erbuf, sizeof(erbuf));
235 line, type, eprint(err), len,
238 } else if (err == 0 && opt('C', f1)) {
243 err = 1; /* so we won't try regexec */
246 if (err != 0) {
260 err = regexec(&re, f2copy, NSUBS, subs, options('e', f1));
262 if (err != 0 && (f3 != NULL || err != REG_NOMATCH)) {
264 len = regerror(err, &re, erbuf, sizeof(erbuf));
266 line, type, eprint(err), len,
269 } else if (err != 0) {
276 err = 1; /* just on principle */
282 err = 1;
285 if (err != 0 || f4 == NULL) {
303 err = 1;
483 eprint(err) in eprint() argument
484 int err; in eprint()
489 len = regerror(REG_ITOA|err, (regex_t *)NULL, epbuf, sizeof(epbuf));