Home
last modified time | relevance | path

Searched refs:fdo (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/main/native/
DFileDispatcherImpl.c67 jobject fdo, jlong address, jint len) in FileDispatcherImpl_read0() argument
69 jint fd = fdval(env, fdo); in FileDispatcherImpl_read0()
76 FileDispatcherImpl_pread0(JNIEnv *env, jclass clazz, jobject fdo, in FileDispatcherImpl_pread0() argument
79 jint fd = fdval(env, fdo); in FileDispatcherImpl_pread0()
87 jobject fdo, jlong address, jint len) in FileDispatcherImpl_readv0() argument
89 jint fd = fdval(env, fdo); in FileDispatcherImpl_readv0()
96 jobject fdo, jlong address, jint len) in FileDispatcherImpl_write0() argument
98 jint fd = fdval(env, fdo); in FileDispatcherImpl_write0()
105 FileDispatcherImpl_pwrite0(JNIEnv *env, jclass clazz, jobject fdo, in FileDispatcherImpl_pwrite0() argument
108 jint fd = fdval(env, fdo); in FileDispatcherImpl_pwrite0()
[all …]
DNet.c315 Java_sun_nio_ch_Net_bind0(JNIEnv *env, jclass clazz, jobject fdo, jboolean preferIPv6, in Java_sun_nio_ch_Net_bind0() argument
326 rv = NET_Bind(fdval(env, fdo), (struct sockaddr *)&sa, sa_len); in Java_sun_nio_ch_Net_bind0()
333 Java_sun_nio_ch_Net_listen(JNIEnv *env, jclass cl, jobject fdo, jint backlog) in Java_sun_nio_ch_Net_listen() argument
335 if (listen(fdval(env, fdo), backlog) < 0) in Java_sun_nio_ch_Net_listen()
341 jobject fdo, jobject iao, jint port) in Java_sun_nio_ch_Net_connect0() argument
353 rv = connect(fdval(env, fdo), (struct sockaddr *)&sa, sa_len); in Java_sun_nio_ch_Net_connect0()
366 Java_sun_nio_ch_Net_localPort(JNIEnv *env, jclass clazz, jobject fdo) in Java_sun_nio_ch_Net_localPort() argument
370 if (getsockname(fdval(env, fdo), (struct sockaddr *)&sa, &sa_len) < 0) { in Java_sun_nio_ch_Net_localPort()
406 Java_sun_nio_ch_Net_localInetAddress(JNIEnv *env, jclass clazz, jobject fdo) in Java_sun_nio_ch_Net_localInetAddress() argument
411 if (getsockname(fdval(env, fdo), (struct sockaddr *)&sa, &sa_len) < 0) { in Java_sun_nio_ch_Net_localInetAddress()
[all …]
DDatagramDispatcher.c52 jobject fdo, jlong address, jint len) in Java_sun_nio_ch_DatagramDispatcher_read0() argument
54 jint fd = fdval(env, fdo); in Java_sun_nio_ch_DatagramDispatcher_read0()
69 jobject fdo, jlong address, jint len) in Java_sun_nio_ch_DatagramDispatcher_readv0() argument
71 jint fd = fdval(env, fdo); in Java_sun_nio_ch_DatagramDispatcher_readv0()
99 jobject fdo, jlong address, jint len) in Java_sun_nio_ch_DatagramDispatcher_write0() argument
101 jint fd = fdval(env, fdo); in Java_sun_nio_ch_DatagramDispatcher_write0()
113 jobject fdo, jlong address, jint len) in Java_sun_nio_ch_DatagramDispatcher_writev0() argument
115 jint fd = fdval(env, fdo); in Java_sun_nio_ch_DatagramDispatcher_writev0()
DIOUtil.c62 IOUtil_fdVal(JNIEnv *env, jclass clazz, jobject fdo) in IOUtil_fdVal() argument
64 return (*env)->GetIntField(env, fdo, fd_fdID); in IOUtil_fdVal()
68 IOUtil_setfdVal(JNIEnv *env, jclass clazz, jobject fdo, jint val) in IOUtil_setfdVal() argument
70 (*env)->SetIntField(env, fdo, fd_fdID, val); in IOUtil_setfdVal()
84 jobject fdo, jboolean blocking) in IOUtil_configureBlocking() argument
86 if (configureBlocking(fdval(env, fdo), blocking) < 0) in IOUtil_configureBlocking()
204 fdval(JNIEnv *env, jobject fdo) in fdval() argument
206 return (*env)->GetIntField(env, fdo, fd_fdID); in fdval()
DSocketChannelImpl.c53 jobject fdo, jboolean block, in Java_sun_nio_ch_SocketChannelImpl_checkConnect() argument
58 jint fd = fdval(env, fdo); in Java_sun_nio_ch_SocketChannelImpl_checkConnect()
93 jobject fdo, jbyte b) in Java_sun_nio_ch_SocketChannelImpl_sendOutOfBandData() argument
95 int n = send(fdval(env, fdo), (const void*)&b, 1, MSG_OOB); in Java_sun_nio_ch_SocketChannelImpl_sendOutOfBandData()
DDatagramChannelImpl.c90 jobject fdo, jboolean isIPv6) in Java_sun_nio_ch_DatagramChannelImpl_disconnect0() argument
92 jint fd = fdval(env, fdo); in Java_sun_nio_ch_DatagramChannelImpl_disconnect0()
153 jobject fdo, jlong address, in Java_sun_nio_ch_DatagramChannelImpl_receive0() argument
156 jint fd = fdval(env, fdo); in Java_sun_nio_ch_DatagramChannelImpl_receive0()
243 jboolean preferIPv6, jobject fdo, jlong address, in Java_sun_nio_ch_DatagramChannelImpl_send0() argument
246 jint fd = fdval(env, fdo); in Java_sun_nio_ch_DatagramChannelImpl_send0()
DFileKey.c57 FileKey_init(JNIEnv *env, jobject this, jobject fdo) in FileKey_init() argument
62 RESTARTABLE(fstat64(fdval(env, fdo), &fbuf), res); in FileKey_init()
Dnio_util.h45 jint fdval(JNIEnv *env, jobject fdo);
DMappedByteBuffer.c96 Java_java_nio_MappedByteBuffer_force0(JNIEnv *env, jobject obj, jobject fdo, in Java_java_nio_MappedByteBuffer_force0() argument
/libcore/ojluni/src/main/java/sun/nio/ch/
DSimpleAsynchronousFileChannelImpl.java65 public static AsynchronousFileChannel open(FileDescriptor fdo, in open() argument
73 return new SimpleAsynchronousFileChannelImpl(fdo, reading, writing, executor); in open()
DAsynchronousChannelGroupImpl.java230 abstract Object attachForeignChannel(Channel channel, FileDescriptor fdo)