/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
GenericReflectionTestsBase.java | 19 import java.lang.reflect.Method; 27 * Returns the type parameter of the declaring method. 29 * @param method 30 * the declaring method 31 * @return the type parameter of the method 33 public TypeVariable<Method> getTypeParameter(Method method) { 34 TypeVariable<Method>[] typeParameters = method.getTypeParameters() [all...] |
WildcardTypeTest.java | 20 import java.lang.reflect.Method; 55 * @param method the declaring method 57 private void checkBoundedTypeParameter(Method method) { 58 TypeVariable<Method> typeParameter = getTypeParameter(method); 60 assertEquals(method, typeParameter.getGenericDeclaration()); 68 private void checkLowerBoundedParameter(Method method) { 125 Method method = clazz.getMethod("upperBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local 131 Method method = clazz.getMethod("lowerBoundedParamReturn", BoundedWildcardsGenericMethods.class); local 138 Method method = clazz.getMethod("upperBoundedParamReturn", BoundedWildcardsGenericMethods.class); local 145 Method method = clazz.getMethod("lowerBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local [all...] |
/external/chromium/base/ |
task.h | 89 template <class Method> 90 inline CancelableTask* NewRunnableMethod(Method method) { 91 return new RunnableMethod<Method, Tuple0>( 92 weak_factory_.GetWeakPtr(), method, MakeTuple()); 95 template <class Method, class A> 96 inline CancelableTask* NewRunnableMethod(Method method, const A& a) { 97 return new RunnableMethod<Method, Tuple1<A> >( 98 weak_factory_.GetWeakPtr(), method, MakeTuple(a)) [all...] |
tuple.h | 10 // and method pointer, and unpack a tuple into arguments to the call. 530 // Helper functions that call the given method on an object, with the unpacked 533 // DispatchToMethod(object, &Object::method, args); 539 template <class ObjT, class Method> 540 inline void DispatchToMethod(ObjT* obj, Method method, const Tuple0& arg) { 541 (obj->*method)(); 544 template <class ObjT, class Method, class A> 545 inline void DispatchToMethod(ObjT* obj, Method method, const A& arg) [all...] |
/external/qemu-pc-bios/bochs/bios/ |
acpi-dsdt.dsl | 110 Method (_EJ0,1) { \ 198 Method (_STA, 0, NotSerialized) { 219 Method (_S1D, 0, NotSerialized) 223 Method (_S2D, 0, NotSerialized) 227 Method (_S3D, 0, NotSerialized) 256 Method (_STA, 0, NotSerialized) 261 Method (_CRS, 0, NotSerialized) 288 Method (_STA, 0, NotSerialized) 293 Method (_CRS, 0, NotSerialized) 307 Method (_STA, 0, NotSerialized [all...] |
/external/proguard/src/proguard/classfile/attribute/preverification/ |
DoubleType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitDoubleType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackDoubleType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesDoubleType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
FloatType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitFloatType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackFloatType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesFloatType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
IntegerType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitIntegerType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackIntegerType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesIntegerType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
LongType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitLongType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackLongType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesLongType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
NullType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitNullType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackNullType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesNullType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
TopType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitTopType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackTopType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesTopType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
UninitializedThisType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitUninitializedThisType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackUninitializedThisType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesUninitializedThisType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
VerificationType.java | 59 * Accepts the given visitor in the context of a method's code, either on 62 public abstract void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor); 66 * Accepts the given visitor in the context of a stack in a method's code . 68 public abstract void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor); 72 * Accepts the given visitor in the context of a variable in a method's code. 74 public abstract void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor);
|
/external/proguard/src/proguard/optimize/info/ |
CatchExceptionMarker.java | 42 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 46 markCatchException(method); 53 private static void markCatchException(Method method) 55 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); 63 public static boolean catchesExceptions(Method method) 65 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
|
/libcore/luni/src/test/java/libcore/java/lang/annotation/ |
AnnotationTypeMismatchExceptionTest.java | 23 import java.lang.reflect.Method; 27 Method m = String.class.getMethod("length"); 34 Method m = String.class.getMethod("length"); 40 // non-serializable field of type Method.
|
/dalvik/tests/032-concrete-sub/src/ |
ConcreteSub.java | 17 import java.lang.reflect.Method; 20 * Test insertion of an abstract method in a superclass. 41 Method meth;
|
/dalvik/tests/085-old-style-inner-class/src/ |
Main.java | 17 import java.lang.reflect.Method; 37 private static String nameOf(Method meth) {
|
/dalvik/vm/compiler/codegen/x86/ |
Assemble.cpp | 88 * This method is called from the invoke templates for virtual and interface 90 * written in assembly and have setup method, cell, and clazz at r0, r2, and 101 const Method *dvmJitToPatchPredictedChain(const Method *method,
|
/dalvik/vm/oo/ |
Resolve.h | 24 * used to invoke the method determines which list we search, and whether 51 * Resolve a direct, static, or virtual method. 53 * Can cause the method's class to be initialized if methodType is 58 extern "C" Method* dvmResolveMethod(const ClassObject* referrer, u4 methodIdx, 62 * Resolve an interface method. 66 Method* dvmResolveInterfaceMethod(const ClassObject* referrer, u4 methodIdx);
|
/external/chromium/chrome/browser/ui/cocoa/applescript/ |
bookmark_applescript_utils_unittest.h | 34 Method originalMethod_; 35 Method alternateMethod_;
|
/external/easymock/src/org/easymock/internal/ |
LegacyMatcherProvider.java | 20 import java.lang.reflect.Method;
36 private transient Map<Method, ArgumentsMatcher> matchers = new HashMap<Method, ArgumentsMatcher>();
38 public ArgumentsMatcher getMatcher(Method method) {
39 if (!matchers.containsKey(method)) {
43 matchers.put(method, defaultMatcher);
45 return matchers.get(method);
58 public void setMatcher(Method method, ArgumentsMatcher matcher) { 81 Method method = entry.getKey().getMethod(); local [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
WithFramework.java | 19 import java.lang.reflect.Method; 28 * Invokes main(String[]) method on class in args[0] with args[1..n]. 45 Method mainMethod = mainClass.getMethod("main", String[].class);
|
/frameworks/ex/common/java/com/android/common/ |
SharedPreferencesCompat.java | 22 import java.lang.reflect.Method; 29 private static Method sApplyMethod; // final
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
VibratorCompatWrapper.java | 22 import java.lang.reflect.Method; 25 private static final Method METHOD_hasVibrator = CompatUtils.getMethod(Vibrator.class,
|
/external/clang/lib/Sema/ |
SemaExprObjC.cpp | 174 ObjCMethodDecl *Method = LookupInstanceMethodInGlobalPool(Sel, 176 if (!Method) 177 Method = LookupFactoryMethodInGlobalPool(Sel, 179 if (!Method) 182 if (!Method || 183 Method->getImplementationControl() != ObjCMethodDecl::Optional) { 246 // If we're not in an ObjC method, error out. Note that, unlike the 247 // C++ case, we don't require an instance method --- class methods 249 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(DC); local 250 if (!method) 1499 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(CurContext); local [all...] |