Lines Matching refs:match
436 static int match(const struct slre *, int,
446 while (match(r, pc + 2, s, len, ofs, NULL)) { in loop_greedy()
448 if (match(r, pc + r->code[pc + 1], s, len, ofs, NULL)) in loop_greedy()
461 while (match(r, pc + 2, s, len, ofs, NULL)) { in loop_non_greedy()
463 if (match(r, pc + r->code[pc + 1], s, len, ofs, NULL)) in loop_non_greedy()
503 match(const struct slre *r, int pc, const char *s, int len, in match() function
516 res = match(r, pc + 3, s, len, ofs, caps); in match()
519 res = match(r, pc + r->code[pc + 1], in match()
537 if (!match(r, pc + 2, s, len, ofs, caps)) in match()
552 res = match(r, pc + 2, s, len, ofs, caps); in match()
560 res = match(r, pc + 2, s, len, ofs, caps); in match()
653 res = match(r, 0, buf, len, &ofs, caps); in slre_match()
657 res = match(r, 0, buf, len, &ofs, caps); in slre_match()