/third_party/libuv/src/win/ |
D | poll.c | 43 unsigned int fd_count; member 281 rfds.fd_count = 1; in uv__slow_poll_thread_proc() 284 rfds.fd_count = 0; in uv__slow_poll_thread_proc() 288 wfds.fd_count = 1; in uv__slow_poll_thread_proc() 290 efds.fd_count = 1; in uv__slow_poll_thread_proc() 293 wfds.fd_count = 0; in uv__slow_poll_thread_proc() 294 efds.fd_count = 0; in uv__slow_poll_thread_proc() 313 if (rfds.fd_count > 0) { in uv__slow_poll_thread_proc() 314 assert(rfds.fd_count == 1); in uv__slow_poll_thread_proc() 319 if (wfds.fd_count > 0) { in uv__slow_poll_thread_proc() [all …]
|
/third_party/node/deps/uv/src/win/ |
D | poll.c | 41 unsigned int fd_count; member 279 rfds.fd_count = 1; in uv__slow_poll_thread_proc() 282 rfds.fd_count = 0; in uv__slow_poll_thread_proc() 286 wfds.fd_count = 1; in uv__slow_poll_thread_proc() 288 efds.fd_count = 1; in uv__slow_poll_thread_proc() 291 wfds.fd_count = 0; in uv__slow_poll_thread_proc() 292 efds.fd_count = 0; in uv__slow_poll_thread_proc() 311 if (rfds.fd_count > 0) { in uv__slow_poll_thread_proc() 312 assert(rfds.fd_count == 1); in uv__slow_poll_thread_proc() 317 if (wfds.fd_count > 0) { in uv__slow_poll_thread_proc() [all …]
|
/third_party/musl/porting/linux/user/src/fortify/ |
D | fortify.c | 94 static inline void __diagnose_pollfd_array(const char* fn, size_t fds_size, nfds_t fd_count) in __diagnose_pollfd_array() argument 97 if (__DIAGNOSE_PREDICT_FALSE(pollfd_array_length < fd_count)) { in __diagnose_pollfd_array() 99 fn, pollfd_array_length, fd_count); in __diagnose_pollfd_array() 103 int __poll_chk(struct pollfd* fds, nfds_t fd_count, int timeout, size_t fds_size) in __poll_chk() argument 105 __diagnose_pollfd_array("poll", fds_size, fd_count); in __poll_chk() 106 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(poll)(fds, fd_count, timeout); in __poll_chk() 110 int __ppoll_chk(struct pollfd* fds, nfds_t fd_count, const struct timespec* timeout, in __ppoll_chk() argument 113 __diagnose_pollfd_array("ppoll", fds_size, fd_count); in __ppoll_chk() 114 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(ppoll)(fds, fd_count, timeout, mask); in __ppoll_chk()
|
/third_party/musl/src/fortify/linux/ |
D | fortify.c | 105 static inline void __diagnose_pollfd_array(const char* fn, size_t fds_size, nfds_t fd_count) in __diagnose_pollfd_array() argument 108 if (__DIAGNOSE_PREDICT_FALSE(pollfd_array_length < fd_count)) { in __diagnose_pollfd_array() 110 fn, pollfd_array_length, fd_count); in __diagnose_pollfd_array() 114 int __poll_chk(struct pollfd* fds, nfds_t fd_count, int timeout, size_t fds_size) in __poll_chk() argument 116 __diagnose_pollfd_array("poll", fds_size, fd_count); in __poll_chk() 117 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(poll)(fds, fd_count, timeout); in __poll_chk() 121 int __ppoll_chk(struct pollfd* fds, nfds_t fd_count, const struct timespec* timeout, in __ppoll_chk() argument 124 __diagnose_pollfd_array("ppoll", fds_size, fd_count); in __ppoll_chk() 125 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(ppoll)(fds, fd_count, timeout, mask); in __ppoll_chk()
|
/third_party/curl/lib/ |
D | select.c | 135 if((!fds_read || fds_read->fd_count == 0) && in our_select() 136 (!fds_write || fds_write->fd_count == 0) && in our_select() 137 (!fds_err || fds_err->fd_count == 0)) { in our_select() 159 fds_read && fds_read->fd_count ? fds_read : NULL, in our_select() 160 fds_write && fds_write->fd_count ? fds_write : NULL, in our_select() 161 fds_err && fds_err->fd_count ? fds_err : NULL, ptimeout); in our_select()
|
/third_party/musl/libc-test/src/functionalext/fortify/ |
D | poll.c | 54 nfds_t fd_count = atoi("2"); in poll_0020() local 65 poll(buf, fd_count, 0); in poll_0020() 142 nfds_t fd_count = atoi("2"); in ppoll_0020() local 155 ppoll(buf, fd_count, &timeout, NULL); in ppoll_0020()
|
/third_party/musl/porting/linux/user/include/fortify/ |
D | fortify.h | 111 #define __DIAGNOSE_BOS_FD_COUNT_TRIVIALLY_SAFE(bos_val, fds, fd_count) \ argument 112 __DIAGNOSE_BOS_DYNAMIC_CHECK_IMPL_AND((bos_val), >=, (sizeof(*(fds)) * (fd_count)), \ 113 (fd_count) <= __DIAGNOSE_CAST(static_cast, unsigned int, -1) / sizeof(*(fds)))
|
/third_party/musl/include/fortify/linux/ |
D | fortify.h | 111 #define __DIAGNOSE_BOS_FD_COUNT_TRIVIALLY_SAFE(bos_val, fds, fd_count) \ argument 112 __DIAGNOSE_BOS_DYNAMIC_CHECK_IMPL_AND((bos_val), >=, (sizeof(*(fds)) * (fd_count)), \ 113 (fd_count) <= __DIAGNOSE_CAST(static_cast, unsigned int, -1) / sizeof(*(fds)))
|
/third_party/python/Lib/test/libregrtest/ |
D | refleak.py | 77 fd_count = os_helper.fd_count 97 fd_after = fd_count()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-subset-cff-common.hh | 281 void init (unsigned int fd_count) in init() 287 if (!local_closures.resize (fd_count)) in init() 987 unsigned int fd_count,
|
D | hb-subset-cff-common.cc | 176 unsigned int fd_count, in hb_serialize_cff_fdselect() argument
|
/third_party/python/Lib/test/ |
D | test_support.py | 662 start = os_helper.fd_count() 665 more = os_helper.fd_count()
|
D | _test_multiprocessing.py | 621 q.put(os_helper.fd_count())
|
/third_party/python/Lib/test/support/ |
D | os_helper.py | 491 def fd_count(): function
|
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
D | daemon.c | 636 if (set->fd_count >= fd_setsize) in add_to_fd_set()
|
/third_party/python/Doc/library/ |
D | test.rst | 1398 .. function:: fd_count()
|