Home
last modified time | relevance | path

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

/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.java198 public int option; in test_SocketOptions_setOption() field in SocketTest.MySocketImpl
223 public void setOption(int option, Object value) throws SocketException { in test_SocketOptions_setOption()
/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/main/java/sun/security/util/
DDebug.java133 public static Debug getInstance(String option) in getInstance()
142 public static Debug getInstance(String option, String prefix) in getInstance()
157 public static boolean isOn(String option) in isOn()
/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/jdk/net/
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/luni/src/main/java/libcore/io/
DOs.java294 public int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptByte()
299 …public InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoExceptio… in getsockoptInAddr()
304 public int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptInt()
309 …public StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws ErrnoExcepti… in getsockoptLinger()
314 …public StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoExcep… in getsockoptTimeval()
319 …public StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptUcred()
488 public int prctl(int option, long arg2, long arg3, long arg4, long arg5) throws ErrnoException; in prctl()
636 …public void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoExcept… in setsockoptByte()
641 …public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoEx… in setsockoptIfreq()
646 …public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoExcepti… in setsockoptInt()
[all …]
DForwardingOs.java355 …public int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException { return… in getsockoptByte()
360 …public InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoExceptio… in getsockoptInAddr()
365 …public int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException { return … in getsockoptInt()
370 …public StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws ErrnoExcepti… in getsockoptLinger()
375 …public StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoExcep… in getsockoptTimeval()
380 …public StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoException… in getsockoptUcred()
587 …public int prctl(int option, long arg2, long arg3, long arg4, long arg5) throws ErrnoException { r… in prctl()
775 …public void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoExcept… in setsockoptByte()
780 …public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoEx… in setsockoptIfreq()
785 …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.java367 public static Object getSocketOption(FileDescriptor fd, int option) throws SocketException { in getSocketOption()
375 …private static Object getSocketOptionErrno(FileDescriptor fd, int option) throws ErrnoException, S… in getSocketOptionErrno()
441 …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.java302 …public static int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException {… in getsockoptByte()
305 …public static InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoE… in getsockoptInAddr()
326 …public static int getsockoptInt(@NonNull FileDescriptor fd, int level, int option) throws ErrnoExc… in getsockoptInt()
347 …e StructLinger getsockoptLinger(@NonNull FileDescriptor fd, int level, int option) throws ErrnoExc… in getsockoptLinger()
356 …StructTimeval getsockoptTimeval(@NonNull FileDescriptor fd, int level, int option) throws ErrnoExc… in getsockoptTimeval()
359 …public static StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoEx… in getsockoptUcred()
549 …public static int prctl(int option, long arg2, long arg3, long arg4, long arg5) throws ErrnoExcept… in prctl()
765 …public static void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws Errn… in setsockoptByte()
789 …public static void setsockoptIfreq(@NonNull FileDescriptor fd, int level, int option, @Nullable St… in setsockoptIfreq()
794 …public static void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws Errno… in setsockoptInt()
[all …]
/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.cpp1512 static jint Linux_getsockoptByte(JNIEnv* env, jobject, jobject javaFd, jint level, jint option) { in Linux_getsockoptByte()
1520 static jobject Linux_getsockoptInAddr(JNIEnv* env, jobject, jobject javaFd, jint level, jint option in Linux_getsockoptInAddr()
1535 static jint Linux_getsockoptInt(JNIEnv* env, jobject, jobject javaFd, jint level, jint option) { in Linux_getsockoptInt()
1543 static jobject Linux_getsockoptLinger(JNIEnv* env, jobject, jobject javaFd, jint level, jint option in Linux_getsockoptLinger()
1556 …ic jobject Linux_getsockoptTimeval(JNIEnv* env, jobject, jobject javaFd, jint level, jint option) { in Linux_getsockoptTimeval()
1576 static jobject Linux_getsockoptUcred(JNIEnv* env, jobject, jobject javaFd, jint level, jint option)… in Linux_getsockoptUcred()
2443 static void Linux_setsockoptByte(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, jin… in Linux_setsockoptByte()
2449 static void Linux_setsockoptIfreq(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, js… in Linux_setsockoptIfreq()
2458 static void Linux_setsockoptInt(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, jint… in Linux_setsockoptInt()
2463 static void Linux_setsockoptIpMreqn(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, … in Linux_setsockoptIpMreqn()
[all …]