Searched refs:buf_match (Results 1 – 1 of 1) sorted by relevance
/external/kmod/testsuite/ |
D | testsuite.c | 293 char buf_match[BUFSZ]; member 472 p_match = memchr(fd_cmp->buf_match + done_match, '\n', in fd_cmp_regex() 475 if (fd_cmp->head_match >= sizeof(fd_cmp->buf_match)) { in fd_cmp_regex() 476 ERR("Read %zu bytes without a match\n", sizeof(fd_cmp->buf_match)); in fd_cmp_regex() 477 ERR("output: %.*s", (int)sizeof(fd_cmp->buf_match), fd_cmp->buf_match); in fd_cmp_regex() 482 r = read(fd_cmp->fd_match, fd_cmp->buf_match + fd_cmp->head_match, in fd_cmp_regex() 483 sizeof(fd_cmp->buf_match) - fd_cmp->head_match); in fd_cmp_regex() 489 p_match = memchr(fd_cmp->buf_match + done_match, '\n', 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() [all …]
|