Home
last modified time | relevance | path

Searched refs:className (Results 1 – 25 of 90) sorted by relevance

1234

/libcore/luni/src/main/java/org/xml/sax/helpers/
DXMLReaderFactory.java109 String className = null; in createXMLReader() local
113 try { className = System.getProperty (property); } in createXMLReader()
117 if (className == null) { in createXMLReader()
130 className = reader.readLine (); in createXMLReader()
138 if (className == null) { in createXMLReader()
149 if (className != null) in createXMLReader()
150 return loadClass (loader, className); in createXMLReader()
179 public static XMLReader createXMLReader (String className) in createXMLReader() argument
182 return loadClass (NewInstance.getClassLoader (), className); in createXMLReader()
185 private static XMLReader loadClass (ClassLoader loader, String className) in loadClass() argument
[all …]
DParserFactory.java85 String className = System.getProperty("org.xml.sax.parser"); in makeParser() local
86 if (className == null) { in makeParser()
89 return makeParser(className); in makeParser()
117 public static Parser makeParser (String className) in makeParser() argument
124 NewInstance.getClassLoader (), className); in makeParser()
DNewInstance.java41 static Object newInstance (ClassLoader classLoader, String className) in newInstance() argument
47 driverClass = Class.forName(className); in newInstance()
49 driverClass = classLoader.loadClass(className); in newInstance()
/libcore/ojluni/src/main/java/java/util/
DMissingResourceException.java60 public MissingResourceException(String s, String className, String key) { in MissingResourceException() argument
62 this.className = className; in MissingResourceException()
84 MissingResourceException(String message, String className, String key, Throwable cause) { in MissingResourceException() argument
86 this.className = className; in MissingResourceException()
96 return className; in getClassName()
117 private String className; field in MissingResourceException
/libcore/ojluni/src/main/java/sun/security/jca/
DProviderConfig.java64 private final String className; field in ProviderConfig
80 ProviderConfig(String className, String argument) { in ProviderConfig() argument
81 if (className.equals(P11_SOL_NAME) && argument.equals(P11_SOL_ARG)) { in ProviderConfig()
84 this.className = className; in ProviderConfig()
88 ProviderConfig(String className) { in ProviderConfig() argument
89 this(className, ""); in ProviderConfig()
93 this.className = provider.getClass().getName(); in ProviderConfig()
147 return this.className.equals(other.className) in equals()
152 return className.hashCode() + argument.hashCode(); in hashCode()
157 return className + "('" + argument + "')"; in toString()
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DDigestBenchmark.java45 String className = "com.android.org.bouncycastle.crypto.digests."; in setUp() local
48 className += ("OpenSSLDigest$" + algorithm); in setUp()
51 className += (algorithm + "Digest"); in setUp()
56 this.digestClass = (Class<? extends Digest>)Class.forName(className); in setUp()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DInvalidClassExceptionTest.java48 final String className = "Object"; in test_ConstructorLjava_lang_StringLjava_lang_String() local
51 throw new InvalidClassException(className, message); in test_ConstructorLjava_lang_StringLjava_lang_String()
58 returnedMessage.indexOf(className) >= 0 in test_ConstructorLjava_lang_StringLjava_lang_String()
/libcore/ojluni/src/main/java/javax/security/cert/
DX509Certificate.java221 String className = X509Provider; in getInst() local
222 if (className == null || className.length() == 0) { in getInst()
227 className = DEFAULT_X509_CERT_CLASS; in getInst()
237 Class<?> certClass = Class.forName(className); in getInst()
/libcore/ojluni/src/main/java/sun/nio/ch/
DReflect.java53 static Constructor lookupConstructor(String className, in lookupConstructor() argument
57 Class<?> cl = Class.forName(className); in lookupConstructor()
80 static Method lookupMethod(String className, in lookupMethod() argument
85 Class<?> cl = Class.forName(className); in lookupMethod()
120 static Field lookupField(String className, String fieldName) { in lookupField() argument
122 Class cl = Class.forName(className); in lookupField()
/libcore/luni/src/main/java/javax/xml/datatype/
DFactoryFinder.java148 String className, in newInstance() argument
155 spiClass = Class.forName(className); in newInstance()
157 spiClass = classLoader.loadClass(className); in newInstance()
161 debugPrintln("Loaded " + className + " from " + which(spiClass)); in newInstance()
167 "Provider " + className + " not found", x); in newInstance()
170 "Provider " + className + " could not be instantiated: " + x, x); in newInstance()
/libcore/ojluni/src/main/native/
DFileSystem_md.c30 #define NATIVE_METHOD(className, functionName, signature) \ argument
31 { #functionName, signature, (void*)(className ## _ ## functionName) }
DString.c29 #define NATIVE_METHOD(className, functionName, signature) \ argument
30 { #functionName, signature, (void*)(className ## _ ## functionName) }
DInet4Address.c31 #define NATIVE_METHOD(className, functionName, signature) \ argument
32 { #functionName, signature, (void*)(className ## _ ## functionName) }
DShutdown.c32 #define NATIVE_METHOD(className, functionName, signature) \ argument
33 { #functionName, signature, (void*)(className ## _ ## functionName) }
DFileOutputStream_md.c36 #define NATIVE_METHOD(className, functionName, signature) \ argument
37 { #functionName, signature, (void*)(className ## _ ## functionName) }
DFloat.c31 #define NATIVE_METHOD(className, functionName, signature) \ argument
32 { #functionName, signature, (void*)(className ## _ ## functionName) }
DThrowable.c40 #define NATIVE_METHOD(className, functionName, signature) \ argument
41 { #functionName, signature, (void*)(className ## _ ## functionName) }
DDouble.c33 #define NATIVE_METHOD(className, functionName, signature) \ argument
34 { #functionName, signature, (void*)(className ## _ ## functionName) }
DNativeThread.c35 #define NATIVE_METHOD(className, functionName, signature) \ argument
36 { #functionName, signature, (void*)(className ## _ ## functionName) }
/libcore/luni/src/main/java/javax/xml/transform/
DTransformerFactory.java76 String className = "org.apache.xalan.processor.TransformerFactoryImpl"; in newInstance() local
78 return (TransformerFactory) Class.forName(className).newInstance(); in newInstance()
80 throw new NoClassDefFoundError(className); in newInstance()
/libcore/support/src/test/java/tests/util/
DClassLoaderBuilder.java83 @Override protected Class<?> loadClass(String className, boolean resolve) in build()
86 if (className.startsWith(prefix)) { in build()
93 if (className.startsWith(prefix)) { in build()
99 return super.loadClass(className, resolve); in build()
/libcore/luni/src/main/java/javax/xml/xpath/
DXPathFactoryFinder.java232 XPathFactory createInstance( String className ) { in createInstance() argument
234 if (debug) debugPrintln("instantiating "+className); in createInstance()
237 clazz = classLoader.loadClass(className); in createInstance()
239 clazz = Class.forName(className); in createInstance()
246 if (debug) debugPrintln(className+" is not assignable to "+SERVICE_CLASS.getName()); in createInstance()
258 debugPrintln("failed to instantiate "+className); in createInstance()
/libcore/luni/src/main/java/javax/xml/validation/
DSchemaFactoryFinder.java257 SchemaFactory createInstance( String className ) { in createInstance() argument
259 if (debug) debugPrintln("instantiating "+className); in createInstance()
262 clazz = classLoader.loadClass(className); in createInstance()
264 clazz = Class.forName(className); in createInstance()
271 if (debug) debugPrintln(className+" is not assignable to "+SERVICE_CLASS.getName()); in createInstance()
282 debugPrintln("failed to instantiate "+className); in createInstance()
/libcore/ojluni/src/main/java/java/security/
DProvider.java652 String className = value; in parseLegacyPut() local
661 s.className = className; in parseLegacyPut()
1060 private String type, algorithm, className; field in Provider.Service
1095 return (type != null) && (algorithm != null) && (className != null); in isValid()
1127 String className, List<String> aliases, in Service() argument
1130 (algorithm == null) || (className == null)) { in Service()
1137 this.className = className; in Service()
1187 return className; in getClassName()
1286 + ", class: " + className + ")", e.getCause()); in newInstance()
1291 + ", class: " + className + ")", e); in newInstance()
[all …]
/libcore/luni/src/test/java/libcore/java/net/
DURLStreamHandlerFactoryTest.java108 String className = Handler.class.getName(); in getHandlerPackageName() local
109 return className.substring(0, className.indexOf(".http.Handler")); in getHandlerPackageName()

1234