Home
last modified time | relevance | path

Searched refs:__fd (Results 1 – 25 of 26) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/
H A Dio_context475 async_wait(int __fd, int __w, _Op&& __op)
487 make_unique<__type>(std::move(__op), __fd, __w));
488 _M_reactor._M_fd_interest(__fd, __w);
491 void _M_add_fd(int __fd) { _M_reactor._M_add_fd(__fd); }
492 void _M_remove_fd(int __fd) { _M_reactor._M_remove_fd(__fd); }
494 void cancel(int __fd, error_code&)
508 if ((*__it)->_M_fd == __fd)
521 _M_reactor._M_not_interested(__fd);
526 __async_operation(int __fd, int __ev) : _M_fd(__fd), _M_ev(__ev) { }
541 __async_operation_impl(_Op&& __op, int __fd, int __ev)
[all …]
H A Dsocket984 __fd = native_handle()]
987 if (!__ec && ::connect(__fd, (const sockaddr*)__ep.data(),
1006 ::pollfd __fd;
1007 __fd.fd = native_handle();
1008 __fd.events = static_cast<int>(__w);
1009 int __res = ::poll(&__fd, 1, -1);
1195 __fd = this->native_handle()]
1204 ssize_t __result = ::recvmsg(__fd, &__msg, __flags);
1302 __fd = this->native_handle()]
1311 ssize_t __result = ::recvmsg(__fd, &__msg, __flags);
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/
H A Dio_context483 async_wait(int __fd, int __w, _Op&& __op)
495 make_unique<__type>(std::move(__op), __fd, __w));
496 _M_reactor._M_fd_interest(__fd, __w);
499 void _M_add_fd(int __fd) { _M_reactor._M_add_fd(__fd); }
500 void _M_remove_fd(int __fd) { _M_reactor._M_remove_fd(__fd); }
502 void cancel(int __fd, error_code&)
516 if ((*__it)->_M_fd == __fd)
529 _M_reactor._M_not_interested(__fd);
534 __async_operation(int __fd, int __ev) : _M_fd(__fd), _M_ev(__ev) { }
549 __async_operation_impl(_Op&& __op, int __fd, int __ev)
[all …]
H A Dsocket1020 __fd = native_handle()]
1023 if (!__ec && ::connect(__fd, (const sockaddr*)__ep.data(),
1042 ::pollfd __fd;
1043 __fd.fd = native_handle();
1044 __fd.events = static_cast<int>(__w);
1045 int __res = ::poll(&__fd, 1, -1);
1231 __fd = this->native_handle()]
1240 ssize_t __result = ::recvmsg(__fd, &__msg, __flags);
1338 __fd = this->native_handle()]
1347 ssize_t __result = ::recvmsg(__fd, &__msg, __flags);
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/config/io/
H A Dbasic_file_stdio.cc114 xwrite(int __fd, const char* __s, std::streamsize __n) in xwrite() argument
120 const std::streamsize __ret = write(__fd, __s, __nleft); in xwrite()
139 xwritev(int __fd, const char* __s1, std::streamsize __n1, in xwritev() argument
154 const std::streamsize __ret = writev(__fd, __iov, 2); in xwritev()
167 __nleft -= xwrite(__fd, __s2 + __off, __n2 - __off); in xwritev()
216 __basic_file<char>::sys_open(int __fd, ios_base::openmode __mode) throw () in sys_open() argument
220 if (__c_mode && !this->is_open() && (_M_cfile = fdopen(__fd, __c_mode))) in sys_open()
224 if (__fd == 0) in sys_open()
H A Dbasic_file_stdio.h96 sys_open(int __fd, ios_base::openmode __mode) throw (); in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/config/io/
H A Dbasic_file_stdio.cc123 xwrite(int __fd, const char* __s, std::streamsize __n) in xwrite()
133 const std::streamsize __ret = write(__fd, __s, __nleft); in xwrite()
153 xwritev(int __fd, const char* __s1, std::streamsize __n1, in xwritev() argument
168 const std::streamsize __ret = writev(__fd, __iov, 2); in xwritev()
181 __nleft -= xwrite(__fd, __s2 + __off, __n2 - __off); in xwritev()
230 __basic_file<char>::sys_open(int __fd, ios_base::openmode __mode) throw () in sys_open() argument
234 if (__c_mode && !this->is_open() && (_M_cfile = fdopen(__fd, __c_mode))) in sys_open()
238 if (__fd == 0) in sys_open()
H A Dbasic_file_stdio.h96 sys_open(int __fd, ios_base::openmode __mode) throw (); in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc.old/dist/libssp/ssp/
H A Dunistd.h47 extern ssize_t __SSP_REDIRECT (__read_alias, (int __fd, void *__buf,
51 read (int __fd, void *__buf, size_t __nbytes) in read() argument
55 return __read_alias (__fd, __buf, __nbytes); in read()
/netbsd-src/external/gpl3/gcc/dist/libssp/ssp/
H A Dunistd.h47 extern ssize_t __SSP_REDIRECT (__read_alias, (int __fd, void *__buf,
51 read (int __fd, void *__buf, size_t __nbytes) in read() argument
55 return __read_alias (__fd, __buf, __nbytes); in read()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/
H A Dstdio_filebuf.h77 stdio_filebuf(int __fd, std::ios_base::openmode __mode, in _GLIBCXX_VISIBILITY()
137 stdio_filebuf(int __fd, std::ios_base::openmode __mode, size_t __size) in _GLIBCXX_VISIBILITY()
139 this->_M_file.sys_open(__fd, __mode); in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/
H A Dstdio_filebuf.h77 stdio_filebuf(int __fd, std::ios_base::openmode __mode, in _GLIBCXX_VISIBILITY()
137 stdio_filebuf(int __fd, std::ios_base::openmode __mode, size_t __size) in _GLIBCXX_VISIBILITY()
139 this->_M_file.sys_open(__fd, __mode); in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc/dist/fixincludes/tests/base/sys/
H A Dstat.h16 __inline__ int fstat64 (int __fd, struct stat64 *__buf) __THROW __nonnull ((2));
21 __NTH (fstat64 (int __fd, struct stat64 *__statbuf)) in __NTH() argument
/netbsd-src/external/gpl3/gcc.old/dist/fixincludes/tests/base/sys/
H A Dstat.h16 __inline__ int fstat64 (int __fd, struct stat64 *__buf) __THROW __nonnull ((2));
21 __NTH (fstat64 (int __fd, struct stat64 *__statbuf)) in __NTH() argument
/netbsd-src/include/ssp/
H A Dunistd.h39 __ssp_redirect0(ssize_t, read, (int __fd, void *__buf, size_t __len), \
40 (__fd, __buf, __len));
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/linux/sys/
H A Dsignalfd.d43 int signalfd (int __fd, const(sigset_t)* __mask, int __flags);
H A Dxattr.d65 ssize_t flistxattr (int __fd, char *list, size_t size);
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/
H A Dioctl.d412 int ioctl(int __fd, c_ulong __request, ...);
448 int ioctl(int __fd, c_ulong __request, ...);
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dlocale2754 string_type& __nsn, int& __fd);
2763 string_type& __nsn, int& __fd)
2776 __fd = __mp.frac_digits();
2789 __fd = __mp.frac_digits();
2903 int __fd;
2905 __sym, __psn, __nsn, __fd);
3047 if (__fd > 0)
3054 for (++__b; __fd > 0; --__fd, ++__b)
3194 int& __fd);
3202 int __fd);
[all …]
H A Dfstream252 basic_filebuf* __open(int __fd, ios_base::openmode __mode);
583 basic_filebuf<_CharT, _Traits>::__open(int __fd, ios_base::openmode __mode) {
588 __file_ = fdopen(__fd, __mdstr);
1196 void __open(int __fd, ios_base::openmode __mode);
1334 void basic_ifstream<_CharT, _Traits>::__open(int __fd,
1336 if (__sb_.__open(__fd, __mode | ios_base::in))
1410 void __open(int __fd, ios_base::openmode __mode);
1548 void basic_ofstream<_CharT, _Traits>::__open(int __fd,
1550 if (__sb_.__open(__fd, __mode | ios_base::out))
H A Dchrono894 _ToDuration operator()(const _FromDuration& __fd) const
896 return _ToDuration(static_cast<typename _ToDuration::rep>(__fd.count()));
904 _ToDuration operator()(const _FromDuration& __fd) const
908 static_cast<_Ct>(__fd.count()) / static_cast<_Ct>(_Period::den)));
916 _ToDuration operator()(const _FromDuration& __fd) const
920 static_cast<_Ct>(__fd.count()) * static_cast<_Ct>(_Period::num)));
928 _ToDuration operator()(const _FromDuration& __fd) const
932 static_cast<_Ct>(__fd.count()) * static_cast<_Ct>(_Period::num)
945 duration_cast(const duration<_Rep, _Period>& __fd)
947 return __duration_cast<duration<_Rep, _Period>, _ToDuration>()(__fd);
/netbsd-src/external/bsd/pdisk/dist/
H A Dfile_media.c62 extern __loff_t llseek __P ((int __fd, __loff_t __offset, int __whence));
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/
H A Dsignal.d1356 int __fd;
/netbsd-src/external/gpl3/gcc.old/dist/fixincludes/
H A Dinclhack.def1970 extern int fstat64 (int __fd, struct stat64 *__buf) __THROW __nonnull ((2));
1972 __NTH (fstat64 (int __fd, struct stat64 *__statbuf))
/netbsd-src/external/gpl3/gcc/dist/fixincludes/
H A Dinclhack.def2022 extern int fstat64 (int __fd, struct stat64 *__buf) __THROW __nonnull ((2));
2024 __NTH (fstat64 (int __fd, struct stat64 *__statbuf))

12