/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() 856 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 | 63 jclass cls = (*env)->FindClass(env, "java/util/zip/ZipFile"); in ZipFile_initIDs() local 64 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 194 ZipFile_freeEntry(JNIEnv *env, jclass cls, jlong zfile, in ZipFile_freeEntry() argument 203 ZipFile_getNextEntry(JNIEnv *env, jclass cls, jlong zfile, in ZipFile_getNextEntry() argument [all …]
|
D | 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 | 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 94 Inflater_setDictionary(JNIEnv *env, jclass cls, jlong addr, in Inflater_setDictionary() argument 181 Inflater_getAdler(JNIEnv *env, jclass cls, jlong addr) in Inflater_getAdler() argument 187 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 | 42 Java_java_util_zip_Adler32_update(JNIEnv *env, jclass cls, jint adler, jint b) in Java_java_util_zip_Adler32_update() argument 51 Java_java_util_zip_Adler32_updateBytes(JNIEnv *env, jclass cls, jint adler, in Java_java_util_zip_Adler32_updateBytes() argument 63 Java_java_util_zip_Adler32_updateByteBuffer(JNIEnv *env, jclass cls, jint adler, in Java_java_util_zip_Adler32_updateByteBuffer() argument
|
D | 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 67 CRC32_updateByteBuffer(JNIEnv *env, jclass cls, jint crc, in CRC32_updateByteBuffer() argument
|
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 | UnixFileSystem_md.c | 69 Java_java_io_UnixFileSystem_initIDs(JNIEnv *env, jclass cls) in Java_java_io_UnixFileSystem_initIDs() argument 260 Java_java_io_UnixFileSystem_createFileExclusively0(JNIEnv *env, jclass cls, in Java_java_io_UnixFileSystem_createFileExclusively0() 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/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/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/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/src/main/java/java/lang/ |
D | Class.java | 570 public boolean isAssignableFrom(Class<?> cls) { in isAssignableFrom() argument 571 if (this == cls) { in isAssignableFrom() 574 return !cls.isPrimitive(); // Can assign any reference to java.lang.Object. in isAssignableFrom() 576 return cls.isArray() && componentType.isAssignableFrom(cls.componentType); in isAssignableFrom() 579 Object[] iftable = cls.ifTable; in isAssignableFrom() 589 if (!cls.isInterface()) { in isAssignableFrom() 590 for (cls = cls.superClass; cls != null; cls = cls.superClass) { in isAssignableFrom() 591 if (cls == this) { in isAssignableFrom()
|
/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/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()
|
D | URL.java | 1203 Class<?> cls = null; in getURLStreamHandler() local 1208 cls = Class.forName(clsName, true, cl); in getURLStreamHandler() 1212 cls = Class.forName(clsName, true, contextLoader); in getURLStreamHandler() 1216 if (cls != null) { in getURLStreamHandler() 1218 (URLStreamHandler)cls.newInstance(); in getURLStreamHandler()
|
/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()
|
D | DOMTestFramework.java | 54 Class cls); in assertInstanceOf() argument
|
/libcore/luni/src/main/native/ |
D | java_math_NativeBN.cpp | 141 static void NativeBN_putLongInt(JNIEnv* env, jclass cls, jlong a, jlong dw) { in NativeBN_putLongInt() argument 143 NativeBN_putULongInt(env, cls, a, dw, JNI_FALSE); in NativeBN_putLongInt() 145 NativeBN_putULongInt(env, cls, a, -dw, JNI_TRUE); in NativeBN_putLongInt()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandles.java | 1350 for (Class<?> cls = refc; cls != null; cls = cls.getSuperclass()) { in findFieldOfType() 1352 field = cls.getDeclaredField(name); in findFieldOfType()
|