| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_syscalls_netbsd.inc | 111 PRE_SYSCALL(read)(long long fd_, void *buf_, long long nbyte_) { 116 POST_SYSCALL(read)(long long res, long long fd_, void *buf_, long long nbyte_) { 121 PRE_SYSCALL(write)(long long fd_, void *buf_, long long nbyte_) { 127 (long long res, long long fd_, void *buf_, long long nbyte_) { 147 PRE_SYSCALL(close)(long long fd_) { COMMON_SYSCALL_FD_CLOSE((int)fd_); } 148 POST_SYSCALL(close)(long long res, long long fd_) { /* Nothing to do */ } 213 PRE_SYSCALL(fchdir)(long long fd_) { /* Nothing to do */ } 214 POST_SYSCALL(fchdir)(long long res, long long fd_) { /* Nothing to do */ } 262 (long long fd_, long long offset_, long long whence_) { 266 (long long res, long long fd_, long long offset_, long long whence_) { [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_syscalls_netbsd.inc | 110 PRE_SYSCALL(read)(long long fd_, void *buf_, long long nbyte_) { 115 POST_SYSCALL(read)(long long res, long long fd_, void *buf_, long long nbyte_) { 120 PRE_SYSCALL(write)(long long fd_, void *buf_, long long nbyte_) { 126 (long long res, long long fd_, void *buf_, long long nbyte_) { 146 PRE_SYSCALL(close)(long long fd_) { COMMON_SYSCALL_FD_CLOSE((int)fd_); } 147 POST_SYSCALL(close)(long long res, long long fd_) { /* Nothing to do */ } 212 PRE_SYSCALL(fchdir)(long long fd_) { /* Nothing to do */ } 213 POST_SYSCALL(fchdir)(long long res, long long fd_) { /* Nothing to do */ } 261 (long long fd_, long long offset_, long long whence_) { 265 (long long res, long long fd_, long long offset_, long long whence_) { [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_syscalls_netbsd.inc | 110 PRE_SYSCALL(read)(long long fd_, void *buf_, long long nbyte_) { 115 POST_SYSCALL(read)(long long res, long long fd_, void *buf_, long long nbyte_) { 120 PRE_SYSCALL(write)(long long fd_, void *buf_, long long nbyte_) { 126 (long long res, long long fd_, void *buf_, long long nbyte_) { 146 PRE_SYSCALL(close)(long long fd_) { COMMON_SYSCALL_FD_CLOSE((int)fd_); } 147 POST_SYSCALL(close)(long long res, long long fd_) { /* Nothing to do */ } 212 PRE_SYSCALL(fchdir)(long long fd_) { /* Nothing to do */ } 213 POST_SYSCALL(fchdir)(long long res, long long fd_) { /* Nothing to do */ } 261 (long long fd_, long long offset_, long long whence_) { 265 (long long res, long long fd_, long long offset_, long long whence_) { [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/gold/ |
| H A D | dwp.cc | 452 abiversion_(0), fd_(NULL), next_file_offset_(0), shnum_(1), sections_(), in Dwp_output_file() 653 FILE* fd_; member in gold::Dwp_output_file 1570 this->fd_ = ::fopen(this->name_, "wb"); in record_target_info() 1571 if (this->fd_ == NULL) in record_target_info() 1577 if (::fwrite(buf, 1, this->next_file_offset_, this->fd_) in record_target_info() 1671 ::fseek(this->fd_, file_offset, SEEK_SET); in add_contribution() 1672 if (::fwrite(contents, 1, len, this->fd_) < len) in add_contribution() 1890 ::fseek(this->fd_, file_offset, 0); in finalize() 1891 if (::fwrite(buf, 1, shstrtab_len, this->fd_) < shstrtab_len) in finalize() 1901 ::fseek(this->fd_, file_offset, 0); in finalize() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/gold/ |
| H A D | dwp.cc | 452 abiversion_(0), fd_(NULL), next_file_offset_(0), shnum_(1), sections_(), in Dwp_output_file() 653 FILE* fd_; member in gold::Dwp_output_file 1570 this->fd_ = ::fopen(this->name_, "wb"); in record_target_info() 1571 if (this->fd_ == NULL) in record_target_info() 1577 if (::fwrite(buf, 1, this->next_file_offset_, this->fd_) in record_target_info() 1671 ::fseek(this->fd_, file_offset, SEEK_SET); in add_contribution() 1672 if (::fwrite(contents, 1, len, this->fd_) < len) in add_contribution() 1890 ::fseek(this->fd_, file_offset, 0); in finalize() 1891 if (::fwrite(buf, 1, shstrtab_len, this->fd_) < shstrtab_len) in finalize() 1901 ::fseek(this->fd_, file_offset, 0); in finalize() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/ |
| H A D | gtest-port.cc | 1075 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
|