/libcore/ojluni/src/main/native/ |
D | io_util_md.h | 49 #define SET_FD(this, fd, fid) \ argument 50 if ((*env)->GetObjectField(env, (this), (fid)) != NULL) \ 51 (*env)->SetIntField(env, (*env)->GetObjectField(env, (this), (fid)),IO_fd_fdID, (fd)) 53 #define GET_FD(this, fid) \ argument 54 (*env)->GetObjectField(env, (this), (fid)) == NULL ? \ 55 -1 : (*env)->GetIntField(env, (*env)->GetObjectField(env, (this), (fid)), IO_fd_fdID) 89 void fileClose(JNIEnv *env, jobject this, jfieldID fid);
|
D | Runtime.c | 47 Runtime_freeMemory(JNIEnv *env, jobject this) in Runtime_freeMemory() argument 53 Runtime_totalMemory(JNIEnv *env, jobject this) in Runtime_totalMemory() argument 59 Runtime_maxMemory(JNIEnv *env, jobject this) in Runtime_maxMemory() argument 65 Runtime_nativeGc(JNIEnv *env, jobject this) in Runtime_nativeGc() argument 71 Runtime_nativeExit(JNIEnv *env, jclass this, jint status) in Runtime_nativeExit() argument
|
D | Deflater.c | 125 Deflater_deflateBytes(JNIEnv *env, jobject this, jlong addr, in Deflater_deflateBytes() argument 130 jarray this_buf = (*env)->GetObjectField(env, this, bufID); in Deflater_deflateBytes() 131 jint this_off = (*env)->GetIntField(env, this, offID); in Deflater_deflateBytes() 132 jint this_len = (*env)->GetIntField(env, this, lenID); in Deflater_deflateBytes() 136 if ((*env)->GetBooleanField(env, this, setParamsID)) { in Deflater_deflateBytes() 137 int level = (*env)->GetIntField(env, this, levelID); in Deflater_deflateBytes() 138 int strategy = (*env)->GetIntField(env, this, strategyID); in Deflater_deflateBytes() 164 (*env)->SetBooleanField(env, this, setParamsID, JNI_FALSE); in Deflater_deflateBytes() 166 (*env)->SetIntField(env, this, offID, this_off); in Deflater_deflateBytes() 167 (*env)->SetIntField(env, this, lenID, strm->avail_in); in Deflater_deflateBytes() [all …]
|
D | io_util_md.c | 97 fileOpen(JNIEnv *env, jobject this, jstring path, jfieldID fid, int flags) in fileOpen() argument 110 SET_FD(this, fd, fid); in fileOpen() 119 fileClose(JNIEnv *env, jobject this, jfieldID fid) in fileClose() argument 121 FD fd = GET_FD(this, fid); in fileClose() 132 SET_FD(this, -1, fid); in fileClose() 142 SET_FD(this, fd, fid); // restore fd in fileClose()
|
D | Inflater.c | 117 Inflater_inflateBytes(JNIEnv *env, jobject this, jlong addr, in Inflater_inflateBytes() argument 121 jarray this_buf = (jarray)(*env)->GetObjectField(env, this, bufID); in Inflater_inflateBytes() 122 jint this_off = (*env)->GetIntField(env, this, offID); in Inflater_inflateBytes() 123 jint this_len = (*env)->GetIntField(env, this, lenID); in Inflater_inflateBytes() 152 (*env)->SetBooleanField(env, this, finishedID, JNI_TRUE); in Inflater_inflateBytes() 156 (*env)->SetIntField(env, this, offID, this_off); in Inflater_inflateBytes() 157 (*env)->SetIntField(env, this, lenID, strm->avail_in); in Inflater_inflateBytes() 160 (*env)->SetBooleanField(env, this, needDictID, JNI_TRUE); in Inflater_inflateBytes() 163 (*env)->SetIntField(env, this, offID, this_off); in Inflater_inflateBytes() 164 (*env)->SetIntField(env, this, lenID, strm->avail_in); in Inflater_inflateBytes()
|
D | UnixNativeDispatcher.c | 181 Java_sun_nio_fs_UnixNativeDispatcher_init(JNIEnv* env, jclass this) in Java_sun_nio_fs_UnixNativeDispatcher_init() argument 295 Java_sun_nio_fs_UnixNativeDispatcher_getcwd(JNIEnv* env, jclass this) { in Java_sun_nio_fs_UnixNativeDispatcher_getcwd() argument 314 Java_sun_nio_fs_UnixNativeDispatcher_strerror(JNIEnv* env, jclass this, jint error) in Java_sun_nio_fs_UnixNativeDispatcher_strerror() argument 336 Java_sun_nio_fs_UnixNativeDispatcher_dup(JNIEnv* env, jclass this, jint fd) { in Java_sun_nio_fs_UnixNativeDispatcher_dup() argument 348 Java_sun_nio_fs_UnixNativeDispatcher_fopen0(JNIEnv* env, jclass this, in Java_sun_nio_fs_UnixNativeDispatcher_fopen0() argument 367 Java_sun_nio_fs_UnixNativeDispatcher_fclose(JNIEnv* env, jclass this, jlong stream) in Java_sun_nio_fs_UnixNativeDispatcher_fclose() argument 382 Java_sun_nio_fs_UnixNativeDispatcher_open0(JNIEnv* env, jclass this, in Java_sun_nio_fs_UnixNativeDispatcher_open0() argument 396 Java_sun_nio_fs_UnixNativeDispatcher_openat0(JNIEnv* env, jclass this, jint dfd, in Java_sun_nio_fs_UnixNativeDispatcher_openat0() argument 415 Java_sun_nio_fs_UnixNativeDispatcher_close(JNIEnv* env, jclass this, jint fd) { in Java_sun_nio_fs_UnixNativeDispatcher_close() argument 435 Java_sun_nio_fs_UnixNativeDispatcher_read(JNIEnv* env, jclass this, jint fd, in Java_sun_nio_fs_UnixNativeDispatcher_read() argument [all …]
|
D | UnixAsynchronousServerSocketChannelImpl.c | 32 jobject this, jobject ssfdo, jobject newfdo, jobjectArray isaa); 43 jobject this, jobject ssfdo, jobject newfdo, jobjectArray isaa) in Java_sun_nio_ch_UnixAsynchronousServerSocketChannelImpl_accept0() argument 45 return Java_sun_nio_ch_ServerSocketChannelImpl_accept0(env, this, in Java_sun_nio_ch_UnixAsynchronousServerSocketChannelImpl_accept0()
|
D | io_util.c | 40 readSingle(JNIEnv *env, jobject this, jfieldID fid) { in readSingle() argument 43 FD fd = GET_FD(this, fid); in readSingle() 77 readBytes(JNIEnv *env, jobject this, jbyteArray bytes, in readBytes() argument 107 fd = GET_FD(this, fid); in readBytes() 131 writeSingle(JNIEnv *env, jobject this, jint byte, jboolean append, jfieldID fid) { in writeSingle() argument 135 FD fd = GET_FD(this, fid); in writeSingle() 153 writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, in writeBytes() argument 188 fd = GET_FD(this, fid); in writeBytes()
|
D | DatagramChannelImpl.c | 89 Java_sun_nio_ch_DatagramChannelImpl_disconnect0(JNIEnv *env, jobject this, in Java_sun_nio_ch_DatagramChannelImpl_disconnect0() argument 152 Java_sun_nio_ch_DatagramChannelImpl_receive0(JNIEnv *env, jobject this, in Java_sun_nio_ch_DatagramChannelImpl_receive0() argument 199 (*env)->SetObjectField(env, this, dci_senderID, NULL); in Java_sun_nio_ch_DatagramChannelImpl_receive0() 208 senderAddr = (*env)->GetObjectField(env, this, dci_senderAddrID); in Java_sun_nio_ch_DatagramChannelImpl_receive0() 214 jint port = (*env)->GetIntField(env, this, dci_senderPortID); in Java_sun_nio_ch_DatagramChannelImpl_receive0() 233 (*env)->SetObjectField(env, this, dci_senderAddrID, ia); in Java_sun_nio_ch_DatagramChannelImpl_receive0() 234 (*env)->SetIntField(env, this, dci_senderPortID, in Java_sun_nio_ch_DatagramChannelImpl_receive0() 236 (*env)->SetObjectField(env, this, dci_senderID, isa); in Java_sun_nio_ch_DatagramChannelImpl_receive0() 242 Java_sun_nio_ch_DatagramChannelImpl_send0(JNIEnv *env, jobject this, in Java_sun_nio_ch_DatagramChannelImpl_send0() argument
|
D | io_util.h | 49 jint readSingle(JNIEnv *env, jobject this, jfieldID fid); 50 jint readBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off, 52 void writeSingle(JNIEnv *env, jobject this, jint byte, jboolean append, jfieldID fid); 53 void writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off, 55 void fileOpen(JNIEnv *env, jobject this, jstring path, jfieldID fid, int flags);
|
D | FileInputStream.c | 76 FileInputStream_skip0(JNIEnv *env, jobject this, jlong toSkip) { in FileInputStream_skip0() argument 79 FD fd = GET_FD(this, fis_fd); in FileInputStream_skip0() 131 FileInputStream_available0(JNIEnv *env, jobject this) { in FileInputStream_available0() argument 133 FD fd = GET_FD(this, fis_fd); in FileInputStream_available0()
|
D | FileKey.c | 57 FileKey_init(JNIEnv *env, jobject this, jobject fdo) in FileKey_init() argument 66 (*env)->SetLongField(env, this, key_st_dev, (jlong)fbuf.st_dev); in FileKey_init() 67 (*env)->SetLongField(env, this, key_st_ino, (jlong)fbuf.st_ino); in FileKey_init()
|
D | EPoll.c | 40 Java_sun_nio_ch_EPoll_eventSize(JNIEnv* env, jclass this) in Java_sun_nio_ch_EPoll_eventSize() argument 46 Java_sun_nio_ch_EPoll_eventsOffset(JNIEnv* env, jclass this) in Java_sun_nio_ch_EPoll_eventsOffset() argument 52 Java_sun_nio_ch_EPoll_dataOffset(JNIEnv* env, jclass this) in Java_sun_nio_ch_EPoll_dataOffset() argument
|
D | UnixFileSystem_md.c | 84 Java_java_io_UnixFileSystem_canonicalize0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_canonicalize0() argument 122 Java_java_io_UnixFileSystem_getBooleanAttributes0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_getBooleanAttributes0() argument 174 Java_java_io_UnixFileSystem_setPermission0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_setPermission0() argument 222 Java_java_io_UnixFileSystem_getLastModifiedTime0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_getLastModifiedTime0() argument 304 Java_java_io_UnixFileSystem_list0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_list0() argument 387 Java_java_io_UnixFileSystem_createDirectory0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_createDirectory0() argument 423 Java_java_io_UnixFileSystem_setLastModifiedTime0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_setLastModifiedTime0() argument 452 Java_java_io_UnixFileSystem_setReadOnly0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_setReadOnly0() argument 470 Java_java_io_UnixFileSystem_getSpace0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_getSpace0() argument
|
D | FileDescriptor_md.c | 58 FileDescriptor_sync(JNIEnv *env, jobject this) { in FileDescriptor_sync() argument 59 int fd = (*env)->GetIntField(env, this, IO_fd_fdID); in FileDescriptor_sync()
|
D | Net.c | 552 Java_sun_nio_ch_Net_joinOrDrop4(JNIEnv *env, jobject this, jboolean join, jobject fdo, in Java_sun_nio_ch_Net_joinOrDrop4() argument 598 Java_sun_nio_ch_Net_blockOrUnblock4(JNIEnv *env, jobject this, jboolean block, jobject fdo, in Java_sun_nio_ch_Net_blockOrUnblock4() argument 631 Java_sun_nio_ch_Net_joinOrDrop6(JNIEnv *env, jobject this, jboolean join, jobject fdo, in Java_sun_nio_ch_Net_joinOrDrop6() argument 672 Java_sun_nio_ch_Net_blockOrUnblock6(JNIEnv *env, jobject this, jboolean block, jobject fdo, in Java_sun_nio_ch_Net_blockOrUnblock6() argument 702 Java_sun_nio_ch_Net_setInterface4(JNIEnv* env, jobject this, jobject fdo, jint interf) in Java_sun_nio_ch_Net_setInterface4() argument 718 Java_sun_nio_ch_Net_getInterface4(JNIEnv* env, jobject this, jobject fdo) in Java_sun_nio_ch_Net_getInterface4() argument 733 Java_sun_nio_ch_Net_setInterface6(JNIEnv* env, jobject this, jobject fdo, jint index) in Java_sun_nio_ch_Net_setInterface6() argument 747 Java_sun_nio_ch_Net_getInterface6(JNIEnv* env, jobject this, jobject fdo) in Java_sun_nio_ch_Net_getInterface6() argument 771 Java_sun_nio_ch_Net_poll(JNIEnv* env, jclass this, jobject fdo, jint events, jlong timeout) in Java_sun_nio_ch_Net_poll() argument 790 Java_sun_nio_ch_Net_pollinValue(JNIEnv *env, jclass this) in Java_sun_nio_ch_Net_pollinValue() argument [all …]
|
/libcore/luni/src/test/resources/META-INF/services/ |
D | libcore.java.util.ServiceLoaderTestInterface | 1 # this is a comment 5 libcore.java.util.ServiceLoaderTest$Impl2 # this comment is valid 6 libcore.java.util.ServiceLoaderTest$Impl2#as is this
|
/libcore/ |
D | LICENSE | 8 Everyone is permitted to copy and distribute verbatim copies of this license 24 distribute copies of free software (and charge for this service if you wish), 40 offer you this license which gives you legal permission to copy, distribute 44 everyone understands that there is no warranty for this free software. If the 52 To prevent this, we have made it clear that any patent must be licensed for 62 this General Public License. The "Program", below, refers to any such program 71 this License; they are outside its scope. The act of running the Program is 79 disclaimer of warranty; keep intact all the notices that refer to this License 81 Program a copy of this License along with the Program. 97 this License. [all …]
|
D | NOTICE | 4 == in this case for the Android-specific code. == 16 == in this case for the Apache Harmony distribution. == 40 a copy of this software and associated documentation files (the 45 copyright notice(s) and this permission notice appear in all copies of 46 the Software and that both the above copyright notice(s) and this 59 Except as contained in this notice, the name of a copyright holder 61 or other dealings in this Software without prior written authorization 75 a copy of this software and associated documentation files (the 82 The above copyright notice and this permission notice shall be 115 Permission to use, copy, modify, and distribute this [all …]
|
D | OWNERS | 3 # Use this reviewer by default. 17 # Don't send these folks any review emails for this project.
|
/libcore/harmony-tests/src/test/resources/resources/ |
D | test.rtf | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with
|
/libcore/ojluni/annotations/ |
D | README | 15 relating to nullability. Adding an annotated stub file to this subdirectory 17 - To add some new files under this directory: 21 - To see the effect of the files under this directory: 28 - To add some new files under this directory: 31 check in this change, it will have undesirable consequences until you 38 - To see the effect of the files under this directory:
|
/libcore/ojluni/src/main/resources/ |
D | hijrah-config-umalqura.properties | 6 # published by the Free Software Foundation. Oracle designates this 8 # by Oracle in the LICENSE file that accompanied this code. 14 # accompanied this code). 17 # 2 along with this work; if not, write to the Free Software Foundation, 56 # Version of this definition
|
/libcore/luni/src/main/java/java/util/logging/ |
D | logging.properties | 3 # this work for additional information regarding copyright ownership. 4 # The ASF licenses this file to You under the Apache License, Version 2.0 5 # (the "License"); you may not use this file except in compliance with 21 # property, this property can be set via the Preference API, or as VM arguments 24 # about this file.
|
/libcore/ojluni/src/main/resources/sun/util/logging/resources/ |
D | logging_sv.properties | 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,
|