Home
last modified time | relevance | path

Searched refs:fd_count (Results 1 - 16 of 16) sorted by relevance

/third_party/libuv/src/win/
H A Dpoll.c43 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 > in uv__slow_poll_thread_proc()
[all...]
/third_party/node/deps/uv/src/win/
H A Dpoll.c41 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 > in uv__slow_poll_thread_proc()
[all...]
/third_party/musl/libc-test/src/functionalext/fortify/
H A Dpoll.c54 nfds_t fd_count = atoi("2"); in poll_0020() local
65 poll(buf, fd_count, 0); in poll_0020()
81 * @tc.desc : test poll with buf's size greater than fd_count, return fd_count
142 nfds_t fd_count = atoi("2"); in ppoll_0020() local
155 ppoll(buf, fd_count, &timeout, NULL); in ppoll_0020()
171 * @tc.desc : test poll with buf's size greater than fd_count, return fd_count
/third_party/musl/porting/linux/user/src/fortify/
H A Dfortify.c94 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/
H A Dfortify.c105 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/
H A Dselect.c135 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/porting/linux/user/include/fortify/
H A Dfortify.h111 #define __DIAGNOSE_BOS_FD_COUNT_TRIVIALLY_SAFE(bos_val, fds, fd_count) \
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)))
126 #define FD_COUNT_LARGE_GIVEN_BUFFER "fd_count is greater than the given buffer"
/third_party/musl/include/fortify/linux/
H A Dfortify.h111 #define __DIAGNOSE_BOS_FD_COUNT_TRIVIALLY_SAFE(bos_val, fds, fd_count) \
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)))
126 #define FD_COUNT_LARGE_GIVEN_BUFFER "fd_count is greater than the given buffer"
/third_party/python/Lib/test/libregrtest/
H A Drefleak.py77 fd_count = os_helper.fd_count
98 fd_after = fd_count()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-subset-cff-common.cc176 unsigned int fd_count, in hb_serialize_cff_fdselect()
173 hb_serialize_cff_fdselect(hb_serialize_context_t *c, const unsigned int num_glyphs, const FDSelect &src, unsigned int fd_count, unsigned int fdselect_format, unsigned int size, const hb_vector_t<code_pair_t> &fdselect_ranges) hb_serialize_cff_fdselect() argument
H A Dhb-subset-cff-common.hh281 void init (unsigned int fd_count) in init()
287 if (!local_closures.resize (fd_count)) in init()
987 unsigned int fd_count,
/third_party/python/Lib/test/
H A Dtest_support.py669 # We cannot test the absolute value of fd_count(): on old Linux
674 start = os_helper.fd_count()
677 more = os_helper.fd_count()
H A Dtest_zipfile.py30 TESTFN, unlink, rmtree, temp_dir, temp_cwd, fd_count
2780 startcount = fd_count()
2787 self.assertEqual(startcount, fd_count())
H A D_test_multiprocessing.py671 q.put(os_helper.fd_count())
/third_party/python/Lib/test/support/
H A Dos_helper.py587 def fd_count(): function
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
H A Ddaemon.c636 if (set->fd_count >= fd_setsize) in add_to_fd_set()

Completed in 25 milliseconds