Home
last modified time | relevance | path

Searched defs:option (Results 1 – 22 of 22) sorted by relevance

/libcore/ojluni/src/main/java/sun/net/ext/
DExtendedSocketOptions.java50 public final boolean isOptionSupported(SocketOption<?> option) { in isOptionSupported()
82 public abstract void setOption(FileDescriptor fd, SocketOption<?> option, Object value) in setOption()
86 public abstract Object getOption(FileDescriptor fd, SocketOption<?> option) in getOption()
123 public void setOption(FileDescriptor fd, SocketOption<?> option, Object value) in setOption()
131 public Object getOption(FileDescriptor fd, SocketOption<?> option) in getOption()
/libcore/luni/src/test/java/libcore/java/net/
DOldSocketTestCase.java64 public boolean getOptionIsSupported(int option) { in getOptionIsSupported()
96 public void handleException(Exception e, int option) { in handleException()
125 public void ensureExceptionThrownIfOptionIsUnsupportedOnOS(int option) { in ensureExceptionThrownIfOptionIsUnsupportedOnOS()
135 private String getSocketOptionString(int option) { in getSocketOptionString()
DSocketTest.java231 public int option; field in SocketTest.MySocketImpl
256 public void setOption(int option, Object value) throws SocketException { in setOption()
261 public <T> void setSuperOption(SocketOption<T> option, T value) throws IOException { in setSuperOption()
316 private static void setAndAssertOption(MySocketImpl sockImpl, SocketOption option, in setAndAssertOption()
/libcore/ojluni/annotations/hiddenapi/sun/security/util/
DDebug.java37 public static sun.security.util.Debug getInstance(java.lang.String option) { in getInstance()
42 java.lang.String option, java.lang.String prefix) { in getInstance()
46 public static boolean isOn(java.lang.String option) { in isOn()
/libcore/ojluni/src/test/java/lang/StackWalker/
DHiddenFrames.java51 private final Option option; field in HiddenFrames
60 HiddenFrames(Option option) { in HiddenFrames()
/libcore/ojluni/src/main/java/sun/net/
DExtendedOptionsImpl.java59 public static void checkSetOptionPermission(SocketOption<?> option) { in checkSetOptionPermission()
68 public static void checkGetOptionPermission(SocketOption<?> option) { in checkGetOptionPermission()
/libcore/ojluni/src/main/java/sun/security/util/
DDebug.java141 public static Debug getInstance(String option) in getInstance()
150 public static Debug getInstance(String option, String prefix) in getInstance()
165 public static boolean isOn(String option) in isOn()
/libcore/ojluni/src/main/java/jdk/net/
DExtendedSocketOptions.java193 sun.net.ext.ExtendedSocketOptions.register( in sun.net.ext.ExtendedSocketOptions.register()
198 SocketOption<?> option, in sun.net.ext.ExtendedSocketOptions.register()
213 } else if (option == TCP_QUICKACK) { in sun.net.ext.ExtendedSocketOptions.register()
215 } else if (option == TCP_KEEPCOUNT) { in sun.net.ext.ExtendedSocketOptions.register()
DSockets.java114 SocketOption<T> option, T value) throws IOException in invokeSet()
132 Method method, Object socket, SocketOption<T> option) throws IOException in invokeGet()
346 private static boolean isSupported(Class<?> type, SocketOption<?> option) { in isSupported()
/libcore/ojluni/src/test/java/net/SocketOptions/
DOptionsTest.java43 TestClass(SocketOption<?> option, Object testValue) { in TestClass()
47 static TestClass create(SocketOption<?> option, Object testValue) { in create()
50 Object option; field in OptionsTest.TestClass
179 Class<?> type, Object s, Object option) in legacyGetOption()
/libcore/luni/src/main/java/libcore/io/
DOs.java293 public int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptByte()
298 …public InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoExceptio… in getsockoptInAddr()
303 public int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptInt()
308 …public StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws ErrnoExcepti… in getsockoptLinger()
313 …public StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoExcep… in getsockoptTimeval()
318 …public StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptUcred()
487 public int prctl(int option, long arg2, long arg3, long arg4, long arg5) throws ErrnoException; in prctl()
635 …public void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoExcept… in setsockoptByte()
640 …public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoEx… in setsockoptIfreq()
645 …public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoExcepti… in setsockoptInt()
[all …]
DForwardingOs.java352 …public int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException { return… in getsockoptByte()
357 …public InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoExceptio… in getsockoptInAddr()
362 …public int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException { return … in getsockoptInt()
367 …public StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws ErrnoExcepti… in getsockoptLinger()
372 …public StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoExcep… in getsockoptTimeval()
377 …public StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoException… in getsockoptUcred()
583 …public int prctl(int option, long arg2, long arg3, long arg4, long arg5) throws ErrnoException { r… in prctl()
769 …public void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoExcept… in setsockoptByte()
774 …public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoEx… in setsockoptIfreq()
779 …public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoExcepti… in setsockoptInt()
[all …]
DLinux.java100 … public native int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptByte()
101 …public native InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoE… in getsockoptInAddr()
102 public native int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptInt()
103 …public native StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws Errno… in getsockoptLinger()
104 …public native StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws Err… in getsockoptTimeval()
105 …public native StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoEx… in getsockoptUcred()
138 …public native int prctl(int option, long arg2, long arg3, long arg4, long arg5) throws ErrnoExcept… in prctl()
250 …public native void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws Errn… in setsockoptByte()
251 …public native void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws … in setsockoptIfreq()
252 …public native void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws Errno… in setsockoptInt()
[all …]
DIoBridge.java365 public static Object getSocketOption(FileDescriptor fd, int option) throws SocketException { in getSocketOption()
374 …private static Object getSocketOptionErrno(FileDescriptor fd, int option) throws ErrnoException, S… in getSocketOptionErrno()
440 …public static void setSocketOption(FileDescriptor fd, int option, Object value) throws SocketExcep… in setSocketOption()
449 …private static void setSocketOptionErrno(FileDescriptor fd, int option, Object value) throws Errno… in setSocketOptionErrno()
/libcore/luni/src/main/java/android/system/
DOs.java298 …public static int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException {… in getsockoptByte()
301 …public static InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoE… in getsockoptInAddr()
321 …public static int getsockoptInt(@NonNull FileDescriptor fd, int level, int option) throws ErrnoExc… in getsockoptInt()
341 …e StructLinger getsockoptLinger(@NonNull FileDescriptor fd, int level, int option) throws ErrnoExc… in getsockoptLinger()
350 …StructTimeval getsockoptTimeval(@NonNull FileDescriptor fd, int level, int option) throws ErrnoExc… in getsockoptTimeval()
353 …public static StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoEx… in getsockoptUcred()
541 …public static int prctl(int option, long arg2, long arg3, long arg4, long arg5) throws ErrnoExcept… in prctl()
753 …public static void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws Errn… in setsockoptByte()
776 …public static void setsockoptIfreq(@NonNull FileDescriptor fd, int level, int option, @Nullable St… in setsockoptIfreq()
781 …public static void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws Errno… in setsockoptInt()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DDatagramSocketImplTest.java77 private static void setAndAssertOption(MockDatagramSocketImpl sockImpl, SocketOption option, in setAndAssertOption()
172 public void setSuperOption(SocketOption option, Object value) throws IOException { in setSuperOption()
/libcore/ojluni/src/main/java/java/lang/
DStackWalker.java339 public static StackWalker getInstance(Option option) { in getInstance()
620 boolean hasOption(Option option) { in hasOption()
/libcore/ojluni/src/main/java/java/nio/file/
DCopyMoveHelper.java84 CopyOption option = options[i]; in convertMoveToCopyOptions() local
/libcore/luni/src/test/java/libcore/java/lang/
DOldObjectTest.java142 public TestThread1(int option) { in TestThread1()
/libcore/luni/src/test/java/libcore/java/nio/file/
DFilesSetup.java147 static void writeToFile(Path file, String data, OpenOption... option) throws IOException { in writeToFile()
DFiles2Test.java609 Set<FileVisitOption> option = new HashSet<>(); in test_walkFileTree$Path$Set$int$FileVisitor_symbolicLinkFollow() local
719 Set<FileVisitOption> option = new HashSet<>(); in test_walkFileTree_negativeDepth() local
762 Set<FileVisitOption> option = new HashSet<>(); in test_walkFileTree_maximumDepth() local
814 Set<FileVisitOption> option = new HashSet<>(); in test_walkFileTree$Path$FileVisitor_FileSystemLoopException() local
1818 LinkOption option[]; field in Files2Test.TestFileVisitor
1825 public TestFileVisitor(Map<Object, VisitOption> dirMap, Set<FileVisitOption> option) { in TestFileVisitor()
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1518 static jint Linux_getsockoptByte(JNIEnv* env, jobject, jobject javaFd, jint level, jint option) { in Linux_getsockoptByte()
1526 static jobject Linux_getsockoptInAddr(JNIEnv* env, jobject, jobject javaFd, jint level, jint option in Linux_getsockoptInAddr()
1541 static jint Linux_getsockoptInt(JNIEnv* env, jobject, jobject javaFd, jint level, jint option) { in Linux_getsockoptInt()
1549 static jobject Linux_getsockoptLinger(JNIEnv* env, jobject, jobject javaFd, jint level, jint option in Linux_getsockoptLinger()
1562 …ic jobject Linux_getsockoptTimeval(JNIEnv* env, jobject, jobject javaFd, jint level, jint option) { in Linux_getsockoptTimeval()
1582 static jobject Linux_getsockoptUcred(JNIEnv* env, jobject, jobject javaFd, jint level, jint option)… in Linux_getsockoptUcred()
2454 static void Linux_setsockoptByte(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, jin… in Linux_setsockoptByte()
2460 static void Linux_setsockoptIfreq(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, js… in Linux_setsockoptIfreq()
2469 static void Linux_setsockoptInt(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, jint… in Linux_setsockoptInt()
2474 static void Linux_setsockoptIpMreqn(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, … in Linux_setsockoptIpMreqn()
[all …]