Home
last modified time | relevance | path

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

12345678910>>...132

/external/v8/test/mjsunit/es6/
Dobject-literals-method.js10 method() { method
14 assertEquals(42, object.method());
20 method() { method
24 object.method();
30 method() { method
47 method() {} method
50 assertEquals(Function.prototype, Object.getPrototypeOf(object.method));
56 method() {} method
60 new object.method;
67 method() {}, method
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DMethodAnalyzerTest.java39 private MethodNode method; field in MethodAnalyzerTest
46 method = new MethodNode(); in setup()
47 method.tryCatchBlocks = new ArrayList<TryCatchBlockNode>(); in setup()
58 method.visitLineNumber(1001, new Label()); in createLinearSequence()
59 method.visitInsn(Opcodes.NOP); in createLinearSequence()
60 method.visitLineNumber(1002, new Label()); in createLinearSequence()
61 method.visitInsn(Opcodes.RETURN); in createLinearSequence()
98 method.visitLineNumber(1001, new Label()); in createIfBranch()
99 method.visitVarInsn(Opcodes.ILOAD, 1); in createIfBranch()
101 method.visitJumpInsn(Opcodes.IFEQ, l1); in createIfBranch()
[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/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/opencv3/3rdparty/libjpeg/
Djddctmgr.c95 int method = 0; in start_pass() local
106 method = JDCT_ISLOW; /* jidctint uses islow-style table */ in start_pass()
110 method = JDCT_ISLOW; /* jidctint uses islow-style table */ in start_pass()
114 method = JDCT_ISLOW; /* jidctint uses islow-style table */ in start_pass()
118 method = JDCT_ISLOW; /* jidctint uses islow-style table */ in start_pass()
122 method = JDCT_ISLOW; /* jidctint uses islow-style table */ in start_pass()
126 method = JDCT_ISLOW; /* jidctint uses islow-style table */ in start_pass()
130 method = JDCT_ISLOW; /* jidctint uses islow-style table */ in start_pass()
134 method = JDCT_ISLOW; /* jidctint uses islow-style table */ in start_pass()
138 method = JDCT_ISLOW; /* jidctint uses islow-style table */ in start_pass()
[all …]
Djcdctmgr.c185 int method = 0; in start_pass_fdctmgr() local
196 method = JDCT_ISLOW; /* jfdctint uses islow-style table */ in start_pass_fdctmgr()
200 method = JDCT_ISLOW; /* jfdctint uses islow-style table */ in start_pass_fdctmgr()
204 method = JDCT_ISLOW; /* jfdctint uses islow-style table */ in start_pass_fdctmgr()
208 method = JDCT_ISLOW; /* jfdctint uses islow-style table */ in start_pass_fdctmgr()
212 method = JDCT_ISLOW; /* jfdctint uses islow-style table */ in start_pass_fdctmgr()
216 method = JDCT_ISLOW; /* jfdctint uses islow-style table */ in start_pass_fdctmgr()
220 method = JDCT_ISLOW; /* jfdctint uses islow-style table */ in start_pass_fdctmgr()
224 method = JDCT_ISLOW; /* jfdctint uses islow-style table */ in start_pass_fdctmgr()
228 method = JDCT_ISLOW; /* jfdctint uses islow-style table */ in start_pass_fdctmgr()
[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/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/mockito/src/org/mockito/internal/util/
DObjectMethodsGuru.java17 public boolean isToString(Method method) { in isToString() argument
18 return isToString(new DelegatingMethod(method)); in isToString()
21 public boolean isToString(MockitoMethod method) { in isToString() argument
22 return method.getReturnType() == String.class in isToString()
23 && method.getParameterTypes().length == 0 in isToString()
24 && method.getName().equals("toString"); in isToString()
27 public boolean isEqualsMethod(Method method) { in isEqualsMethod() argument
28 return method.getName().equals("equals") in isEqualsMethod()
29 && method.getParameterTypes().length == 1 in isEqualsMethod()
30 && method.getParameterTypes()[0] == Object.class; in isEqualsMethod()
[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/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/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/protobuf/src/google/protobuf/compiler/java/
Djava_service.cc141 const MethodDescriptor* method = descriptor_->method(i); in GenerateNewReflectiveServiceMethod() local
143 GenerateMethodSignature(printer, method, IS_CONCRETE); in GenerateNewReflectiveServiceMethod()
148 "method", UnderscoresToCamelCase(method)); in GenerateNewReflectiveServiceMethod()
180 const MethodDescriptor* method = descriptor_->method(i); in GenerateAbstractMethods() local
181 WriteMethodDocComment(printer, method); in GenerateAbstractMethods()
182 GenerateMethodSignature(printer, method, IS_ABSTRACT); in GenerateAbstractMethods()
206 const MethodDescriptor* method = descriptor_->method(i); in GenerateCallMethod() local
209 vars["method"] = UnderscoresToCamelCase(method); in GenerateCallMethod()
211 method->input_type()); in GenerateCallMethod()
213 method->output_type()); in GenerateCallMethod()
[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 …]
DAttributeNameFilter.java164 …public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAtt… in visitDeprecatedAttribute() argument
168 attributeVisitor.visitDeprecatedAttribute(clazz, method, deprecatedAttribute); in visitDeprecatedAttribute()
191 …public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttrib… in visitSyntheticAttribute() argument
195 attributeVisitor.visitSyntheticAttribute(clazz, method, syntheticAttribute); in visitSyntheticAttribute()
218 …public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute signatureAttrib… in visitSignatureAttribute() argument
222 attributeVisitor.visitSignatureAttribute(clazz, method, signatureAttribute); in visitSignatureAttribute()
236 …public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute e… in visitMethodParametersAttribute() argument
240 attributeVisitor.visitMethodParametersAttribute(clazz, method, exceptionsAttribute); in visitMethodParametersAttribute()
245 …public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAtt… in visitExceptionsAttribute() argument
249 attributeVisitor.visitExceptionsAttribute(clazz, method, exceptionsAttribute); in visitExceptionsAttribute()
[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/skia/tools/skiaserve/urlhandlers/
DUrlHandler.h16 virtual bool canHandle(const char* method, const char* url) = 0;
18 const char* url, const char* method,
24 bool canHandle(const char* method, const char* url) override;
26 const char* url, const char* method,
32 bool canHandle(const char* method, const char* url) override;
34 const char* url, const char* method,
40 bool canHandle(const char* method, const char* url) override;
42 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/guava/guava-testlib/src/com/google/common/testing/
DForwardingWrapperTester.java77 for (Method method : methods) { in testForwarding()
81 if (!Modifier.isAbstract(method.getModifiers())) { in testForwarding()
86 if (method.getName().equals("equals") in testForwarding()
87 && method.getParameterTypes().length == 1 in testForwarding()
88 && method.getParameterTypes()[0] == Object.class) { in testForwarding()
91 if (method.getName().equals("hashCode") in testForwarding()
92 && method.getParameterTypes().length == 0) { in testForwarding()
95 if (method.getName().equals("toString") in testForwarding()
96 && method.getParameterTypes().length == 0) { in testForwarding()
99 testSuccessfulForwarding(interfaceType, method, wrapperFunction); in testForwarding()
[all …]
/external/smali/baksmali/src/test/resources/DuplicateTest/
DDuplicateDirectVirtualMethods.smali6 .method private blah()V
10 .end method
12 # duplicate method ignored
13 # .method private blah()V
17 # .end method
21 .method public alah()V
25 .end method
27 # There is both a direct and virtual method with this signature.
29 .method public blah()V
33 .end method
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DRequest.java30 private final String method; field in Request
41 this.method = builder.method; in Request()
69 public String method() { in method() method in Request
70 return method; in method()
112 + method in toString()
122 private String method; field in Request.Builder
128 this.method = "GET"; in Builder()
134 this.method = request.method; in Builder()
221 return method("GET", null); in get()
225 return method("HEAD", null); in head()
[all …]
/external/proguard/src/proguard/classfile/visitor/
DClassCleaner.java130 …public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute m… in visitMethodParametersAttribute() argument
134 methodParametersAttribute.parametersAccept(clazz, method, this); in visitMethodParametersAttribute()
138 …public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAtt… in visitExceptionsAttribute() argument
146 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument
150 codeAttribute.exceptionsAccept(clazz, method, this); in visitCodeAttribute()
151 codeAttribute.attributesAccept(clazz, method, this); in visitCodeAttribute()
155 …public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackM… in visitStackMapAttribute() argument
159 stackMapAttribute.stackMapFramesAccept(clazz, method, codeAttribute, this); in visitStackMapAttribute()
163 …public void visitStackMapTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, S… in visitStackMapTableAttribute() argument
167 stackMapTableAttribute.stackMapFramesAccept(clazz, method, codeAttribute, this); in visitStackMapTableAttribute()
[all …]
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_service.cc145 const MethodDescriptor* method = descriptor_->method(i); in GenerateMethodSignatures() local
147 sub_vars["name"] = method->name(); in GenerateMethodSignatures()
148 sub_vars["input_type"] = ClassName(method->input_type(), true); in GenerateMethodSignatures()
149 sub_vars["output_type"] = ClassName(method->output_type(), true); in GenerateMethodSignatures()
214 const MethodDescriptor* method = descriptor_->method(i); in GenerateNotImplementedMethods() local
217 sub_vars["name"] = method->name(); in GenerateNotImplementedMethods()
219 sub_vars["input_type"] = ClassName(method->input_type(), true); in GenerateNotImplementedMethods()
220 sub_vars["output_type"] = ClassName(method->output_type(), true); in GenerateNotImplementedMethods()
245 const MethodDescriptor* method = descriptor_->method(i); in GenerateCallMethod() local
247 sub_vars["name"] = method->name(); in GenerateCallMethod()
[all …]
/external/apache-http/src/org/apache/http/impl/
DDefaultHttpRequestFactory.java78 private static boolean isOneOf(final String[] methods, final String method) { in isOneOf() argument
80 if (methods[i].equalsIgnoreCase(method)) { in isOneOf()
92 String method = requestline.getMethod(); in newHttpRequest() local
93 if (isOneOf(RFC2616_COMMON_METHODS, method)) { in newHttpRequest()
95 } else if (isOneOf(RFC2616_ENTITY_ENC_METHODS, method)) { in newHttpRequest()
97 } else if (isOneOf(RFC2616_SPECIAL_METHODS, method)) { in newHttpRequest()
100 throw new MethodNotSupportedException(method + " method not supported"); in newHttpRequest()
104 public HttpRequest newHttpRequest(final String method, final String uri) in newHttpRequest() argument
106 if (isOneOf(RFC2616_COMMON_METHODS, method)) { in newHttpRequest()
107 return new BasicHttpRequest(method, uri); in newHttpRequest()
[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()
26 public static boolean requiresRequestBody(String method) { in requiresRequestBody() argument
27 return method.equals("POST") in requiresRequestBody()
28 || method.equals("PUT") in requiresRequestBody()
29 || method.equals("PATCH"); in requiresRequestBody()
32 public static boolean permitsRequestBody(String method) { in permitsRequestBody() argument
[all …]

12345678910>>...132