/libcore/ojluni/src/main/native/ |
H A D | String.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 34 String_intern(JNIEnv *env, jobject this) argument 36 return JVM_InternString(env, this);
|
H A D | FileDescriptor_md.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 58 FileDescriptor_sync(JNIEnv *env, jobject this) { argument 59 int fd = (*env)->GetIntField(env, this, IO_fd_fdID);
|
H A D | FileKey.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 55 FileKey_init(JNIEnv *env, jobject this, jobject fdo) argument 64 (*env)->SetLongField(env, this, key_st_dev, (jlong)fbuf.st_dev); 65 (*env)->SetLongField(env, this, key_st_ino, (jlong)fbuf.st_ino);
|
H A D | FileOutputStream_md.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 55 FileOutputStream_open(JNIEnv *env, jobject this, argument 57 fileOpen(env, this, path, fos_fd,
|
H A D | ObjectStreamClass.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 54 ObjectStreamClass_hasStaticInitializer(JNIEnv *env, jclass this, argument 74 // that would fail in this check (b/29064453). 82 * Empirically, this step appears to be unnecessary in 1.4; however, the
|
H A D | Runtime.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 27 * Link foreign methods. This first half of this file contains the 30 * the implementation of this shared dynamic linking 33 * NOTE - source in this file is POSIX.1 compliant, host 48 Runtime_freeMemory(JNIEnv *env, jobject this) argument 54 Runtime_totalMemory(JNIEnv *env, jobject this) argument 60 Runtime_maxMemory(JNIEnv *env, jobject this) argument 66 Runtime_gc(JNIEnv *env, jobject this) argument 72 Runtime_nativeExit(JNIEnv *env, jclass this, jint status) argument [all...] |
H A D | SocketChannelImpl.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 52 Java_sun_nio_ch_SocketChannelImpl_checkConnect(JNIEnv *env, jobject this, argument 92 Java_sun_nio_ch_SocketChannelImpl_sendOutOfBandData(JNIEnv* env, jclass this, argument
|
H A D | SocketInputStream.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 54 SocketInputStream_socketRead0(JNIEnv *env, jobject this, argument 63 /* should't this be a NullPointerException? -br */ 69 /* Bug 4086704 - If the Socket associated with this file descriptor
|
H A D | FileInputStream.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 66 FileInputStream_open(JNIEnv *env, jobject this, jstring path) { argument 67 fileOpen(env, this, path, fis_fd, O_RDONLY); 71 FileInputStream_skip0(JNIEnv *env, jobject this, jlong toSkip) { argument 74 FD fd = GET_FD(this, fis_fd); 94 // types. For regular files, this is specified to return the difference 95 // between the current position and the file size. Note that this ca 118 FileInputStream_available0(JNIEnv *env, jobject this) argument [all...] |
H A D | SocketOutputStream.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 55 SocketOutputStream_socketWrite0(JNIEnv *env, jobject this, argument 69 /* Bug 4086704 - If the Socket associated with this file descriptor
|
H A D | io_util_md.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 66 fileOpen(JNIEnv *env, jobject this, jstring path, jfieldID fid, int flags) argument 91 SET_FD(this, fd, fid); 102 fileClose(JNIEnv *env, jobject this, jfieldID fid) argument 104 FD fd = GET_FD(this, fid); 115 SET_FD(this, -1, fid); 125 SET_FD(this, f [all...] |
H A D | ObjectInputStream.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 49 jclass this, 116 jclass this, 48 Java_java_io_ObjectInputStream_bytesToFloats(JNIEnv *env, jclass this, jbyteArray src, jint srcpos, jfloatArray dst, jint dstpos, jint nfloats) argument 115 Java_java_io_ObjectInputStream_bytesToDoubles(JNIEnv *env, jclass this, jbyteArray src, jint srcpos, jdoubleArray dst, jint dstpos, jint ndoubles) argument
|
H A D | ObjectOutputStream.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 48 jclass this, 120 jclass this, 47 Java_java_io_ObjectOutputStream_floatsToBytes(JNIEnv *env, jclass this, jfloatArray src, jint srcpos, jbyteArray dst, jint dstpos, jint nfloats) argument 119 Java_java_io_ObjectOutputStream_doublesToBytes(JNIEnv *env, jclass this, jdoubleArray src, jint srcpos, jbyteArray dst, jint dstpos, jint ndoubles) argument
|
H A D | PollArrayWrapper.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 76 Java_sun_nio_ch_PollArrayWrapper_poll0(JNIEnv *env, jobject this, argument 98 Java_sun_nio_ch_PollArrayWrapper_interrupt(JNIEnv *env, jobject this, jint fd) argument
|
H A D | ServerSocketChannelImpl.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 36 typedef size_t socklen_t; /* New in SunOS 5.7, so need this for 5.6 */ 75 ServerSocketChannelImpl_accept0(JNIEnv *env, jobject this, argument
|
H A D | io_util.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 40 readSingle(JNIEnv *env, jobject this, jfieldID fid) { argument 43 FD fd = GET_FD(this, fid); 77 readBytes(JNIEnv *env, jobject this, jbyteArray bytes, argument 107 fd = GET_FD(this, fid); 131 writeSingle(JNIEnv *env, jobject this, jint byte, jboolean append, jfieldID fid) { argument 135 FD fd = GET_FD(this, fi 153 writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off, jint len, jboolean append, jfieldID fid) argument [all...] |
H A D | Bits.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 76 Java_java_nio_Bits_copyFromShortArray(JNIEnv *env, jobject this, jobject src, argument 87 /* do not change this if-else statement, see WARNING above */ 111 Java_java_nio_Bits_copyToShortArray(JNIEnv *env, jobject this, jlong srcAddr, argument 122 /* do not change this if-else statement, see WARNING above */ 146 Java_java_nio_Bits_copyFromIntArray(JNIEnv *env, jobject this, jobject src, argument 157 /* do not change this cod 181 Java_java_nio_Bits_copyToIntArray(JNIEnv *env, jobject this, jlong srcAddr, jobject dst, jlong dstPos, jlong length) argument 216 Java_java_nio_Bits_copyFromLongArray(JNIEnv *env, jobject this, jobject src, jlong srcPos, jlong dstAddr, jlong length) argument 251 Java_java_nio_Bits_copyToLongArray(JNIEnv *env, jobject this, jlong srcAddr, jobject dst, jlong dstPos, jlong length) argument [all...] |
H A D | DatagramChannelImpl.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 79 Java_sun_nio_ch_DatagramChannelImpl_disconnect0(JNIEnv *env, jobject this, argument 132 Java_sun_nio_ch_DatagramChannelImpl_receive0(JNIEnv *env, jobject this, argument 179 (*env)->SetObjectField(env, this, dci_senderID, NULL); 188 senderAddr = (*env)->GetObjectField(env, this, dci_senderAddrID); 194 jint port = (*env)->GetIntField(env, this, dci_senderPortID); 215 (*env)->SetObjectField(env, this, dci_senderAddrI 224 Java_sun_nio_ch_DatagramChannelImpl_send0(JNIEnv *env, jobject this, jboolean preferIPv6, jobject fdo, jlong address, jint len, jobject destAddress, jint destPort) argument [all...] |
H A D | FileChannelImpl.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 77 FileChannelImpl_map0(JNIEnv *env, jobject this, argument 81 jobject fdo = (*env)->GetObjectField(env, this, chan_fd); 118 FileChannelImpl_unmap0(JNIEnv *env, jobject this, argument 129 FileChannelImpl_position0(JNIEnv *env, jobject this, argument 145 FileChannelImpl_close0(JNIEnv *env, jobject this, jobject fdo) argument 157 FileChannelImpl_transferTo0(JNIEnv *env, jobject this, argument [all...] |
H A D | IOUtil.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 88 IOUtil_makePipe(JNIEnv *env, jobject this, jboolean blocking) argument 126 IOUtil_fdLimit(JNIEnv *env, jclass this) argument 167 IOUtil_iovMax(JNIEnv *env, jclass this) argument
|
H A D | Inet4AddressImpl.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 190 Inet4AddressImpl_isReachable0(JNIEnv *env, jobject this, argument
|
H A D | java_util_zip_Deflater.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 120 Deflater_deflateBytes(JNIEnv *env, jobject this, jlong addr, argument 125 jarray this_buf = (*env)->GetObjectField(env, this, bufID); 126 jint this_off = (*env)->GetIntField(env, this, offID); 127 jint this_len = (*env)->GetIntField(env, this, lenID); 131 if ((*env)->GetBooleanField(env, this, setParamsID)) { 132 int level = (*env)->GetIntField(env, this, levelI [all...] |
H A D | java_util_zip_Inflater.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 110 Inflater_inflateBytes(JNIEnv *env, jobject this, jlong addr, argument 114 jarray this_buf = (jarray)(*env)->GetObjectField(env, this, bufID); 115 jint this_off = (*env)->GetIntField(env, this, offID); 116 jint this_len = (*env)->GetIntField(env, this, lenID); 145 (*env)->SetBooleanField(env, this, finishedID, JNI_TRUE); 149 (*env)->SetIntField(env, this, offI [all...] |
H A D | FileDispatcherImpl.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 129 FileDispatcherImpl_force0(JNIEnv *env, jobject this, argument 144 FileDispatcherImpl_truncate0(JNIEnv *env, jobject this, argument 153 FileDispatcherImpl_size0(JNIEnv *env, jobject this, jobject fdo) argument 163 FileDispatcherImpl_lock0(JNIEnv *env, jobject this, jobject fdo, argument 201 FileDispatcherImpl_release0(JNIEnv *env, jobject this, argument
|
H A D | Inet6AddressImpl.c | 7 * published by the Free Software Foundation. Oracle designates this 9 * by Oracle in the LICENSE file that accompanied this code. 15 * accompanied this code). 18 * 2 along with this work; if not, write to the Free Software Foundation, 77 Inet6AddressImpl_getHostByAddr0(JNIEnv *env, jobject this, argument 164 * checksum of ICMPv6 packets unless you set this socket option 261 Inet6AddressImpl_isReachable0(JNIEnv *env, jobject this, argument 288 return Inet4AddressImpl_isReachable0(env, this, 323 * Note that this is empiric, and not connecting could mean it's blocked
|