Lines Matching refs:done_match
446 int done = 0, done_match = 0, r; in fd_cmp_regex() local
472 p_match = memchr(fd_cmp->buf_match + done_match, '\n', in fd_cmp_regex()
473 fd_cmp->head_match - done_match); in fd_cmp_regex()
489 p_match = memchr(fd_cmp->buf_match + done_match, '\n', in fd_cmp_regex()
490 fd_cmp->head_match - done_match); in fd_cmp_regex()
498 if (!fd_cmp_regex_one(fd_cmp->buf_match + done_match, fd_cmp->buf + done)) { in fd_cmp_regex()
500 ERR("pattern: %s\n", fd_cmp->buf_match + done_match); in fd_cmp_regex()
506 done_match = p_match - fd_cmp->buf_match + 1; in fd_cmp_regex()
519 if (done_match) { in fd_cmp_regex()
520 if (fd_cmp->head_match - done_match) in fd_cmp_regex()
521 memmove(fd_cmp->buf_match, fd_cmp->buf_match + done_match, in fd_cmp_regex()
522 fd_cmp->head_match - done_match); in fd_cmp_regex()
523 fd_cmp->head_match -= done_match; in fd_cmp_regex()