Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/net/
DOldSocketTestCase.java59 public boolean getOptionIsSupported(int option) { in getOptionIsSupported()
91 public void handleException(Exception e, int option) { in handleException()
120 public void ensureExceptionThrownIfOptionIsUnsupportedOnOS(int option) { in ensureExceptionThrownIfOptionIsUnsupportedOnOS()
130 private String getSocketOptionString(int option) { in getSocketOptionString()
DSocketTest.java175 public int option; in test_SocketOptions_setOption() field in SocketTest.MySocketImpl
200 public void setOption(int option, Object value) throws SocketException { in test_SocketOptions_setOption()
/libcore/luni/src/main/native/
Djava_io_FileDescriptor.cpp27 int option; in FileDescriptor_isSocket() local
Dlibcore_io_Posix.cpp792 static jint Posix_getsockoptByte(JNIEnv* env, jobject, jobject javaFd, jint level, jint option) { in Posix_getsockoptByte()
800 static jobject Posix_getsockoptInAddr(JNIEnv* env, jobject, jobject javaFd, jint level, jint option in Posix_getsockoptInAddr()
815 static jint Posix_getsockoptInt(JNIEnv* env, jobject, jobject javaFd, jint level, jint option) { in Posix_getsockoptInt()
823 static jobject Posix_getsockoptLinger(JNIEnv* env, jobject, jobject javaFd, jint level, jint option in Posix_getsockoptLinger()
836 …ic jobject Posix_getsockoptTimeval(JNIEnv* env, jobject, jobject javaFd, jint level, jint option) { in Posix_getsockoptTimeval()
849 static jobject Posix_getsockoptUcred(JNIEnv* env, jobject, jobject javaFd, jint level, jint option)… in Posix_getsockoptUcred()
1275 static void Posix_setsockoptByte(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, jin… in Posix_setsockoptByte()
1281 static void Posix_setsockoptIfreq(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, js… in Posix_setsockoptIfreq()
1290 static void Posix_setsockoptInt(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, jint… in Posix_setsockoptInt()
1301 static void Posix_setsockoptIpMreqn(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, … in Posix_setsockoptIpMreqn()
[all …]
/libcore/luni/src/main/java/libcore/io/
DOs.java80 public int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptByte()
81 …public InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoExceptio… in getsockoptInAddr()
82 public int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptInt()
83 …public StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws ErrnoExcepti… in getsockoptLinger()
84 …public StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoExcep… in getsockoptTimeval()
85 …public StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptUcred()
112 public int prctl(int option, long arg2, long arg3, long arg4, long arg5) throws ErrnoException; in prctl()
133 …public void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoExcept… in setsockoptByte()
134 …public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoEx… in setsockoptIfreq()
135 …public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoExcepti… in setsockoptInt()
[all …]
DForwardingOs.java88 …public int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException { return… in getsockoptByte()
89 …public InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoExceptio… in getsockoptInAddr()
90 …public int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException { return … in getsockoptInt()
91 …public StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws ErrnoExcepti… in getsockoptLinger()
92 …public StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoExcep… in getsockoptTimeval()
93 …public StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoException… in getsockoptUcred()
119 …public int prctl(int option, long arg2, long arg3, long arg4, long arg5) throws ErrnoException { r… in prctl()
140 …public void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoExcept… in setsockoptByte()
141 …public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoEx… in setsockoptIfreq()
142 …public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoExcepti… in setsockoptInt()
[all …]
DPosix.java82 … public native int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptByte()
83 …public native InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoE… in getsockoptInAddr()
84 public native int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptInt()
85 …public native StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws Errno… in getsockoptLinger()
86 …public native StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws Err… in getsockoptTimeval()
87 …public native StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoEx… in getsockoptUcred()
113 …public native int prctl(int option, long arg2, long arg3, long arg4, long arg5) throws ErrnoExcept… in prctl()
214 …public native void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws Errn… in setsockoptByte()
215 …public native void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws … in setsockoptIfreq()
216 …public native void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws Errno… in setsockoptInt()
[all …]
DIoBridge.java254 public static Object getSocketOption(FileDescriptor fd, int option) throws SocketException { in getSocketOption()
262 …private static Object getSocketOptionErrno(FileDescriptor fd, int option) throws ErrnoException, S… in getSocketOptionErrno()
321 …public static void setSocketOption(FileDescriptor fd, int option, Object value) throws SocketExcep… in setSocketOption()
329 …private static void setSocketOptionErrno(FileDescriptor fd, int option, Object value) throws Errno… in setSocketOptionErrno()
/libcore/luni/src/main/java/android/system/
DOs.java192 …/** @hide */ public static int getsockoptByte(FileDescriptor fd, int level, int option) throws Err… in getsockoptByte()
193 …/** @hide */ public static InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) … in getsockoptInAddr()
194 …/** @hide */ public static int getsockoptInt(FileDescriptor fd, int level, int option) throws Errn… in getsockoptInt()
195 …/** @hide */ public static StructLinger getsockoptLinger(FileDescriptor fd, int level, int option)… in getsockoptLinger()
196 …c static StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoExc… in getsockoptTimeval()
197 …/** @hide */ public static StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) t… in getsockoptUcred()
320 …public static int prctl(int option, long arg2, long arg3, long arg4, long arg5) throws ErrnoExcept… in prctl()
422 …/** @hide */ public static void setsockoptByte(FileDescriptor fd, int level, int option, int value… in setsockoptByte()
423 …/** @hide */ public static void setsockoptIfreq(FileDescriptor fd, int level, int option, String v… in setsockoptIfreq()
424 …/** @hide */ public static void setsockoptInt(FileDescriptor fd, int level, int option, int value)… in setsockoptInt()
[all …]
/libcore/luni/src/main/java/java/net/
DPlainDatagramSocketImpl.java107 @Override public Object getOption(int option) throws SocketException { in getOption()
188 public void setOption(int option, Object value) throws SocketException { in setOption()
DPlainSocketImpl.java241 @Override public Object getOption(int option) throws SocketException { in getOption()
285 public void setOption(int option, Object value) throws SocketException { in setOption()
/libcore/luni/src/test/java/libcore/java/lang/
DOldObjectTest.java142 public TestThread1(int option) { in TestThread1()
/libcore/luni/src/main/java/java/text/
DSimpleDateFormat.java1146 String option = options[i]; in parseText() local