Searched refs:SOCK_STREAM (Results 1 – 10 of 10) sorted by relevance
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsTest.java | 141 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/ |
D | PlainSocketImpl.java | 51 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()
|
D | Inet6AddressImpl.java | 54 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/ |
D | EPollPort.c | 41 if (socketpair(PF_UNIX, SOCK_STREAM, 0, sp) == -1) { in Java_sun_nio_ch_EPollPort_socketpair()
|
D | LinuxWatchService.c | 128 if (socketpair(PF_UNIX, SOCK_STREAM, 0, sp) == -1) { in Java_sun_nio_fs_LinuxWatchService_socketpair()
|
D | net_util_md.c | 1131 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()
|
D | Net.c | 242 int type = (stream ? SOCK_STREAM : SOCK_DGRAM); in Java_sun_nio_ch_Net_socket0()
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | BlockGuardOsTest.java | 23 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/ |
D | OsConstants.java | 561 public static final int SOCK_STREAM = placeholder(); field in OsConstants
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 523 initConstant(env, c, "SOCK_STREAM", SOCK_STREAM); in OsConstants_initConstants()
|