Home
last modified time | relevance | path

Searched refs:sock (Results 1 – 11 of 11) sorted by relevance

/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ssl/
DSSLSessionBindingListenerTest.java75 SSLSocket sock = (SSLSocket) SSLSocketFactory.getDefault() in test_valueBound() local
77 SSLSession ss = sock.getSession(); in test_valueBound()
96 SSLSocket sock = (SSLSocket) SSLSocketFactory.getDefault() in test_valueUnbound() local
98 SSLSession ss = sock.getSession(); in test_valueUnbound()
/dalvik/libcore/nio/src/main/native/
Dorg_apache_harmony_nio_AddressUtil.cpp25 #define SOCKET_CAST(x) ((struct hysocket_struct*) x)->sock
31 OSSOCKET sock; member
/dalvik/libcore/x-net/src/main/java/javax/net/ssl/
DHandshakeCompletedEvent.java53 public HandshakeCompletedEvent(SSLSocket sock, SSLSession s) { in HandshakeCompletedEvent() argument
54 super(sock); in HandshakeCompletedEvent()
/dalvik/vm/jdwp/
DJdwpSocket.c273 static bool isFdReadable(int sock) in isFdReadable() argument
280 FD_SET(sock, &readfds); in isFdReadable()
284 count = select(sock+1, &readfds, NULL, NULL, &tv); in isFdReadable()
288 if (FD_ISSET(sock, &readfds)) /* make sure it's our fd */ in isFdReadable()
342 int sock; in acceptConnection() local
351 sock = accept(netState->listenSock, &addr.addrPlain, &addrlen); in acceptConnection()
352 if (sock < 0 && errno != EINTR) { in acceptConnection()
361 } while (sock < 0); in acceptConnection()
368 netState->clientSock = sock; in acceptConnection()
DJdwpAdb.c540 int sock = receiveClientFd(netState); in processIncoming() local
541 if (sock < 0) in processIncoming()
544 close(sock); in processIncoming()
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
DSinkChannelTest.java715 SocketChannel sock = ssc.accept(); in test_socketChannel_closed() local
724 sock.close(); in test_socketChannel_closed()
738 SocketChannel sock = ssc.accept(); in test_socketChannel_empty() local
749 assertEquals(-1, sock.read(target)); in test_socketChannel_empty()
DSocketChannelTest.java3631 Socket sock = this.channel1.socket(); in testSocket_configureblocking() local
3634 OutputStream channelSocketOut = sock.getOutputStream(); in testSocket_configureblocking()
3687 SocketChannel sock = ssc.accept(); in test_socketChannel_write_ByteBufferII() local
3698 assertEquals(-1, sock.read(target)); in test_socketChannel_write_ByteBufferII()
3745 SocketChannel sock = ssc.accept(); in test_socketChannel_write_close() local
3755 sock.close(); in test_socketChannel_write_close()
/dalvik/libcore/luni/src/main/native/
Dorg_apache_harmony_luni_platform_OSNetworkSystem.cpp180 int sock; member
838 context->sock = handle; in sockConnectWithTimeout()
906 FD_SET(context->sock, &(context->writeSet)); in sockConnectWithTimeout()
907 FD_SET(context->sock, &(context->readSet)); in sockConnectWithTimeout()
908 FD_SET(context->sock, &(context->exceptionSet)); in sockConnectWithTimeout()
919 if (FD_ISSET(context->sock, &(context->writeSet))) { in sockConnectWithTimeout()
921 if (!FD_ISSET(context->sock, &(context->readSet))) { in sockConnectWithTimeout()
926 if (getsockopt(context->sock, SOL_SOCKET, SO_ERROR, in sockConnectWithTimeout()
936 if (FD_ISSET(context->sock, &(context->exceptionSet))) { in sockConnectWithTimeout()
937 if (getsockopt(context->sock, SOL_SOCKET, SO_ERROR, &errorVal, in sockConnectWithTimeout()
[all …]
Dorg_apache_harmony_luni_platform_OSFileSystem.cpp48 int sock; member
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
DOpenSSLSocketImpl.java246 …private native boolean nativeconnect(int ctx, Socket sock, boolean client_mode, int sslsession) th… in nativeconnect() argument
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
DSocketTest.java514 Socket sock = new Socket(InetAddress.getLocalHost(), portNum); in test_getInputStream() local
542 sock.close(); in test_getInputStream()
544 sock.getInputStream(); in test_getInputStream()