/libcore/luni/src/test/java/tests/api/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/luni/src/main/java/org/apache/xml/serializer/ |
D | SerializerFactory.java | 129 Class cls = ObjectFactory.findProviderClass(className, loader, true); in getSerializer() local 133 Object obj = cls.newInstance(); in getSerializer() 138 ser = (Serializer) cls.newInstance(); in getSerializer() 157 cls = ObjectFactory.findProviderClass(className, loader, true); in getSerializer() 159 (SerializationHandler) cls.newInstance(); in getSerializer()
|
/libcore/luni/src/main/java/java/lang/ |
D | StackTraceElement.java | 62 public StackTraceElement(String cls, String method, String file, int line) { in StackTraceElement() argument 64 if (cls == null || method == null) { in StackTraceElement() 67 declaringClass = cls; in StackTraceElement()
|
D | SecurityManager.java | 310 public void checkMemberAccess(Class<?> cls, int type) { in checkMemberAccess() argument 311 if (cls == null) { in checkMemberAccess() 327 if (ClassLoader.getStackClassLoader(3) == cls.getClassLoaderImpl()) { in checkMemberAccess()
|
D | Class.java | 1311 public native boolean isAssignableFrom(Class<?> cls); in isAssignableFrom() argument
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
D | ClassLoaderTest.java | 115 Class<?> cls; field in ClassLoaderTest.SyncLoadTestThread 125 cls = Class.forName("TestClass", false, cl); in run() 159 assertSame("Bad or redefined class", tt1.cls, tt2.cls); in test_loadClass_concurrentLoad()
|
/libcore/luni/src/main/java/java/util/ |
D | EnumSet.java | 41 EnumSet(Class<E> cls) { in EnumSet() argument 42 elementClass = cls; in EnumSet() 327 boolean isValidType(Class<?> cls) { in isValidType() argument 328 return cls == elementClass || cls.getSuperclass() == elementClass; in isValidType()
|
D | ResourceBundle.java | 915 Class<?> cls = null; 917 cls = AccessController 929 if (null == cls) { 933 ResourceBundle bundle = (ResourceBundle) cls.newInstance();
|
/libcore/sqlite-jdbc/src/main/native/ |
D | sqlite_jni.c | 429 jclass cls = (*env)->GetObjectClass(env, h->bh); in busyhandler() local 430 jmethodID mid = (*env)->GetMethodID(env, cls, "busy", in busyhandler() 434 (*env)->DeleteLocalRef(env, cls); in busyhandler() 442 (*env)->DeleteLocalRef(env, cls); in busyhandler() 457 jclass cls = (*env)->GetObjectClass(env, h->bh); in busyhandler3() local 458 jmethodID mid = (*env)->GetMethodID(env, cls, "busy", in busyhandler3() 462 (*env)->DeleteLocalRef(env, cls); in busyhandler3() 467 (*env)->DeleteLocalRef(env, cls); in busyhandler3() 481 jclass cls = (*env)->GetObjectClass(env, h->ph); in progresshandler() local 482 jmethodID mid = (*env)->GetMethodID(env, cls, "progress", "()Z"); in progresshandler() [all …]
|
/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
|
D | DOMTestCase.java | 227 public void assertInstanceOf(String assertID, Class cls, Object obj) { in assertInstanceOf() argument 228 framework.assertInstanceOf(this, assertID, obj, cls); in assertInstanceOf()
|
D | JUnitTestCaseAdapter.java | 222 public void assertInstanceOf(DOMTestCase test, String assertID, Object obj, Class cls) { in assertInstanceOf() argument 223 assertTrue(assertID,cls.isInstance(obj)); in assertInstanceOf()
|
/libcore/luni/src/main/native/ |
D | NativeBN.cpp | 119 static jboolean NativeBN_putLongInt(JNIEnv* env, jclass cls, BIGNUM* a, long long dw) { in NativeBN_putLongInt() argument 120 if (dw >= 0) return NativeBN_putULongInt(env, cls, a, dw, JNI_FALSE); in NativeBN_putLongInt() 121 else return NativeBN_putULongInt(env, cls, a, -dw, JNI_TRUE); in NativeBN_putLongInt() 252 static jboolean NativeBN_twosComp2bn(JNIEnv* env, jclass cls, jbyteArray arr, int bytesLen, BIGNUM*… in NativeBN_twosComp2bn() argument 270 success = negBigEndianBytes2bn(env, cls, s, bytesLen, ret); in NativeBN_twosComp2bn()
|
D | NativeCrypto.cpp | 1569 jclass cls = env->GetObjectClass(sslHandshakeCallbacks); in cert_verify_callback() local 1571 = env->GetMethodID(cls, "verifyCertificateChain", "([[BLjava/lang/String;)V"); in cert_verify_callback() 1615 jclass cls = env->GetObjectClass(sslHandshakeCallbacks); in info_callback() local 1616 jmethodID methodID = env->GetMethodID(cls, "handshakeCompleted", "()V"); in info_callback() 1646 jclass cls = env->GetObjectClass(sslHandshakeCallbacks); in client_cert_cb() local 1648 = env->GetMethodID(cls, "clientCertificateRequested", "([B[[B)V"); in client_cert_cb()
|
/libcore/luni/src/main/java/java/io/ |
D | ObjectInputStream.java | 2552 Class<?> cls = osClass.forClass(); in resolveClass() local 2553 if (null == cls) { in resolveClass() 2558 cls = PRIMITIVE_CLASSES.get(className); in resolveClass() 2560 if (null == cls) { in resolveClass() 2564 cls = Class.forName(className, true, callerClassLoader); in resolveClass() 2567 return cls; in resolveClass()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
D | ObjectInputStreamTest.java | 685 Class cls = TestClassForSerialization.class; in test_ClassDescriptor() local 688 bais, cls); in test_ClassDescriptor() 691 assertEquals(cls, obj); in test_ClassDescriptor()
|
/libcore/luni/src/test/java/tests/api/java/io/ |
D | ObjectInputStreamTest.java | 137 Class<?> cls = TestClassForSerialization.class; in test_ClassDescriptor() local 140 bais, cls); in test_ClassDescriptor() 143 assertEquals(cls, obj); in test_ClassDescriptor()
|
/libcore/luni/src/main/java/java/net/ |
D | URLClassLoader.java | 895 Class<?> cls = AccessController.doPrivileged( in findClass() local 901 if (cls != null) { in findClass() 902 return cls; in findClass()
|