Home
last modified time | relevance | path

Searched refs:get_fd (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/libc/src/__support/File/linux/
H A Dfile.cpp30 LIBC_NAMESPACE::syscall_impl<int>(SYS_write, lf->get_fd(), data, size); in linux_file_write()
40 LIBC_NAMESPACE::syscall_impl<int>(SYS_read, lf->get_fd(), buf, size); in linux_file_read()
49 auto result = internal::lseekimpl(lf->get_fd(), offset, whence); in linux_file_seek()
57 int ret = LIBC_NAMESPACE::syscall_impl<int>(SYS_close, lf->get_fd()); in linux_file_close()
182 return lf->get_fd(); in get_fileno()
H A Dfile.h31 int get_fd() const { return fd; } in get_fd() function
/freebsd/contrib/libfido2/fuzz/
H A Dpreload-snoop.c42 get_fd(const char *hid_path, const char *suffix) in get_fd() function
114 if ((fd_tuple->snoop_in = get_fd(path, "in")) < 0 || in open()
115 (fd_tuple->snoop_out = get_fd(path, "out")) < 0 || in open()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A Draw_socket_stream.cpp350 auto getActiveFD = [this]() -> int { return this->get_fd(); }; in read()
H A Draw_ostream.cpp945 assert(get_fd() >= 0 && "File already closed."); in read()
946 ssize_t Ret = ::read(get_fd(), (void *)Ptr, Size); in read()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A Draw_ostream.h501 int get_fd() const { return FD; } in get_fd() function
/freebsd/contrib/ee/
H A Dee.c165 int get_fd; /* file descriptor for reading a file */ variable
2380 if ((get_fd = open(tmp_file, O_RDONLY)) == -1) in check_fp()
2466 while (((length = read(get_fd, in_string, 512)) != 0) && (length != -1)) in get_file()
3386 get_fd = pipe_in[0]; in sh_command()