| /prebuilts/go/linux-x86/test/fixedbugs/ |
| bug478.go | 7 // Using the same unexported name for a method as a method on an
|
| issue4458.go | 7 // Issue 4458: gc accepts invalid method expressions 8 // like (**T).Method. 19 (**T).foo(&pav) // ERROR "no method foo|requires named type or pointer to named"
|
| /prebuilts/go/linux-x86/test/fixedbugs/issue10700.dir/ |
| test.go | 28 (*x).Dont() // ERROR "\(\*x\)\.Dont undefined \(type Imported has no field or method Dont\)" 31 y.do() // ERROR "y\.do undefined \(type \*HasAMethod has no field or method do, but does have Do\)" 33 (*y).do() // ERROR "\(\*y\)\.do undefined \(type HasAMethod has no field or method do, but does have Do\)" 34 y.Dont() // ERROR "y\.Dont undefined \(type \*HasAMethod has no field or method Dont\)" 35 (*y).Dont() // ERROR "\(\*y\)\.Dont undefined \(type HasAMethod has no field or method Dont\)" 40 (*z).do() // ERROR "\(\*z\)\.do undefined \(type other.Exported has no field or method do, but does have Do\)" 42 (*z).Dont() // ERROR "\(\*z\)\.Dont undefined \(type other\.Exported has no field or method Dont\)" 44 (*z).secret() // ERROR "\(\*z\)\.secret undefined \(cannot refer to unexported field or method secret\)"
|
| /prebuilts/go/linux-x86/test/fixedbugs/issue15646.dir/ |
| a.go | 18 return T.m // method expression 22 return (*T).mp // method expression
|
| /prebuilts/go/linux-x86/test/interface/ |
| explicit.go | 44 // because i has an extra method 46 i = t // ERROR "incompatible|missing M method" 50 i2 = i // ERROR "incompatible|missing N method" 53 i2 = I2(i) // ERROR "invalid|missing N method" 79 var m2 M = jj // ERROR "incompatible|wrong type for M method" 82 var m4 = M(jj) // ERROR "invalid|wrong type for M method" 100 var b1 B1 = &T2{} // ERROR "incompatible|missing _ method" 101 var b2 B2 = &T2{} // ERROR "incompatible|missing _ method"
|
| /prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/ |
| service.h | 141 // Call a method of the service specified by MethodDescriptor. This is 146 // * method->service() == GetDescriptor() 148 // returned by GetRequestPrototype(method) and 149 // GetResponsePrototype(method). 159 // * "done" will be called when the method is complete. This may be 166 virtual void CallMethod(const MethodDescriptor* method, 179 // const MethodDescriptor* method = 181 // Message* request = stub->GetRequestPrototype (method)->New(); 182 // Message* response = stub->GetResponsePrototype(method)->New(); 184 // service->CallMethod(method, *request, response, callback) [all...] |
| /prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/ |
| service.h | 141 // Call a method of the service specified by MethodDescriptor. This is 146 // * method->service() == GetDescriptor() 148 // returned by GetRequestPrototype(method) and 149 // GetResponsePrototype(method). 159 // * "done" will be called when the method is complete. This may be 166 virtual void CallMethod(const MethodDescriptor* method, 179 // const MethodDescriptor* method = 181 // Message* request = stub->GetRequestPrototype (method)->New(); 182 // Message* response = stub->GetResponsePrototype(method)->New(); 184 // service->CallMethod(method, *request, response, callback) [all...] |
| /prebuilts/misc/windows/protobuf2.5/include/google/protobuf/ |
| service.h | 141 // Call a method of the service specified by MethodDescriptor. This is 146 // * method->service() == GetDescriptor() 148 // returned by GetRequestPrototype(method) and 149 // GetResponsePrototype(method). 159 // * "done" will be called when the method is complete. This may be 166 virtual void CallMethod(const MethodDescriptor* method, 179 // const MethodDescriptor* method = 181 // Message* request = stub->GetRequestPrototype (method)->New(); 182 // Message* response = stub->GetResponsePrototype(method)->New(); 184 // service->CallMethod(method, *request, response, callback) [all...] |
| /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
| service.h | 142 // Call a method of the service specified by MethodDescriptor. This is 147 // * method->service() == GetDescriptor() 149 // returned by GetRequestPrototype(method) and 150 // GetResponsePrototype(method). 160 // * "done" will be called when the method is complete. This may be 167 virtual void CallMethod(const MethodDescriptor* method, 180 // const MethodDescriptor* method = 182 // Message* request = stub->GetRequestPrototype (method)->New(); 183 // Message* response = stub->GetResponsePrototype(method)->New(); 185 // service->CallMethod(method, *request, response, callback) [all...] |
| /prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/ |
| service.h | 141 // Call a method of the service specified by MethodDescriptor. This is 146 // * method->service() == GetDescriptor() 148 // returned by GetRequestPrototype(method) and 149 // GetResponsePrototype(method). 159 // * "done" will be called when the method is complete. This may be 166 virtual void CallMethod(const MethodDescriptor* method, 179 // const MethodDescriptor* method = 181 // Message* request = stub->GetRequestPrototype (method)->New(); 182 // Message* response = stub->GetResponsePrototype(method)->New(); 184 // service->CallMethod(method, *request, response, callback) [all...] |
| /external/mockito/src/main/java/org/mockito/internal/invocation/ |
| InvocationImpl.java | 15 import java.lang.reflect.Method; 19 * Method call on a mock object. 32 private final MockitoMethod method; field in class:InvocationImpl 45 this.method = mockitoMethod; 58 public Method getMethod() { 59 return method.getJavaMethod(); 85 return this.mock.equals(other.mock) && this.method.equals(other.method) && this.equalArguments(other.arguments); 110 return method.getReturnType(); 114 if (method.isAbstract()) [all...] |
| /external/mockito/src/test/java/org/mockito/internal/stubbing/answers/ |
| ThrowsExceptionTest.java | 18 new ThrowsException(new IllegalStateException("my dear throwable")).answer(new InvocationBuilder().method("canThrowException").toInvocation()); 28 new ThrowsException(mock(Exception.class)).answer(new InvocationBuilder().method("canThrowException").toInvocation()); 45 new ThrowsException(throwableToRaise).answer(new InvocationBuilder().method("canThrowException").toInvocation()); 65 new ThrowsException(new CharacterCodingException()).validateFor(new InvocationBuilder().method("canThrowException").toInvocation()); 70 new ThrowsException(new IOException()).validateFor(new InvocationBuilder().method("canThrowException").toInvocation()); 75 new ThrowsException(new Error()).validateFor(new InvocationBuilder().method("canThrowException").toInvocation()); 76 new ThrowsException(new RuntimeException()).validateFor(new InvocationBuilder().method("canThrowException").toInvocation());
|
| /external/okhttp/okcurl/src/test/java/com/squareup/okhttp/curl/ |
| MainTest.java | 31 assertEquals("GET", request.method()); 38 assertEquals("PUT", request.method()); 46 assertEquals("POST", request.method()); 55 assertEquals("PUT", request.method()); 65 assertEquals("POST", request.method()); 73 assertEquals("GET", request.method()); 81 assertEquals("GET", request.method());
|
| /external/proguard/src/proguard/optimize/ |
| DuplicateInitializerInvocationFixer.java | 36 * initialization method invocations that it visits. 80 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 88 method, 92 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute); 98 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 101 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 120 System.out.println(" ["+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)+"] Inserting "+extraInstruction.toString()+" before "+c (…) [all...] |
| /external/skia/tools/skiaserve/ |
| skiaserve.cpp | 56 int invoke(Request* request, MHD_Connection* connection, const char* url, const char* method, 59 if (fHandlers[i]->canHandle(method, url)) { 60 return fHandlers[i]->handle(request, connection, url, method, upload_data, 74 const char* url, const char* method, const char* version, 77 SkDebugf("New %s request for %s using version %s\n", method, url, version); 80 int result = kUrlManager.invoke(request, connection, url, method, upload_data, 83 fprintf(stderr, "Invalid method and / or url: %s %s\n", method, url);
|
| /libcore/luni/src/test/java/libcore/java/lang/reflect/parameter/ |
| ParameterMetadataTestClasses.smali | 42 .method static synthetic -wrap0(Llibcore/java/lang/reflect/parameter/ParameterMetadataTestClasses;)Ljava/lang/String; 50 .end method 52 .method public constructor <init>()V 60 .end method 62 .method private outerClassMethod()Ljava/lang/String; 70 .end method 74 .method synthetic -libcore_java_lang_reflect_parameter_ParameterMetadataTestClasses-mthref-0()Ljava/lang/String; 84 .end method 86 .method public getAnonymousClassWith1ParameterConstructor()Ljava/lang/Class; 108 .end method [all...] |
| /libcore/support/src/test/java/tests/io/ |
| MockOs.java | 23 import java.lang.reflect.Method; 46 @Override public Object invoke(Object o, Method method, Object[] args) throws Throwable { 48 return method.invoke(delegate, args); 56 @Override public Object invoke(Object proxy, Method method, Object[] args) 58 InvocationHandler handler = getHandlers(method.getName()).poll(); 62 return handler.invoke(proxy, method, args); 115 @Override public Object invoke(Object proxy, Method method, Object[] args) throws ErrnoException [all...] |
| /external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
| MethodSignatureFormatter.java | 49 @Override public String format(ExecutableElement method) { 50 return format(method, Optional.<DeclaredType>absent()); 57 public String format(ExecutableElement method, Optional<DeclaredType> container) { 59 TypeElement type = MoreElements.asType(method.getEnclosingElement()); 60 ExecutableType executableType = MoreTypes.asExecutable(method.asType()); 62 executableType = MoreTypes.asExecutable(types.asMemberOf(container.get(), method)); 67 List<? extends AnnotationMirror> annotations = method.getAnnotationMirrors(); 82 builder.append(method.getSimpleName()); 84 checkState(method.getParameters().size() == executableType.getParameterTypes().size()); 85 Iterator<? extends VariableElement> parameters = method.getParameters().iterator() [all...] |
| /external/nist-sip/java/gov/nist/javax/sip/clientauthutils/ |
| MessageDigestAlgorithm.java | 26 * @param method the SIP method of the request being challenged. 40 String method, String digest_uri_value, String entity_body, String qop_value, 45 + nc_value + ", " + cnonce_value + ", " + method + ", " + digest_uri_value 49 if (hashUserNameRealmPasswd == null || method == null 65 A2 = method + ":" + digest_uri_value; 69 A2 = method + ":" + digest_uri_value + ":" + H(entity_body); 103 * @param method the SIP method of the request being challenged. 116 String method, String digest_uri_value, String entity_body, String qop_value [all...] |
| /external/pdfium/third_party/libjpeg/ |
| fpdfapi_jddctmgr.c | 31 * The multiplier table contents are IDCT-method-dependent. To support 32 * application changes in IDCT method between scans, we can remake the 46 /* This array contains the IDCT method code that each multiplier table 94 int method = 0; local 105 method = JDCT_ISLOW; /* jidctred uses islow-style table */ 109 method = JDCT_ISLOW; /* jidctred uses islow-style table */ 113 method = JDCT_ISLOW; /* jidctred uses islow-style table */ 121 method = JDCT_ISLOW; 127 method = JDCT_IFAST; 133 method = JDCT_FLOAT [all...] |
| /external/proguard/src/proguard/classfile/attribute/annotation/visitor/ |
| AllElementValueVisitor.java | 92 public void visitRuntimeVisibleAnnotationsAttribute(Clazz clazz, Method method, RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute) 95 runtimeVisibleAnnotationsAttribute.annotationsAccept(clazz, method, this); 113 public void visitRuntimeInvisibleAnnotationsAttribute(Clazz clazz, Method method, RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute) 116 runtimeInvisibleAnnotationsAttribute.annotationsAccept(clazz, method, this); 120 public void visitAnyParameterAnnotationsAttribute(Clazz clazz, Method method, ParameterAnnotationsAttribute parameterAnnotationsAttribute) 123 parameterAnnotationsAttribute.annotationsAccept(clazz, method, this); 127 public void visitAnnotationDefaultAttribute(Clazz clazz, Method method, AnnotationDefaultAttribute annotationDefaultAttribute [all...] |
| /external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/ |
| ImmutableMethod.java | 40 import org.jf.dexlib2.iface.Method; 50 public class ImmutableMethod extends BaseMethodReference implements Method { 91 public static ImmutableMethod of(Method method) { 92 if (method instanceof ImmutableMethod) { 93 return (ImmutableMethod)method; 96 method.getDefiningClass(), 97 method.getName(), 98 method.getParameters(), 99 method.getReturnType() [all...] |
| /libcore/luni/src/test/java/libcore/java/lang/reflect/ |
| GenericExceptionsTest.java | 21 import java.lang.reflect.Method; 31 Method method = Thrower.class.getMethod("parameterizedMethod"); local 33 Arrays.asList(method.getGenericExceptionTypes())); 37 Method method = Thrower.class.getMethod("genericParameters", List.class); local 39 Arrays.asList(method.getGenericExceptionTypes())); 63 Method method = ThrowerT.class.getMethod("throwsTypeVariable"); local 64 TypeVariable typeVariable = getOnlyValue(method.getGenericExceptionTypes() 71 Method method = ThrowerT.class.getMethod("throwsMethodTypeParameter"); local 79 Method method = ThrowerT.class.getMethod("throwsEverything"); local [all...] |
| /libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
| MethodTest.java | 22 import java.lang.reflect.Method; 38 public void method(String parameter1, String parameter2) {} method in class:MethodTest.Type 42 Method method = Type.class.getMethod("method", String.class, String.class); local 43 checkAnnotatedElementPresentMethods(method, AnnotationB.class, AnnotationC.class); 89 Method method = c.getDeclaredMethod(methodName); local 92 assertIsAnnotationPresent(method, annotationType, expectedAnnotationString != null); 95 assertGetDeclaredAnnotation(method, annotationType, expectedAnnotationString) 125 Method method = c.getDeclaredMethod(methodName); local 157 Method method = c.getDeclaredMethod(methodName); local [all...] |
| /prebuilts/go/darwin-x86/test/fixedbugs/ |
| issue8385.go | 7 // Issue 8385: provide a more descriptive error when a method expression 30 Fooer.Foo(5, 6) // ERROR "not enough arguments in call to method expression Fooer.Foo" 38 I.M() // ERROR "not enough arguments in call to method expression I\.M" 40 T.M() // ERROR "not enough arguments in call to method expression T\.M" 41 (*T).M() // ERROR "not enough arguments in call to method expression \(\*T\)\.M"
|