Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
DFileDispatcherImpl.c61 jobject fdo, jlong address, jint len) in FileDispatcherImpl_read0() argument
63 jint fd = fdval(env, fdo); in FileDispatcherImpl_read0()
70 FileDispatcherImpl_pread0(JNIEnv *env, jclass clazz, jobject fdo, in FileDispatcherImpl_pread0() argument
73 jint fd = fdval(env, fdo); in FileDispatcherImpl_pread0()
81 jobject fdo, jlong address, jint len) in FileDispatcherImpl_readv0() argument
83 jint fd = fdval(env, fdo); in FileDispatcherImpl_readv0()
90 jobject fdo, jlong address, jint len) in FileDispatcherImpl_write0() argument
92 jint fd = fdval(env, fdo); in FileDispatcherImpl_write0()
99 FileDispatcherImpl_pwrite0(JNIEnv *env, jclass clazz, jobject fdo, in FileDispatcherImpl_pwrite0() argument
102 jint fd = fdval(env, fdo); in FileDispatcherImpl_pwrite0()
[all …]
DNet.c216 Java_sun_nio_ch_Net_bind0(JNIEnv *env, jclass clazz, jobject fdo, jboolean preferIPv6, in Java_sun_nio_ch_Net_bind0() argument
227 rv = NET_Bind(fdval(env, fdo), (struct sockaddr *)&sa, sa_len); in Java_sun_nio_ch_Net_bind0()
234 Java_sun_nio_ch_Net_listen(JNIEnv *env, jclass cl, jobject fdo, jint backlog) in Java_sun_nio_ch_Net_listen() argument
236 if (listen(fdval(env, fdo), backlog) < 0) in Java_sun_nio_ch_Net_listen()
242 jobject fdo, jobject iao, jint port) in Java_sun_nio_ch_Net_connect0() argument
254 rv = connect(fdval(env, fdo), (struct sockaddr *)&sa, sa_len); in Java_sun_nio_ch_Net_connect0()
267 Java_sun_nio_ch_Net_localPort(JNIEnv *env, jclass clazz, jobject fdo) in Java_sun_nio_ch_Net_localPort() argument
271 if (getsockname(fdval(env, fdo), (struct sockaddr *)&sa, &sa_len) < 0) { in Java_sun_nio_ch_Net_localPort()
301 Java_sun_nio_ch_Net_localInetAddress(JNIEnv *env, jclass clazz, jobject fdo) in Java_sun_nio_ch_Net_localInetAddress() argument
306 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.c59 IOUtil_fdVal(JNIEnv *env, jclass clazz, jobject fdo) in IOUtil_fdVal() argument
61 return (*env)->GetIntField(env, fdo, fd_fdID); in IOUtil_fdVal()
65 IOUtil_setfdVal(JNIEnv *env, jclass clazz, jobject fdo, jint val) in IOUtil_setfdVal() argument
67 (*env)->SetIntField(env, fdo, fd_fdID, val); in IOUtil_setfdVal()
81 jobject fdo, jboolean blocking) in IOUtil_configureBlocking() argument
83 if (configureBlocking(fdval(env, fdo), blocking) < 0) in IOUtil_configureBlocking()
202 fdval(JNIEnv *env, jobject fdo) in fdval() argument
204 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()
DFileChannelImpl.c81 jobject fdo = (*env)->GetObjectField(env, this, chan_fd); in FileChannelImpl_map0() local
82 jint fd = fdval(env, fdo); in FileChannelImpl_map0()
130 jobject fdo, jlong offset) in FileChannelImpl_position0() argument
132 jint fd = fdval(env, fdo); in FileChannelImpl_position0()
145 FileChannelImpl_close0(JNIEnv *env, jobject this, jobject fdo) in FileChannelImpl_close0() argument
147 jint fd = fdval(env, fdo); in FileChannelImpl_close0()
DDatagramChannelImpl.c80 jobject fdo, jboolean isIPv6) in Java_sun_nio_ch_DatagramChannelImpl_disconnect0() argument
82 jint fd = fdval(env, fdo); in Java_sun_nio_ch_DatagramChannelImpl_disconnect0()
133 jobject fdo, jlong address, in Java_sun_nio_ch_DatagramChannelImpl_receive0() argument
136 jint fd = fdval(env, fdo); in Java_sun_nio_ch_DatagramChannelImpl_receive0()
225 jboolean preferIPv6, jobject fdo, jlong address, in Java_sun_nio_ch_DatagramChannelImpl_send0() argument
228 jint fd = fdval(env, fdo); in Java_sun_nio_ch_DatagramChannelImpl_send0()
DFileKey.c55 FileKey_init(JNIEnv *env, jobject this, jobject fdo) in FileKey_init() argument
60 RESTARTABLE(fstat64(fdval(env, fdo), &fbuf), res); in FileKey_init()
Dnio_util.h45 jint fdval(JNIEnv *env, jobject fdo);
DMappedByteBuffer.c89 Java_java_nio_MappedByteBuffer_force0(JNIEnv *env, jobject obj, jobject fdo, in Java_java_nio_MappedByteBuffer_force0() argument