Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/net/ext/
DExtendedSocketOptions.java44 public static final short SOCK_STREAM = 1; field in ExtendedSocketOptions
69 case SOCK_STREAM: in options0()
/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.c126 if (socketpair(PF_UNIX, SOCK_STREAM, 0, sp) == -1) { in Java_sun_nio_fs_LinuxWatchService_socketpair()
Dnet_util_md.c1132 if (!init_tcp_max_buf && sotype == SOCK_STREAM) { in NET_SetSockOpt()
1135 tcp_max_buf = findMaxBuf(fd, opt, SOCK_STREAM); in NET_SetSockOpt()
1152 maxbuf = (sotype == SOCK_STREAM) ? tcp_max_buf : udp_max_buf; in NET_SetSockOpt()
1304 if (arg == SOCK_STREAM) { in NET_Bind()
DUnixDomainSockets.c106 int fd = socket(PF_UNIX, SOCK_STREAM, 0); in Java_sun_nio_ch_UnixDomainSockets_socket0()
DNet.c238 int type = (stream ? SOCK_STREAM : SOCK_DGRAM); in Java_sun_nio_ch_Net_socket0()
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java182 final FileDescriptor fd = Os.socket(AF_UNIX, SOCK_STREAM, 0); in testUnixDomainSocket_unnamed()
190 final FileDescriptor serverFd = Os.socket(AF_UNIX, SOCK_STREAM, 0); in checkUnixDomainSocket()
226 FileDescriptor clientFd = Os.socket(AF_UNIX, SOCK_STREAM, 0); in checkUnixDomainSocket()
332 final FileDescriptor serverFd = Os.socket(family, SOCK_STREAM, 0); in checkByteBufferPositions_sendto_recvfrom()
364 FileDescriptor clientFd = Os.socket(family, SOCK_STREAM, 0); in checkByteBufferPositions_sendto_recvfrom()
753 final FileDescriptor serverFd = Os.socket(AF_VSOCK, SOCK_STREAM, 0);
762 final FileDescriptor clientFd = Os.socket(AF_VSOCK, SOCK_STREAM, 0);
1132 FileDescriptor fd = Os.socket(AF_INET6, SOCK_STREAM, 0);
1137 fd = Os.socket(AF_INET6, SOCK_STREAM, 0);
1142 fd = Os.socket(AF_INET, SOCK_STREAM, 0);
[all …]
/libcore/luni/src/test/java/libcore/libcore/io/
DBlockGuardOsTest.java26 import static android.system.OsConstants.SOCK_STREAM;
209 FileDescriptor tcpSocket = Libcore.os.socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP); in test_connect_networkPolicy()
/libcore/luni/annotations/flagged_api/android/system/
DOsConstants.annotated.java1099 public static final int SOCK_STREAM; field in OsConstants
1100 static { SOCK_STREAM = 0; }
/libcore/luni/src/main/java/android/system/
DOsConstants.java703 public static final int SOCK_STREAM = placeholder(); field in OsConstants
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp539 initConstant(env, c, "SOCK_STREAM", SOCK_STREAM); in OsConstants_initConstants()
/libcore/api/
Dcurrent.txt508 field public static final int SOCK_STREAM;