Searched refs:server_socket (Results 1 – 10 of 10) sorted by relevance
/external/grpc-grpc/test/core/handshake/ |
D | client_ssl.cc | 222 int server_socket = -1; in client_ssl_test() local 224 while (server_socket == -1 && socket_retries-- > 0) { in client_ssl_test() 225 server_socket = create_socket(&port); in client_ssl_test() 226 if (server_socket == -1) { in client_ssl_test() 230 GPR_ASSERT(server_socket > 0 && port > 0); in client_ssl_test() 233 server_args args = {server_socket, server_alpn_preferred}; in client_ssl_test()
|
/external/webrtc/webrtc/examples/stunserver/ |
D | stunserver_main.cc | 36 rtc::AsyncUDPSocket* server_socket = in main() local 38 if (!server_socket) { in main() 43 StunServer* server = new StunServer(server_socket); in main()
|
/external/webrtc/webrtc/p2p/base/ |
D | relayport_unittest.cc | 105 rtc::AsyncSocket* server_socket = CreateServerSocket(kRelayTcpAddr); in TestConnectUdp() local 108 relay_server_->AddInternalServerSocket(server_socket, cricket::PROTO_TCP); in TestConnectUdp() 142 rtc::AsyncSocket* server_socket = CreateServerSocket(kRelayTcpAddr); in TestConnectTcp() local 143 relay_server_->AddInternalServerSocket(server_socket, cricket::PROTO_TCP); in TestConnectTcp()
|
D | relayserver.cc | 550 void RelayServer::AcceptConnection(rtc::AsyncSocket* server_socket) { in AcceptConnection() argument 554 server_socket->Accept(&accept_addr); in AcceptConnection() 558 ASSERT(server_sockets_[server_socket] == cricket::PROTO_TCP || in AcceptConnection() 559 server_sockets_[server_socket] == cricket::PROTO_SSLTCP); in AcceptConnection() 560 if (server_sockets_[server_socket] == cricket::PROTO_SSLTCP) { in AcceptConnection()
|
D | turnserver.h | 71 rtc::AsyncPacketSocket* server_socket, 211 void AcceptConnection(rtc::AsyncSocket* server_socket);
|
D | relayserver.h | 125 void AcceptConnection(rtc::AsyncSocket* server_socket);
|
D | turnserver.cc | 172 void TurnServer::AcceptConnection(rtc::AsyncSocket* server_socket) { in AcceptConnection() argument 175 rtc::AsyncSocket* accepted_socket = server_socket->Accept(&accept_addr); in AcceptConnection() 177 ProtocolType proto = server_listen_sockets_[server_socket]; in AcceptConnection()
|
/external/ImageMagick/MagickCore/ |
D | distribute-cache.c | 914 server_socket; in DistributePixelCacheServer() local 940 server_socket=(SOCKET_TYPE) 0; in DistributePixelCacheServer() 946 server_socket=socket(p->ai_family,p->ai_socktype,p->ai_protocol); in DistributePixelCacheServer() 947 if (server_socket == -1) in DistributePixelCacheServer() 950 status=setsockopt(server_socket,SOL_SOCKET,SO_REUSEADDR, in DistributePixelCacheServer() 954 CLOSE_SOCKET(server_socket); in DistributePixelCacheServer() 957 status=bind(server_socket,p->ai_addr,(socklen_t) p->ai_addrlen); in DistributePixelCacheServer() 960 CLOSE_SOCKET(server_socket); in DistributePixelCacheServer() 968 status=listen(server_socket,DPCPendingConnections); in DistributePixelCacheServer() 983 client_socket=accept(server_socket,(struct sockaddr *) &address,&length); in DistributePixelCacheServer()
|
/external/python/httplib2/tests/ |
D | __init__.py | 264 def server_socket(fun, request_count=1, timeout=5): function 339 return server_socket(server_yield_socket_handler, **kwargs) 358 return server_socket(server_request_socket_handler, **kwargs)
|
/external/compiler-rt/lib/msan/tests/ |
D | msan_test.cc | 999 int server_socket = socket(AF_INET, SOCK_DGRAM, 0); in TEST() local 1000 ASSERT_LT(0, server_socket); in TEST() 1007 int res = bind(server_socket, (struct sockaddr *)&sai, sizeof(sai)); in TEST() 1011 res = getsockname(server_socket, (struct sockaddr *)&sai, &sz); in TEST() 1057 res = recvmsg(server_socket, &recv_msg, 0); in TEST() 1064 close(server_socket); in TEST()
|