/libcore/ojluni/src/main/native/ |
D | jni_util.c | 47 jclass cls = (*env)->FindClass(env, name); in JNU_ThrowByName() local 49 if (cls != 0) /* Otherwise an exception has already been thrown */ in JNU_ThrowByName() 50 (*env)->ThrowNew(env, cls, msg); in JNU_ThrowByName() 364 jclass cls = 0; in JNU_NewObjectByName() local 371 cls = (*env)->FindClass(env, class_name); in JNU_NewObjectByName() 372 if (cls == 0) { in JNU_NewObjectByName() 375 cls_initMID = (*env)->GetMethodID(env, cls, in JNU_NewObjectByName() 381 obj = (*env)->NewObjectV(env, cls, cls_initMID, args); in JNU_NewObjectByName() 385 (*env)->DeleteLocalRef(env, cls); in JNU_NewObjectByName() 854 static jclass cls = 0; in JNU_ClassString() local [all …]
|
D | DatagramPacket.c | 49 DatagramPacket_init (JNIEnv *env, jclass cls) { in DatagramPacket_init() argument 50 dp_addressID = (*env)->GetFieldID(env, cls, "address", in DatagramPacket_init() 53 dp_portID = (*env)->GetFieldID(env, cls, "port", "I"); in DatagramPacket_init() 55 dp_bufID = (*env)->GetFieldID(env, cls, "buf", "[B"); in DatagramPacket_init() 57 dp_offsetID = (*env)->GetFieldID(env, cls, "offset", "I"); in DatagramPacket_init() 59 dp_lengthID = (*env)->GetFieldID(env, cls, "length", "I"); in DatagramPacket_init() 61 dp_bufLengthID = (*env)->GetFieldID(env, cls, "bufLength", "I"); in DatagramPacket_init()
|
D | java_util_zip_ZipFile.c | 60 jclass cls = (*env)->FindClass(env, "java/util/zip/ZipFile"); in ZipFile_initIDs() local 61 jzfileID = (*env)->GetFieldID(env, cls, "jzfile", "J"); in ZipFile_initIDs() 87 ZipFile_open(JNIEnv *env, jclass cls, jstring name, in ZipFile_open() argument 138 ZipFile_getTotal(JNIEnv *env, jclass cls, jlong zfile) in ZipFile_getTotal() argument 146 ZipFile_startsWithLOC(JNIEnv *env, jclass cls, jlong zfile) in ZipFile_startsWithLOC() argument 154 ZipFile_close(JNIEnv *env, jclass cls, jlong zfile) in ZipFile_close() argument 160 ZipFile_getFileDescriptor(JNIEnv *env, jclass cls, jlong zfile) { in ZipFile_getFileDescriptor() argument 166 ZipFile_getEntry(JNIEnv *env, jclass cls, jlong zfile, in ZipFile_getEntry() argument 198 ZipFile_freeEntry(JNIEnv *env, jclass cls, jlong zfile, in ZipFile_freeEntry() argument 207 ZipFile_getNextEntry(JNIEnv *env, jclass cls, jlong zfile, in ZipFile_getNextEntry() argument [all …]
|
D | ServerSocketChannelImpl.c | 63 jclass cls; in ServerSocketChannelImpl_initIDs() local 65 cls = (*env)->FindClass(env, "java/io/FileDescriptor"); in ServerSocketChannelImpl_initIDs() 66 fd_fdID = (*env)->GetFieldID(env, cls, "descriptor", "I"); in ServerSocketChannelImpl_initIDs() 68 cls = (*env)->FindClass(env, "java/net/InetSocketAddress"); in ServerSocketChannelImpl_initIDs() 69 isa_class = (*env)->NewGlobalRef(env, cls); in ServerSocketChannelImpl_initIDs() 70 isa_ctorID = (*env)->GetMethodID(env, cls, "<init>", in ServerSocketChannelImpl_initIDs()
|
D | java_util_zip_Deflater.c | 52 jclass cls = (*env)->FindClass(env, "java/util/zip/Deflater"); in Deflater_initIDs() local 53 levelID = (*env)->GetFieldID(env, cls, "level", "I"); in Deflater_initIDs() 54 strategyID = (*env)->GetFieldID(env, cls, "strategy", "I"); in Deflater_initIDs() 55 setParamsID = (*env)->GetFieldID(env, cls, "setParams", "Z"); in Deflater_initIDs() 56 finishID = (*env)->GetFieldID(env, cls, "finish", "Z"); in Deflater_initIDs() 57 finishedID = (*env)->GetFieldID(env, cls, "finished", "Z"); in Deflater_initIDs() 58 bufID = (*env)->GetFieldID(env, cls, "buf", "[B"); in Deflater_initIDs() 59 offID = (*env)->GetFieldID(env, cls, "off", "I"); in Deflater_initIDs() 60 lenID = (*env)->GetFieldID(env, cls, "len", "I"); in Deflater_initIDs() 64 Deflater_init(JNIEnv *env, jclass cls, jint level, in Deflater_init() argument [all …]
|
D | java_util_zip_Inflater.c | 52 jclass cls = (*env)->FindClass(env, "java/util/zip/Inflater"); in Inflater_initIDs() local 53 needDictID = (*env)->GetFieldID(env, cls, "needDict", "Z"); in Inflater_initIDs() 54 finishedID = (*env)->GetFieldID(env, cls, "finished", "Z"); in Inflater_initIDs() 55 bufID = (*env)->GetFieldID(env, cls, "buf", "[B"); in Inflater_initIDs() 56 offID = (*env)->GetFieldID(env, cls, "off", "I"); in Inflater_initIDs() 57 lenID = (*env)->GetFieldID(env, cls, "len", "I"); in Inflater_initIDs() 61 Inflater_init(JNIEnv *env, jclass cls, jboolean nowrap) in Inflater_init() argument 87 Inflater_setDictionary(JNIEnv *env, jclass cls, jlong addr, in Inflater_setDictionary() argument 174 Inflater_getAdler(JNIEnv *env, jclass cls, jlong addr) in Inflater_getAdler() argument 180 Inflater_reset(JNIEnv *env, jclass cls, jlong addr) in Inflater_reset() argument [all …]
|
D | Console_md.c | 40 Java_java_io_Console_istty(JNIEnv *env, jclass cls) in Java_java_io_Console_istty() argument 46 Java_java_io_Console_encoding(JNIEnv *env, jclass cls) in Java_java_io_Console_encoding() argument 53 jclass cls, in Java_java_io_Console_echo() argument
|
D | Adler32.c | 41 Java_java_util_zip_Adler32_update(JNIEnv *env, jclass cls, jint adler, jint b) in Java_java_util_zip_Adler32_update() argument 50 Java_java_util_zip_Adler32_updateBytes(JNIEnv *env, jclass cls, jint adler, in Java_java_util_zip_Adler32_updateBytes() argument 62 Java_java_util_zip_Adler32_updateByteBuffer(JNIEnv *env, jclass cls, jint adler, in Java_java_util_zip_Adler32_updateByteBuffer() argument
|
D | Thread.c | 61 jclass cls = (*env)->FindClass(env, "java/lang/Thread"); in register_java_lang_Thread() local 62 (*env)->RegisterNatives(env, cls, methods, ARRAY_LENGTH(methods)); in register_java_lang_Thread()
|
D | jvm.h | 214 JVM_CompileClass(JNIEnv *env, jclass compCls, jclass cls); 217 JVM_CompileClasses(JNIEnv *env, jclass cls, jstring jname); 382 JVM_ResolveClass(JNIEnv *env, jclass cls); 426 JVM_GetClassName(JNIEnv *env, jclass cls); 429 JVM_GetClassInterfaces(JNIEnv *env, jclass cls); 432 JVM_GetClassLoader(JNIEnv *env, jclass cls); 435 JVM_IsInterface(JNIEnv *env, jclass cls); 438 JVM_GetClassSigners(JNIEnv *env, jclass cls); 441 JVM_SetClassSigners(JNIEnv *env, jclass cls, jobjectArray signers); 444 JVM_GetProtectionDomain(JNIEnv *env, jclass cls); [all …]
|
D | java_util_zip_CRC32.c | 40 CRC32_update(JNIEnv *env, jclass cls, jint crc, jint b) in CRC32_update() argument 49 CRC32_updateBytes(JNIEnv *env, jclass cls, jint crc, in CRC32_updateBytes() argument
|
D | PlainDatagramSocketImpl.c | 146 PlainDatagramSocketImpl_init(JNIEnv *env, jclass cls) { in PlainDatagramSocketImpl_init() argument 151 pdsi_fdID = (*env)->GetFieldID(env, cls, "fd", in PlainDatagramSocketImpl_init() 154 pdsi_timeoutID = (*env)->GetFieldID(env, cls, "timeout", "I"); in PlainDatagramSocketImpl_init() 156 pdsi_trafficClassID = (*env)->GetFieldID(env, cls, "trafficClass", "I"); in PlainDatagramSocketImpl_init() 158 pdsi_localPortID = (*env)->GetFieldID(env, cls, "localPort", "I"); in PlainDatagramSocketImpl_init() 160 pdsi_connected = (*env)->GetFieldID(env, cls, "connected", "Z"); in PlainDatagramSocketImpl_init() 162 pdsi_connectedAddress = (*env)->GetFieldID(env, cls, "connectedAddress", in PlainDatagramSocketImpl_init() 165 pdsi_connectedPort = (*env)->GetFieldID(env, cls, "connectedPort", "I"); in PlainDatagramSocketImpl_init() 173 pdsi_multicastInterfaceID = (*env)->GetFieldID(env, cls, "multicastInterface", "I"); in PlainDatagramSocketImpl_init() 175 pdsi_loopbackID = (*env)->GetFieldID(env, cls, "loopbackMode", "Z"); in PlainDatagramSocketImpl_init() [all …]
|
D | PlainSocketImpl.c | 102 jclass cls = (*env)->FindClass(env, "java/net/PlainSocketImpl"); in PlainSocketImpl_initProto() local 103 psi_fdID = (*env)->GetFieldID(env, cls , "fd", in PlainSocketImpl_initProto() 106 psi_addressID = (*env)->GetFieldID(env, cls, "address", in PlainSocketImpl_initProto() 109 psi_portID = (*env)->GetFieldID(env, cls, "port", "I"); in PlainSocketImpl_initProto() 111 psi_localportID = (*env)->GetFieldID(env, cls, "localport", "I"); in PlainSocketImpl_initProto() 113 psi_timeoutID = (*env)->GetFieldID(env, cls, "timeout", "I"); in PlainSocketImpl_initProto() 115 psi_trafficClassID = (*env)->GetFieldID(env, cls, "trafficClass", "I"); in PlainSocketImpl_initProto() 117 psi_serverSocketID = (*env)->GetFieldID(env, cls, "serverSocket", in PlainSocketImpl_initProto() 120 psi_fdLockID = (*env)->GetFieldID(env, cls, "fdLock", in PlainSocketImpl_initProto() 123 psi_closePendingID = (*env)->GetFieldID(env, cls, "closePending", "Z"); in PlainSocketImpl_initProto() [all …]
|
D | NetworkInterface.c | 167 (JNIEnv *env, jclass cls, jstring name) { in NetworkInterface_getByName0() argument 211 (JNIEnv *env, jclass cls, jint index) { in NetworkInterface_getByIndex0() argument 251 (JNIEnv *env, jclass cls, jobject iaObj) { in NetworkInterface_getByInetAddress0() argument 334 (JNIEnv *env, jclass cls) { in NetworkInterface_getAll() argument 354 netIFArr = (*env)->NewObjectArray(env, ifCount, cls, NULL); in NetworkInterface_getAll() 391 JNIEXPORT jboolean JNICALL NetworkInterface_isUp0(JNIEnv *env, jclass cls, jstring name, jint index… in NetworkInterface_isUp0() argument 401 JNIEXPORT jboolean JNICALL NetworkInterface_isP2P0(JNIEnv *env, jclass cls, jstring name, jint inde… in NetworkInterface_isP2P0() argument 411 JNIEXPORT jboolean JNICALL NetworkInterface_isLoopback0(JNIEnv *env, jclass cls, jstring name, jint… in NetworkInterface_isLoopback0() argument 421 JNIEXPORT jboolean JNICALL NetworkInterface_supportsMulticast0(JNIEnv *env, jclass cls, jstring nam… in NetworkInterface_supportsMulticast0() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/support/ |
D | P.java | 33 private String findProp(Class cls, String key) { in findProp() argument 36 ResourceBundle b = ResourceBundle.getBundle(cls.getName()); in findProp() 40 if (ret == null && !cls.equals(Object.class) && !cls.isPrimitive()) { in findProp() 41 ret = findProp(cls.getSuperclass(), key); in findProp()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/support/ |
D | P.java | 16 private String findProp(Class cls, String key) { in findProp() argument 19 ResourceBundle b = ResourceBundle.getBundle(cls.getName()); in findProp() 23 if (ret == null && !cls.equals(Object.class) && !cls.isPrimitive()) { in findProp() 24 ret = findProp(cls.getSuperclass(), key); in findProp()
|
/libcore/ojluni/src/main/java/sun/reflect/misc/ |
D | ReflectUtil.java | 42 public static Object newInstance(Class cls) in newInstance() argument 44 checkPackageAccess(cls); in newInstance() 45 return cls.newInstance(); in newInstance() 185 public static boolean isNonPublicProxyClass(Class<?> cls) { in isNonPublicProxyClass() argument 186 String name = cls.getName(); in isNonPublicProxyClass() 193 return Proxy.isProxyClass(cls) && !pkg.isEmpty(); in isNonPublicProxyClass()
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SSLServerSocketFactory.java | 104 Class cls = null; in getDefault() local 109 cls = Class.forName(clsName); in getDefault() 118 cls = Class.forName(clsName, true, cl); in getDefault() 122 SSLServerSocketFactory fac = (SSLServerSocketFactory) cls.newInstance(); in getDefault()
|
D | SSLSocketFactory.java | 112 Class cls = null; in getDefault() local 114 cls = Class.forName(clsName); in getDefault() 123 cls = Class.forName(clsName, true, cl); in getDefault() 127 defaultSocketFactory = (SSLSocketFactory)cls.newInstance(); in getDefault()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLConnection.java | 1315 Class cls = null; in lookupContentHandlerClassFor() local 1317 cls = Class.forName(clsName); in lookupContentHandlerClassFor() 1321 cls = cl.loadClass(clsName); in lookupContentHandlerClassFor() 1324 if (cls != null) { in lookupContentHandlerClassFor() 1326 (ContentHandler)cls.newInstance(); in lookupContentHandlerClassFor()
|
D | URL.java | 1169 Class cls = null; in getURLStreamHandler() local 1172 cls = Class.forName(clsName, true, cl); in getURLStreamHandler() 1176 cls = Class.forName(clsName, true, contextLoader); in getURLStreamHandler() 1179 if (cls != null) { in getURLStreamHandler() 1181 (URLStreamHandler)cls.newInstance(); in getURLStreamHandler()
|
/libcore/dom/src/test/java/org/w3c/domts/ |
D | DOMTestInnerClass.java | 57 public void assertInstanceOf(String assertID, Class cls, Object obj) { in assertInstanceOf() argument 58 test.assertInstanceOf(assertID, cls, obj); in assertInstanceOf()
|
D | DOMTestFramework.java | 54 Class cls); in assertInstanceOf() argument
|
/libcore/luni/src/main/native/ |
D | java_math_NativeBN.cpp | 156 static void NativeBN_putLongInt(JNIEnv* env, jclass cls, jlong a, jlong dw) { in NativeBN_putLongInt() argument 158 NativeBN_putULongInt(env, cls, a, dw, JNI_FALSE); in NativeBN_putLongInt() 160 NativeBN_putULongInt(env, cls, a, -dw, JNI_TRUE); in NativeBN_putLongInt() 311 static void NativeBN_twosComp2bn(JNIEnv* env, jclass cls, jbyteArray arr, int bytesLen, jlong ret0)… in NativeBN_twosComp2bn() argument 330 negBigEndianBytes2bn(env, cls, s, bytesLen, ret0); in NativeBN_twosComp2bn()
|
/libcore/ojluni/src/main/java/sun/net/www/http/ |
D | HttpClient.java | 833 String cls = responses.findValue("content-length"); in parseHTTPHeader() local 834 if (cls != null) { in parseHTTPHeader() 836 cl = Long.parseLong(cls); in parseHTTPHeader()
|