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/android/system/
DOs.java259 …public static int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException {… in getsockoptByte()
262 …public static InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoE… in getsockoptInAddr()
266 …public static int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException { … in getsockoptInt()
270 …public static StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws Errno… in getsockoptLinger()
279 …StructTimeval getsockoptTimeval(@NonNull FileDescriptor fd, int level, int option) throws ErrnoExc… in getsockoptTimeval()
282 …public static StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoEx… in getsockoptUcred()
440 …public static int prctl(int option, long arg2, long arg3, long arg4, long arg5) throws ErrnoExcept… in prctl()
590 …public static void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws Errn… in setsockoptByte()
595 …public static void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws … in setsockoptIfreq()
600 …public static void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws Errno… in setsockoptInt()
[all …]
/libcore/luni/src/main/java/libcore/io/
DOs.java101 public int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptByte()
102 …public InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoExceptio… in getsockoptInAddr()
103 public int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptInt()
104 …public StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws ErrnoExcepti… in getsockoptLinger()
105 …public StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoExcep… in getsockoptTimeval()
106 …public StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptUcred()
143 public int prctl(int option, long arg2, long arg3, long arg4, long arg5) throws ErrnoException; in prctl()
173 …public void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoExcept… in setsockoptByte()
174 …public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoEx… in setsockoptIfreq()
175 …public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoExcepti… in setsockoptInt()
[all …]
DForwardingOs.java125 …public int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException { return… in getsockoptByte()
126 …public InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoExceptio… in getsockoptInAddr()
127 …public int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException { return … in getsockoptInt()
128 …public StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws ErrnoExcepti… in getsockoptLinger()
129 …public StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoExcep… in getsockoptTimeval()
130 …public StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoException… in getsockoptUcred()
170 …public int prctl(int option, long arg2, long arg3, long arg4, long arg5) throws ErrnoException { r… in prctl()
204 …public void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoExcept… in setsockoptByte()
205 …public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoEx… in setsockoptIfreq()
206 …public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoExcepti… in setsockoptInt()
[all …]
DLinux.java99 … public native int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptByte()
100 …public native InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoE… in getsockoptInAddr()
101 public native int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptInt()
102 …public native StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws Errno… in getsockoptLinger()
103 …public native StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws Err… in getsockoptTimeval()
104 …public native StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoEx… in getsockoptUcred()
137 …public native int prctl(int option, long arg2, long arg3, long arg4, long arg5) throws ErrnoExcept… in prctl()
247 …public native void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws Errn… in setsockoptByte()
248 …public native void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws … in setsockoptIfreq()
249 …public native void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws Errno… in setsockoptInt()
[all …]
DIoBridge.java300 public static Object getSocketOption(FileDescriptor fd, int option) throws SocketException { in getSocketOption()
308 …private static Object getSocketOptionErrno(FileDescriptor fd, int option) throws ErrnoException, S… in getSocketOptionErrno()
372 …public static void setSocketOption(FileDescriptor fd, int option, Object value) throws SocketExcep… in setSocketOption()
380 …private static void setSocketOptionErrno(FileDescriptor fd, int option, Object value) throws Errno… in setSocketOptionErrno()
/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.cpp1463 static jint Linux_getsockoptByte(JNIEnv* env, jobject, jobject javaFd, jint level, jint option) { in Linux_getsockoptByte()
1471 static jobject Linux_getsockoptInAddr(JNIEnv* env, jobject, jobject javaFd, jint level, jint option in Linux_getsockoptInAddr()
1486 static jint Linux_getsockoptInt(JNIEnv* env, jobject, jobject javaFd, jint level, jint option) { in Linux_getsockoptInt()
1494 static jobject Linux_getsockoptLinger(JNIEnv* env, jobject, jobject javaFd, jint level, jint option in Linux_getsockoptLinger()
1507 …ic jobject Linux_getsockoptTimeval(JNIEnv* env, jobject, jobject javaFd, jint level, jint option) { in Linux_getsockoptTimeval()
1527 static jobject Linux_getsockoptUcred(JNIEnv* env, jobject, jobject javaFd, jint level, jint option)… in Linux_getsockoptUcred()
2282 static void Linux_setsockoptByte(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, jin… in Linux_setsockoptByte()
2288 static void Linux_setsockoptIfreq(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, js… in Linux_setsockoptIfreq()
2297 static void Linux_setsockoptInt(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, jint… in Linux_setsockoptInt()
2302 static void Linux_setsockoptIpMreqn(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, … in Linux_setsockoptIpMreqn()
[all …]