/third_party/libuv/test/ |
D | test-poll-oob.c | 39 static uv_os_fd_t server_fd; variable 104 n = recv(server_fd, &buffer, 5, 0); in poll_cb() 116 if (fd == server_fd) { in poll_cb() 118 n = recv(server_fd, &buffer, 3, 0); in poll_cb() 140 ASSERT(0 == uv_fileno((uv_handle_t*) &peer_handle, &server_fd)); in connection_cb() 142 ASSERT(0 == uv_poll_init_socket(uv_default_loop(), &poll_req[1], server_fd)); in connection_cb() 150 r = send(server_fd, "hello", 5, MSG_OOB); in connection_cb() 155 r = send(server_fd, "world", 5, 0); in connection_cb()
|
/third_party/mbedtls/programs/pkey/ |
D | dh_client.c | 77 mbedtls_net_context server_fd; in main() local 90 mbedtls_net_init( &server_fd ); in main() 144 if( ( ret = mbedtls_net_connect( &server_fd, SERVER_NAME, in main() 159 if( ( ret = mbedtls_net_recv( &server_fd, buf, 2 ) ) != 2 ) in main() 177 if( ( ret = mbedtls_net_recv( &server_fd, buf, n ) ) != (int) n ) in main() 240 if( ( ret = mbedtls_net_send( &server_fd, buf, n ) ) != (int) n ) in main() 279 if( ( ret = mbedtls_net_recv( &server_fd, buf, 16 ) ) != 16 ) in main() 295 mbedtls_net_free( &server_fd ); in main()
|
/third_party/mbedtls/programs/ssl/ |
D | mini_client.c | 167 mbedtls_net_context server_fd; in main() local 182 mbedtls_net_init( &server_fd ); in main() 249 if( ( server_fd.fd = socket( AF_INET, SOCK_STREAM, 0 ) ) < 0 ) in main() 255 if( connect( server_fd.fd, in main() 262 mbedtls_ssl_set_bio( &ssl, &server_fd, mbedtls_net_send, mbedtls_net_recv, NULL ); in main() 283 mbedtls_net_free( &server_fd ); in main()
|
D | ssl_client1.c | 83 mbedtls_net_context server_fd; in main() local 101 mbedtls_net_init( &server_fd ); in main() 143 if( ( ret = mbedtls_net_connect( &server_fd, SERVER_NAME, in main() 188 mbedtls_ssl_set_bio( &ssl, &server_fd, mbedtls_net_send, mbedtls_net_recv, NULL ); in main() 300 mbedtls_net_free( &server_fd ); in main()
|
D | dtls_client.c | 94 mbedtls_net_context server_fd; in main() local 117 mbedtls_net_init( &server_fd ); in main() 159 if( ( ret = mbedtls_net_connect( &server_fd, SERVER_ADDR, in main() 204 mbedtls_ssl_set_bio( &ssl, &server_fd, in main() 341 mbedtls_net_free( &server_fd ); in main()
|
D | ssl_client2.c | 653 mbedtls_net_context server_fd; in main() local 757 mbedtls_net_init( &server_fd ); in main() 2015 io_ctx.net = &server_fd; in main() 2080 if( ( ret = mbedtls_net_connect( &server_fd, in main() 2091 ret = mbedtls_net_set_nonblock( &server_fd ); in main() 2093 ret = mbedtls_net_set_block( &server_fd ); in main() 2138 ret = idle( &server_fd, &timer, ret ); in main() 2140 ret = idle( &server_fd, ret ); in main() 2431 idle( &server_fd, &timer, ret ); in main() 2433 idle( &server_fd, ret ); in main() [all …]
|
D | ssl_mail_client.c | 362 mbedtls_net_context server_fd; in main() local 391 mbedtls_net_init( &server_fd ); in main() 587 if( ( ret = mbedtls_net_connect( &server_fd, opt.server_name, in main() 640 mbedtls_ssl_set_bio( &ssl, &server_fd, mbedtls_net_send, mbedtls_net_recv, NULL ); in main() 678 ret = write_and_get_response( &server_fd, buf, 0 ); in main() 692 ret = write_and_get_response( &server_fd, buf, len ); in main() 706 ret = write_and_get_response( &server_fd, buf, len ); in main() 842 mbedtls_net_free( &server_fd ); in main()
|
/third_party/mbedtls/port/src/ |
D | tls_client.c | 53 mbedtls_net_init(&session->server_fd); in MbedtlsClientInit() 75 mbedtls_net_free(&session->server_fd); in MbedtlsClientClose() 140 …int ret = mbedtls_net_connect(&session->server_fd, session->host, session->port, MBEDTLS_NET_PROTO… in MbedtlsClientConnect() 145 LOGD("Connected %s:%s fd:%d, success...", session->host, session->port, session->server_fd.fd); in MbedtlsClientConnect() 147 … mbedtls_ssl_set_bio(&session->ssl, &session->server_fd, mbedtls_net_send, mbedtls_net_recv, NULL); in MbedtlsClientConnect()
|
/third_party/mbedtls/programs/test/ |
D | udp_proxy.c | 807 mbedtls_net_context listen_fd, client_fd, server_fd; in main() local 820 mbedtls_net_init( &server_fd ); in main() 847 if( ( ret = mbedtls_net_connect( &server_fd, opt.server_addr, opt.server_port, in main() 897 if( nb_fds < server_fd.fd ) in main() 898 nb_fds = server_fd.fd; in main() 906 outbuf[0].ctx = &server_fd; in main() 957 FD_SET( server_fd.fd, &read_fds ); in main() 973 &server_fd, &client_fd ) ) != 0 ) in main() 977 if( FD_ISSET( server_fd.fd, &read_fds ) ) in main() 980 &client_fd, &server_fd ) ) != 0 ) in main() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/festival/ |
D | gstfestival.c | 220 fd = festival->info->server_fd; in read_response() 275 f = dup (festival->info->server_fd); in gst_festival_chain() 344 info->server_fd = -1; in festival_default_info() 457 festival->info->server_fd = in gst_festival_open() 460 if (festival->info->server_fd == -1) { in gst_festival_open() 475 if (festival->info->server_fd != -1) in gst_festival_close() 476 close (festival->info->server_fd); in gst_festival_close()
|
D | gstfestival.h | 82 int server_fd; member
|
/third_party/mbedtls/programs/x509/ |
D | cert_app.c | 148 mbedtls_net_context server_fd; in main() local 165 mbedtls_net_init( &server_fd ); in main() 391 if( ( ret = mbedtls_net_connect( &server_fd, opt.server_name, in main() 434 mbedtls_ssl_set_bio( &ssl, &server_fd, mbedtls_net_send, mbedtls_net_recv, NULL ); in main() 481 mbedtls_net_free( &server_fd ); in main()
|
/third_party/grpc/test/core/iomgr/ |
D | tcp_server_posix_test.cc | 61 int server_fd; member 103 result->server_fd = -1; in on_connect_result_init() 111 result->server_fd = grpc_tcp_server_port_fd( in on_connect_result_set() 274 result->fd_index, result->server_fd); in tcp_connect() 372 result.server_fd >= 0 && result.server == s) { in test_connect() 404 GPR_ASSERT(result.server_fd == fd); in test_connect() 410 result.server_fd); in test_connect()
|
/third_party/grpc/test/core/network_benchmarks/ |
D | low_level_ping_pong.cc | 420 int server_fd = -1; in create_sockets_tcp() local 441 server_fd = accept_server(listen_fd); in create_sockets_tcp() 442 if (server_fd == -1) { in create_sockets_tcp() 449 server_fds->read_fd = server_fd; in create_sockets_tcp() 450 server_fds->write_fd = server_fd; in create_sockets_tcp() 461 if (server_fd != -1) { in create_sockets_tcp() 462 close(server_fd); in create_sockets_tcp()
|
/third_party/nghttp2/src/ |
D | shrpx_worker_process.h | 38 int server_fd; member
|
/third_party/alsa-lib/src/pcm/ |
D | pcm_direct.c | 267 close(dmix->server_fd); in server_cleanup() 337 if (i != dmix->server_fd && i != dmix->hw_fd) 344 pfds[0].fd = dmix->server_fd; 373 sck = accept(dmix->server_fd, 0, 0); 424 dmix->server_fd = -1; 433 dmix->server_fd = ret; 435 ret = listen(dmix->server_fd, 4); 437 close(dmix->server_fd); 443 close(dmix->server_fd); 465 if (dmix->server_fd > 0) { [all …]
|
D | pcm_direct.h | 164 int server_fd; member
|
/third_party/mbedtls/port/include/ |
D | tls_client.h | 40 mbedtls_net_context server_fd; member
|
/third_party/curl/lib/vtls/ |
D | mbedtls.c | 78 int server_fd; member
|