/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
D | ServerSocketServiceTest.java | 61 OpenedSocket clientSocket = openConnectionAndIdentify(id); in getConnectionId_requestComesInFirst() local 63 assertEndsConnected(clientSocket, pendingServerConnection.get()); in getConnectionId_requestComesInFirst() 68 OpenedSocket clientSocket = openConnectionAndIdentify(id); in getConnectionIdTwice_acceptComesFirst() local 73 assertEndsConnected(clientSocket, serverSocket); in getConnectionIdTwice_acceptComesFirst() 109 OpenedSocket clientSocket = openClientConnection(); in openConnectionAndIdentify() local 110 OpenedSocket.Writer writer = clientSocket.writer(); in openConnectionAndIdentify() 113 return clientSocket; in openConnectionAndIdentify() 116 private void assertEndsConnected(OpenedSocket clientSocket, OpenedSocket serverSocket) in assertEndsConnected() argument 120 assertEquals("hello client!", clientSocket.reader().read()); in assertEndsConnected() 122 clientSocket.writer().write("hello server!"); in assertEndsConnected() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/ |
D | JPDADebuggeeSynchronizer.java | 53 protected Socket clientSocket = null; field in JPDADebuggeeSynchronizer 220 clientSocket = serverSocket.accept(); in startServer() 223 clientSocket.setSoTimeout((int) timeout); in startServer() 224 out = new DataOutputStream(clientSocket.getOutputStream()); in startServer() 225 in = new DataInputStream(clientSocket.getInputStream()); in startServer() 240 clientSocket = new Socket(serverAddress.getAddress(), serverAddress.getPort()); in startClient() 243 clientSocket.setSoTimeout((int) timeout); in startClient() 244 out = new DataOutputStream(clientSocket.getOutputStream()); in startClient() 245 in = new DataInputStream(clientSocket.getInputStream()); in startClient() 262 if (clientSocket != null) in stop() [all …]
|
/external/honggfuzz/ |
D | socketfuzzer.c | 57 ret = send(run->global->socketFuzzer.clientSocket, "Fuzz", 4, 0); in fuzz_prepareSocketFuzzer() 77 ret = recv(run->global->socketFuzzer.clientSocket, buf, 4, 0); in fuzz_waitforSocketFuzzer() 99 ret = send(hfuzz->socketFuzzer.clientSocket, "New!", 4, 0); in fuzz_notifySocketFuzzerNewCov() 112 ret = send(run->global->socketFuzzer.clientSocket, "Cras", 4, 0); in fuzz_notifySocketFuzzerCrash() 150 if ((run->socketFuzzer.clientSocket = accept(s, (struct sockaddr*)&remote, &t)) == -1) { in setupSocketFuzzer()
|
/external/deqp/framework/delibs/decpp/ |
D | deSocket.cpp | 134 deSocket* clientSocket = deSocket_accept(m_socket, clientAddress); in accept() local 135 if (!clientSocket) in accept() 140 return new Socket(clientSocket); in accept() 144 deSocket_destroy(clientSocket); in accept()
|
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 149 Socket clientSocket = serverSocket.accept(); in run() local 150 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run() 152 Session session = createSession(clientSocket); in run() 157 sessionInfo.socket = clientSocket; in run() 328 protected Session createSession(Socket clientSocket) { in createSession() argument 329 return new DefaultSession(clientSocket, commandHandlers); in createSession()
|
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 149 Socket clientSocket = serverSocket.accept(); in run() local 150 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run() 152 Session session = createSession(clientSocket); in run() 157 sessionInfo.socket = clientSocket; in run() 318 protected Session createSession(Socket clientSocket) { in createSession() argument 319 return new DefaultSession(clientSocket, commandHandlers); in createSession()
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 149 Socket clientSocket = serverSocket.accept(); in run() local 150 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run() 152 Session session = createSession(clientSocket); in run() 157 sessionInfo.socket = clientSocket; in run() 328 protected Session createSession(Socket clientSocket) { in createSession() argument 329 return new DefaultSession(clientSocket, commandHandlers); in createSession()
|
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 149 Socket clientSocket = serverSocket.accept(); in run() local 150 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run() 152 Session session = createSession(clientSocket); in run() 157 sessionInfo.socket = clientSocket; in run() 333 protected Session createSession(Socket clientSocket) { in createSession() argument 334 return new DefaultSession(clientSocket, commandHandlers); in createSession()
|
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 149 Socket clientSocket = serverSocket.accept(); in run() local 150 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run() 152 Session session = createSession(clientSocket); in run() 157 sessionInfo.socket = clientSocket; in run() 328 protected Session createSession(Socket clientSocket) { in createSession() argument 329 return new DefaultSession(clientSocket, commandHandlers); in createSession()
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 149 Socket clientSocket = serverSocket.accept(); in run() local 150 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run() 152 Session session = createSession(clientSocket); in run() 157 sessionInfo.socket = clientSocket; in run() 328 protected Session createSession(Socket clientSocket) { in createSession() argument 329 return new DefaultSession(clientSocket, commandHandlers); in createSession()
|
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 149 Socket clientSocket = serverSocket.accept(); in run() local 150 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run() 152 Session session = createSession(clientSocket); in run() 157 sessionInfo.socket = clientSocket; in run() 319 protected Session createSession(Socket clientSocket) { in createSession() argument 320 return new DefaultSession(clientSocket, commandHandlers); in createSession()
|
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 153 Socket clientSocket = serverSocket.accept(); in run() local 154 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run() 156 Session session = createSession(clientSocket); in run() 161 sessionInfo.socket = clientSocket; in run() 345 protected Session createSession(Socket clientSocket) { in createSession() argument 346 return new DefaultSession(clientSocket, commandHandlers); in createSession()
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 153 Socket clientSocket = serverSocket.accept(); in run() local 154 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run() 156 Session session = createSession(clientSocket); in run() 161 sessionInfo.socket = clientSocket; in run() 345 protected Session createSession(Socket clientSocket) { in createSession() argument 346 return new DefaultSession(clientSocket, commandHandlers); in createSession()
|
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 152 Socket clientSocket = serverSocket.accept(); in run() local 153 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run() 155 Session session = createSession(clientSocket); in run() 160 sessionInfo.socket = clientSocket; in run() 344 protected Session createSession(Socket clientSocket) { in createSession() argument 345 return new DefaultSession(clientSocket, commandHandlers); in createSession()
|
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 153 Socket clientSocket = serverSocket.accept(); in run() local 154 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run() 156 Session session = createSession(clientSocket); in run() 161 sessionInfo.socket = clientSocket; in run() 345 protected Session createSession(Socket clientSocket) { in createSession() argument 346 return new DefaultSession(clientSocket, commandHandlers); in createSession()
|
/external/deqp/execserver/ |
D | xsTcpServer.cpp | 48 de::Socket* clientSocket = DE_NULL; in runServer() local 51 while ((clientSocket = m_socket.accept(clientAddr)) != DE_NULL) in runServer() 57 handler = createHandler(clientSocket, clientAddr); in runServer() 61 delete clientSocket; in runServer()
|
/external/swiftshader/src/Main/ |
D | SwiftConfig.cpp | 134 Socket *clientSocket = listenSocket->accept(); in serverLoop() local 139 if(clientSocket->select(10)) in serverLoop() 141 bytesReceived = clientSocket->receive(receiveBuffer, bufferLength); in serverLoop() 147 respond(clientSocket, receiveBuffer); in serverLoop() 152 delete clientSocket; in serverLoop() 171 void SwiftConfig::respond(Socket *clientSocket, const char *request) in respond() argument 179 return send(clientSocket, OK, page()); in respond() 200 int bytesReceived = clientSocket->receive(receiveBuffer, bufferLength); in respond() 219 return send(clientSocket, OK, page()); in respond() 223 return send(clientSocket, OK, profile()); in respond() [all …]
|
D | SwiftConfig.hpp | 91 void respond(Socket *clientSocket, const char *request); 94 void send(Socket *clientSocket, Status code, std::string body = "");
|
/external/swiftshader/src/Device/ |
D | SwiftConfig.cpp | 134 Socket *clientSocket = listenSocket->accept(); in serverLoop() local 139 if(clientSocket->select(10)) in serverLoop() 141 bytesReceived = clientSocket->receive(receiveBuffer, bufferLength); in serverLoop() 147 respond(clientSocket, receiveBuffer); in serverLoop() 152 delete clientSocket; in serverLoop() 171 void SwiftConfig::respond(Socket *clientSocket, const char *request) in respond() argument 179 return send(clientSocket, OK, page()); in respond() 200 int bytesReceived = clientSocket->receive(receiveBuffer, bufferLength); in respond() 219 return send(clientSocket, OK, page()); in respond() 223 return send(clientSocket, OK, profile()); in respond() [all …]
|
D | SwiftConfig.hpp | 91 void respond(Socket *clientSocket, const char *request); 94 void send(Socket *clientSocket, Status code, std::string body = "");
|
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 170 Socket clientSocket = serverSocket.accept(); in run() local 171 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run() 173 DefaultSession session = new DefaultSession(clientSocket, commandHandlers); in run() 178 sessionInfo.socket = clientSocket; in run()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | tcp_server.py | 71 (clientSocket, address) = serverSocket.accept() 73 readList.append(clientSocket)
|
/external/mockftpserver/tags/1.1/src/main/java/org/mockftpserver/stub/ |
D | StubFtpServer.java | 226 Socket clientSocket = serverSocket.accept(); in run() local 227 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run() 229 DefaultSession session = new DefaultSession(clientSocket, commandHandlers); in run() 234 sessionInfo.socket = clientSocket; in run()
|
/external/mockftpserver/tags/1.0/src/main/java/org/mockftpserver/stub/ |
D | StubFtpServer.java | 225 Socket clientSocket = serverSocket.accept(); in run() local 226 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run() 228 DefaultSession session = new DefaultSession(clientSocket, commandHandlers); in run() 233 sessionInfo.socket = clientSocket; in run()
|
/external/mockftpserver/tags/1.2.3/src/main/java/org/mockftpserver/stub/ |
D | StubFtpServer.java | 246 Socket clientSocket = serverSocket.accept(); in run() local 247 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run() 249 DefaultSession session = new DefaultSession(clientSocket, commandHandlers); in run() 254 sessionInfo.socket = clientSocket; in run()
|