| /external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
| ReflectionUtil.cs | 44 /// delegate from the MethodInfo, and then calling that within an anonymous method. 56 /// Creates a delegate which will cast the argument to the appropriate method target type, 57 /// call the method on it, then convert the result to object. 59 internal static Func<IMessage, object> CreateFuncIMessageObject(MethodInfo method) 62 Expression downcast = Expression.Convert(parameter, method.DeclaringType); 63 Expression call = Expression.Call(downcast, method); 69 /// Creates a delegate which will cast the argument to the appropriate method target type, 70 /// call the method on it, then convert the result to the specified type. 72 internal static Func<IMessage, T> CreateFuncIMessageT<T>(MethodInfo method) 75 Expression downcast = Expression.Convert(parameter, method.DeclaringType) [all...] |
| /system/tools/hidl/ |
| generateCpp.cpp | 23 #include "Method.h" 487 for (const auto &method : iface->methods()) { 490 const bool returnsValue = !method->results().empty(); 491 const TypedVar *elidedReturn = method->canElideCallback(); 495 << method->name() 497 method->emitCppResultSignature(out, true /* specify namespaces */); 501 method->dumpAnnotations(out); 510 out << method->name() 512 method->emitCppArgSignature(out, true /* specify namespaces */); 515 if (!method->args().empty()) 817 const Method *method = tuple.method(); local 1569 const Method *method = tuple.method(); local [all...] |
| /external/wpa_supplicant_8/wpa_supplicant/dbus/ |
| dbus_old.c | 143 const char *method = dbus_message_get_member(message); local 150 if (!strcmp(method, "set")) 152 else if (!strcmp(method, "enable")) 154 else if (!strcmp(method, "disable")) 184 /* Dispatch the method call against the scanned bssid */ 207 const char *method = dbus_message_get_member(message); local 220 msg_interface, method, path, 240 /* A method for one of this interface's configured networks */ 249 /* A method for one of this interface's scanned BSSIDs */ 252 /* A method for an interface only. * 325 const char *method; local [all...] |
| /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
| TextReport.java | 66 for (ApiMethod method : methods) { 67 printMethod(method, out); 103 private static void printMethod(ApiMethod method, PrintStream out) { 105 .append(method.isCovered() ? "X" : " ") 107 .append(method.getVisibility()).append(" "); 108 if (method.isAbstractMethod()) { 111 if (method.isStaticMethod()) { 114 if (method.isFinalMethod()) { 117 builder.append(method.getReturnType()).append(" ") 118 .append(method.getName()).append("(") [all...] |
| /external/boringssl/src/crypto/x509v3/ |
| v3_info.c | 73 *method, AUTHORITY_INFO_ACCESS 77 *method, 103 ASN1_SIMPLE(ACCESS_DESCRIPTION, method, ASN1_OBJECT), 116 *method, AUTHORITY_INFO_ACCESS 127 ret = i2v_GENERAL_NAME(method, desc->location, ret); 131 i2t_ASN1_OBJECT(objtmp, sizeof objtmp, desc->method); 151 *method, 181 if (!v2i_GENERAL_NAME_ex(acc->location, method, ctx, &ctmp, 0)) 189 acc->method = OBJ_txt2obj(objtmp, 0); 190 if (!acc->method) { [all...] |
| /external/mockito/src/test/java/org/mockito/ |
| AnnotationsAreCopiedFromMockedTypeTest.java | 12 import java.lang.reflect.Method; 33 AnnotationWithDefaultValue onClassDefaultValue = method("method", mock(OnMethod.class)).getAnnotation(AnnotationWithDefaultValue.class); 34 AnnotationWithCustomValue onClassCustomValue = method("method", mock(OnMethod.class)).getAnnotation(AnnotationWithCustomValue.class); 42 AnnotationWithDefaultValue onClassDefaultValue = firstParamOf(method("method", mock(OnMethod.class))).getAnnotation(AnnotationWithDefaultValue.class); 43 AnnotationWithCustomValue onClassCustomValue = firstParamOf(method("method", mock(OnMethod.class))).getAnnotation(AnnotationWithCustomValue.class); 49 private AnnotatedElement firstParamOf(Method method) [all...] |
| /external/proguard/src/proguard/classfile/visitor/ |
| ReferencedClassVisitor.java | 142 // Let the visitor visit the classes referenced in the method type constant. 154 // Let the visitor visit the class of the enclosing method. 159 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 162 codeAttribute.attributesAccept(clazz, method, this); 166 public void visitLocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTableAttribute localVariableTableAttribute) 169 localVariableTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this); 173 public void visitLocalVariableTypeTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeTableAttribute localVariableTypeTableAttribute [all...] |
| /external/testng/src/main/java/org/testng/junit/ |
| JUnitMethodFinder.java | 12 import java.lang.reflect.Method; 53 public boolean accept(Method method) { 54 return method.getName().startsWith("test") && 55 method.getParameterTypes().length == 0; 60 // ppp("FIND TEST METHOD RETURNING "); 72 // same method twice (e.g. setUp) which would lead to double-invocation. 74 // method names in a Set to filter out duplicates. 82 Method[] allMethods = current.getDeclaredMethods(); 83 for(Method allMethod : allMethods) 87 Method method = m.getMethod(); local [all...] |
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
| SerializationTestClass.java | 238 // Test Method Modifiers 240 public void method() { method in class:SerializationTestClass.TestMethodPublic 246 private void method() { method in class:SerializationTestClass.TestMethodPrivate 251 protected void method() { method in class:SerializationTestClass.TestMethodProtected 256 strictfp void method() { method in class:SerializationTestClass.TestMethodStrict 261 static void method() { method in class:SerializationTestClass.TestMethodStatic 266 final void method() { method in class:SerializationTestClass.TestMethodFinal 271 synchronized void method() { method in class:SerializationTestClass.TestMethodSynchronized 276 native void method(); method in class:SerializationTestClass.TestMethodNative 281 abstract void method(); method in class:SerializationTestClass.TestMethodAbstractHelper 287 void method() { method in class:SerializationTestClass.TestMethodAbstract 294 public void method(boolean z, byte b, char c, short s, int i, float f, method in class:SerializationTestClass.TestMethodSignature [all...] |
| /external/icu/icu4j/perf-tests/ |
| converterperf.pl | 19 # Methods to be tested. Each pair represents a test method and 20 # a baseline method which is used for comparison. 123 # measure the test method 131 # measure baseline method 176 # Measure a given test method with a give test pattern using the 179 # @param the method to run 200 # Measure a given test method with a give test pattern using the 203 # @param the method to run 214 my $method = shift; 218 out("<P>Measuring $method for input file @$pat[0] for encoding @$pat[2] , ") [all...] |
| dateformatperf.pl | 19 # Methods to be tested. Each pair represents a test method and 20 # a baseline method which is used for comparison. 110 # measure the test method 118 # measure baseline method 163 # Measure a given test method with a give test pattern using the 166 # @param the method to run 187 # Measure a given test method with a give test pattern using the 190 # @param the method to run 201 my $method = shift; 205 out("<P>Measuring $method for input file @$pat[0] for encoding @$pat[2] , ") [all...] |
| decimalformatperf.pl | 19 # Methods to be tested. Each pair represents a test method and 20 # a baseline method which is used for comparison. 105 # measure the test method 113 # measure baseline method 158 # Measure a given test method with a give test pattern using the 161 # @param the method to run 182 # Measure a given test method with a give test pattern using the 185 # @param the method to run 196 my $method = shift; 200 out("<P>Measuring $method for input file @$pat[0] for encoding @$pat[2] , ") [all...] |
| normperf.pl | 19 # Methods to be tested. Each pair represents a test method and 20 # a baseline method which is used for comparison. 159 # measure the test method 167 # measure baseline method 212 # Measure a given test method with a give test pattern using the 215 # @param the method to run 236 # Measure a given test method with a give test pattern using the 239 # @param the method to run 250 my $method = shift; 254 out("<P>Measuring $method for input file @$pat[0] in @$pat[2] , ") [all...] |
| ucharacterperf.pl | 19 # Methods to be tested. Each pair represents a test method and 20 # a baseline method which is used for comparison. 107 # measure the test method 115 # measure baseline method 160 # Measure a given test method with a give test pattern using the 163 # @param the method to run 184 # Measure a given test method with a give test pattern using the 187 # @param the method to run 198 my $method = shift; 202 out("<P>Measuring $method using $pat, ") [all...] |
| unicodesetperf.pl | 19 # Methods to be tested. Each pair represents a test method and 20 # a baseline method which is used for comparison. 97 # measure the test method 105 # measure baseline method 150 # Measure a given test method with a give test pattern using the 153 # @param the method to run 174 # Measure a given test method with a give test pattern using the 177 # @param the method to run 188 my $method = shift; 192 out("<P>Measuring $method using $pat, ") [all...] |
| /external/proguard/src/proguard/optimize/evaluation/ |
| VariableOptimizer.java | 95 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 99 // method.getName(clazz).equals("abc"); 105 livenessAnalyzer.visitCodeAttribute(clazz, method, codeAttribute); 110 codeAttribute.attributesAccept(clazz, method, this); 113 (method.getAccessFlags() & ClassConstants.ACC_STATIC) != 0 || 117 ClassUtil.internalMethodParameterSize(method.getDescriptor(clazz), 118 method.getAccessFlags()); 158 System.out.println("VariableOptimizer: "+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)) [all...] |
| /external/guice/core/src/com/google/inject/spi/ |
| InjectionPoint.java | 39 import java.lang.reflect.Method; 53 * A constructor, field or method that can receive injections. Typically this is a member with the 69 InjectionPoint(TypeLiteral<?> declaringType, Method method, boolean optional) { 70 this.member = method; 73 this.dependencies = forMember(method, declaringType, method.getParameterAnnotations()); 137 * Returns the injected constructor, field, or method. 145 * Returns the dependencies for this injection point. If the injection point is for a method or 310 * Returns a new injection point for the specified method of {@code type} 468 final Method method; field in class:InjectionPoint.InjectableMethod 787 Method method = injectableMethod.method; local [all...] |
| /external/proguard/src/proguard/classfile/editor/ |
| CodeAttributeEditor.java | 395 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 399 // method.getName(clazz).equals("abc"); 402 // Catch any unexpected exceptions from the actual visiting method. 406 visitCodeAttribute0(clazz, method, codeAttribute); 412 System.err.println(" Method = ["+method.getName(clazz)+method.getDescriptor(clazz)+"]"); 420 public void visitCodeAttribute0(Clazz clazz, Method method, CodeAttribute codeAttribute [all...] |
| /art/runtime/openjdkjvmti/ |
| ti_method.cc | 52 void RegisterNativeMethod(art::ArtMethod* method, 67 art::jni::EncodeArtMethod(method), 82 art::ScopedSuspendAll ssa("Add method callback"); 89 art::ScopedSuspendAll ssa("Remove method callback"); 95 jmethodID method, 97 if (method == nullptr) { 100 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); 129 jmethodID method, 131 if (method == nullptr) { 134 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); [all...] |
| /external/openssh/ |
| auth2.c | 97 #define MATCH_NONE 0 /* method or submethod mismatch */ 98 #define MATCH_METHOD 1 /* method matches (no submethod specified) */ 99 #define MATCH_BOTH 2 /* method and submethod match */ 100 #define MATCH_PARTIAL 3 /* method matches, submethod can't be checked */ 217 char *user, *service, *method, *style = NULL; local 225 method = packet_get_cstring(NULL); 226 debug("userauth-request for user %s service %s method %s", user, service, method); 278 m = authmethod_lookup(authctxt, method); 280 debug2("input_userauth_request: try method %s", method) 459 char *methods, *omethods, *method, *p; local [all...] |
| /external/proguard/src/proguard/optimize/peephole/ |
| MethodInliner.java | 138 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 140 // TODO: Remove this when the method inliner has stabilized. 141 // Catch any unexpected exceptions from the actual visiting method. 145 visitCodeAttribute0(clazz, method, codeAttribute); 149 System.err.println("Unexpected error while inlining method:"); 151 System.err.println(" Target method = ["+targetMethod.getName(targetClass)+targetMethod.getDescriptor(targetClass)+"]"); 155 System.err.println(" Inlined method = ["+method.getName(clazz)+method.getDescriptor(clazz)+"]") [all...] |
| /art/runtime/interpreter/ |
| interpreter.cc | 44 ArtMethod* method, 53 if (method->IsStatic()) { 56 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); 58 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); 67 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); 69 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); 74 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); 76 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); 81 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); 83 soa.AddLocalReference<jclass>(method->GetDeclaringClass())) 251 ArtMethod *method = shadow_frame.GetMethod(); local 281 ArtMethod* method = shadow_frame.GetMethod(); local 601 ArtMethod* method = shadow_frame->GetMethod(); local [all...] |
| /art/runtime/ |
| instrumentation.h | 52 // Do we want to deoptimize for method entry and exit listeners or just try to intercept 58 // the events they are listening for. The call backs supply the thread, method and dex_pc the event 64 // Call-back for when a method is entered. 66 ArtMethod* method, 69 // Call-back for when a method is exited. 71 ArtMethod* method, uint32_t dex_pc, 75 // Call-back for when a method is popped due to an exception throw. A method will either cause a 78 ArtMethod* method, uint32_t dex_pc) 81 // Call-back for when the dex pc moves in a method [all...] |
| /libcore/luni/src/test/java/libcore/java/lang/reflect/ |
| MethodTest.java | 20 import java.lang.reflect.Method; 33 Method method = MethodTestHelper.class.getMethod("m1", new Class[0]); local 34 Class[] exceptions = method.getExceptionTypes(); 39 exceptions = method.getExceptionTypes(); 46 Method method = MethodTestHelper.class.getMethod("m1", expectedParameters); local 47 assertEquals(0, method.getParameterTypes().length); 50 method = MethodTestHelper.class.getMethod("m2", expectedParameters); 51 Class[] parameters = method.getParameterTypes() 63 Method method = MethodTestHelper.class.getMethod("m1", expectedParameters); local 74 Method method = MethodTestHelper.class.getMethod("m1", expectedParameters); local 150 Method method = Super.class.getDeclaredMethod("a"); local 175 Method method = anonymous.getClass().getMethod("a"); local 184 Method method = anonymous.getClass().getMethod("a"); local 205 Method method = anonymous.getClass().getDeclaredMethod("a"); local 357 Method method = InterfaceWithStatic.class.getMethod("staticMethod"); local 374 Method method = InterfaceWithStatic.class.getMethod("staticMethod"); local 381 Method method = InterfaceWithStatic.class.getMethod("staticMethod"); local 562 Method method = clazz.getMethod("defaultMethod"); local [all...] |
| /art/compiler/optimizing/ |
| optimizing_compiler.h | 37 bool EncodeArtMethodInInlineInfo(ArtMethod* method);
|