/libcore/luni/src/test/java/libcore/java/net/ |
D | OldSocketTestCase.java | 30 public static final int SO_RCVBUF = 3; field in OldSocketTestCase 61 case SO_RCVBUF: in getOptionIsSupported() 136 case SO_RCVBUF: in getSocketOptionString()
|
D | OldSocketTest.java | 344 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_RCVBUF); in test_getReceiveBufferSize() 346 handleException(e, SO_RCVBUF); in test_getReceiveBufferSize() 511 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_RCVBUF); in test_setReceiveBufferSizeI() 513 handleException(e, SO_RCVBUF); in test_setReceiveBufferSizeI()
|
/libcore/ojluni/src/main/java/java/net/ |
D | SocketOptions.java | 294 public final static int SO_RCVBUF = 0x1002; field
|
D | StandardSocketOptions.java | 155 public static final SocketOption<Integer> SO_RCVBUF = field in StandardSocketOptions
|
D | AbstractPlainDatagramSocketImpl.java | 294 case SO_RCVBUF: in setOption() 349 case SO_RCVBUF: in getOption()
|
D | ServerSocket.java | 829 getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size)); in setReceiveBufferSize() 850 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); in getReceiveBufferSize()
|
D | AbstractPlainSocketImpl.java | 240 case SO_RCVBUF: in setOption() 301 case SO_RCVBUF: in getOption()
|
D | DatagramSocket.java | 1008 getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size)); in setReceiveBufferSize() 1024 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); in getReceiveBufferSize()
|
D | Socket.java | 1233 getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size)); in setReceiveBufferSize() 1252 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); in getReceiveBufferSize()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | ServerSocketChannelTest.java | 183 sc.setOption(StandardSocketOptions.SO_RCVBUF, 1100); in test_setOption() 184 assertTrue(1100 <= sc.getOption(StandardSocketOptions.SO_RCVBUF)); in test_setOption() 188 sc.setOption(StandardSocketOptions.SO_RCVBUF, 2000); in test_setOption()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ServerSocketAdaptor.java | 201 ssc.setOption(StandardSocketOptions.SO_RCVBUF, size); in setReceiveBufferSize() 209 return ssc.getOption(StandardSocketOptions.SO_RCVBUF).intValue(); in getReceiveBufferSize()
|
D | SocketOptionRegistry.java | 65 … map.put(new RegistryKey(StandardSocketOptions.SO_RCVBUF, Net.UNSPEC), new OptionKey(1, 8)); in options()
|
D | DatagramSocketAdaptor.java | 325 setIntOption(StandardSocketOptions.SO_RCVBUF, size); in setReceiveBufferSize() 329 return getIntOption(StandardSocketOptions.SO_RCVBUF); in getReceiveBufferSize()
|
D | SocketAdaptor.java | 406 setIntOption(StandardSocketOptions.SO_RCVBUF, size); in setReceiveBufferSize() 410 return getIntOption(StandardSocketOptions.SO_RCVBUF); in getReceiveBufferSize()
|
D | ServerSocketChannelImpl.java | 178 set.add(StandardSocketOptions.SO_RCVBUF); in defaultOptions()
|
D | Net.java | 344 if (name == StandardSocketOptions.SO_RCVBUF ||
|
D | SocketChannelImpl.java | 235 set.add(StandardSocketOptions.SO_RCVBUF); in defaultOptions()
|
D | DatagramChannelImpl.java | 312 set.add(StandardSocketOptions.SO_RCVBUF); in defaultOptions()
|
/libcore/ojluni/src/main/native/ |
D | net_util_md.c | 924 { java_net_SocketOptions_SO_RCVBUF, SOL_SOCKET, SO_RCVBUF }, in NET_MapSocketOption() 1023 || (opt == SO_RCVBUF))) { in NET_GetSockOpt() 1122 if (opt == SO_SNDBUF || opt == SO_RCVBUF) { in NET_SetSockOpt() 1181 if (level == SOL_SOCKET && opt == SO_RCVBUF) { in NET_SetSockOpt() 1196 if (opt == SO_SNDBUF || opt == SO_RCVBUF) { in NET_SetSockOpt() 1224 if (opt == SO_RCVBUF && *bufsize < 1024) { in NET_SetSockOpt()
|
D | Inet4AddressImpl.c | 88 setsockopt(fd, SOL_SOCKET, SO_RCVBUF, &size, sizeof(size)); in ping4()
|
D | Inet6AddressImpl.c | 176 setsockopt(fd, SOL_SOCKET, SO_RCVBUF, &size, sizeof(size)); in ping6()
|
D | PlainDatagramSocketImpl.c | 1009 if (JVM_SetSockOpt(fd, SOL_SOCKET, SO_RCVBUF, in PlainDatagramSocketImpl_datagramSocketCreate()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 293 case SocketOptions.SO_RCVBUF: in getSocketOptionErrno() 294 return Libcore.os.getsockoptInt(fd, SOL_SOCKET, SO_RCVBUF); in getSocketOptionErrno() 371 case SocketOptions.SO_RCVBUF: in setSocketOptionErrno() 372 Libcore.os.setsockoptInt(fd, SOL_SOCKET, SO_RCVBUF, (Integer) value); in setSocketOptionErrno()
|
/libcore/luni/src/main/java/android/system/ |
D | OsConstants.java | 454 public static final int SO_RCVBUF = placeholder(); field in OsConstants
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 510 initConstant(env, c, "SO_RCVBUF", SO_RCVBUF); in OsConstants_initConstants()
|