Lines Matching defs:matched
294 * Set sp[0] and ep[0] to the start and end of the matched string.
295 * Set sp[i] and ep[i] to the start and end of the i-th matched subpattern.
300 int matched;
307 matched = match(tpattern, strlen(tpattern), line, line_len, &sp, &ep, nsp);
315 matched = re_search(pattern, line, line_len, 0, line_len, &search_regs) >= 0;
316 if (matched)
333 matched = !regexec(pattern, line, RM_COUNT, rm, flags);
334 if (matched)
371 matched = (mcount > 0);
394 matched = (mcount > 0);
395 if (matched)
418 matched = (re_exec(line) == 1);
420 * re_exec doesn't seem to provide a way to get the matched string.
424 matched = ((*ep++ = regex(pattern, line)) != NULL);
425 if (matched)
430 matched = regexec2(pattern, line, notbol);
432 matched = regexec(pattern, line);
434 if (matched)
442 matched = (!(search_type & SRCH_NO_MATCH) && matched) ||
443 ((search_type & SRCH_NO_MATCH) && !matched);
444 return (matched);
449 int matched = match_pattern1(pattern, tpattern, line, line_len, sp, ep, nsp, notbol, search_type);
454 matched = 0;
456 return matched;