Searched refs:get_fd (Results 1 – 7 of 7) sorted by relevance
| /freebsd/contrib/llvm-project/libc/src/__support/File/linux/ |
| H A D | file.cpp | 30 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 D | file.h | 31 int get_fd() const { return fd; } in get_fd() function
|
| /freebsd/contrib/libfido2/fuzz/ |
| H A D | preload-snoop.c | 42 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 D | raw_socket_stream.cpp | 350 auto getActiveFD = [this]() -> int { return this->get_fd(); }; in read()
|
| H A D | raw_ostream.cpp | 945 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 D | raw_ostream.h | 501 int get_fd() const { return FD; } in get_fd() function
|
| /freebsd/contrib/ee/ |
| H A D | ee.c | 165 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()
|