Home
last modified time | relevance | path

Searched refs:cls (Results 1 – 19 of 19) sorted by relevance

/libcore/luni/src/test/java/tests/api/java/util/support/
DP.java16 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/
DSerializerFactory.java129 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/
DStackTraceElement.java62 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()
DSecurityManager.java310 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()
DClass.java1311 public native boolean isAssignableFrom(Class<?> cls); in isAssignableFrom() argument
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DClassLoaderTest.java115 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/
DEnumSet.java41 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()
DResourceBundle.java915 Class<?> cls = null;
917 cls = AccessController
929 if (null == cls) {
933 ResourceBundle bundle = (ResourceBundle) cls.newInstance();
/libcore/sqlite-jdbc/src/main/native/
Dsqlite_jni.c429 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/
DDOMTestInnerClass.java57 public void assertInstanceOf(String assertID, Class cls, Object obj) { in assertInstanceOf() argument
58 test.assertInstanceOf(assertID, cls, obj); in assertInstanceOf()
DDOMTestFramework.java54 Class cls); in assertInstanceOf() argument
DDOMTestCase.java227 public void assertInstanceOf(String assertID, Class cls, Object obj) { in assertInstanceOf() argument
228 framework.assertInstanceOf(this, assertID, obj, cls); in assertInstanceOf()
DJUnitTestCaseAdapter.java222 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/
DNativeBN.cpp119 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()
DNativeCrypto.cpp1569 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/
DObjectInputStream.java2552 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/
DObjectInputStreamTest.java685 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/
DObjectInputStreamTest.java137 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/
DURLClassLoader.java895 Class<?> cls = AccessController.doPrivileged( in findClass() local
901 if (cls != null) { in findClass()
902 return cls; in findClass()