Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 3396) sorted by relevance

12345678910>>...136

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DMethodAnalyzerTest.java40 private MethodNode method; field in MethodAnalyzerTest
47 method = new MethodNode(); in setup()
48 method.tryCatchBlocks = new ArrayList<TryCatchBlockNode>(); in setup()
60 method.visitLabel(l0); in createLinearSequence()
61 method.visitLineNumber(1001, l0); in createLinearSequence()
62 method.visitInsn(Opcodes.NOP); in createLinearSequence()
64 method.visitLabel(l1); in createLinearSequence()
65 method.visitLineNumber(1002, l1); in createLinearSequence()
66 method.visitInsn(Opcodes.RETURN); in createLinearSequence()
104 method.visitLabel(l0); in createIfBranch()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpMethod.java19 public static boolean invalidatesCache(String method) { in invalidatesCache() argument
20 return method.equals("POST") in invalidatesCache()
21 || method.equals("PATCH") in invalidatesCache()
22 || method.equals("PUT") in invalidatesCache()
23 || method.equals("DELETE") in invalidatesCache()
24 || method.equals("MOVE"); // WebDAV in invalidatesCache()
27 public static boolean requiresRequestBody(String method) { in requiresRequestBody() argument
28 return method.equals("POST") in requiresRequestBody()
29 || method.equals("PUT") in requiresRequestBody()
30 || method.equals("PATCH") in requiresRequestBody()
[all …]
/external/smali/examples/AnnotationValues/
DAnnotationWithValues.smali5 .method public abstract booleanValue()Z
6 .end method
8 .method public abstract byteValue()B
9 .end method
11 .method public abstract charValue()C
12 .end method
14 .method public abstract shortValue()S
15 .end method
17 .method public abstract intValue()I
18 .end method
[all …]
/external/apache-http/api/
Dapache-http-legacy-current.txt5 method public java.lang.String getAuthInfo();
6 method public java.lang.String getHost();
7 method public java.lang.String getPath();
8 method public int getPort();
9 method public java.lang.String getScheme();
10 method public void setAuthInfo(java.lang.String);
11 method public void setHost(java.lang.String);
12 method public void setPath(java.lang.String);
13 method public void setPort(int);
14 method public void setScheme(java.lang.String);
[all …]
/external/proguard/src/proguard/classfile/util/
DSimplifiedVisitor.java295 …public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAtt… in visitDeprecatedAttribute() argument
297 visitDeprecatedAttribute(clazz, (Member)method, deprecatedAttribute); in visitDeprecatedAttribute()
322 …public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttrib… in visitSyntheticAttribute() argument
324 visitSyntheticAttribute(clazz, (Member)method, syntheticAttribute); in visitSyntheticAttribute()
349 …public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute signatureAttrib… in visitSignatureAttribute() argument
351 visitSignatureAttribute(clazz, (Member)method, signatureAttribute); in visitSignatureAttribute()
361 …public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute m… in visitMethodParametersAttribute() argument
367 …public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAtt… in visitExceptionsAttribute() argument
373 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument
379 …public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackM… in visitStackMapAttribute() argument
[all …]
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
Drhino-python.output1 found method def __init__
2 found method def flush
3 found method def write
5 found method def __init__
6 found method def write
7 found method def beep
8 found method def startUserInput
9 found method def getinput
10 found method def replaceinput
11 found method def enter
[all …]
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DCallGraph.java50 public final DexEncodedMethod method; field in CallGraph.Node
60 private Node(DexEncodedMethod method) { in Node() argument
61 this.method = method; in Node()
65 return method.accessFlags.isBridge(); in isBridge()
68 private void addCallee(Node method) { in addCallee() argument
69 callees.add(method); in addCallee()
72 private void addCaller(Node method) { in addCaller() argument
73 callers.add(method); in addCaller()
86 return method.hashCode(); in hashCode()
98 builder.append(method.qualifiedName()); in toString()
[all …]
DIRConverter.java186 private void markReturnsReceiver(DexMethod method) { in markReturnsReceiver() argument
187 DexEncodedMethod definition = appInfo.definitionFor(method); in markReturnsReceiver()
242 DexEncodedMethod method = methods[i]; in convertMethodsToDex() local
243 if (method.getCode() != null) { in convertMethodsToDex()
244 boolean matchesMethodFilter = options.methodMatchesFilter(method); in convertMethodsToDex()
246 if (method.getCode().isJarCode()) { in convertMethodsToDex()
247 rewriteCode(method, ignoreOptimizationFeedback, Outliner::noProcessing); in convertMethodsToDex()
249 updateHighestSortingStrings(method); in convertMethodsToDex()
288 for (DexEncodedMethod method : methods) { in optimize()
290 processMethod(method, directFeedback, in optimize()
[all …]
/external/webrtc/talk/media/webrtc/
Dfakewebrtccommon.h35 #define WEBRTC_STUB(method, args) \ argument
36 int method args override { return 0; }
38 #define WEBRTC_STUB_CONST(method, args) \ argument
39 int method args const override { return 0; }
41 #define WEBRTC_BOOL_STUB(method, args) \ argument
42 bool method args override { return true; }
44 #define WEBRTC_BOOL_STUB_CONST(method, args) \ argument
45 bool method args const override { return true; }
47 #define WEBRTC_VOID_STUB(method, args) \ argument
48 void method args override {}
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_methods.c25 const struct eap_method * eap_server_get_eap_method(int vendor, EapType method) in eap_server_get_eap_method() argument
29 if (m->vendor == vendor && m->method == method) in eap_server_get_eap_method()
51 return m->method; in eap_server_get_type()
72 EapType method, const char *name) in eap_server_method_alloc() argument
80 eap->method = method; in eap_server_method_alloc()
90 static void eap_server_method_free(struct eap_method *method) in eap_server_method_free() argument
92 os_free(method); in eap_server_method_free()
106 int eap_server_method_register(struct eap_method *method) in eap_server_method_register() argument
110 if (method == NULL || method->name == NULL || in eap_server_method_register()
111 method->version != EAP_SERVER_METHOD_INTERFACE_VERSION) { in eap_server_method_register()
[all …]
/external/skia/tools/skiaserve/urlhandlers/
DUrlHandler.h18 virtual bool canHandle(const char* method, const char* url) = 0;
20 const char* url, const char* method,
26 bool canHandle(const char* method, const char* url) override;
28 const char* url, const char* method,
34 bool canHandle(const char* method, const char* url) override;
36 const char* url, const char* method,
42 bool canHandle(const char* method, const char* url) override;
44 const char* url, const char* method,
54 bool canHandle(const char* method, const char* url) override;
56 const char* url, const char* method,
[all …]
/external/junit/src/main/java/org/junit/runners/model/
DFrameworkMethod.java20 private final Method method; field in FrameworkMethod
25 public FrameworkMethod(Method method) { in FrameworkMethod() argument
26 if (method == null) { in FrameworkMethod()
30 this.method = method; in FrameworkMethod()
37 return method; in getMethod()
50 return method.invoke(target, params); in invokeExplosively()
60 return method.getName();
75 if (method.getParameterTypes().length != 0) {
76 errors.add(new Exception("Method " + method.getName() + " should have no parameters"));
93 errors.add(new Exception("Method " + method.getName() + "() " + state + " be static"));
[all …]
/external/proguard/src/proguard/optimize/
DChangedCodePrinter.java122 …public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAtt… in visitDeprecatedAttribute() argument
124 attributeVisitor.visitDeprecatedAttribute(clazz, method, deprecatedAttribute); in visitDeprecatedAttribute()
128 …public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttrib… in visitSyntheticAttribute() argument
130 attributeVisitor.visitSyntheticAttribute(clazz, method, syntheticAttribute); in visitSyntheticAttribute()
134 …public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute syntheticAttrib… in visitSignatureAttribute() argument
136 attributeVisitor.visitSignatureAttribute(clazz, method, syntheticAttribute); in visitSignatureAttribute()
146 …public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute e… in visitMethodParametersAttribute() argument
148 attributeVisitor.visitMethodParametersAttribute(clazz, method, exceptionsAttribute); in visitMethodParametersAttribute()
152 …public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAtt… in visitExceptionsAttribute() argument
154 attributeVisitor.visitExceptionsAttribute(clazz, method, exceptionsAttribute); in visitExceptionsAttribute()
[all …]
/external/libmojo/mojo/public/tools/bindings/generators/cpp_templates/
Dinterface_definition.tmpl60 {%- for method in interface.methods %}
61 {%- if method.sync %}
62 bool {{class_name}}::{{method.name}}({{interface_macros.declare_sync_method_params("", method)}}) {
70 {%- for method in interface.methods -%}
71 {%- if method.response_parameters != None %}
72 {%- if method.sync %}
73 class {{class_name}}_{{method.name}}_HandleSyncResponse
76 {{class_name}}_{{method.name}}_HandleSyncResponse(
79 {%- for param in method.response_parameters -%}
83 {%- for param in method.response_parameters -%}
[all …]
/external/javassist/src/test/test/javassist/bytecode/analysis/
DAnalyzerTest.java31 CtMethod method = clazz.getDeclaredMethod("commonSuperArray"); in testCommonSupperArray() local
32 verifyArrayLoad(clazz, method, "java.lang.Number"); in testCommonSupperArray()
38 CtMethod method = clazz.getDeclaredMethod("commonInterfaceArray"); in testCommonInterfaceArray() local
39 verifyArrayLoad(clazz, method, "java.io.Serializable"); in testCommonInterfaceArray()
43 CtMethod method = ClassPool.getDefault().getMethod( in testSharedInterfaceAndSuperClass() local
45 verifyReturn(method, "java.io.Serializable"); in testSharedInterfaceAndSuperClass()
47 method = ClassPool.getDefault().getMethod( in testSharedInterfaceAndSuperClass()
49 verifyReturn(method, "java.io.Serializable"); in testSharedInterfaceAndSuperClass()
51 method = ClassPool.getDefault().getMethod( in testSharedInterfaceAndSuperClass()
53 verifyReturn(method, getClass().getName() + "$Dummy$A"); in testSharedInterfaceAndSuperClass()
[all …]
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/
DInvocationHandlerAdapter.java43 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { in invoke() argument
46 if (isEqualsMethod(method)) { in invoke()
48 } else if (isHashCodeMethod(method)) { in invoke()
52 ProxiedMethod proxiedMethod = new ProxiedMethod(method); in invoke()
65 private static boolean isEqualsMethod(Method method) { in isEqualsMethod() argument
66 return method.getName().equals("equals") in isEqualsMethod()
67 && method.getParameterTypes().length == 1 in isEqualsMethod()
68 && method.getParameterTypes()[0] == Object.class; in isEqualsMethod()
71 private static boolean isHashCodeMethod(Method method) { in isHashCodeMethod() argument
72 return method.getName().equals("hashCode") in isHashCodeMethod()
[all …]
/external/flatbuffers/grpc/src/compiler/
Dgo_generator.cc86 void GenerateServerMethodSignature(const grpc_generator::Method *method, grpc_generator::Printer *p… in GenerateServerMethodSignature() argument
88 vars["Method"] = exportName(method->name()); in GenerateServerMethodSignature()
89 vars["Request"] = method->input_name(); in GenerateServerMethodSignature()
90 vars["Response"] = (vars["CustomMethodIO"] == "") ? method->output_name() : vars["CustomMethodIO"]; in GenerateServerMethodSignature()
91 if (method->NoStreaming()) { in GenerateServerMethodSignature()
93 } else if (method->ServerOnlyStreaming()) { in GenerateServerMethodSignature()
100 void GenerateServerMethod(const grpc_generator::Method *method, grpc_generator::Printer *printer, in GenerateServerMethod() argument
102 vars["Method"] = exportName(method->name()); in GenerateServerMethod()
103 vars["Request"] = method->input_name(); in GenerateServerMethod()
104 vars["Response"] = (vars["CustomMethodIO"] == "") ? method->output_name() : vars["CustomMethodIO"]; in GenerateServerMethod()
[all …]
Dcpp_generator.cc158 grpc_generator::Printer *printer, const grpc_generator::Method *method, in PrintHeaderClientMethodInterfaces() argument
160 (*vars)["Method"] = method->name(); in PrintHeaderClientMethodInterfaces()
161 (*vars)["Request"] = method->input_type_name(); in PrintHeaderClientMethodInterfaces()
162 (*vars)["Response"] = method->output_type_name(); in PrintHeaderClientMethodInterfaces()
165 if (method->NoStreaming()) { in PrintHeaderClientMethodInterfaces()
183 } else if (method->ClientOnlyStreaming()) { in PrintHeaderClientMethodInterfaces()
209 } else if (method->ServerOnlyStreaming()) { in PrintHeaderClientMethodInterfaces()
235 } else if (method->BidiStreaming()) { in PrintHeaderClientMethodInterfaces()
264 if (method->NoStreaming()) { in PrintHeaderClientMethodInterfaces()
271 } else if (method->ClientOnlyStreaming()) { in PrintHeaderClientMethodInterfaces()
[all …]
/external/protobuf/src/google/protobuf/compiler/java/
Djava_service.cc140 const MethodDescriptor* method = descriptor_->method(i); in GenerateNewReflectiveServiceMethod() local
142 GenerateMethodSignature(printer, method, IS_CONCRETE); in GenerateNewReflectiveServiceMethod()
147 "method", UnderscoresToCamelCase(method)); in GenerateNewReflectiveServiceMethod()
179 const MethodDescriptor* method = descriptor_->method(i); in GenerateAbstractMethods() local
180 WriteMethodDocComment(printer, method); in GenerateAbstractMethods()
181 GenerateMethodSignature(printer, method, IS_ABSTRACT); in GenerateAbstractMethods()
205 const MethodDescriptor* method = descriptor_->method(i); in GenerateCallMethod() local
208 vars["method"] = UnderscoresToCamelCase(method); in GenerateCallMethod()
210 method->input_type()); in GenerateCallMethod()
212 method->output_type()); in GenerateCallMethod()
[all …]
/external/proguard/src/proguard/classfile/attribute/preverification/visitor/
DVerificationTypeVisitor.java36 …public void visitIntegerType( Clazz clazz, Method method, CodeAttribute codeAttribute, in… in visitIntegerType() argument
37 …public void visitFloatType( Clazz clazz, Method method, CodeAttribute codeAttribute, in… in visitFloatType() argument
38 …public void visitLongType( Clazz clazz, Method method, CodeAttribute codeAttribute, in… in visitLongType() argument
39 …public void visitDoubleType( Clazz clazz, Method method, CodeAttribute codeAttribute, in… in visitDoubleType() argument
40 …public void visitTopType( Clazz clazz, Method method, CodeAttribute codeAttribute, in… in visitTopType() argument
41 …public void visitObjectType( Clazz clazz, Method method, CodeAttribute codeAttribute, in… in visitObjectType() argument
42 …public void visitNullType( Clazz clazz, Method method, CodeAttribute codeAttribute, in… in visitNullType() argument
43 …public void visitUninitializedType( Clazz clazz, Method method, CodeAttribute codeAttribute, in… in visitUninitializedType() argument
44 …public void visitUninitializedThisType(Clazz clazz, Method method, CodeAttribute codeAttribute, in… in visitUninitializedThisType() argument
46 …public void visitStackIntegerType( Clazz clazz, Method method, CodeAttribute codeAttribut… in visitStackIntegerType() argument
[all …]
/external/proguard/src/proguard/classfile/attribute/visitor/
DRequiredAttributeFilter.java148 …public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAtt… in visitDeprecatedAttribute() argument
152 optionalAttributeVisitor.visitDeprecatedAttribute(clazz, method, deprecatedAttribute); in visitDeprecatedAttribute()
175 …public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttrib… in visitSyntheticAttribute() argument
179 optionalAttributeVisitor.visitSyntheticAttribute(clazz, method, syntheticAttribute); in visitSyntheticAttribute()
202 …public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute signatureAttrib… in visitSignatureAttribute() argument
206 optionalAttributeVisitor.visitSignatureAttribute(clazz, method, signatureAttribute); in visitSignatureAttribute()
220 …public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute e… in visitMethodParametersAttribute() argument
224 … optionalAttributeVisitor.visitMethodParametersAttribute(clazz, method, exceptionsAttribute); in visitMethodParametersAttribute()
229 …public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAtt… in visitExceptionsAttribute() argument
233 optionalAttributeVisitor.visitExceptionsAttribute(clazz, method, exceptionsAttribute); in visitExceptionsAttribute()
[all …]
DNonEmptyAttributeFilter.java108 …public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAtt… in visitDeprecatedAttribute() argument
110 attributeVisitor.visitDeprecatedAttribute(clazz, method, deprecatedAttribute); in visitDeprecatedAttribute()
126 …public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttrib… in visitSyntheticAttribute() argument
128 attributeVisitor.visitSyntheticAttribute(clazz, method, syntheticAttribute); in visitSyntheticAttribute()
144 …public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute signatureAttrib… in visitSignatureAttribute() argument
146 attributeVisitor.visitSignatureAttribute(clazz, method, signatureAttribute); in visitSignatureAttribute()
156 …public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute e… in visitMethodParametersAttribute() argument
160 attributeVisitor.visitMethodParametersAttribute(clazz, method, exceptionsAttribute); in visitMethodParametersAttribute()
165 …public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAtt… in visitExceptionsAttribute() argument
169 attributeVisitor.visitExceptionsAttribute(clazz, method, exceptionsAttribute); in visitExceptionsAttribute()
[all …]
/external/libmojo/mojo/public/tools/bindings/generators/js_templates/
Dinterface_definition.tmpl1 {%- for method in interface.methods %}
2 var k{{interface.name}}_{{method.name}}_Name = {{method.ordinal}};
10 {%- for method in interface.methods %}
11 {{interface.name}}Proxy.prototype.{{method.name|stylize_method}} = function(
12 {%- for parameter in method.parameters -%}
16 var params = new {{interface.name}}_{{method.name}}_Params();
17 {%- for parameter in method.parameters %}
21 {%- if method.response_parameters == None %}
23 k{{interface.name}}_{{method.name}}_Name,
24 codec.align({{interface.name}}_{{method.name}}_Params.encodedSize));
[all …]
/external/mockito/src/main/java/org/mockito/internal/creation/
DDelegatingMethod.java14 private final Method method; field in DelegatingMethod
16 public DelegatingMethod(Method method) { in DelegatingMethod() argument
17 assert method != null : "Method cannot be null"; in DelegatingMethod()
18 this.method = method; in DelegatingMethod()
22 return method.getExceptionTypes(); in getExceptionTypes()
26 return method; in getJavaMethod()
30 return method.getName(); in getName()
34 return method.getParameterTypes(); in getParameterTypes()
38 return method.getReturnType(); in getReturnType()
42 return method.isVarArgs(); in isVarArgs()
[all …]
/external/junit-params/src/main/java/junitparams/
DJUnitParamsRunner.java395 public Statement getMethodBlock(InvokableFrameworkMethod method) { in JUnitParamsRunner()
396 return methodBlock(method); in JUnitParamsRunner()
409 protected void runChild(FrameworkMethod method, RunNotifier notifier) { in runChild() argument
410 DescribableFrameworkMethod describableMethod = getDescribableMethod(method); in runChild()
414 if (method instanceof ParameterisedFrameworkMethod) { in runChild()
416 (ParameterisedFrameworkMethod) method; in runChild()
428 "Unsupported FrameworkMethod class: " + method.getClass()); in runChild()
441 private DescribableFrameworkMethod getDescribableMethod(FrameworkMethod method) { in getDescribableMethod() argument
442 if (!(method instanceof DescribableFrameworkMethod)) { in getDescribableMethod()
444 "Unsupported FrameworkMethod class: " + method.getClass() in getDescribableMethod()
[all …]

12345678910>>...136