/libcore/ojluni/src/main/native/ |
D | FileDispatcherImpl.c | 61 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 …]
|
D | Net.c | 216 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 …]
|
D | DatagramDispatcher.c | 52 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()
|
D | IOUtil.c | 59 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()
|
D | SocketChannelImpl.c | 53 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()
|
D | FileChannelImpl.c | 81 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()
|
D | DatagramChannelImpl.c | 80 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()
|
D | FileKey.c | 55 FileKey_init(JNIEnv *env, jobject this, jobject fdo) in FileKey_init() argument 60 RESTARTABLE(fstat64(fdval(env, fdo), &fbuf), res); in FileKey_init()
|
D | nio_util.h | 45 jint fdval(JNIEnv *env, jobject fdo);
|
D | MappedByteBuffer.c | 89 Java_java_nio_MappedByteBuffer_force0(JNIEnv *env, jobject obj, jobject fdo, in Java_java_nio_MappedByteBuffer_force0() argument
|