Home
last modified time | relevance | path

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

12345678910>>...242

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DMethodAnalyzerTest.java48 private MethodNode method; field in MethodAnalyzerTest
55 method = new MethodNode(); in setup()
56 method.tryCatchBlocks = new ArrayList<TryCatchBlockNode>(); in setup()
68 method.visitLabel(l0); in createLinearSequence()
69 method.visitLineNumber(1001, l0); in createLinearSequence()
70 method.visitInsn(Opcodes.NOP); in createLinearSequence()
71 method.visitInsn(Opcodes.NOP); in createLinearSequence()
73 method.visitLabel(l1); in createLinearSequence()
74 method.visitLineNumber(1002, l1); in createLinearSequence()
75 method.visitInsn(Opcodes.RETURN); in createLinearSequence()
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DGeneratedMonitorTest.java57 for (Method method : methods) { in suite()
58 if (isAnyEnter(method) || isWaitFor(method)) { in suite()
59 validateMethod(method); in suite()
60 addTests(suite, method); in suite()
164 private static boolean isAnyEnter(Method method) { in isAnyEnter() argument
165 return method.getName().startsWith("enter") || method.getName().startsWith("tryEnter"); in isAnyEnter()
169 private static boolean isTryEnter(Method method) { in isTryEnter() argument
170 return method.getName().startsWith("tryEnter"); in isTryEnter()
177 private static boolean isEnterIf(Method method) { in isEnterIf() argument
178 return method.getName().startsWith("enterIf"); in isEnterIf()
[all …]
/external/icu/android_icu4j/api/legacy_platform/
Dcurrent.txt5 method public static java.util.TimeZone wrap(android.icu.util.TimeZone);
13 method public String[] getAmpmNarrowStrings();
17 method public String getBestPattern(String, int, boolean);
21 method public static android.icu.text.StringPrep getInstance(int);
22 method public String prepare(String, int) throws android.icu.text.StringPrepParseException;
32 method public abstract android.icu.util.TimeZoneTransition getNextTransition(long, boolean);
36method public static java.util.Set<android.icu.util.Region> getAvailable(android.icu.util.Region.R…
44 method public int getDSTSavings();
48 method public android.icu.util.TimeZoneRule getFrom();
49 method public long getTime();
[all …]
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DGeneratedMonitorTest.java54 for (Method method : methods) { in suite()
55 if (isAnyEnter(method) || isWaitFor(method)) { in suite()
56 validateMethod(method); in suite()
57 addTests(suite, method); in suite()
161 private static boolean isAnyEnter(Method method) { in isAnyEnter() argument
162 return method.getName().startsWith("enter") || method.getName().startsWith("tryEnter"); in isAnyEnter()
166 private static boolean isTryEnter(Method method) { in isTryEnter() argument
167 return method.getName().startsWith("tryEnter"); in isTryEnter()
174 private static boolean isEnterIf(Method method) { in isEnterIf() argument
175 return method.getName().startsWith("enterIf"); in isEnterIf()
[all …]
/external/icu/android_icu4j/api/intra/
Dcurrent.txt5 method public static void handleCompatChangesBeforeBindingApplication();
9 method public static void onBeginPreload();
10 method public static void onEndPreload();
18 method @NonNull public com.android.i18n.timezone.ZoneInfoData createCopyWithRawOffset(int);
19method @NonNull public static com.android.i18n.timezone.ZoneInfoData createFromSerializationFields…
20method @NonNull public static com.android.i18n.timezone.ZoneInfoData createInstance(@NonNull Strin…
21 method @NonNull public String getID();
22 method @Nullable public Integer getLatestDstSavingsMillis(long);
23 method public int getOffset(long);
24 method public int getOffsetsByUtcTime(long, @NonNull int[]);
[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()
24 || method.equals("MOVE"); // WebDAV in invalidatesCache()
27 public static boolean requiresRequestBody(String method) { in requiresRequestBody() argument
28 return method.equals("POST") in requiresRequestBody()
29 || method.equals("PUT") in requiresRequestBody()
30 || method.equals("PATCH") in requiresRequestBody()
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DHttpMethod.java23 public static boolean invalidatesCache(String method) { in invalidatesCache() argument
24 return method.equals("POST") in invalidatesCache()
25 || method.equals("PATCH") in invalidatesCache()
26 || method.equals("PUT") in invalidatesCache()
27 || method.equals("DELETE") in invalidatesCache()
28 || method.equals("MOVE"); // WebDAV in invalidatesCache()
31 public static boolean requiresRequestBody(String method) { in requiresRequestBody() argument
32 return method.equals("POST") in requiresRequestBody()
33 || method.equals("PUT") in requiresRequestBody()
34 || method.equals("PATCH") in requiresRequestBody()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/compiler/
Dcsharp_generator.cc112 const MethodDescriptor* method) { in GenerateDocCommentServerMethod() argument
113 if (GenerateDocCommentBody(printer, method)) { in GenerateDocCommentServerMethod()
114 if (method->client_streaming()) { in GenerateDocCommentServerMethod()
123 if (method->server_streaming()) { in GenerateDocCommentServerMethod()
131 if (method->server_streaming()) { in GenerateDocCommentServerMethod()
144 const MethodDescriptor* method, in GenerateDocCommentClientMethod() argument
146 if (GenerateDocCommentBody(printer, method)) { in GenerateDocCommentClientMethod()
147 if (!method->client_streaming()) { in GenerateDocCommentClientMethod()
224 std::string GetMethodFieldName(const MethodDescriptor* method) { in GetMethodFieldName() argument
225 return "__Method_" + method->name(); in GetMethodFieldName()
[all …]
Dcpp_generator.cc35 inline bool ClientOnlyStreaming(const grpc_generator::Method* method) { in ClientOnlyStreaming() argument
36 return method->ClientStreaming() && !method->ServerStreaming(); in ClientOnlyStreaming()
39 inline bool ServerOnlyStreaming(const grpc_generator::Method* method) { in ServerOnlyStreaming() argument
40 return !method->ClientStreaming() && method->ServerStreaming(); in ServerOnlyStreaming()
195 const grpc_generator::Method* method, in PrintHeaderClientMethodInterfaces() argument
198 (*vars)["Method"] = method->name(); in PrintHeaderClientMethodInterfaces()
199 (*vars)["Request"] = method->input_type_name(); in PrintHeaderClientMethodInterfaces()
200 (*vars)["Response"] = method->output_type_name(); in PrintHeaderClientMethodInterfaces()
210 if (method->NoStreaming()) { in PrintHeaderClientMethodInterfaces()
233 } else if (ClientOnlyStreaming(method)) { in PrintHeaderClientMethodInterfaces()
[all …]
Dobjective_c_generator.cc41 const MethodDescriptor* method, in PrintProtoRpcDeclarationAsPragma() argument
43 vars["client_stream"] = method->client_streaming() ? "stream " : ""; in PrintProtoRpcDeclarationAsPragma()
44 vars["server_stream"] = method->server_streaming() ? "stream " : ""; in PrintProtoRpcDeclarationAsPragma()
83 void PrintMethodSignature(Printer* printer, const MethodDescriptor* method, in PrintMethodSignature() argument
86 PrintAllComments(method, printer, true); in PrintMethodSignature()
89 if (method->client_streaming()) { in PrintMethodSignature()
96 if (method->server_streaming()) { in PrintMethodSignature()
108 void PrintSimpleSignature(Printer* printer, const MethodDescriptor* method, in PrintSimpleSignature() argument
113 PrintMethodSignature(printer, method, vars); in PrintSimpleSignature()
116 void PrintAdvancedSignature(Printer* printer, const MethodDescriptor* method, in PrintAdvancedSignature() argument
[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/conscrypt/srcgen/
Dstable-core-platform-api.txt1 method:com.android.org.conscrypt.ClientSessionContext#setPersistentCache(SSLClientSessionCache)
2 method:com.android.org.conscrypt.Conscrypt#getDefaultX509TrustManager()
3 method:com.android.org.conscrypt.FileClientSessionCache#usingDirectory(File)
4 method:com.android.org.conscrypt.OpenSSLProvider#OpenSSLProvider()
5 method:com.android.org.conscrypt.OpenSSLSocketImpl#getAlpnSelectedProtocol()
6 method:com.android.org.conscrypt.OpenSSLSocketImpl#getNpnSelectedProtocol()
7 method:com.android.org.conscrypt.OpenSSLSocketImpl#setAlpnProtocols(byte[])
8 method:com.android.org.conscrypt.OpenSSLSocketImpl#setChannelIdPrivateKey(PrivateKey)
9 method:com.android.org.conscrypt.OpenSSLSocketImpl#setHandshakeTimeout(int)
10 method:com.android.org.conscrypt.OpenSSLSocketImpl#setHostname(String)
[all …]
/external/grpc-grpc/src/compiler/
Dcsharp_generator.cc112 const MethodDescriptor* method) { in GenerateDocCommentServerMethod() argument
113 if (GenerateDocCommentBody(printer, method)) { in GenerateDocCommentServerMethod()
114 if (method->client_streaming()) { in GenerateDocCommentServerMethod()
123 if (method->server_streaming()) { in GenerateDocCommentServerMethod()
131 if (method->server_streaming()) { in GenerateDocCommentServerMethod()
144 const MethodDescriptor* method, in GenerateDocCommentClientMethod() argument
146 if (GenerateDocCommentBody(printer, method)) { in GenerateDocCommentClientMethod()
147 if (!method->client_streaming()) { in GenerateDocCommentClientMethod()
209 std::string GetMethodFieldName(const MethodDescriptor* method) { in GetMethodFieldName() argument
210 return "__Method_" + method->name(); in GetMethodFieldName()
[all …]
/external/flatbuffers/grpc/src/compiler/
Dswift_generator.cc38 grpc::string GenerateClientFuncName(const grpc_generator::Method *method) { in GenerateClientFuncName() argument
39 if (method->NoStreaming()) { in GenerateClientFuncName()
44 if (method->ClientStreaming()) { in GenerateClientFuncName()
50 if (method->ServerStreaming()) { in GenerateClientFuncName()
60 grpc::string GenerateClientFuncBody(const grpc_generator::Method *method) { in GenerateClientFuncBody() argument
61 if (method->NoStreaming()) { in GenerateClientFuncBody()
67 if (method->ClientStreaming()) { in GenerateClientFuncBody()
73 if (method->ServerStreaming()) { in GenerateClientFuncBody()
91 auto method = service->method(it); in GenerateClientProtocol() local
92 vars["Input"] = GenerateMessage(method->get_input_type_name()); in GenerateClientProtocol()
[all …]
/external/apache-http/api/
Dcurrent.txt6 method public String getAuthInfo();
7 method public String getHost();
8 method public String getPath();
9 method public int getPort();
10 method public String getScheme();
11 method public void setAuthInfo(String);
12 method public void setHost(String);
13 method public void setPath(String);
14 method public void setPort(int);
15 method public void setScheme(String);
[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/antlr/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/conscrypt/api/platform/
Dcurrent.txt8 method public final java.util.Enumeration<byte[]> getIds();
9 method public final javax.net.ssl.SSLSession getSession(byte[]);
10 method public final int getSessionCacheSize();
11 method public final int getSessionTimeout();
12 method public void setPersistentCache(com.android.org.conscrypt.SSLClientSessionCache);
13 method public final void setSessionCacheSize(int) throws java.lang.IllegalArgumentException;
14 method public final void setSessionTimeout(int) throws java.lang.IllegalArgumentException;
18method public static javax.net.ssl.X509TrustManager getDefaultX509TrustManager() throws java.secur…
25method public static com.android.org.conscrypt.SSLClientSessionCache usingDirectory(java.io.File) …
33 method public void addHandshakeCompletedListener(javax.net.ssl.HandshakeCompletedListener);
[all …]
Dlast-api.txt8 method public final java.util.Enumeration<byte[]> getIds();
9 method public final javax.net.ssl.SSLSession getSession(byte[]);
10 method public final int getSessionCacheSize();
11 method public final int getSessionTimeout();
12 method public void setPersistentCache(com.android.org.conscrypt.SSLClientSessionCache);
13 method public final void setSessionCacheSize(int) throws java.lang.IllegalArgumentException;
14 method public final void setSessionTimeout(int) throws java.lang.IllegalArgumentException;
18method public static javax.net.ssl.X509TrustManager getDefaultX509TrustManager() throws java.secur…
25method public static com.android.org.conscrypt.SSLClientSessionCache usingDirectory(java.io.File) …
33 method public void addHandshakeCompletedListener(javax.net.ssl.HandshakeCompletedListener);
[all …]
/external/golang-protobuf/protoc-gen-go/grpc/
Dgrpc.go167 for i, method := range service.Method {
169 if method.GetOptions().GetDeprecated() {
173 g.P(g.generateClientSignature(servName, method))
196 for _, method := range service.Method {
198 if !method.GetServerStreaming() && !method.GetClientStreaming() {
207 g.generateClientMethod(servName, fullServName, serviceDescVar, method, descExpr)
218 for i, method := range service.Method {
220 if method.GetOptions().GetDeprecated() {
224 g.P(g.generateServerSignature(servName, method))
246 for _, method := range service.Method {
[all …]
/external/junit/src/main/java/org/junit/runners/model/
DFrameworkMethod.java20 private final Method method; field in FrameworkMethod
25 public FrameworkMethod(Method method) { in FrameworkMethod() argument
26 if (method == null) { in FrameworkMethod()
30 this.method = method; in FrameworkMethod()
35 method.setAccessible(true); in FrameworkMethod()
46 return method; in getMethod()
59 return method.invoke(target, params); in invokeExplosively()
69 return method.getName();
84 if (method.getParameterTypes().length != 0) {
85 errors.add(new Exception("Method " + method.getName() + " should have no parameters"));
[all …]
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Dinterface_definition.tmpl46 {%- for method in interface.methods %}
47 {%- if method.sync %}
48 bool {{class_name}}::{{method.name}}({{interface_macros.declare_sync_method_params("", method)}}) {
56 {%- for method in interface.methods -%}
57 {%- if method.response_parameters != None %}
58 {%- if method.sync %}
59 class {{class_name}}_{{method.name}}_HandleSyncResponse
62 {{class_name}}_{{method.name}}_HandleSyncResponse(
64 {%- for param in method.response_parameters -%}
68 {%- for param in method.response_parameters -%}
[all …]
/external/pigweed/pw_rpc/py/tests/
Dcallback_client_test.py57 return client.PendingRpc(method_stub.channel, method_stub.method.service,
58 method_stub.method)
78 method=None, argument
84 if method:
86 service_id, method_id = method.service.id, method.id
88 assert ids is not None and method is None
107 method, argument
113 service_id=method.service.id,
114 method_id=method.id,
120 method, argument
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_methods.c26 enum eap_type method) in eap_server_get_eap_method() argument
30 if (m->vendor == vendor && m->method == method) in eap_server_get_eap_method()
52 return m->method; in eap_server_get_type()
73 enum eap_type method, in eap_server_method_alloc() argument
82 eap->method = method; in eap_server_method_alloc()
92 static void eap_server_method_free(struct eap_method *method) in eap_server_method_free() argument
94 os_free(method); in eap_server_method_free()
108 int eap_server_method_register(struct eap_method *method) in eap_server_method_register() argument
112 if (method == NULL || method->name == NULL || in eap_server_method_register()
113 method->version != EAP_SERVER_METHOD_INTERFACE_VERSION) { in eap_server_method_register()
[all …]
/external/skqp/tools/skiaserve/urlhandlers/
DUrlHandler.h18 virtual bool canHandle(const char* method, const char* url) = 0;
20 const char* url, const char* method,
26 bool canHandle(const char* method, const char* url) override;
28 const char* url, const char* method,
34 bool canHandle(const char* method, const char* url) override;
36 const char* url, const char* method,
42 bool canHandle(const char* method, const char* url) override;
44 const char* url, const char* method,
54 bool canHandle(const char* method, const char* url) override;
56 const char* url, const char* method,
[all …]

12345678910>>...242