/external/qemu/android/ |
sync-utils.c | 102 syncsocket_close(SyncSocket* ssocket) 104 if (ssocket != NULL && ssocket->fd >= 0) { 105 if (ssocket->iolooper != NULL) { 106 iolooper_reset(ssocket->iolooper); 108 socket_close(ssocket->fd); 109 ssocket->fd = -1; 114 syncsocket_free(SyncSocket* ssocket) 116 if (ssocket != NULL) { 117 if (ssocket->iolooper != NULL) [all...] |
sync-utils.h | 58 * ssocket - SyncSocket descriptor obtained from syncsocket_connect routine. 60 void syncsocket_close(SyncSocket* ssocket); 67 * ssocket - SyncSocket descriptor obtained from syncsocket_connect routine. 69 void syncsocket_free(SyncSocket* ssocket); 76 * ssocket - SyncSocket descriptor obtained from syncsocket_connect routine. 80 int syncsocket_start_read(SyncSocket* ssocket); 87 * ssocket - SyncSocket descriptor obtained from syncsocket_connect routine. 91 int syncsocket_stop_read(SyncSocket* ssocket); 98 * ssocket - SyncSocket descriptor obtained from syncsocket_connect routine. 102 int syncsocket_start_write(SyncSocket* ssocket); [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
SSLServerSocketImplTest.java | 57 SSLServerSocket ssocket = null; local 59 ssocket = new SSLServerSocketImpl(JSSETestData.getSSLParameters()); 60 ssocket.bind(null); 61 ssocket.setUseClientMode(true); 63 final SSLServerSocket s = ssocket; 75 client = new Client(ssocket.getLocalPort()); 90 ssocket.close(); 101 if (ssocket != null) { 103 ssocket.close(); 115 SSLServerSocket ssocket = null local 173 SSLServerSocket ssocket = null; local 231 SSLServerSocket ssocket = null; local 287 SSLServerSocket ssocket = createSSLServerSocket(); local 304 SSLServerSocket ssocket = createSSLServerSocket(); local 350 SSLServerSocket ssocket = createSSLServerSocket(); local 397 SSLServerSocket ssocket = createSSLServerSocket(); local 415 SSLServerSocket ssocket = createSSLServerSocket(); local 465 SSLServerSocket ssocket = createSSLServerSocket(); local 513 SSLServerSocket ssocket = createSSLServerSocket(); local 528 SSLServerSocket ssocket = createSSLServerSocket(); local 549 SSLServerSocket ssocket = createSSLServerSocket(); local 570 SSLServerSocket ssocket = createSSLServerSocket(); local 584 SSLServerSocket ssocket = createSSLServerSocket(); local [all...] |
SSLSocketFactoriesTest.java | 89 SSLServerSocket ssocket; local 96 ssocket = (SSLServerSocket) 98 ssocket.bind(null); 105 ssocket = (SSLServerSocket) 113 ssocket = (SSLServerSocket) 121 ssocket = (SSLServerSocket) 125 ssocket.setUseClientMode(false); 126 ssocket.setEnabledCipherSuites(enabled); 138 ssocket.getLocalPort())); 147 ssocket.getLocalPort()) [all...] |
SSLSocketFunctionalTest.java | 76 SSLServerSocket ssocket = (SSLServerSocket) ctx1 local 78 ssocket.setUseClientMode(false); 79 ssocket.setEnabledCipherSuites( 86 ssocket.getLocalPort()); 93 doTest(ssocket, csocket); 114 SSLServerSocket ssocket = (SSLServerSocket) ctx1 local 116 ssocket.setUseClientMode(false); 117 ssocket.setEnabledCipherSuites( 124 ssocket.getLocalPort()); 131 doTest(ssocket, csocket) 147 SSLServerSocket ssocket = (SSLServerSocket) context local [all...] |
/external/qemu/android/protocol/ |
core-connection.c | 31 SyncSocket* ssocket; member in struct:CoreConnection 86 SyncSocket* ssocket; local 99 ssocket = syncsocket_connect(fd, sockaddr, CORE_PORT_TIMEOUT_MS); 100 if (ssocket == NULL) { 108 status = syncsocket_start_read(ssocket); 111 syncsocket_free(ssocket); 117 status = syncsocket_read_line_absolute(ssocket, buf, sizeof(buf), deadline); 120 syncsocket_free(ssocket); 126 syncsocket_free(ssocket); 130 status = syncsocket_read_line_absolute(ssocket, buf, sizeof(buf), deadline) [all...] |