Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java141 final FileDescriptor fd = Os.socket(AF_UNIX, SOCK_STREAM, 0); in testUnixDomainSocket_unnamed()
149 final FileDescriptor serverFd = Os.socket(AF_UNIX, SOCK_STREAM, 0); in checkUnixDomainSocket()
185 FileDescriptor clientFd = Os.socket(AF_UNIX, SOCK_STREAM, 0); in checkUnixDomainSocket()
289 final FileDescriptor serverFd = Os.socket(family, SOCK_STREAM, 0); in checkByteBufferPositions_sendto_recvfrom()
323 FileDescriptor clientFd = Os.socket(family, SOCK_STREAM, 0); in checkByteBufferPositions_sendto_recvfrom()
707 FileDescriptor fd = Os.socket(AF_INET6, SOCK_STREAM, 0); in test_socketFamilies()
712 fd = Os.socket(AF_INET6, SOCK_STREAM, 0); in test_socketFamilies()
717 fd = Os.socket(AF_INET, SOCK_STREAM, 0); in test_socketFamilies()
1052 final FileDescriptor fd = Os.socket(AF_INET, SOCK_STREAM, 0); in test_socket_tcpUserTimeout_setAndGet()
1085 FileDescriptor fd = Os.socket(AF_INET6, SOCK_STREAM, 0); in test_socket_sockoptTimeval_readWrite()
[all …]
/libcore/ojluni/src/main/java/java/net/
DPlainSocketImpl.java51 import static android.system.OsConstants.SOCK_STREAM;
128 fd.setInt$(IoBridge.socket(AF_INET6, isStream ? SOCK_STREAM : SOCK_DGRAM, 0).getInt$()); in socketCreate()
265 Libcore.os.socketpair(AF_UNIX, SOCK_STREAM, 0, fd1, fd2); in getMarkerFD()
DInet6AddressImpl.java54 import static android.system.OsConstants.SOCK_STREAM;
134 hints.ai_socktype = SOCK_STREAM; in lookupHostByName()
221 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.c128 if (socketpair(PF_UNIX, SOCK_STREAM, 0, sp) == -1) { in Java_sun_nio_fs_LinuxWatchService_socketpair()
Dnet_util_md.c1131 if (!init_tcp_max_buf && sotype == SOCK_STREAM) { in NET_SetSockOpt()
1134 tcp_max_buf = findMaxBuf(fd, opt, SOCK_STREAM); in NET_SetSockOpt()
1151 maxbuf = (sotype == SOCK_STREAM) ? tcp_max_buf : udp_max_buf; in NET_SetSockOpt()
1303 if (arg == SOCK_STREAM) { in NET_Bind()
DNet.c242 int type = (stream ? SOCK_STREAM : SOCK_DGRAM); in Java_sun_nio_ch_Net_socket0()
/libcore/luni/src/test/java/libcore/libcore/io/
DBlockGuardOsTest.java23 import static android.system.OsConstants.SOCK_STREAM;
160 FileDescriptor tcpSocket = Libcore.os.socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP); in test_connect_networkPolicy()
/libcore/luni/src/main/java/android/system/
DOsConstants.java561 public static final int SOCK_STREAM = placeholder(); field in OsConstants
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp523 initConstant(env, c, "SOCK_STREAM", SOCK_STREAM); in OsConstants_initConstants()