Searched refs:get_fd (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/libc/src/__support/File/ |
| H A D | linux_file.cpp | 49 int get_fd() const { return fd; } in get_fd() function in __llvm_libc::LinuxFile 56 long ret = __llvm_libc::syscall(SYS_write, lf->get_fd(), data, size); in write_func() 66 long ret = __llvm_libc::syscall(SYS_read, lf->get_fd(), buf, size); in read_func() 77 long ret = __llvm_libc::syscall(SYS_lseek, lf->get_fd(), offset, whence); in seek_func() 80 long ret = __llvm_libc::syscall(SYS__lseek, lf->get_fd(), offset >> 32, in seek_func() 95 long ret = __llvm_libc::syscall(SYS_close, lf->get_fd()); in close_func() 105 long ret = __llvm_libc::syscall(SYS_fsync, lf->get_fd()); in flush_func()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | raw_ostream.cpp | 922 assert(get_fd() >= 0 && "File already closed."); in read() 923 ssize_t Ret = ::read(get_fd(), (void *)Ptr, Size); in read()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | raw_ostream.h | 480 int get_fd() const { return FD; } in get_fd() function
|