Home
last modified time | relevance | path

Searched refs:numfds (Results 1 – 11 of 11) sorted by relevance

/netbsd/src/crypto/external/bsd/openssl/dist/test/
Dasynctest.c257 size_t numfds, numdelfds; in test_ASYNC_WAIT_CTX_get_all_fds() local
264 || !ASYNC_WAIT_CTX_get_all_fds(waitctx, NULL, &numfds) in test_ASYNC_WAIT_CTX_get_all_fds()
265 || numfds != 0 in test_ASYNC_WAIT_CTX_get_all_fds()
266 || !ASYNC_WAIT_CTX_get_changed_fds(waitctx, NULL, &numfds, NULL, in test_ASYNC_WAIT_CTX_get_all_fds()
268 || numfds != 0 in test_ASYNC_WAIT_CTX_get_all_fds()
273 || !ASYNC_WAIT_CTX_get_all_fds(waitctx, NULL, &numfds) in test_ASYNC_WAIT_CTX_get_all_fds()
274 || numfds != 1 in test_ASYNC_WAIT_CTX_get_all_fds()
275 || !ASYNC_WAIT_CTX_get_all_fds(waitctx, &fd, &numfds) in test_ASYNC_WAIT_CTX_get_all_fds()
278 || !ASYNC_WAIT_CTX_get_changed_fds(waitctx, NULL, &numfds, NULL, in test_ASYNC_WAIT_CTX_get_all_fds()
280 || numfds != 1 in test_ASYNC_WAIT_CTX_get_all_fds()
[all …]
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dser-base.c219 int numfds; in ser_base_wait_for() local
240 numfds = interruptible_select (nfds, &readfds, 0, &exceptfds, &tv); in ser_base_wait_for()
242 numfds = interruptible_select (nfds, &readfds, 0, &exceptfds, 0); in ser_base_wait_for()
244 if (numfds <= 0) in ser_base_wait_for()
246 if (numfds == 0) in ser_base_wait_for()
Dinfrun.c5311 int numfds = interruptible_select (nfds, &readfds, 0, nullptr, 0); in wait_one() local
5312 if (numfds < 0) in wait_one()
DChangeLog-19932450 (wait_for): moved variable numfds into ifdef HAVE_SGTTY.
/netbsd/src/external/gpl2/xcvs/dist/m4/
Dsunos57-select.m426 int numfds;
36 while ((numfds = select (fd + 1, &readfds, NULL, NULL, &timeout)) < 0
38 return (numfds <= 0);
/netbsd/src/external/bsd/am-utils/dist/conf/autofs/
Dautofs_linux.c81 static int numfds = 0; variable
116 list[numfds] = fd; in hash_insert()
117 numfds++; in hash_insert()
130 numfds--; in hash_delete()
131 for (i = 0; i < numfds; i++) in hash_delete()
133 list[i] = list[numfds]; in hash_delete()
275 for (i = 0; i < numfds; i++) in autofs_add_fdset()
507 for (i = 0; nsel && i < numfds; i++) { in autofs_handle_fdset()
/netbsd/src/external/gpl3/gdb/dist/sim/common/
Ddv-sockser.c221 int numfds,flags; in connected_p() local
246 numfds = select (sockser_listen_fd + 1, &readfds, 0, 0, &tv); in connected_p()
247 if (numfds <= 0) in connected_p()
/netbsd/src/external/gpl2/xcvs/dist/src/
Dserver.c2465 int status, numfds = -1; in become_proxy() local
2494 numfds = MAX (numfds, to_net_fd); in become_proxy()
2499 numfds = MAX (numfds, to_primary_fd); in become_proxy()
2506 numfds = MAX (numfds, from_net_fd); in become_proxy()
2511 numfds = MAX (numfds, from_primary_fd); in become_proxy()
2517 numfds++; in become_proxy()
2523 numfds = select (numfds, &readfds, &writefds, in become_proxy()
2525 if (numfds < 0 && errno != EINTR) in become_proxy()
2535 } while (numfds < 0); in become_proxy()
2537 if (numfds == 0) in become_proxy()
[all …]
Dbuffer.c1834 int numfds; in fd_buffer_input() local
1840 numfds = fd_select (fb->fd + 1, &readfds, NULL, NULL, NULL); in fd_buffer_input()
1841 if (numfds < 0 && errno != EINTR) in fd_buffer_input()
1846 } while (numfds < 0); in fd_buffer_input()
/netbsd/src/crypto/external/bsd/openssl/dist/ssl/
Dssl_lib.c1707 int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fds, size_t *numfds) in SSL_get_all_async_fds() argument
1713 return ASYNC_WAIT_CTX_get_all_fds(ctx, fds, numfds); in SSL_get_all_async_fds()
/netbsd/src/external/gpl2/xcvs/dist/
Dconfigure7111 int numfds;
7121 while ((numfds = select (fd + 1, &readfds, NULL, NULL, &timeout)) < 0
7123 return (numfds <= 0);