/cts/tests/tests/jni/libjnitest/ |
macroized_tests.c | 88 jclass clazz; local 91 clazz = CALL(FindClass, "android/jni/cts/StaticFromNative"); 92 if (clazz == NULL) { 96 StaticFromNative = (jclass) CALL(NewGlobalRef, clazz); 98 clazz = CALL(FindClass, "android/jni/cts/InstanceFromNative"); 99 if (clazz == NULL) { 103 InstanceFromNative = (jclass) CALL(NewGlobalRef, clazz); 1509 jclass clazz = CALL(DefineClass, "foo", NULL, NULL, 0); local [all...] |
/cts/tests/tests/mediastress/jni/ |
native-media-jni.cpp | 62 #define RETURN_ON_ASSERTION_FAILURE(cond, env, clazz) \ 65 Java_android_mediastress_cts_NativeMediaActivity_shutdown((env), (clazz)); \ 241 jclass clazz) 285 jclass clazz) 291 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); 295 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); 299 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); 303 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); 307 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); 315 jclass clazz, jstring fileUri 323 RETURN_ON_ASSERTION_FAILURE(strstr(utf8, "file:\/\/\/") == utf8, env, clazz); local [all...] |
/cts/tests/tests/nativeopengl/standalone/jni/ |
GLTestHelper.cpp | 32 jclass clazz = env->FindClass( local 34 mSendStatusID = env->GetMethodID(clazz, "sendStatus", 263 jclass clazz = env->FindClass("com/android/opengl/cts/GLTestActivity"); local 294 int result = env->RegisterNatives(clazz, glTestActMethods,
|
/dalvik/vm/ |
AllocTracker.cpp | 59 ClassObject* clazz; /* class allocated in this block */ member in struct:AllocRecord 208 void dvmDoTrackAllocation(ClassObject* clazz, size_t size) 228 pRec->clazz = clazz; 355 dvmPointerSetAddEntry(classNames, pRec->clazz->descriptor); 364 dvmPointerSetAddEntry(classNames, method->clazz->descriptor); 428 dvmPointerSetFind(classNames, pRec->clazz->descriptor)); 445 method->clazz->descriptor)); 642 pRec->threadId, pRec->size, pRec->clazz->descriptor); 652 method->clazz->descriptor, method->name) [all...] |
InitRefs.cpp | 152 static bool initFieldOffset(ClassObject* clazz, int *pOffset, 154 int offset = dvmFindFieldOffset(clazz, name, type); 156 ALOGE("Could not find essential field %s.%s of type %s", clazz->descriptor, name, type); 275 ClassObject* clazz = dvmFindSystemClassNoInit(className); local 278 if (clazz == NULL) { 285 if (!initFieldOffset(clazz, fields[j].offset, fields[j].name, fields[j].type)) { 294 static bool initDirectMethodReferenceByClass(Method** pMethod, ClassObject* clazz, 296 Method* method = dvmFindDirectMethodByDescriptor(clazz, name, descriptor); 300 clazz->descriptor, name, descriptor); 310 ClassObject* clazz = dvmFindSystemClassNoInit(className) local 396 ClassObject* clazz = dvmFindSystemClassNoInit(className); local [all...] |
/dalvik/vm/analysis/ |
Optimize.cpp | 121 void dvmOptimizeClass(ClassObject* clazz, bool essentialOnly) 125 for (i = 0; i < clazz->directMethodCount; i++) { 126 optimizeMethod(&clazz->directMethods[i], essentialOnly); 128 for (i = 0; i < clazz->virtualMethodCount; i++) { 129 optimizeMethod(&clazz->virtualMethods[i], essentialOnly); 360 DvmDex* pDvmDex = meth->clazz->pDvmDex; 470 if (strcmp(excep->clazz->descriptor, 568 tweakLoader(referrer, resField->clazz); 570 untweakLoader(referrer, resField->clazz); 573 referrer->descriptor, resField->clazz->descriptor 681 ClassObject* clazz = method->clazz; local 721 ClassObject* clazz = method->clazz; local 891 ClassObject* clazz = method->clazz; local 936 ClassObject* clazz = method->clazz; local 1055 ClassObject* clazz = method->clazz; local 1106 ClassObject* clazz = method->clazz; local 1156 const ClassObject* clazz = method->clazz; local [all...] |
/dalvik/vm/interp/ |
Stack.cpp | 87 self->interpStackSize, method->clazz->descriptor, method->name); 328 saveBlock->method->clazz->descriptor, 358 ClassObject* clazz; local 364 method->clazz->descriptor, method->name); 372 clazz = obj->clazz; 374 clazz = method->clazz; 379 clazz->descriptor, method->name, desc); 414 return clazz; 447 ClassObject* clazz; local 553 ClassObject* clazz; local 660 ClassObject* clazz; local [all...] |
/dalvik/vm/native/ |
dalvik_system_DexFile.cpp | 355 ClassObject* clazz = NULL; local 378 clazz = dvmDefineClass(pDvmDex, descriptor, loader); 387 if (strcmp(excep->clazz->descriptor, 389 strcmp(excep->clazz->descriptor, 394 clazz = NULL; 398 RETURN_PTR(clazz);
|
/dalvik/vm/oo/ |
Array.cpp | 245 ClassObject* clazz; local 250 clazz = dvmLookupClass(descriptor, loader, false); 251 if (clazz == NULL) { 253 clazz = createArrayClass(descriptor, loader); 254 if (clazz != NULL) 255 dvmAddInitiatingLoader(clazz, loader); 258 return clazz; 433 newClass->iftable[0].clazz = newClass->interfaces[0]; 434 newClass->iftable[1].clazz = newClass->interfaces[1]; 501 assert(dstArray->clazz->elementClass == dstElemClass | [all...] |
Object.cpp | 27 InstField* dvmFindInstanceField(const ClassObject* clazz, 33 assert(clazz != NULL); 41 pField = clazz->ifields; 42 for (i = 0; i < clazz->ifieldCount; i++, pField++) { 61 InstField* dvmFindInstanceFieldHier(const ClassObject* clazz, 69 pField = dvmFindInstanceField(clazz, fieldName, signature); 73 if (clazz->super != NULL) 74 return dvmFindInstanceFieldHier(clazz->super, fieldName, signature); 85 StaticField* dvmFindStaticField(const ClassObject* clazz, 91 assert(clazz != NULL) 742 ClassObject* clazz; local [all...] |
/external/apache-http/src/org/apache/http/impl/client/ |
DefaultHttpClient.java | 193 Class<?> clazz = Class.forName(className); local 194 factory = (ClientConnectionManagerFactory) clazz.newInstance();
|
/external/chromium_org/content/common/android/linker/ |
linker_jni.cc | 114 // On success, return true and set |*clazz|. 115 bool InitClassReference(JNIEnv* env, const char* class_name, jclass* clazz) { 116 *clazz = env->FindClass(class_name); 117 if (!*clazz) { 124 // Initialize a jfieldID corresponding to the field of a given |clazz|, 129 jclass clazz, 133 *field_id = env->GetFieldID(clazz, field_name, field_sig); 155 jclass clazz; local 157 env, "org/chromium/content/app/Linker$LibInfo", &clazz)) { 161 return InitFieldId(env, clazz, "mLoadAddress", "J", &load_address_id) & [all...] |
/external/chromium_org/third_party/freetype/src/cache/ |
ftccache.h | 150 FTC_CacheClassRec clazz; /* local copy, for speed */ member in struct:FTC_CacheRec_
|
/external/chromium_org/third_party/freetype/src/cff/ |
cffparse.c | 784 CFF_Field_Handler* clazz ) 789 if ( clazz ) 790 FT_FREE( clazz ); 798 CFF_Field_Handler* clazz = NULL; local 816 if ( FT_ALLOC( clazz, sizeof ( CFF_Field_Handler ) * i ) ) 827 clazz[i].kind = cff_kind_callback; \ 828 clazz[i].code = code_ | CFFCODE; \ 829 clazz[i].offset = 0; \ 830 clazz[i].size = 0; \ 831 clazz[i].reader = cff_parse_ ## name_; [all...] |
/external/easymock/src/org/easymock/internal/ |
MethodSerializationWrapper.java | 62 Class<?> clazz = Class.forName(className, true, Thread.currentThread()
local 77 Method m = clazz.getMethod(methodName, parameterTypes);
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/ |
ClassLoaderLocalMap.java | 104 Class<?> clazz = (Class<?>) findLoadedClass.invoke(cl, new Object[]{propertiesClassName}); local 105 if (clazz == null) {
|
ReflectionUtils.java | 58 Class<?> clazz = (Class<?>) type; local 60 if (clazz.isArray()) { 61 return getFullyQualifiedName(clazz.getComponentType(), runtime) + "[]"; 64 String name = clazz.getName(); 131 public static Map<String, Method> getMethods(Class<?> clazz) { 134 for (Class<?> c = clazz; c != null; c = c.getSuperclass()) { 144 for (Class<?> interfaceClass : clazz.getInterfaces()) { 195 * @param clazz 202 public static Method getMethodBySignature(Class<?> clazz, String signature) { 203 Assert.isNotNull(clazz); [all...] |
/external/freetype/src/cache/ |
ftccache.h | 150 FTC_CacheClassRec clazz; /* local copy, for speed */ member in struct:FTC_CacheRec_
|
/external/freetype/src/cff/ |
cffparse.c | 784 CFF_Field_Handler* clazz ) 789 if ( clazz ) 790 FT_FREE( clazz ); 798 CFF_Field_Handler* clazz = NULL; local 816 if ( FT_ALLOC( clazz, sizeof ( CFF_Field_Handler ) * i ) ) 827 clazz[i].kind = cff_kind_callback; \ 828 clazz[i].code = code_ | CFFCODE; \ 829 clazz[i].offset = 0; \ 830 clazz[i].size = 0; \ 831 clazz[i].reader = cff_parse_ ## name_; [all...] |
/external/guava/guava/src/com/google/common/base/ |
Predicates.java | 196 public static Predicate<Object> instanceOf(Class<?> clazz) { 197 return new InstanceOfPredicate(clazz); 209 public static Predicate<Class<?>> assignableFrom(Class<?> clazz) { 210 return new AssignableFromPredicate(clazz); 426 private final Class<?> clazz; field in class:Predicates.InstanceOfPredicate 428 private InstanceOfPredicate(Class<?> clazz) { 429 this.clazz = checkNotNull(clazz); 433 return clazz.isInstance(o); 436 return clazz.hashCode() 455 private final Class<?> clazz; field in class:Predicates.AssignableFromPredicate [all...] |
/external/javassist/src/main/javassist/ |
CtMethod.java | 274 CtClass clazz = getDeclaringClass(); local 285 Bytecode code = CtNewWrappedMethod.makeBody(clazz, 286 clazz.getClassFile2(),
|
CtNewWrappedMethod.java | 50 static Bytecode makeBody(CtClass clazz, ClassFile classfile, 59 int stacksize = makeBody0(clazz, classfile, wrappedBody, isStatic, 69 protected static int makeBody0(CtClass clazz, ClassFile classfile, 76 if (!(clazz instanceof CtClassType)) 78 + clazz.getName()); 100 bodyname = addBodyMethod((CtClassType)clazz, classfile, 134 private static String addBodyMethod(CtClassType clazz, 139 Hashtable bodies = clazz.getHiddenMethods(); 143 bodyname = addedWrappedMethod + clazz.getUniqueNumber(); 146 map.put(src.getDeclaringClass().getName(), clazz.getName()) [all...] |
/external/javassist/src/main/javassist/bytecode/annotation/ |
AnnotationImpl.java | 50 Class clazz = Class.forName(JDK_ANNOTATION_CLASS_NAME); typedefs 51 JDK_ANNOTATION_TYPE_METHOD = clazz.getMethod("annotationType", (Class[])null); 62 * @param clazz the annotation type. 68 public static Object make(ClassLoader cl, Class clazz, ClassPool cp, 71 return Proxy.newProxyInstance(cl, new Class[] { clazz }, handler);
|
/external/javassist/src/main/javassist/compiler/ |
AccessorMaker.java | 27 private CtClass clazz; field in class:AccessorMaker 34 clazz = c; 48 ClassFile cf = clazz.getClassFile(); // turn on the modified flag. 51 ClassPool pool = clazz.getClassPool(); 67 code.addInvokespecial(clazz, MethodInfo.nameInit, desc); 90 * parameter type is <code>clazz</code>. 106 ClassFile cf = clazz.getClassFile(); // turn on the modified flag. 110 ClassPool pool = clazz.getClassPool(); 127 code.addInvokestatic(clazz, name, desc); 129 code.addInvokevirtual(clazz, name, desc) [all...] |
/external/javassist/src/main/javassist/tools/rmi/ |
AppletServer.java | 111 Class clazz = obj.getClass(); local 114 eo.methods = clazz.getMethods(); 121 stubGen.makeProxyClass(clazz);
|