Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/net/
DPlainSocketImpl.java51 import static android.system.OsConstants.SOCK_STREAM;
124 fd.setInt$(IoBridge.socket(AF_INET6, isStream ? SOCK_STREAM : SOCK_DGRAM, 0).getInt$()); in socketCreate()
257 Libcore.os.socketpair(AF_UNIX, SOCK_STREAM, 0, fd1, fd2); in getMarkerFD()
DInet6AddressImpl.java52 import static android.system.OsConstants.SOCK_STREAM;
136 hints.ai_socktype = SOCK_STREAM; in lookupHostByName()
222 fd = IoBridge.socket(AF_INET6, SOCK_STREAM, 0); in tcpEcho()
/libcore/ojluni/src/main/native/
DEPollPort.c41 if (socketpair(PF_UNIX, SOCK_STREAM, 0, sp) == -1) { in Java_sun_nio_ch_EPollPort_socketpair()
DLinuxWatchService.c122 if (socketpair(PF_UNIX, SOCK_STREAM, 0, sp) == -1) { in Java_sun_nio_fs_LinuxWatchService_socketpair()
DNet.c236 int type = (stream ? SOCK_STREAM : SOCK_DGRAM); in Java_sun_nio_ch_Net_socket0()
/libcore/luni/src/test/java/libcore/libcore/io/
DOsTest.java101 final FileDescriptor fd = Libcore.os.socket(AF_UNIX, SOCK_STREAM, 0); in testUnixDomainSocket_unnamed()
109 final FileDescriptor serverFd = Libcore.os.socket(AF_UNIX, SOCK_STREAM, 0); in checkUnixDomainSocket()
145 FileDescriptor clientFd = Libcore.os.socket(AF_UNIX, SOCK_STREAM, 0); in checkUnixDomainSocket()
248 final FileDescriptor serverFd = Libcore.os.socket(family, SOCK_STREAM, 0); in checkByteBufferPositions_sendto_recvfrom()
282 FileDescriptor clientFd = Libcore.os.socket(family, SOCK_STREAM, 0); in checkByteBufferPositions_sendto_recvfrom()
376 FileDescriptor fd = Libcore.os.socket(AF_INET6, SOCK_STREAM, 0); in test_socketFamilies()
381 fd = Libcore.os.socket(AF_INET6, SOCK_STREAM, 0); in test_socketFamilies()
386 fd = Libcore.os.socket(AF_INET, SOCK_STREAM, 0); in test_socketFamilies()
710 final FileDescriptor fd = Libcore.os.socket(AF_INET, SOCK_STREAM, 0); in test_socket_tcpUserTimeout_setAndGet()
/libcore/luni/src/main/java/android/system/
DOsConstants.java467 public static final int SOCK_STREAM = placeholder(); field in OsConstants
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp515 initConstant(env, c, "SOCK_STREAM", SOCK_STREAM); in OsConstants_initConstants()