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

1234567891011>>

/external/clang/test/CodeGenCXX/
H A Ddebug-info-ptr-to-member-function.cpp4 int method();
7 void foo(int (T::*method)()) {}
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DHttpMethod.java19 public static boolean invalidatesCache(String method) { argument
20 return method.equals("POST")
21 || method.equals("PATCH")
22 || method.equals("PUT")
23 || method.equals("DELETE");
26 public static boolean requiresRequestBody(String method) { argument
27 return method.equals("POST")
28 || method.equals("PUT")
29 || method.equals("PATCH");
32 public static boolean permitsRequestBody(String method) { argument
[all...]
/external/clang/test/SemaCXX/Inputs/
H A Doverride-system-header.h5 #define STDMETHOD(method) virtual void method
6 #define IFACEMETHOD(method) STDMETHOD(method)
/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/clang/test/Modules/
H A Dimport-decl.cpp14 -method;
18 [import method];
/external/v8/test/mjsunit/harmony/
H A Dobject-literals-method.js10 method() {
14 assertEquals(42, object.method());
20 method() {
24 object.method();
30 method() {
35 var desc = Object.getOwnPropertyDescriptor(object, 'method');
47 method() {}
50 assertEquals(Function.prototype, Object.getPrototypeOf(object.method));
56 method() {}
60 new object.method;
[all...]
/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.java78 private static boolean isOneOf(final String[] methods, final String method) { argument
80 if (methods[i].equalsIgnoreCase(method)) {
92 String method = requestline.getMethod();
93 if (isOneOf(RFC2616_COMMON_METHODS, method)) {
95 } else if (isOneOf(RFC2616_ENTITY_ENC_METHODS, method)) {
97 } else if (isOneOf(RFC2616_SPECIAL_METHODS, method)) {
100 throw new MethodNotSupportedException(method + " method not supported");
104 public HttpRequest newHttpRequest(final String method, final String uri) argument
106 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/boringssl/src/ssl/
H A Dd1_meth.c81 static const SSL_METHOD method = { local
85 return &method;
91 static const SSL_METHOD method = { local
95 return &method;
99 static const SSL_METHOD method = { local
103 return &method;
/external/guava/guava/src/com/google/common/eventbus/
H A DEventSubscriber.java29 * Wraps a single-argument subscriber method on a specific object.
31 * <p>This class only verifies the suitability of the method and event type if
34 * <p>Two EventSubscribers are equivalent when they refer to the same method on the
36 * method is registered more than once.
42 /** Object sporting the subscriber method. */
44 /** Subscriber method. */
45 private final Method method; field in class:EventSubscriber
48 * Creates a new EventSubscriber to wrap {@code method} on @{code target}.
50 * @param target object to which the method applies.
51 * @param method subscribe
53 EventSubscriber(Object target, Method 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/v8/test/mjsunit/regress/
H A Dregress-362128.js20 method = {};
23 method = genM("A");
29 return method.apply(receiver, arguments);
/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...]

Completed in 856 milliseconds

1234567891011>>