| /netbsd/src/crypto/external/bsd/openssl/dist/test/ |
| D | asynctest.c | 257 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/ |
| D | ser-base.c | 219 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()
|
| D | infrun.c | 5311 int numfds = interruptible_select (nfds, &readfds, 0, nullptr, 0); in wait_one() local 5312 if (numfds < 0) in wait_one()
|
| D | ChangeLog-1993 | 2450 (wait_for): moved variable numfds into ifdef HAVE_SGTTY.
|
| /netbsd/src/external/gpl2/xcvs/dist/m4/ |
| D | sunos57-select.m4 | 26 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/ |
| D | autofs_linux.c | 81 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/ |
| D | dv-sockser.c | 221 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/ |
| D | server.c | 2465 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 …]
|
| D | buffer.c | 1834 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/ |
| D | ssl_lib.c | 1707 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/ |
| D | configure | 7111 int numfds; 7121 while ((numfds = select (fd + 1, &readfds, NULL, NULL, &timeout)) < 0 7123 return (numfds <= 0);
|