Searched refs:method (Results 1 - 25 of 1720) 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/chromium_org/third_party/libjingle/source/talk/media/webrtc/
H A Dfakewebrtccommon.h35 #define WEBRTC_STUB(method, args) \
36 virtual int method args OVERRIDE { return 0; }
38 #define WEBRTC_STUB_CONST(method, args) \
39 virtual int method args const OVERRIDE { return 0; }
41 #define WEBRTC_BOOL_STUB(method, args) \
42 virtual bool method args OVERRIDE { return true; }
44 #define WEBRTC_VOID_STUB(method, args) \
45 virtual void method args OVERRIDE {}
47 #define WEBRTC_FUNC(method, args) \
48 virtual int method arg
[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/chromium_org/base/android/
H A Djni_registrar.cc15 const RegistrationMethod* method,
18 const RegistrationMethod* end = method + count;
19 while (method != end) {
20 if (!method->func(env)) {
21 DLOG(ERROR) << method->name << " failed registration!";
24 method++;
14 RegisterNativeMethods(JNIEnv* env, const RegistrationMethod* method, size_t count) argument
/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/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() + &quot; &quot; + e.getClass().getSimpleName()
25 * public void succeeded(FrameworkMethod method) {
26 * watchedLog+= method.getName() + &quot; &quot; + &quot;success!\n&quot;;
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/chromium_org/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/chromium_org/third_party/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/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)) {
48 ProxiedMethod proxiedMethod = new ProxiedMethod(method);
62 private final Method method; field in class:InvocationHandlerAdapter.ProxiedMethod
64 public ProxiedMethod(Method method) { argument
65 this.method = method;
69 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...]

Completed in 1724 milliseconds

1234567891011>>