Searched refs:method (Results 1 - 25 of 1154) sorted by relevance

1234567891011>>

/external/clang/test/Modules/Inputs/
H A Dlookup_left.h2 - (int)method;
H A Dlookup_right.h3 - (double)method;
/external/mockito/src/org/mockito/internal/util/
H A DObjectMethodsGuru.java17 public boolean isToString(Method method) { argument
18 return isToString(new DelegatingMethod(method));
21 public boolean isToString(MockitoMethod method) { argument
22 return method.getReturnType() == String.class
23 && method.getParameterTypes().length == 0
24 && method.getName().equals("toString");
27 public boolean isEqualsMethod(Method method) { argument
28 return method.getName().equals("equals")
29 && method.getParameterTypes().length == 1
30 && method
33 isHashCodeMethod(Method method) argument
38 isCompareToMethod(Method method) argument
[all...]
/external/mockito/src/org/mockito/internal/creation/
H A DDelegatingMethod.java13 private final Method method; field in class:DelegatingMethod
15 public DelegatingMethod(Method method) { argument
16 assert method != null : "Method cannot be null";
17 this.method = method;
21 return method.getExceptionTypes();
25 return method;
29 return method.getName();
33 return method.getParameterTypes();
37 return method
[all...]
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DAllow.java47 /** method field
49 protected String method; field in class:Allow
62 method = m;
65 /** get the method field
69 return method;
73 * Set the method member
74 * @param method method to set.
76 public void setMethod(String method) throws ParseException { argument
77 if (method
[all...]
/external/clang/test/Index/
H A Dcomplete-recovery.m4 - (void)method:(int)x;
8 - (void)method:(int)x {
9 A *a = [A method:1];
12 z = [a2 method:1];
13 blah ? blech : [a2 method:1];
14 (a * a2)([a2 method:1]);
15 B *a = [a2 method:1];
35 // CHECK-CC3: ObjCInstanceMethodDecl:{ResultType void}{TypedText method:}{Placeholder (int)} (32)
/external/webkit/Source/WebCore/bindings/scripts/test/
H A DTestMediaQueryListListener.idl30 void method(in MediaQueryListListener listener);
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_methods.c2 * EAP server method registration
20 * eap_server_get_eap_method - Get EAP method based on type number
22 * @method: EAP type number
23 * Returns: Pointer to EAP method or %NULL if not found
25 const struct eap_method * eap_server_get_eap_method(int vendor, EapType method) argument
29 if (m->vendor == vendor && m->method == method)
37 * eap_server_get_type - Get EAP type for the given EAP method name
38 * @name: EAP method name, e.g., TLS
40 * Returns: EAP method typ
71 eap_server_method_alloc(int version, int vendor, EapType method, const char *name) argument
90 eap_server_method_free(struct eap_method *method) argument
105 eap_server_method_register(struct eap_method *method) argument
[all...]
/external/wpa_supplicant_8/src/eap_server/
H A Deap_server_methods.c2 * EAP server method registration
20 * eap_server_get_eap_method - Get EAP method based on type number
22 * @method: EAP type number
23 * Returns: Pointer to EAP method or %NULL if not found
25 const struct eap_method * eap_server_get_eap_method(int vendor, EapType method) argument
29 if (m->vendor == vendor && m->method == method)
37 * eap_server_get_type - Get EAP type for the given EAP method name
38 * @name: EAP method name, e.g., TLS
40 * Returns: EAP method typ
71 eap_server_method_alloc(int version, int vendor, EapType method, const char *name) argument
90 eap_server_method_free(struct eap_method *method) argument
105 eap_server_method_register(struct eap_method *method) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Deap_server_methods.c2 * EAP server method registration
20 * eap_server_get_eap_method - Get EAP method based on type number
22 * @method: EAP type number
23 * Returns: Pointer to EAP method or %NULL if not found
25 const struct eap_method * eap_server_get_eap_method(int vendor, EapType method) argument
29 if (m->vendor == vendor && m->method == method)
37 * eap_server_get_type - Get EAP type for the given EAP method name
38 * @name: EAP method name, e.g., TLS
40 * Returns: EAP method typ
71 eap_server_method_alloc(int version, int vendor, EapType method, const char *name) argument
90 eap_server_method_free(struct eap_method *method) argument
105 eap_server_method_register(struct eap_method *method) argument
[all...]
/external/apache-http/src/org/apache/http/impl/
H A DDefaultHttpRequestFactory.java73 private static boolean isOneOf(final String[] methods, final String method) { argument
75 if (methods[i].equalsIgnoreCase(method)) {
87 String method = requestline.getMethod();
88 if (isOneOf(RFC2616_COMMON_METHODS, method)) {
90 } else if (isOneOf(RFC2616_ENTITY_ENC_METHODS, method)) {
92 } else if (isOneOf(RFC2616_SPECIAL_METHODS, method)) {
95 throw new MethodNotSupportedException(method + " method not supported");
99 public HttpRequest newHttpRequest(final String method, final String uri) argument
101 if (isOneOf(RFC2616_COMMON_METHODS, method)) {
[all...]
/external/junit/src/org/junit/rules/
H A DTestWatchman.java19 * public void failed(Throwable e, FrameworkMethod method) {
20 * watchedLog+= method.getName() + " " + e.getClass().getSimpleName()
25 * public void succeeded(FrameworkMethod method) {
26 * watchedLog+= method.getName() + " " + "success!\n";
46 public Statement apply(final Statement base, final FrameworkMethod method, argument
51 starting(method);
54 succeeded(method);
58 failed(t, method);
61 finished(method);
68 * Invoked when a test method succeed
72 succeeded(FrameworkMethod method) argument
81 failed(Throwable e, FrameworkMethod method) argument
89 starting(FrameworkMethod method) argument
98 finished(FrameworkMethod method) argument
[all...]
/external/guava/guava-tests/test/com/google/common/eventbus/
H A DEventHandlerTest.java43 * Checks that a no-frills, no-issues method call is properly executed.
48 Method method = getRecordingMethod();
50 EventHandler handler = new EventHandler(this, method);
54 assertTrue("Handler must call provided method.", methodCalled);
75 Method method = getRecordingMethod();
77 new EventHandler(null, method);
85 Method method = getExceptionThrowingMethod();
86 EventHandler handler = new EventHandler(this, method);
98 Method method = getErrorThrowingMethod();
99 EventHandler handler = new EventHandler(this, method);
[all...]
/external/chromium/net/tools/flip_server/
H A Dspdy_util.cc16 std::string EncodeURL(std::string uri, std::string host, std::string method) { argument
19 return std::string(method + "_" + uri);
26 "http://" + host + uri, method + "_/", false);
28 filename = UrlToFilenameEncoder::Encode(uri, method + "_/", false);
/external/mockito/src/org/mockito/internal/stubbing/answers/
H A DMethodInfo.java17 private Method method; field in class:MethodInfo
20 this.method = theInvocation.getMethod();
24 Class<?>[] exceptions = method.getExceptionTypes();
36 if (method.getReturnType().isPrimitive() || clazz.isPrimitive()) {
37 return Primitives.primitiveTypeOf(clazz) == Primitives.primitiveTypeOf(method.getReturnType());
39 return method.getReturnType().isAssignableFrom(clazz);
44 return this.method.getReturnType() == Void.TYPE;
48 return method.getReturnType().getSimpleName();
52 return method.getName();
56 return method
[all...]
/external/proguard/src/proguard/optimize/info/
H A DBackwardBranchMarker.java41 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} argument
44 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) argument
46 markBackwardBranch(method, branchInstruction.branchOffset);
50 public void visitAnySwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SwitchInstruction switchInstruction) argument
52 markBackwardBranch(method, switchInstruction.defaultOffset);
56 markBackwardBranch(method, switchInstruction.jumpOffsets[index]);
64 * Marks the given method if the given branch offset is negative.
66 private void markBackwardBranch(Method method, int branchOffset) argument
70 setBranchesBackward(method);
75 private static void setBranchesBackward(Method method) argument
85 branchesBackward(Method method) argument
[all...]
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DBlockingService.java51 Message callBlockingMethod(Descriptors.MethodDescriptor method, argument
58 Message getRequestPrototype(Descriptors.MethodDescriptor method); argument
63 Message getResponsePrototype(Descriptors.MethodDescriptor method); argument
H A DService.java55 * <p>Call a method of the service specified by MethodDescriptor. This is
61 * <li>{@code method.getService() == getDescriptorForType()}
63 * {@code getRequestPrototype(method)}.
73 * <li>{@code done} will be called when the method is complete. This may be
78 * {@code getResponsePrototype(method)}.
84 void callMethod(Descriptors.MethodDescriptor method, argument
92 * gets the default instances of this type for a given method. You can then
99 * MethodDescriptor method =
102 * stub.getRequestPrototype(method).newBuilderForType()
104 * service.callMethod(method, reques
107 getRequestPrototype(Descriptors.MethodDescriptor method) argument
116 getResponsePrototype(Descriptors.MethodDescriptor method) argument
[all...]
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DMethodAnnotationStruct.java26 * Association of a method and its annotations.
30 /** {@code non-null;} the method in question */
31 private final CstMethodRef method; field in class:MethodAnnotationStruct
39 * @param method {@code non-null;} the method in question
42 public MethodAnnotationStruct(CstMethodRef method, argument
44 if (method == null) {
45 throw new NullPointerException("method == null");
52 this.method = method;
[all...]
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/
H A DInvocationHandlerAdapter.java30 * Handles proxy method invocations to dexmaker's InvocationHandler by calling
41 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { argument
42 if (objectMethodsGuru.isEqualsMethod(method)) {
44 } else if (objectMethodsGuru.isHashCodeMethod(method)) {
53 ProxiedMethod proxiedMethod = new ProxiedMethod(method);
67 private final Method method; field in class:InvocationHandlerAdapter.ProxiedMethod
69 public ProxiedMethod(Method method) { argument
70 this.method = method;
74 return method
[all...]
/external/guava/guava/src/com/google/common/eventbus/
H A DAnnotatedHandlerFinder.java43 for (Method method : clazz.getMethods()) {
44 Subscribe annotation = method.getAnnotation(Subscribe.class);
47 Class<?>[] parameterTypes = method.getParameterTypes();
50 "Method " + method + " has @Subscribe annotation, but requires " +
55 EventHandler handler = makeHandler(listener, method);
66 * Creates an {@code EventHandler} for subsequently calling {@code method} on
69 * {@code method}.
71 * @param listener object bearing the event handler method.
72 * @param method the event handler method t
76 makeHandler(Object listener, Method method) argument
94 methodIsDeclaredThreadSafe(Method method) argument
[all...]
H A DEventHandler.java24 * Wraps a single-argument 'handler' method on a specific object.
26 * <p>This class only verifies the suitability of the method and event type if
29 * <p>Two EventHandlers are equivalent when they refer to the same method on the
31 * method is registered more than once.
37 /** Object sporting the handler method. */
39 /** Handler method. */
40 private final Method method; field in class:EventHandler
43 * Creates a new EventHandler to wrap {@code method} on @{code target}.
45 * @param target object to which the method applies.
46 * @param method handle
48 EventHandler(Object target, Method method) argument
[all...]
/external/libvpx/libvpx/test/
H A Dboolcoder_test.cc36 for (int method = 0; method <= 7; ++method) { // we generate various proba
43 (method == 0) ? 0 : (method == 1) ? 255 :
44 (method == 2) ? 128 :
45 (method == 3) ? rnd.Rand8() :
46 (method == 4) ? (parity ? 0 : 255) :
48 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) :
49 (method
85 << " method: " << method; local
[all...]
/external/junit/src/org/junit/internal/matchers/
H A DTypeSafeMatcher.java29 for (Method method : c.getDeclaredMethods()) {
30 if (isMatchesSafelyMethod(method)) {
31 return method.getParameterTypes()[0];
36 throw new Error("Cannot determine correct type for matchesSafely() method.");
39 private static boolean isMatchesSafelyMethod(Method method) { argument
40 return method.getName().equals("matchesSafely")
41 && method.getParameterTypes().length == 1
42 && !method.isSynthetic();
/external/proguard/src/proguard/classfile/attribute/preverification/visitor/
H A DVerificationTypeVisitor.java36 public void visitIntegerType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, IntegerType integerType); argument
37 public void visitFloatType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FloatType floatType); argument
38 public void visitLongType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LongType longType); argument
39 public void visitDoubleType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, DoubleType doubleType); argument
40 public void visitTopType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TopType topType); argument
41 public void visitObjectType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ObjectType objectType); argument
42 public void visitNullType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, NullType nullType); argument
43 public void visitUninitializedType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, UninitializedType uninitializedType); argument
44 public void visitUninitializedThisType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, UninitializedThisType uninitializedThisType); argument
46 public void visitStackIntegerType( Clazz clazz, Method method, CodeAttribut argument
47 visitStackFloatType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, FloatType floatType) argument
48 visitStackLongType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, LongType longType) argument
49 visitStackDoubleType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, DoubleType doubleType) argument
50 visitStackTopType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, TopType topType) argument
51 visitStackObjectType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, ObjectType objectType) argument
52 visitStackNullType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, NullType nullType) argument
53 visitStackUninitializedType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedType uninitializedType) argument
54 visitStackUninitializedThisType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedThisType uninitializedThisType) argument
56 visitVariablesIntegerType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, IntegerType integerType) argument
57 visitVariablesFloatType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, FloatType floatType) argument
58 visitVariablesLongType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, LongType longType) argument
59 visitVariablesDoubleType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, DoubleType doubleType) argument
60 visitVariablesTopType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, TopType topType) argument
61 visitVariablesObjectType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, ObjectType objectType) argument
62 visitVariablesNullType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, NullType nullType) argument
63 visitVariablesUninitializedType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedType uninitializedType) argument
64 visitVariablesUninitializedThisType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedThisType uninitializedThisType) argument
[all...]

Completed in 993 milliseconds

1234567891011>>