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

1234567891011>>

/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/autotest/client/deps/graphics/graphics_test_extension/
H A Dfullscreen.js5 chrome.runtime.sendMessage({method: "setFullscreen"});
H A Dmove_and_set_fullscreen.js5 chrome.runtime.sendMessage({method: "moveAndSetFullscreen"});
/external/clang/test/CodeGenCXX/
H A Ddebug-info-ptr-to-member-function.cpp5 int method();
8 void foo(int (T::*method)()) {}
/external/clang/test/Modules/Inputs/
H A Dlookup_left.h2 - (int)method;
H A Dlookup_right.h3 - (double)method;
/external/webrtc/webrtc/tools/e2e_quality/audio/
H A Ddaemon.conf1 resample-method = speex-float-9
/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/webrtc/talk/media/webrtc/
H A Dfakewebrtccommon.h35 #define WEBRTC_STUB(method, args) \
36 int method args override { return 0; }
38 #define WEBRTC_STUB_CONST(method, args) \
39 int method args const override { return 0; }
41 #define WEBRTC_BOOL_STUB(method, args) \
42 bool method args override { return true; }
44 #define WEBRTC_BOOL_STUB_CONST(method, args) \
45 bool method args const override { return true; }
47 #define WEBRTC_VOID_STUB(method, args) \
48 void method arg
[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/v8/test/mjsunit/es6/
H A Dspread-call-super-property.js10 method(...args) { return [this].concat(args); }
13 method(...args) { return super.method(...args); }
17 assertEquals([c, 1, 2, 3, 4, 5], c.method(1, 2, 3, 4, 5));
23 method(...args) { return [this].concat(args); }
26 method(...args) { return super.method(...args); }
30 assertEquals([c, 1, 2, 3, 4, 5], c.method(1, 2, 3, 4, 5));
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/guice/extensions/persist/src/com/google/inject/persist/finder/
H A DDynamicFinder.java27 private final Method method; field in class:DynamicFinder
30 public DynamicFinder(Method method) { argument
31 this.method = method;
32 this.finder = method.getAnnotation(Finder.class);
36 * Returns some metadata if the method is annotated {@code @Finder} or null.
38 * @param method a method you want to test as a dynamic finder
40 public static DynamicFinder from(Method method) { argument
41 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/testng/src/main/java/org/testng/
H A DIInvokedMethodListener.java4 * A listener that gets invoked before and after a method is invoked by TestNG.
9 void beforeInvocation(IInvokedMethod method, ITestResult testResult); argument
11 void afterInvocation(IInvokedMethod method, ITestResult testResult); argument
/external/v8/test/mjsunit/harmony/regress/
H A Dregress-4585.js7 assertThrows(`for(const { method() {} } = this) {}`, SyntaxError);
8 assertThrows(`var { method() {} } = this;`, SyntaxError);
9 assertThrows(`for(const { *method() {} } = this) {}`, SyntaxError);
10 assertThrows(`var { *method() {} } = this;`, SyntaxError);
/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
106 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
106 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
106 eap_server_method_register(struct eap_method *method) argument
[all...]
/external/testng/src/main/java/org/testng/internal/
H A DDataProviderHolder.java12 Method method; field in class:DataProviderHolder
15 public DataProviderHolder(IDataProviderAnnotation annotation, Method method, Object instance) { argument
17 this.method = method;
/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...]

Completed in 2932 milliseconds

1234567891011>>