Lines Matching refs:fd_match
288 int fd_match; member
339 int fd_match; in fd_cmp_open_std() local
341 fd_match = open(fn, O_RDONLY); in fd_cmp_open_std()
342 if (fd_match < 0) { in fd_cmp_open_std()
350 close(fd_match); in fd_cmp_open_std()
354 return fd_match; in fd_cmp_open_std()
393 fd_cmp->fd_match = err; in fd_cmp_open()
482 r = read(fd_cmp->fd_match, fd_cmp->buf_match + fd_cmp->head_match, in fd_cmp_regex()
485 ERR("could not read match fd %d\n", fd_cmp->fd_match); in fd_cmp_regex()
492 ERR("could not find match line from fd %d\n", fd_cmp->fd_match); in fd_cmp_regex()
541 rmatch = read(fd_cmp->fd_match, fd_cmp->buf_match + done, r - done); in fd_cmp_exact()
548 ERR("could not read match fd %d\n", fd_cmp->fd_match); in fd_cmp_exact()