/dalvik/vm/mterp/cstubs/ |
stubdefs.cpp | 14 const Method* methodToCall; \ 28 #define curMethod self->interpSave.method
|
/dalvik/vm/oo/ |
Class.cpp | 67 unverifiable code. If class A refers to B, and B has a method that 100 has a method that creates a java.lang.String. The first time 180 Method* meth); 188 static void freeMethodInnards(Method* meth); 880 * passed into this method. "path" needs to be an absolute path (starting 1890 DexMethod method; local 1914 DexMethod method; local 4236 const Method* method; local [all...] |
Resolve.cpp | 22 * If we are resolving a static method or static field, we make the 109 * verification. Instance field and virtual method accesses can 167 * Find the method corresponding to "methodRef". 170 * "methodRef" is an index into. We also use its class loader. The method 173 * If this is a static method, we ensure that the method's class is 176 Method* dvmResolveMethod(const ClassObject* referrer, u4 methodIdx, 182 Method* resMethod; 186 LOGVV("--- resolving method %u (referrer=%s)", methodIdx, 192 /* can't find the class that the method is a part of * [all...] |
/external/clang/include/clang/AST/ |
UsuallyTinyPtrVector.h | 46 void push_back(T *Method);
|
/external/proguard/src/proguard/classfile/ |
ProgramClass.java | 263 public Method findMethod(String name, String descriptor) 267 Method method = methods[index]; local 268 if ((name == null || method.getName(this).equals(name)) && 269 (descriptor == null || method.getDescriptor(this).equals(descriptor))) 271 return method; 446 Method method = findMethod(name, descriptor); local 447 if (method != null) 449 method.accept(this, memberVisitor) [all...] |
/external/proguard/src/proguard/classfile/editor/ |
AnnotationAdder.java | 132 public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation)
|
/external/proguard/src/proguard/classfile/instruction/ |
BranchInstruction.java | 138 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, InstructionVisitor instructionVisitor) 140 instructionVisitor.visitBranchInstruction(clazz, method, codeAttribute, offset, this);
|
LookUpSwitchInstruction.java | 131 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, InstructionVisitor instructionVisitor) 133 instructionVisitor.visitLookUpSwitchInstruction(clazz, method, codeAttribute, offset, this);
|
TableSwitchInstruction.java | 135 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, InstructionVisitor instructionVisitor) 137 instructionVisitor.visitTableSwitchInstruction(clazz, method, codeAttribute, offset, this);
|
/external/proguard/src/proguard/obfuscate/ |
NameMarker.java | 130 // Small utility method. 153 * Ensures the name of the given method name will be kept. 155 private void keepMethodName(Clazz clazz, Method method) 157 String name = method.getName(clazz); 162 MemberObfuscator.setFixedNewMemberName(method, 163 method.getName(clazz));
|
/external/proguard/src/proguard/optimize/ |
ParameterShrinker.java | 77 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 80 int oldParameterSize = ParameterUsageMarker.getParameterSize(method); 84 ClassUtil.internalMethodParameterSize(method.getDescriptor(clazz), 85 method.getAccessFlags()); 94 System.out.println("ParameterShrinker: "+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)); 109 if (ParameterUsageMarker.isParameterUsed(method, parameterIndex)) 125 // Visit the method, if required. 128 method.accept(clazz, extraVariableMemberVisitor) [all...] |
/external/proguard/src/proguard/optimize/peephole/ |
VariableShrinker.java | 79 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 81 if ((method.getAccessFlags() & ClassConstants.INTERNAL_ACC_ABSTRACT) == 0) 85 ClassUtil.internalMethodParameterSize(method.getDescriptor(clazz), 86 method.getAccessFlags()); 93 System.out.println("VariableShrinker: "+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)); 99 variableUsageMarker.visitCodeAttribute(clazz, method, codeAttribute); 117 // Visit the method, if required. 120 method.accept(clazz, extraVariableMemberVisitor) [all...] |
/external/webkit/Tools/WebKitLauncher/ |
WebKitNightlyEnablerSparkle.m | 111 static void setMethodImplementation(Method m, IMP imp) 132 Method methodToPatch = class_getInstanceMethod(objc_getRequiredClass("SUUpdatePermissionPrompt"), @selector(promptDescription));
|
/dalvik/dx/src/com/android/dx/command/dump/ |
DotDumper.java | 24 import com.android.dx.cf.iface.Method; 82 * @param name method name 83 * @return true if this method should be dumped 86 return args.method == null || args.method.equals(name); 105 if (!(member instanceof Method)) { 113 ConcreteMethod meth = new ConcreteMethod((Method) member, classFile,
|
SsaDumper.java | 22 import com.android.dx.cf.iface.Method; 49 * Dumper for the SSA-translated blocks of a method. 85 if (!(member instanceof Method)) { 99 new ConcreteMethod((Method) member, classFile, true, true);
|
/dalvik/tests/031-class-attributes/src/ |
ClassAttrs.java | 7 import java.lang.reflect.Method; 52 Method meth; 54 System.out.println("method signature: " 73 Method method; local 76 method = AccessibleObject.class.getDeclaredMethod( 80 method = Class.class.getDeclaredMethod( 83 method.setAccessible(true); 91 return (String) method.invoke(obj);
|
/dalvik/vm/analysis/ |
DexVerify.cpp | 27 static bool verifyMethod(Method* meth); 85 const Method* meth = vdata->method; 137 static bool scanTryCatchBlocks(const Method* meth, InsnFlags* insnFlags) 212 * Perform verification on a single method. 219 * (3) Iterate through the method, checking type safety and looking 235 static bool verifyMethod(Method* meth) 248 vdata.method = meth; 264 "VFY: zero-length code in concrete non-native method"); 323 * We could probably skip this for a method with no registers, bu [all...] |
/external/clang/lib/CodeGen/ |
CGObjCRuntime.h | 125 const ObjCMethodDecl *Method) = 0; 145 /// \param Method - The method being called, this may be null if synthesizing 155 const ObjCMethodDecl *Method = 0) = 0; 158 /// class initiated in a method for Class and with the given Self 161 /// \param Method - The method being called, this may be null if synthesizing 173 const ObjCMethodDecl *Method = 0) = 0; 180 /// Generate the named protocol. Protocols contain method metadata but no 184 /// Generate a function preamble for a method with the specifie [all...] |
/external/javassist/src/main/javassist/tools/rmi/ |
StubGenerator.java | 19 import java.lang.reflect.Method; 66 * This is a method declared in javassist.Translator. 88 * This is a method declared in javassist.Translator. 194 /* ms must not be an array of CtMethod. To invoke a method ms[i] 197 private void addMethods(CtClass proxy, Method[] ms) 202 Method m = ms[i]; 226 // if package method
|
/frameworks/base/tools/aidl/ |
AST.h | 295 struct Method : public ClassElement 306 Method(); 307 virtual ~Method();
|
/libcore/luni/src/main/java/org/apache/harmony/lang/annotation/ |
AnnotationMember.java | 27 import java.lang.reflect.Method; 95 protected transient Method definingMethod; 125 * @param m element-defining method, reflected on the annotation type 127 * (return type of the defining method) 129 public AnnotationMember(String name, Object val, Class type, Method m) { 216 * false otherwise. Appropriate overloaded method of Arrays.equals() 332 * <br> Note, this method may return null if this element was constructed
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ClassLoaderReflectionTest.java | 21 import java.lang.reflect.Method; 115 Method method = fClass.getDeclaredMethod("method", bClass, List.class); local 116 assertParameterizedType(method.getGenericReturnType(), bClass, String.class); 120 Method method = fClass.getDeclaredMethod("method", bClass, List.class); local 121 Type[] types = method.getGenericParameterTypes(); 142 B<String> method(B<String> parameter, List<A> anotherParameter) method in class:ClassLoaderReflectionTest.F [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ClassTest.java | 28 import java.lang.reflect.Method; 298 Method m = TestClass.class.getDeclaredMethod("pubMethod", new Class[0]); 299 assertEquals("Returned incorrect method", 2, ((Integer) (m.invoke(new TestClass()))) 308 Method[] m = TestClass.class.getDeclaredMethods(); 365 Method m = TestClass.class.getMethod("pubMethod", new Class[0]); 366 assertEquals("Returned incorrect method", 2, ((Integer) (m.invoke(new TestClass()))) 370 fail("Failed to throw exception accessing private method"); 381 Method[] m = TestClass.class.getMethods();
|
/dalvik/dx/src/com/android/dx/io/ |
DexBuffer.java | 295 public Code readCode(ClassData.Method method) { 296 int offset = method.getCodeOffset(); 485 ClassData.Method[] directMethods = readMethods(directMethodsSize); 486 ClassData.Method[] virtualMethods = readMethods(virtualMethodsSize); 501 private ClassData.Method[] readMethods(int count) { 502 ClassData.Method[] result = new ClassData.Method[count]; 505 methodIndex += readUleb128(); // method index diff 508 result[i] = new ClassData.Method(methodIndex, accessFlags, codeOff) [all...] |
/dalvik/vm/ |
InlineNative.cpp | 36 * These are NOT simply native implementations. A full method definition 42 * The difference between this and an "internal native" static method 44 * "secretly replaces" the other method, so you can't avoid having two 53 * method is invoked. This property is NOT preserved here. If you need 56 * resolve the method if it hasn't been). 58 * DO NOT replace "synchronized" methods. We do not support method 62 * garbage collection. The method arguments are not visible to the GC 85 * It's best to avoid inlining the overridden version of a method. For 92 * Because the actual method is not called, debugger breakpoints on these 94 * method and call it when the debugger is active.) Additional steps hav 836 Method* method = dvmFindDirectMethodByDescriptor(clazz, methodName, local 878 Method* method = gDvm.inlinedMethods[opIndex]; local 911 Method* method = dvmResolveInlineNative(opIndex); local [all...] |