Home
last modified time | relevance | path

Searched refs:listenSocket (Results 1 – 8 of 8) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/Simulator/src/
DTcpServer.c106 SOCKET *listenSocket in CreateSocket() argument
123 *listenSocket = socket(PF_INET, SOCK_STREAM, 0); in CreateSocket()
124 if(INVALID_SOCKET == *listenSocket) in CreateSocket()
135 res = bind(*listenSocket, (struct sockaddr*) &MyAddress, sizeof(MyAddress)); in CreateSocket()
142 res = listen(*listenSocket, 3); in CreateSocket()
251 SOCKET listenSocket, serverSocket; in PlatformSvcRoutine() local
257 res = CreateSocket(PortNumber, &listenSocket); in PlatformSvcRoutine()
272 serverSocket = accept(listenSocket, in PlatformSvcRoutine()
337 SOCKET listenSocket; in RegularCommandService() local
344 res = CreateSocket(PortNumber, &listenSocket); in RegularCommandService()
[all …]
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyServerTest.java215 InternalInstrumented<SocketStats> listenSocket = getOnlyElement(ns.getListenSockets()); in channelzListenSocket() local
216 assertSame(listenSocket, channelz.getSocket(id(listenSocket))); in channelzListenSocket()
219 SocketStats socketStats = listenSocket.getStats().get(); in channelzListenSocket()
232 assertNull(channelz.getSocket(id(listenSocket))); in channelzListenSocket()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyServer.java259 InternalInstrumented<SocketStats> listenSocket = new ListenSocket(channel); in start()
260 listenSockets = ImmutableList.of(listenSocket); in start()
261 channelz.addListenSocket(listenSocket); in start()
283 for (InternalInstrumented<SocketStats> listenSocket : listenSockets) { in shutdown()
284 channelz.removeListenSocket(listenSocket); in shutdown()
/external/swiftshader/src/Main/
DSwiftConfig.cpp47 SwiftConfig::SwiftConfig(bool disableServerOverride) : listenSocket(0) in SwiftConfig()
75 listenSocket = new Socket("localhost", "8080"); in createServer()
76 listenSocket->listen(); in createServer()
90 delete listenSocket; in destroyServer()
91 listenSocket = 0; in destroyServer()
132 if(listenSocket->select(100000)) in serverLoop()
134 Socket *clientSocket = listenSocket->accept(); in serverLoop()
DSwiftConfig.hpp109 Socket *listenSocket; member in sw::SwiftConfig
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DChannelzProtoUtilTest.java262 private final TestListenSocket listenSocket = new TestListenSocket(); field in ChannelzProtoUtilTest
265 .setName(listenSocket.toString())
266 .setSocketId(id(listenSocket))
274 ((InetSocketAddress) listenSocket.listenAddress).getAddress().getAddress()))
383 ChannelzProtoUtil.toSocket(listenSocket)); in toSocket_noDataWithOptions()
541 .setListenSockets(ImmutableList.<InternalInstrumented<SocketStats>>of(listenSocket)) in toServer()
555 ImmutableList.<InternalInstrumented<SocketStats>>of(listenSocket, otherListenSocket)) in toServer()
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DChannelzProtoUtil.java129 for (InternalInstrumented<SocketStats> listenSocket : stats.listenSockets) { in toServer()
130 builder.addListenSocket(toSocketRef(listenSocket)); in toServer()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/net/
DSocketFacade.java585 public Boolean listenSocket(String id) { in listenSocket() method in SocketFacade