Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Dasynctest.c187 size_t numfds, numdelfds; in test_ASYNC_WAIT_CTX_get_all_fds() local
194 || !ASYNC_WAIT_CTX_get_all_fds(waitctx, NULL, &numfds) in test_ASYNC_WAIT_CTX_get_all_fds()
195 || numfds != 0 in test_ASYNC_WAIT_CTX_get_all_fds()
196 || !ASYNC_WAIT_CTX_get_changed_fds(waitctx, NULL, &numfds, NULL, in test_ASYNC_WAIT_CTX_get_all_fds()
198 || numfds != 0 in test_ASYNC_WAIT_CTX_get_all_fds()
203 || !ASYNC_WAIT_CTX_get_all_fds(waitctx, NULL, &numfds) in test_ASYNC_WAIT_CTX_get_all_fds()
204 || numfds != 1 in test_ASYNC_WAIT_CTX_get_all_fds()
205 || !ASYNC_WAIT_CTX_get_all_fds(waitctx, &fd, &numfds) in test_ASYNC_WAIT_CTX_get_all_fds()
208 || !ASYNC_WAIT_CTX_get_changed_fds(waitctx, NULL, &numfds, NULL, in test_ASYNC_WAIT_CTX_get_all_fds()
210 || numfds != 1 in test_ASYNC_WAIT_CTX_get_all_fds()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A 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/gpl2/xcvs/dist/m4/
H A 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/
H A 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/crypto/external/bsd/openssl.old/dist/crypto/async/
H A Dasync_wait.c89 size_t *numfds) in ASYNC_WAIT_CTX_get_all_fds() argument
94 *numfds = 0; in ASYNC_WAIT_CTX_get_all_fds()
105 (*numfds)++; in ASYNC_WAIT_CTX_get_all_fds()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/async/
H A Dasync_wait.c89 size_t *numfds) in ASYNC_WAIT_CTX_get_all_fds() argument
94 *numfds = 0; in ASYNC_WAIT_CTX_get_all_fds()
105 (*numfds)++; in ASYNC_WAIT_CTX_get_all_fds()
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DSSL_get_all_async_fds.pod18 int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fd, size_t *numfds);
37 descriptors returned is stored in B<*numfds> and the file descriptors themselves
39 descriptors are returned but B<*numfds> is still populated. It is the callers
H A DASYNC_WAIT_CTX_new.pod24 size_t *numfds);
50 B<*numfds>. It is the caller's responsibility to ensure that sufficient memory
53 descriptors but will still populate B<*numfds>. Therefore, application code is
H A DASYNC_start_job.pod254 size_t numfds;
282 if (!ASYNC_WAIT_CTX_get_all_fds(ctx, NULL, &numfds)
283 || numfds > 1) {
287 ASYNC_WAIT_CTX_get_all_fds(ctx, &waitfd, &numfds);
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
H A DSSL_get_all_async_fds.pod18 int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fd, size_t *numfds);
37 descriptors returned is stored in I<*numfds> and the file descriptors themselves
39 descriptors are returned but I<*numfds> is still populated. It is the callers
H A DASYNC_start_job.pod258 size_t numfds;
286 if (!ASYNC_WAIT_CTX_get_all_fds(ctx, NULL, &numfds)
287 || numfds > 1) {
291 ASYNC_WAIT_CTX_get_all_fds(ctx, &waitfd, &numfds);
/netbsd-src/external/gpl2/xcvs/dist/src/
H A 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 …]
H A 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.old/dist/include/openssl/
H A Dasync.h54 size_t *numfds);
H A Dssl.h1831 __owur int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fds, size_t *numfds);
/netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/
H A Dasync.h66 size_t *numfds);
H A Dssl.h.in1873 __owur int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fds, size_t *numfds);
/netbsd-src/crypto/external/bsd/openssl.old/dist/apps/
H A Dapps.c2711 size_t numfds; in wait_for_async() local
2714 if (!SSL_get_all_async_fds(s, NULL, &numfds)) in wait_for_async()
2716 if (numfds == 0) in wait_for_async()
2718 fds = app_malloc(sizeof(OSSL_ASYNC_FD) * numfds, "allocate async fds"); in wait_for_async()
2719 if (!SSL_get_all_async_fds(s, fds, &numfds)) { in wait_for_async()
2725 for (i = 0; i < numfds; i++) { in wait_for_async()
/netbsd-src/crypto/external/bsd/openssl/dist/apps/lib/
H A Dapps.c3149 size_t numfds; in wait_for_async() local
3152 if (!SSL_get_all_async_fds(s, NULL, &numfds)) in wait_for_async()
3154 if (numfds == 0) in wait_for_async()
3156 fds = app_malloc(sizeof(OSSL_ASYNC_FD) * numfds, "allocate async fds"); in wait_for_async()
3157 if (!SSL_get_all_async_fds(s, fds, &numfds)) { in wait_for_async()
3163 for (i = 0; i < numfds; i++) { in wait_for_async()
/netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/
H A Dssl_lib.c1647 int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fds, size_t *numfds) in SSL_get_all_async_fds() argument
1653 return ASYNC_WAIT_CTX_get_all_fds(ctx, fds, numfds); in SSL_get_all_async_fds()
/netbsd-src/external/gpl2/xcvs/dist/
H A Dconfigure7111 int numfds;
7121 while ((numfds = select (fd + 1, &readfds, NULL, NULL, &timeout)) < 0
7123 return (numfds <= 0);
/netbsd-src/external/gpl3/gdb/dist/gdb/
H A DChangeLog-19932450 (wait_for): moved variable numfds into ifdef HAVE_SGTTY.
/netbsd-src/external/gpl3/gdb.old/dist/gdb/
H A DChangeLog-19932450 (wait_for): moved variable numfds into ifdef HAVE_SGTTY.