/libcore/luni/src/test/java/libcore/build/ |
DuplicateBridgeMethodsTest.java | 21 import java.lang.reflect.Method; 41 * This test ensures that an extra bridge method did not get inserted into the 46 Method method = IoTracker.Mode.class.getMethod("compareTo", local 48 assertTrue(method.isBridge()); 49 assertTrue(method.isSynthetic()); 53 method.getDeclaringClass(), java.lang.Enum.class);
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
InvocationHandler.java | 33 * When a method is invoked on a proxy instance, the method 35 * method of its invocation handler. 44 * Processes a method invocation on a proxy instance and returns 45 * the result. This method will be invoked on an invocation handler 46 * when a method is invoked on a proxy instance that it is 49 * @param proxy the proxy instance that the method was invoked on 51 * @param method the {@code Method} instance corresponding to 52 * the interface method invoked on the proxy instance. The declarin [all...] |
/libcore/ojluni/src/main/java/sun/net/ |
ProgressMeteringPolicy.java | 39 public boolean shouldMeterInput(URL url, String method);
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/ |
TSuper.d | 19 .method public <init>()V 24 .end method 26 .method public toInt()I 30 .end method 32 .method public toInt(F)I 36 .end method 38 .method public native toIntNative()I 39 .end method 41 .method public static toIntStatic()I 45 .end method [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super_range/d/ |
TSuper.d | 19 .method public <init>()V 24 .end method 26 .method public toInt()I 30 .end method 32 .method public toInt(F)I 36 .end method 38 .method public native toIntNative()I 39 .end method 41 .method public static toIntStatic()I 45 .end method [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicHttpRequest.java | 56 private final String method; field in class:BasicHttpRequest 59 public BasicHttpRequest(final String method, final String uri) { 61 if (method == null) { 62 throw new IllegalArgumentException("Method name may not be null"); 67 this.method = method; 72 public BasicHttpRequest(final String method, final String uri, final ProtocolVersion ver) { 73 this(new BasicRequestLine(method, uri, ver)); 82 this.method = requestline.getMethod(); 99 return new BasicRequestLine(this.method, this.uri, ver) [all...] |
/external/proguard/src/proguard/classfile/editor/ |
VariableSizeUpdater.java | 57 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 61 // method.getName(clazz).equals("abc"); 65 ClassUtil.internalMethodParameterSize(method.getDescriptor(clazz), 66 method.getAccessFlags()); 70 System.out.println("VariableSizeUpdater: "+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)); 75 codeAttribute.instructionsAccept(clazz, method, this); 78 variableCleaner.visitCodeAttribute(clazz, method, codeAttribute); 84 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) { [all...] |
/external/python/cpython3/Lib/test/ |
test_crypt.py | 15 for method in crypt.methods: 16 salt = crypt.mksalt(method) 18 method.salt_chars + (3 if method.ident else 0)) 21 for method in crypt.methods: 22 pw = crypt.crypt('assword', method) 23 self.assertEqual(len(pw), method.total_size) 24 pw = crypt.crypt('assword', crypt.mksalt(method)) 25 self.assertEqual(len(pw), method.total_size) 28 # Guarantee that METHOD_CRYPT is the last method in crypt.methods [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
CallbackWrapper.java | 35 public final ModelMethod method; field in class:CallbackWrapper 43 public CallbackWrapper(ModelClass klass, ModelMethod method) { 45 this.method = method; 46 this.key = uniqueKey(klass, method); 76 public static String uniqueKey(ModelClass klass, ModelMethod method) { 77 String base = klass.getCanonicalName() + "#" + method.getName(); 78 for (ModelClass param : method.getParameterTypes()) { 97 return Math.min(method.getMinApi(), klass.getMinApi());
|
/external/proguard/src/proguard/classfile/util/ |
SimplifiedVisitor.java | 48 throw new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called"); 71 throw new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called"); 121 throw new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called"); 189 * Visits any type of method RefConstant of the given class. 234 throw new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called"); 295 public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAttribute) 297 visitDeprecatedAttribute(clazz, (Member)method, deprecatedAttribute); 322 public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttribute [all...] |
/external/libjpeg-turbo/ |
jddctmgr.c | 39 * The multiplier table contents are IDCT-method-dependent. To support 40 * application changes in IDCT method between scans, we can remake the 54 /* This array contains the IDCT method code that each multiplier table 102 int method = 0; local 113 method = JDCT_ISLOW; /* jidctred uses islow-style table */ 120 method = JDCT_ISLOW; /* jidctred uses islow-style table */ 124 method = JDCT_ISLOW; /* jidctint uses islow-style table */ 131 method = JDCT_ISLOW; /* jidctred uses islow-style table */ 135 method = JDCT_ISLOW; /* jidctint uses islow-style table */ 144 method = JDCT_ISLOW; /* jidctint uses islow-style table * [all...] |
/external/flatbuffers/grpc/src/compiler/ |
go_generator.cc | 47 inline bool ClientOnlyStreaming(const grpc_generator::Method *method) { 48 return method->ClientStreaming() && !method->ServerStreaming(); 51 inline bool ServerOnlyStreaming(const grpc_generator::Method *method) { 52 return !method->ClientStreaming() && method->ServerStreaming(); 93 // Generates Server method signature source 94 void GenerateServerMethodSignature(const grpc_generator::Method *method, grpc_generator::Printer *printer 339 auto method = service->method(i); local 382 auto method = service->method(i); local 399 auto method = service->method(i); local [all...] |
/system/tools/hidl/ |
generateJava.cpp | 21 #include "Method.h" 218 for (const auto &method : iface->methods()) { 219 if (method->isHiddenFromJava()) { 223 const bool returnsValue = !method->results().empty(); 224 const bool needsCallback = method->results().size() > 1; 227 out << "\n@java.lang.FunctionalInterface\npublic interface " << method->name() 233 method->emitJavaResultSignature(out); 240 method->emitDocComment(out); 243 out << method->results()[0]->type().getJavaType(); 249 << method->name( 313 const Method *method = tuple.method(); local 524 const Method *method = tuple.method(); local [all...] |
Interface.cpp | 23 #include "Method.h" 83 bool Interface::fillPingMethod(Method *method) const { 84 if (method->name() != "ping") { 88 method->fillImplementation( 114 bool Interface::fillLinkToDeathMethod(Method *method) const { 115 if (method->name() != "linkToDeath") { 119 method->fillImplementation( 158 bool Interface::fillUnlinkToDeathMethod(Method *method) const 606 Method *method = pair.second->copySignature(); local [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
ParameterAnnotationStruct.java | 29 * Association of a method and its parameter annotations. 33 /** {@code non-null;} the method in question */ 34 private final CstMethodRef method; field in class:ParameterAnnotationStruct 45 * @param method {@code non-null;} the method in question 48 public ParameterAnnotationStruct(CstMethodRef method, 50 if (method == null) { 51 throw new NullPointerException("method == null"); 58 this.method = method; [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
ParameterAnnotationStruct.java | 28 * Association of a method and its parameter annotations. 32 /** {@code non-null;} the method in question */ 33 private final CstMethodRef method; field in class:ParameterAnnotationStruct 44 * @param method {@code non-null;} the method in question 48 public ParameterAnnotationStruct(CstMethodRef method, 50 if (method == null) { 51 throw new NullPointerException("method == null"); 58 this.method = method; [all...] |
/external/guava/guava-tests/test/com/google/common/eventbus/ |
EventSubscriberTest.java | 24 import java.lang.reflect.Method; 46 * Checks that a no-frills, no-issues method call is properly executed. 51 Method method = getRecordingMethod(); local 53 EventSubscriber subscriber = new EventSubscriber(this, method); 57 assertTrue("Subscriber must call provided method.", methodCalled); 63 Method method = getExceptionThrowingMethod(); local 64 EventSubscriber subscriber = new EventSubscriber(this, method); 76 Method method = getErrorThrowingMethod() local 108 Method method; local 131 Method method; local 154 Method method; local [all...] |
/external/javassist/src/test/test/javassist/bytecode/analysis/ |
AnalyzerTest.java | 31 CtMethod method = clazz.getDeclaredMethod("commonSuperArray"); local 32 verifyArrayLoad(clazz, method, "java.lang.Number"); 38 CtMethod method = clazz.getDeclaredMethod("commonInterfaceArray"); local 39 verifyArrayLoad(clazz, method, "java.io.Serializable"); 43 CtMethod method = ClassPool.getDefault().getMethod( local 45 verifyReturn(method, "java.io.Serializable"); 47 method = ClassPool.getDefault().getMethod( 49 verifyReturn(method, "java.io.Serializable"); 51 method = ClassPool.getDefault().getMethod( 53 verifyReturn(method, getClass().getName() + "$Dummy$A") 57 CtMethod method = ClassPool.getDefault().getMethod( local 67 CtMethod method = ClassPool.getDefault().getMethod( local 149 CtMethod method = generateDeadCode(ClassPool.getDefault()); local 159 CtMethod method = generateInvalidCode(ClassPool.getDefault()); local 171 CtMethod method = generateCodeFalloff(ClassPool.getDefault()); local 183 CtMethod method = generateJsrMerge(ClassPool.getDefault()); local 190 CtMethod method = generateJsrMerge2(ClassPool.getDefault()); local 199 CtMethod method = new CtMethod(stringClass, "foo", new CtClass[0], clazz); local 219 CtMethod method = new CtMethod(stringClass, "foo", new CtClass[0], clazz); local 236 CtMethod method = new CtMethod(stringClass, "foo", new CtClass[0], clazz); local 251 CtMethod method = new CtMethod(stringClass, "foo", new CtClass[0], clazz); local 275 CtMethod method = new CtMethod(stringClass, "foo", new CtClass[0], clazz); local [all...] |
/external/mockito/src/main/java/org/mockito/internal/invocation/ |
SerializableMethod.java | 11 import java.lang.reflect.Method; 27 private volatile transient Method method; field in class:SerializableMethod 29 public SerializableMethod(Method method) { 30 this.method = method; 31 declaringClass = method.getDeclaringClass(); 32 methodName = method.getName(); 33 parameterTypes = SuspendMethod.trimSuspendParameterTypes(method.getParameterTypes()) [all...] |
/external/proguard/src/proguard/optimize/info/ |
AccessMethodMarker.java | 45 private Method invokingMethod; 50 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 53 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 55 invokingMethod = method; 76 // Check the bootstrap method. 83 // Check the method reference. 142 private static void setAccessesPrivateCode(Method method) [all...] |
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
BusinessLogicExecutor.java | 20 import java.lang.reflect.Method; 40 * @param method the name of the method to invoke. Must include fully qualified name of the 41 * enclosing class, followed by '.', followed by the name of the method 42 * @param args the string arguments to supply to the method 43 * @return the return value of the method invoked 44 * @throws RuntimeException when failing to resolve or invoke the condition method 46 public boolean executeCondition(String method, String... args) { 48 return (Boolean) invokeMethod(method, args); 52 "BusinessLogic: Failed to invoke condition method %s with args: %s", method [all...] |
/external/proguard/src/proguard/optimize/ |
ChangedCodePrinter.java | 122 public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAttribute) 124 attributeVisitor.visitDeprecatedAttribute(clazz, method, deprecatedAttribute); 128 public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttribute) 130 attributeVisitor.visitSyntheticAttribute(clazz, method, syntheticAttribute); 134 public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute syntheticAttribute) 136 attributeVisitor.visitSignatureAttribute(clazz, method, syntheticAttribute); 146 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute exceptionsAttribute [all...] |
/tools/metalava/src/main/java/com/android/tools/metalava/ |
KotlinInteropChecks.kt | 43 override fun visitMethod(method: MethodItem) { 44 checkMethod(method) 58 fun checkMethod(method: MethodItem) { 59 if (!method.isConstructor()) { 60 ensureMethodNameNotKeyword(method) 61 ensureParameterNamesNotKeywords(method) 62 ensureDefaultParamsHaveJvmOverloads(method) 63 ensureCompanionJvmStatic(method) 64 ensureLambdaLastParameter(method) 65 ensureExceptionsDocumented(method) [all...] |
/art/test/472-unreachable-if-regression/smali/ |
Test.smali | 20 .method public static UnreachableIf()V 27 .end method 29 .method public static UnreachablePackedSwitch()V 46 .end method
|
/art/test/501-regression-packed-switch/smali/ |
Test.smali | 20 .method public static EmptyPackedSwitch(I)I 29 .end method 31 .method public static PackedSwitchAfterData(I)I 54 .end method
|