Home
last modified time | relevance | path

Searched refs:defineClass (Results 1 – 25 of 28) sorted by relevance

12

/external/javassist/src/main/javassist/util/proxy/
DDefineClassHelper.java37 abstract Class<?> defineClass(String name, byte[] b, int off, int len, Class<?> neighbor, in defineClass() method in DefineClassHelper.Helper
43 Class<?> defineClass(String name, byte[] bcode, int off, int len, Class<?> neighbor, in defineClass() method in DefineClassHelper.Java11
52 return super.defineClass(name, bcode, off, len, neighbor, loader, protectionDomain); in defineClass()
60 private final MethodHandle defineClass; field in DefineClassHelper.Java9.ReferencedUnsafe
64 this.defineClass = meth; in ReferencedUnsafe()
67 Class<?> defineClass(String name, byte[] b, int off, int len, in defineClass() method in DefineClassHelper.Java9.ReferencedUnsafe
78 return (Class<?>) defineClass.invokeWithArguments( in defineClass()
137 Class<?> defineClass(String name, byte[] b, int off, int len, Class<?> neighbor, in defineClass() method in DefineClassHelper.Java9
147 return sunMiscUnsafe.defineClass(name, b, off, len, loader, in defineClass()
154 private final MethodHandle defineClass = getDefineClassMethodHandle(); field in DefineClassHelper.Java7
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/
DInjectedClassRuntime.java55 .defineClass(createClass(injectedClassName)) // in startup()
132 Class<?> defineClass(final byte[] bytes) throws Exception { in defineClass() method in InjectedClassRuntime.Lookup
/external/javassist/src/main/javassist/
DLoader.java179 return defineClass(cc.getName(), code, 0, code.length); in invokeDefineClass()
419 return defineClass(name, classfile, 0, classfile.length); in findClass()
420 return defineClass(name, classfile, 0, classfile.length, domain); in findClass()
/external/emma/core/java12/com/vladium/emma/rt/
DInstrClassLoader.java229 return defineClass (name, bytes, length, classURL); in findClass()
289 return defineClass (name, bytes, length, classURL); in findClass()
342 …private Class defineClass (final String className, final byte [] bytes, final int length, final UR… in defineClass() method in InstrClassLoader
368 return defineClass (className, bytes, 0, length, csrc); in defineClass()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTestHelper_ClassLoader.java124 theClass = this.defineClass(className, theBytes, 0, in loadClassFromFile()
188 theClass = this.defineClass(className, theBytes, 0, dataRead); in loadClassFromJar()
/external/conscrypt/openjdk/src/main/java/org/conscrypt/
DNativeLibraryLoader.java346 Method defineClass = ClassLoader.class.getDeclaredMethod(
348 defineClass.setAccessible(true);
349 return (Class<?>) defineClass.invoke(
/external/conscrypt/repackaged/openjdk/src/main/java/com/android/org/conscrypt/
DNativeLibraryLoader.java347 Method defineClass = ClassLoader.class.getDeclaredMethod(
349 defineClass.setAccessible(true);
350 return (Class<?>) defineClass.invoke(
/external/objenesis/main/src/test/java/org/objenesis/instantiator/basic/
DClassDefinitionUtilsTest.java32 Class<?> c = ClassDefinitionUtils.defineClass(className, b, getClass().getClassLoader()); in testDefineClass()
/external/grpc-grpc-java/context/src/test/java/io/grpc/
DStaticTestingClassLoader.java52 return defineClass(name, b, 0, b.length); in findClass()
/external/antlr/gunit/src/main/java/org/antlr/gunit/swingui/runner/
DParserLoader.java66 final Class<?> newClass = defineClass(null, classData, 0, classData.length); in ParserLoader()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/
DInstrumentingLoader.java67 final Class<?> c = defineClass(name, instrumented, 0, in loadClass()
DTargetLoader.java84 Class<?> c = defineClass(name, bytes, 0, bytes.length); in loadClass()
/external/objenesis/main/src/main/java/org/objenesis/instantiator/basic/
DClassDefinitionUtils.java132 public static <T> Class<T> defineClass(String className, byte[] b, ClassLoader loader) in defineClass() method in ClassDefinitionUtils
DProxyingInstantiator.java65 …newType = ClassDefinitionUtils.defineClass(type.getName() + SUFFIX, classBytes, type.getClassLoade… in ProxyingInstantiator()
/external/javassist/src/main/javassist/tools/web/
DViewer.java153 c = defineClass(name, b, 0, b.length); in findClass()
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DCompilingClassLoader.java127 return defineClass(name, byteCode.toByteArray(), 0, byteCode.size()); in findClass()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/
DClassLoader.java135 cl = defineClass(class_name, bytes, 0, bytes.length); in loadClass()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DClassUnloadDebuggee.java189 Class<?> cls = defineClass(name, bytes, 0, len); in findClass()
/external/guice/core/test/com/google/inject/internal/util/
DLineNumbersTest.java131 return defineClass(name.replace('/', '.'), buf, 0, buf.length); in generate()
/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/
DCoreTutorial.java81 return defineClass(name, bytes, 0, bytes.length); in loadClass()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/
DLocalVariableTypeTableTestCase.java46 return defineClass(name, bytes, 0, bytes.length); in findClass()
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DSandboxClassLoader.java134 return defineClass(className, bytes, 0, bytes.length); in maybeInstrumentClass()
/external/desugar/java/com/google/devtools/build/android/desugar/io/
DHeaderClassLoader.java67 return defineClass(name, bytecode, 0, bytecode.length); in findClass()
/external/objenesis/main/src/main/java/org/objenesis/instantiator/sun/
DMagicInstantiator.java98 … clazz = ClassDefinitionUtils.defineClass(className, classBytes, getClass().getClassLoader()); in newInstantiatorOf()
/external/desugar/test/java/com/google/devtools/build/android/desugar/
DTryWithResourcesRewriterTest.java405 klass = defineClass(name, classContent, 0, classContent.length); in findClass()

12