Home
last modified time | relevance | path

Searched refs:fd_ (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/flang/runtime/
H A Dfile.cpp65 if (fd_ >= 0 && in Open()
103 if (fd_ >= 0) { in Open()
107 if (fd_ >= 0) { in Open()
114 if (fd_ < 0) { in Open()
127 if (fd_ < 0) { in Open()
144 if (::fstat(fd_, &buf) == 0) { in Open()
159 fd_ = fd; in Predefine()
414 if (fd_ >= 0) { in CloseFd()
415 if (fd_ <= 2) { in CloseFd()
418 if (::close(fd_) != 0) { in CloseFd()
[all …]
H A Dfile.h42 bool IsConnected() const { return fd_ >= 0; } in IsConnected()
90 int fd_{-1};
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_syscalls_netbsd.inc126 (long long res, long long fd_, void *buf_, long long nbyte_) {
146 PRE_SYSCALL(close)(long long fd_) { COMMON_SYSCALL_FD_CLOSE((int)fd_); }
212 PRE_SYSCALL(fchdir)(long long fd_) { /* Nothing to do */ }
261 (long long fd_, long long offset_, long long whence_) {
519 PRE_SYSCALL(dup)(long long fd_) { /* Nothing to do */ }
775 long long fd_, long long pos_) {
897 PRE_SYSCALL(fsync)(long long fd_) { /* Nothing to do */ }
1157 (long long res, long long fd_, long long length_) {
1542 long long fd_, long long PAD_, long long pos_) {
3088 PRE_SYSCALL(__futimes50)(long long fd_, void *tptr_) {
[all …]
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest-port.cc1075 explicit CapturedStream(int fd) : fd_(fd), uncaptured_fd_(dup(fd)) { in CapturedStream()
1121 dup2(captured_fd, fd_); in CapturedStream()
1133 dup2(uncaptured_fd_, fd_); in GetCapturedString()
1149 const int fd_; // A stream to capture. member in testing::internal::CapturedStream