HomeSort by relevance Sort by last modified time
    Searched full:defineclass (Results 1 - 25 of 50) sorted by null

1 2

  /dalvik/libcore/security/src/main/java/java/security/
SecureClassLoader.java 107 protected final Class<?> defineClass(String name, byte[] b, int off, int len,
109 return cs == null ? defineClass(name, b, off, len) : defineClass(name,
131 protected final Class<?> defineClass(String name, ByteBuffer b, CodeSource cs) {
132 //FIXME 1.5 - remove b.array(), call super.defineClass(,ByteBuffer,)
135 return cs == null ? defineClass(name, data, 0, data.length)
136 : defineClass(name, data, 0, data.length, getPD(cs));
  /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
PublicClassLoader.java 56 clazz = defineClass( name, raw, 0, raw.length );
67 clazz = defineClass(name, buf, 0, len);
82 return defineClass(b, off, len);
ClassLoaderTest.java 167 method = "defineClass",
195 method = "defineClass",
259 method = "defineClass",
291 * Tests that Classloader.defineClass() assigns appropriate
298 method = "defineClass",
368 return defineClass(null, classData, 0, classData.length);
    [all...]
  /dalvik/vm/native/
java_lang_VMClassLoader.c 25 * static Class defineClass(ClassLoader cl, String name,
43 LOGE("ERROR: defineClass(%p, %s, %p, %d, %d, %p)\n",
53 * static Class defineClass(ClassLoader cl, byte[] data, int offset,
69 LOGE("ERROR: defineClass(%p, %p, %d, %d, %p)\n",
187 { "defineClass", "(Ljava/lang/ClassLoader;Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;",
189 { "defineClass", "(Ljava/lang/ClassLoader;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;",
dalvik_system_DexFile.c 249 * private static Class defineClass(String name, ClassLoader loader,
252 * Load a class from a DEX file. This is roughly equivalent to defineClass()
443 { "defineClass", "(Ljava/lang/String;Ljava/lang/ClassLoader;ILjava/security/ProtectionDomain;)Ljava/lang/Class;",
  /dalvik/libcore/security/src/test/java/tests/java/security/
SecureClassLoaderTest.java 46 method = "defineClass",
54 method = "defineClass",
313 // * Tests defineClass(String, byte[], int, int, CodeSource)
318 // method = "defineClass",
328 // * Tests defineClass(String, ByteBuffer, CodeSource)
333 // method = "defineClass",
358 return defineClass(name, bytes, 0, bytes.length,
363 return defineClass(name, b, cs);
368 return defineClass(name, b, off, len, cs);
  /dalvik/libcore/luni/src/main/java/java/lang/
VMClassLoader.java 99 native static Class defineClass(ClassLoader cl, String name,
107 native static Class defineClass(ClassLoader cl,
  /dalvik/tests/068-classloader/src/
FancyLoader.java 31 * Dalvik and instantiate the class with defineClass().
168 return defineClass(name, fileData, 0, fileData.length);
170 throw new ClassNotFoundException("defineClass failed", th);
  /dalvik/libcore/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
TestHelper_ClassLoader.java 122 theClass = this.defineClass(className, theBytes, 0, dataRead);
185 theClass = this.defineClass(className, theBytes, 0, dataRead);
  /external/emma/core/java12/com/vladium/emma/rt/
InstrClassLoader.java 229 return defineClass (name, bytes, length, classURL);
289 return defineClass (name, bytes, length, classURL);
342 private Class defineClass (final String className, final byte [] bytes, final int length, final URL srcURL)
368 return defineClass (className, bytes, 0, length, csrc);
IClassLoadHook.java 27 // * pass them to ClassLoader.defineClass() unchanged. This is an optimization
  /external/webkit/JavaScriptCore/tests/mozilla/ecma_3/
shell.js 59 return (typeof defineClass == "function");
  /external/webkit/JavaScriptCore/tests/mozilla/js1_5/
shell.js 59 return (typeof defineClass == "function");
  /dalvik/libcore/luni-kernel/src/main/java/java/lang/
ClassLoader.java 264 * @deprecated Use {@link #defineClass(String, byte[], int, int)}
268 protected final Class<?> defineClass(byte[] classRep, int offset, int length)
271 return VMClassLoader.defineClass(this, classRep, offset, length, null);
297 protected final Class<?> defineClass(String className, byte[] classRep, int offset, int length)
301 return defineClass(className, classRep, offset, length, null);
335 protected final Class<?> defineClass(String className, byte[] classRep, int offset, int length,
338 return VMClassLoader.defineClass(this, className, classRep, offset, length,
364 protected final Class<?> defineClass(String name, ByteBuffer b,
369 return defineClass(name, temp, 0, temp.length, protectionDomain);
    [all...]
  /dalvik/libcore/dalvik/src/main/java/dalvik/system/
DexFile.java 209 return defineClass(name, loader, mCookie,
214 native private static Class defineClass(String name, ClassLoader loader,
  /dalvik/dx/src/junit/runner/
TestCaseClassLoader.java 104 c= defineClass(name, data, 0, data.length);
  /dalvik/libcore/luni/src/test/java/junit/runner/
TestCaseClassLoader.java 104 c= defineClass(name, data, 0, data.length);
  /dalvik/libcore-disabled/instrument/src/main/java/java/lang/instrument/
ClassFileTransformer.java 47 * {@link ClassLoader#defineClass(java.lang.String, byte[], int, int)}
  /external/junit/src/junit/runner/
TestCaseClassLoader.java 112 c= defineClass(name, data, 0, data.length);
  /frameworks/base/test-runner/src/junit/runner/
TestCaseClassLoader.java 103 c= defineClass(name, data, 0, data.length);
  /ndk/build/platforms/android-8/arch-arm/usr/lib/
libjnigraphics.so 
  /external/tcpdump/
print-snmp.c 227 #define defineCLASS(x) { "x", x, sizeof(x)/sizeof(x[0]) } /* not ANSI-C */
233 defineCLASS(Universal),
235 defineCLASS(Application),
237 defineCLASS(Context),
239 defineCLASS(Private),
241 defineCLASS(Exceptions),
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
AndroidJarLoader.java 309 * @throws ClassFormatError if defineClass failed.
313 cached_class = defineClass(null, data, 0, data.length);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
ProjectClassLoader.java 91 Class<?> clazz = defineClass(null, data, 0, read);
  /cts/tests/tests/jni/libjnitest/
macroized_tests.c     [all...]

Completed in 2337 milliseconds

1 2