Home
last modified time | relevance | path

Searched refs:classLoader (Results 1 – 25 of 113) sorted by relevance

12345

/external/apache-http/src/org/apache/commons/logging/
DLogFactory.java692 public static void release(ClassLoader classLoader) { in release() argument
695 logDiagnostic("Releasing factory for classloader " + objectId(classLoader)); in release()
698 if (classLoader == null) { in release()
704 LogFactory factory = (LogFactory) factories.get(classLoader); in release()
707 factories.remove(classLoader); in release()
836 ClassLoader classLoader = null;
845 classLoader = (ClassLoader)method.invoke(Thread.currentThread(),
878 classLoader = getClassLoader(LogFactory.class);
895 return classLoader;
939 private static void cacheFactory(ClassLoader classLoader, LogFactory factory)
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
DClassLoaderResourceLoader.java53 private final ClassLoader classLoader; field in ClassLoaderResourceLoader
56 public ClassLoaderResourceLoader(ClassLoader classLoader, String basePath) { in ClassLoaderResourceLoader() argument
57 this.classLoader = classLoader; in ClassLoaderResourceLoader()
61 public ClassLoaderResourceLoader(ClassLoader classLoader) { in ClassLoaderResourceLoader() argument
62 this(classLoader, "."); in ClassLoaderResourceLoader()
68 InputStream stream = classLoader.getResourceAsStream(path); in open()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/
DClassMap.java52 public void clear(ClassLoader classLoader) { in clear() argument
53 getMap(classLoader).clear(); in clear()
62 ClassLoader classLoader = key.getClassLoader(); in getMap() local
63 return getMap(classLoader); in getMap()
67 private Map<Class<?>, V> getMap(ClassLoader classLoader) { in getMap() argument
68 Object map = ClassLoaderLocalMap.get(classLoader, this); in getMap()
71 ClassLoaderLocalMap.put(classLoader, this, map); in getMap()
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/
DCoverageTransformerTest.java45 private ClassLoader classLoader; field in CoverageTransformerTest
55 classLoader = getClass().getClassLoader(); in setup()
95 assertFalse(t.filter(classLoader, in testFilterAgentClass()
118 assertTrue(t.filter(classLoader, "org/example/Foo")); in testFilterClassLoaderPositive1()
126 assertTrue(t.filter(classLoader, "org/example/Foo")); in testFilterClassLoaderPositive2()
153 assertTrue(t.filter(classLoader, "org/jacoco/core/Foo")); in testFilterIncludedClassPositive()
160 assertFalse(t.filter(classLoader, "org/jacoco/report/Foo")); in testFilterIncludedClassNegative()
167 assertFalse(t.filter(classLoader, "org/jacoco/core/FooTest")); in testFilterExcludedClassPositive()
174 assertFalse(t.filter(classLoader, "org/jacoco/example/Foo$Inner")); in testFilterExcludedClassPositiveInner()
181 assertTrue(t.filter(classLoader, "org/jacoco/core/Foo")); in testFilterExcludedClassNegative()
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/platform/jvm/
DEffectiveClassPath.java42 static String getClassPathForClassLoader(ClassLoader classLoader) { in getClassPathForClassLoader() argument
48 files.addAll(getClassPathFiles(classLoader)); in getClassPathForClassLoader()
53 private static Set<File> getClassPathFiles(ClassLoader classLoader) { in getClassPathFiles() argument
55 @Nullable ClassLoader parent = classLoader.getParent(); in getClassPathFiles()
59 if (classLoader instanceof URLClassLoader) { in getClassPathFiles()
60 URLClassLoader urlClassLoader = (URLClassLoader) classLoader; in getClassPathFiles()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
DRobolectricTestRunner.java66 private RobolectricClassLoader classLoader; field in RobolectricTestRunner
127 public RobolectricTestRunner(final Class<?> testClass, RobolectricClassLoader classLoader) in RobolectricTestRunner() argument
131 isInstrumented() ? null : classLoader, in RobolectricTestRunner()
229 …(Class<?> testClass, ClassHandler classHandler, RobolectricClassLoader classLoader, RobolectricCon… in RobolectricTestRunner() argument
230 this(testClass, classHandler, classLoader, robolectricConfig, new SQLiteMap()); in RobolectricTestRunner()
250 …stClass, final ClassHandler classHandler, final RobolectricClassLoader classLoader, final Robolect… in RobolectricTestRunner() argument
252 : ensureClassLoaderNotNull(classLoader).bootstrap(testClass)); in RobolectricTestRunner()
256 this.classLoader = ensureClassLoaderNotNull(classLoader); in RobolectricTestRunner()
260 Thread.currentThread().setContextClassLoader(classLoader); in RobolectricTestRunner()
270 Class<?> delegateClass = classLoader.bootstrap(this.getClass()); in RobolectricTestRunner()
[all …]
/external/littlemock/src/com/google/testing/littlemock/
DAppDataDirGuesser.java42 ClassLoader classLoader = AppDataDirGuesser.class.getClassLoader(); in guessSuitableDirectoryForGeneratedClasses() local
45 clazz.cast(classLoader); in guessSuitableDirectoryForGeneratedClasses()
48 getPathFromPathClassLoader(classLoader, clazz); in guessSuitableDirectoryForGeneratedClasses()
62 ClassLoader classLoader, Class<?> pathClassLoaderClass) { in getPathFromPathClassLoader() argument
68 return (String) pathField.get(classLoader); in getPathFromPathClassLoader()
79 String result = classLoader.toString(); in getPathFromPathClassLoader()
/external/dexmaker/src/main/java/com/google/dexmaker/
DAppDataDirGuesser.java30 ClassLoader classLoader = guessSuitableClassLoader(); in guess() local
33 clazz.cast(classLoader); in guess()
35 String pathFromThisClassLoader = getPathFromThisClassLoader(classLoader, clazz); in guess()
50 private String getPathFromThisClassLoader(ClassLoader classLoader, in getPathFromThisClassLoader() argument
57 return (String) pathField.get(classLoader); in getPathFromThisClassLoader()
64 String result = classLoader.toString(); in getPathFromThisClassLoader()
/external/javassist/src/main/javassist/bytecode/annotation/
DAnnotationImpl.java43 private ClassLoader classLoader; field in AnnotationImpl
77 classLoader = loader; in AnnotationImpl()
99 annotationType = classLoader.loadClass(typeName); in getAnnotationType()
148 return mv.getValue(classLoader, pool, method); in invoke()
166 return mv.getValue(classLoader, pool, method); in getDefault()
200 value = mv.getValue(classLoader, pool, methods[i]); in hashCode()
260 value = mv.getValue(classLoader, pool, methods[i]); in checkEquals()
/external/jsilver/src/org/clearsilver/
DFactoryLoader.java106 ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); in newDefaultClearsilverFactory() local
108 loadClass(factoryClassName, classLoader); in newDefaultClearsilverFactory()
120 ClassLoader classLoader) throws ClassNotFoundException { in loadClass() argument
122 classLoader); in loadClass()
/external/slf4j/jcl-over-slf4j/src/main/java/org/apache/commons/logging/
DLogFactory.java302 public static void release(ClassLoader classLoader) { in release() argument
347 protected static Object createFactory(String factoryClass, ClassLoader classLoader) { in createFactory() argument
395 …protected static LogFactory newFactory(final String factoryClass, final ClassLoader classLoader, f… in newFactory() argument
403 … protected static LogFactory newFactory(final String factoryClass, final ClassLoader classLoader) { in newFactory() argument
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
DAbstractClassGenerator.java42 private ClassLoader classLoader; field in AbstractClassGenerator
93 public void setClassLoader(ClassLoader classLoader) {
94 this.classLoader = classLoader;
169 ClassLoader t = classLoader;
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/
DShadowWrangler.java131 public static Class<?> loadClass(String paramType, ClassLoader classLoader) { in loadClass() argument
144 clazz = classLoader.loadClass(paramType); in loadClass()
218 public Class<?> findShadowClass(Class<?> originalClass, ClassLoader classLoader) { in findShadowClass() argument
223 return loadClass(declaredShadowClassName, classLoader); in findShadowClass()
288 private ClassLoader classLoader; field in ShadowWrangler.InvocationPlan
298 this.classLoader = clazz.getClassLoader(); in InvocationPlan()
337 Class<?> originalClass = loadClass(clazz.getName(), classLoader); in prepare()
353 method = getMethod(findShadowClass(clazz, classLoader), methodName, paramClasses); in prepare()
374 return findShadowClass(declaringClass, classLoader); in findDeclaredShadowClassForMethod()
397 paramClasses[i] = loadClass(paramTypes[i], classLoader); in getParamClasses()
/external/robolectric/v1/lib/main/
Dcommons-logging-1.1.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/
DPrecompiledTemplateLoader.java57 ClassLoader classLoader = getClass().getClassLoader(); in makeTemplateMap() local
60 BaseCompiledTemplate compiledTemplate = loadTemplateObject(className, classLoader); in makeTemplateMap()
80 protected BaseCompiledTemplate loadTemplateObject(String className, ClassLoader classLoader) { in loadTemplateObject() argument
82 Class<?> templateClass = classLoader.loadClass(className); in loadTemplateObject()
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
DJUnitCodeGen.java64 ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); in determineClassLoader() local
65 if ( classLoader == null ) { in determineClassLoader()
66 classLoader = JUnitCodeGen.class.getClassLoader(); in determineClassLoader()
68 return classLoader; in determineClassLoader()
71 …public JUnitCodeGen(GrammarInfo grammarInfo, ClassLoader classLoader, String testsuiteDir) throws … in JUnitCodeGen() argument
76 Class parserClass = locateParserClass( grammarInfo, classLoader ); in JUnitCodeGen()
85 …private Class locateParserClass(GrammarInfo grammarInfo, ClassLoader classLoader) throws ClassNotF… in locateParserClass() argument
90 return classLoader.loadClass( parserClassName ); in locateParserClass()
/external/apache-http/src/org/apache/commons/logging/impl/
DSimpleLog.java643 ClassLoader classLoader = null; in getContextClassLoader() local
645 if (classLoader == null) { in getContextClassLoader()
653 classLoader = (ClassLoader)method.invoke(Thread.currentThread(), in getContextClassLoader()
690 if (classLoader == null) { in getContextClassLoader()
691 classLoader = SimpleLog.class.getClassLoader(); in getContextClassLoader()
695 return classLoader; in getContextClassLoader()
/external/slf4j/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/
DSimpleLog.java622 ClassLoader classLoader = null; in getContextClassLoader() local
624 if (classLoader == null) { in getContextClassLoader()
631 classLoader = (ClassLoader) method.invoke(Thread.currentThread()); in getContextClassLoader()
662 if (classLoader == null) { in getContextClassLoader()
663 classLoader = SimpleLog.class.getClassLoader(); in getContextClassLoader()
667 return classLoader; in getContextClassLoader()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
DRobolectricTestRunnerClassLoaderSetup.java15 ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); in testUsingClassLoader() local
16 … Assert.assertEquals(classLoader.getClass().getName(), RobolectricClassLoader.class.getName()); in testUsingClassLoader()
/external/javassist/src/main/javassist/scopedpool/
DScopedClassPool.java39 protected WeakReference classLoader; field in ScopedClassPool
84 this.classLoader = new WeakReference(cl); in ScopedClassPool()
112 return (ClassLoader)classLoader.get(); in getClassLoader0()
/external/guice/core/src/com/google/inject/internal/
DConstructionContext.java81 ClassLoader classLoader = BytecodeGen.getClassLoader(expectedType); in createProxy() local
82 return expectedType.cast(Proxy.newProxyInstance(classLoader, in createProxy()
/external/guice/lib/build/
Dcommons-logging-1.0.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.commons.logging_1.0.4.v201005080501.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/guice/extensions/persist/lib/
Dcommons-logging-1.0.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/guice/extensions/struts2/lib/
Dcommons-logging-1.0.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...

12345