| /src/tests/net/net/ |
| t_tcp.c | 75 int srvr = -1, clnt = -1, acpt = -1; local 167 acpt = accept(srvr, NULL, NULL); 169 acpt = accept4(srvr, NULL, NULL, 199 if (acpt == -1) { /* not true under NetBSD */ 201 acpt = accept(srvr, NULL, NULL); 203 acpt = accept4(srvr, NULL, NULL, 206 if (acpt == -1) 222 if (getpeereid(acpt, &euid, &egid) != -1) 227 fl = fcntl(acpt, F_GETFL, 0); 234 ok = fcntl(acpt, F_SETFL, fl & ~O_NONBLOCK) [all...] |
| t_unix.c | 229 int srvr = -1, clnt = -1, acpt = -1; local 315 acpt = acc(srvr); 318 if (getpeername(acpt, (struct sockaddr *)&peer_addr, 333 check_cred(acpt, statit, clntpid, srvrpid, "server"); 362 if (acpt != -1) 363 (void)close(acpt); 381 if (acpt != -1) 382 (void)close(acpt);
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| ssl_old_test.c | 1921 BIO *acpt = NULL, *server = NULL, *client = NULL; local 1927 acpt = BIO_new_accept(family == BIO_FAMILY_IPV4 ? "127.0.0.1:0" 1929 if (acpt == NULL) 1931 BIO_set_accept_ip_family(acpt, family); 1932 BIO_set_bind_mode(acpt, BIO_SOCK_NONBLOCK | BIO_SOCK_REUSEADDR); 1933 if (BIO_do_accept(acpt) <= 0) 1936 BIO_snprintf(addr_str, sizeof(addr_str), ":%s", BIO_get_accept_port(acpt)); 1945 if (BIO_set_nbio(acpt, 1) <= 0) 1961 if (BIO_do_accept(acpt) <= 0) { 1962 if (!BIO_should_retry(acpt)) [all...] |
| /src/crypto/external/bsd/openssl/dist/test/ |
| ssl_old_test.c | 1925 BIO *acpt = NULL, *server = NULL, *client = NULL; local 1931 acpt = BIO_new_accept(family == BIO_FAMILY_IPV4 ? "127.0.0.1:0" 1933 if (acpt == NULL) 1935 BIO_set_accept_ip_family(acpt, family); 1936 BIO_set_bind_mode(acpt, BIO_SOCK_NONBLOCK | BIO_SOCK_REUSEADDR); 1937 if (BIO_do_accept(acpt) <= 0) 1940 BIO_snprintf(addr_str, sizeof(addr_str), ":%s", BIO_get_accept_port(acpt)); 1949 if (BIO_set_nbio(acpt, 1) <= 0) 1965 if (BIO_do_accept(acpt) <= 0) { 1966 if (!BIO_should_retry(acpt)) [all...] |
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| ssltest_old.c | 1917 BIO *acpt = NULL, *server = NULL, *client = NULL; local 1923 acpt = BIO_new_accept(family == BIO_FAMILY_IPV4 ? "127.0.0.1:0" 1925 if (acpt == NULL) 1927 BIO_set_accept_ip_family(acpt, family); 1928 BIO_set_bind_mode(acpt, BIO_SOCK_NONBLOCK | BIO_SOCK_REUSEADDR); 1929 if (BIO_do_accept(acpt) <= 0) 1932 BIO_snprintf(addr_str, sizeof(addr_str), ":%s", BIO_get_accept_port(acpt)); 1941 if (BIO_set_nbio(acpt, 1) <= 0) 1957 if (BIO_do_accept(acpt) <= 0) { 1958 if (!BIO_should_retry(acpt)) [all...] |