/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() 859 static jclass cls = 0; in JNU_ClassString() local [all …]
|
D | ServerSocketChannelImpl.c | 63 jclass cls; in Java_sun_nio_ch_ServerSocketChannelImpl_initIDs() local 65 cls = (*env)->FindClass(env, "java/io/FileDescriptor"); in Java_sun_nio_ch_ServerSocketChannelImpl_initIDs() 66 CHECK_NULL(cls); in Java_sun_nio_ch_ServerSocketChannelImpl_initIDs() 67 fd_fdID = (*env)->GetFieldID(env, cls, "descriptor", "I"); in Java_sun_nio_ch_ServerSocketChannelImpl_initIDs() 70 cls = (*env)->FindClass(env, "java/net/InetSocketAddress"); in Java_sun_nio_ch_ServerSocketChannelImpl_initIDs() 71 CHECK_NULL(cls); in Java_sun_nio_ch_ServerSocketChannelImpl_initIDs() 72 isa_class = (*env)->NewGlobalRef(env, cls); in Java_sun_nio_ch_ServerSocketChannelImpl_initIDs() 77 isa_ctorID = (*env)->GetMethodID(env, cls, "<init>", in Java_sun_nio_ch_ServerSocketChannelImpl_initIDs()
|
D | ZipFile.c | 133 ZipFile_getTotal(JNIEnv *env, jclass cls, jlong zfile) in ZipFile_getTotal() argument 141 ZipFile_startsWithLOC(JNIEnv *env, jclass cls, jlong zfile) in ZipFile_startsWithLOC() argument 149 ZipFile_close(JNIEnv *env, jclass cls, jlong zfile) in ZipFile_close() argument 155 ZipFile_getFileDescriptor(JNIEnv *env, jclass cls, jlong zfile) { in ZipFile_getFileDescriptor() argument 161 ZipFile_getEntry(JNIEnv *env, jclass cls, jlong zfile, in ZipFile_getEntry() argument 189 ZipFile_freeEntry(JNIEnv *env, jclass cls, jlong zfile, in ZipFile_freeEntry() argument 198 ZipFile_getNextEntry(JNIEnv *env, jclass cls, jlong zfile, in ZipFile_getNextEntry() argument 206 ZipFile_getEntryMethod(JNIEnv *env, jclass cls, jlong zentry) in ZipFile_getEntryMethod() argument 213 ZipFile_getEntryFlag(JNIEnv *env, jclass cls, jlong zentry) in ZipFile_getEntryFlag() argument 220 ZipFile_getEntryCSize(JNIEnv *env, jclass cls, jlong zentry) in ZipFile_getEntryCSize() 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 | 35 Java_java_util_zip_Adler32_update(JNIEnv *env, jclass cls, jint adler, jint b) in Java_java_util_zip_Adler32_update() argument 44 Java_java_util_zip_Adler32_updateBytes(JNIEnv *env, jclass cls, jint adler, in Java_java_util_zip_Adler32_updateBytes() argument 56 Java_java_util_zip_Adler32_updateByteBuffer(JNIEnv *env, jclass cls, jint adler, in Java_java_util_zip_Adler32_updateByteBuffer() argument
|
D | Inflater.c | 53 jclass cls = (*env)->FindClass(env, "java/util/zip/Inflater"); in Inflater_initIDs() local 54 inputConsumedID = (*env)->GetFieldID(env, cls, "inputConsumed", "I"); in Inflater_initIDs() 55 outputConsumedID = (*env)->GetFieldID(env, cls, "outputConsumed", "I"); in Inflater_initIDs() 61 Inflater_init(JNIEnv *env, jclass cls, jboolean nowrap) in Inflater_init() argument 109 Inflater_setDictionary(JNIEnv *env, jclass cls, jlong addr, in Inflater_setDictionary() argument 122 Inflater_setDictionaryBuffer(JNIEnv *env, jclass cls, jlong addr, in Inflater_setDictionaryBuffer() argument 287 Inflater_getAdler(JNIEnv *env, jclass cls, jlong addr) in Inflater_getAdler() argument 293 Inflater_reset(JNIEnv *env, jclass cls, jlong addr) in Inflater_reset() argument 301 Inflater_end(JNIEnv *env, jclass cls, jlong addr) in Inflater_end() argument
|
D | jvm.h | 217 JVM_CompileClass(JNIEnv *env, jclass compCls, jclass cls); 220 JVM_CompileClasses(JNIEnv *env, jclass cls, jstring jname); 385 JVM_ResolveClass(JNIEnv *env, jclass cls); 429 JVM_GetClassName(JNIEnv *env, jclass cls); 432 JVM_GetClassInterfaces(JNIEnv *env, jclass cls); 435 JVM_GetClassLoader(JNIEnv *env, jclass cls); 438 JVM_IsInterface(JNIEnv *env, jclass cls); 441 JVM_GetClassSigners(JNIEnv *env, jclass cls); 444 JVM_SetClassSigners(JNIEnv *env, jclass cls, jobjectArray signers); 447 JVM_GetProtectionDomain(JNIEnv *env, jclass cls); [all …]
|
D | Deflater.c | 45 Deflater_init(JNIEnv *env, jclass cls, jint level, in Deflater_init() argument 104 Deflater_setDictionary(JNIEnv *env, jclass cls, jlong addr, in Deflater_setDictionary() argument 117 Deflater_setDictionaryBuffer(JNIEnv *env, jclass cls, jlong addr, in Deflater_setDictionaryBuffer() argument 293 Deflater_getAdler(JNIEnv *env, jclass cls, jlong addr) in Deflater_getAdler() argument 299 Deflater_reset(JNIEnv *env, jclass cls, jlong addr) in Deflater_reset() argument 307 Deflater_end(JNIEnv *env, jclass cls, jlong addr) in Deflater_end() argument
|
D | CRC32.c | 44 Java_java_util_zip_CRC32_updateBytes0(JNIEnv *env, jclass cls, jint crc, in Java_java_util_zip_CRC32_updateBytes0() argument 62 Java_java_util_zip_CRC32_updateByteBuffer0(JNIEnv *env, jclass cls, jint crc, in Java_java_util_zip_CRC32_updateByteBuffer0() 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/test/java/lang/invoke/MethodHandles/ |
D | TestDropReturn.java | 45 public void testDropReturn(Class<?> cls, Object testValue) throws Throwable { in testDropReturn() argument 46 MethodHandle mh = MethodHandles.identity(cls); in testDropReturn() 47 assertEquals(mh.type(), methodType(cls, cls)); in testDropReturn() 52 assertEquals(mh.type(), methodType(void.class, cls)); in testDropReturn()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | AbstractTest.java | 85 protected static void assertImmutable(Class<?> cls) { in assertImmutable() argument 86 assertTrue(Modifier.isPublic(cls.getModifiers())); in assertImmutable() 87 assertTrue(Modifier.isFinal(cls.getModifiers())); in assertImmutable() 88 Field[] fields = cls.getDeclaredFields(); in assertImmutable() 99 Constructor<?>[] cons = cls.getDeclaredConstructors(); in assertImmutable()
|
/libcore/ojluni/src/test/java/lang/reflect/records/ |
D | RecordReflectionTest.java | 75 public void testIsRecord(Class<?> cls) { in testIsRecord() argument 76 String message = cls.toGenericString(); in testIsRecord() 77 assertTrue(cls.isRecord()); in testIsRecord() 78 assertTrue(cls.getSuperclass() == java.lang.Record.class); in testIsRecord() 79 assertTrue(cls.getRecordComponents() != null); in testIsRecord() 99 public void testNotARecordClass(Class<?> cls) { in testNotARecordClass() argument 100 assertFalse(cls.isRecord()); in testNotARecordClass() 101 assertFalse(cls.getSuperclass() == java.lang.Record.class); in testNotARecordClass() 102 assertTrue(cls.getRecordComponents() == null); in testNotARecordClass()
|
/libcore/ojluni/src/test/java/lang/StackWalker/ |
D | ReflectionFrames.java | 100 assertEquals(obj.cls, StackInspector.Caller.class); in testNewStackInspector() 124 assertEquals(obj.cls, StackInspector.Caller.class); in testNewStackInspector() 148 assertEquals(obj.cls, StackInspector.Caller.class); in testNewStackInspector() 176 assertEquals(obj.cls, StackInspector.Caller.class); in testNewStackInspector() 207 assertEquals(obj.cls, StackInspector.Caller.class); in testNewStackInspector() 237 assertEquals(obj.cls, StackInspector.Caller.class); in testNewStackInspector() 276 assertEquals(obj.cls, StackInspector.Caller.class); in testConstructor() 300 assertEquals(obj.cls, StackInspector.Caller.class); in testConstructor() 324 assertEquals(obj.cls, StackInspector.Caller.class); in testConstructor() 358 assertEquals(obj.cls, StackInspector.Caller.class); in testConstructor() [all …]
|
/libcore/ojluni/src/main/java/sun/reflect/misc/ |
D | ReflectUtil.java | 45 public static Object newInstance(Class<?> cls) in newInstance() argument 47 checkPackageAccess(cls); in newInstance() 48 return cls.newInstance(); in newInstance() 253 public static boolean isNonPublicProxyClass(Class<?> cls) { in isNonPublicProxyClass() argument 254 String name = cls.getName(); in isNonPublicProxyClass() 262 return Proxy.isProxyClass(cls) && !pkg.isEmpty(); in isNonPublicProxyClass()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | DateIntervalFormat.java | 98 Class<?> cls = Class.forName("android.text.format.DateIntervalFormat"); in getFrameworksDateIntervaFormatMethod() local 99 Method m = cls.getDeclaredMethod("formatDateRange", long.class, long.class, int.class, in getFrameworksDateIntervaFormatMethod() 110 Class<?> cls = Class.forName("android.text.format.DateUtils"); in getDateUtilsMethod() local 111 Method m = cls.getMethod("formatDateRange", Class.forName("android.content.Context"), in getDateUtilsMethod()
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SSLServerSocketFactory.java | 112 Class<?> cls = null; in getDefault() local 114 cls = Class.forName(clsName); in getDefault() 124 cls = Class.forName(clsName, true, cl); in getDefault() 128 SSLServerSocketFactory fac = (SSLServerSocketFactory)cls.newInstance(); in getDefault()
|
D | SSLSocketFactory.java | 122 Class<?> cls = null; in getDefault() local 124 cls = Class.forName(clsName); in getDefault() 134 cls = Class.forName(clsName, true, cl); in getDefault() 138 SSLSocketFactory fac = (SSLSocketFactory)cls.newInstance(); in getDefault()
|
/libcore/ojluni/annotations/hiddenapi/sun/reflect/misc/ |
D | ReflectUtil.java | 42 public static java.lang.Object newInstance(java.lang.Class<?> cls) in newInstance() argument 94 public static boolean isNonPublicProxyClass(java.lang.Class<?> cls) { in isNonPublicProxyClass() argument
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Class.java | 871 public boolean isAssignableFrom(Class<?> cls) { in isAssignableFrom() argument 872 if (this == cls) { in isAssignableFrom() 875 return !cls.isPrimitive(); // Can assign any reference to java.lang.Object. in isAssignableFrom() 877 return cls.isArray() && componentType.isAssignableFrom(cls.componentType); in isAssignableFrom() 880 Object[] iftable = cls.ifTable; in isAssignableFrom() 890 if (!cls.isInterface()) { in isAssignableFrom() 891 for (cls = cls.superClass; cls != null; cls = cls.superClass) { in isAssignableFrom() 892 if (cls == this) { in isAssignableFrom()
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | Wrappers.java | 140 Class cls = c.getClass(); in testAllDefaultMethodsOverridden() local 142 Method m2 = cls.getMethod(m.getName(), m.getParameterTypes()); in testAllDefaultMethodsOverridden() 144 assertFalse(m2.isDefault(), cls.getCanonicalName()); in testAllDefaultMethodsOverridden()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLConnection.java | 1346 Class<?> cls = null; in lookupContentHandlerClassFor() local 1348 cls = Class.forName(clsName); in lookupContentHandlerClassFor() 1352 cls = cl.loadClass(clsName); in lookupContentHandlerClassFor() 1355 if (cls != null) { in lookupContentHandlerClassFor() 1357 (ContentHandler)cls.newInstance(); in lookupContentHandlerClassFor()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestChronoLocalDate.java | 176 private <D extends ChronoLocalDate> D processClassOK(Class<D> cls) { 181 private <D extends ChronoLocalDate> ChronoLocalDate processClassWeird(Class<D> cls) {
|
/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()
|