Home
last modified time | relevance | path

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

12345678910>>...375

/external/rust/android-crates-io/crates/num-bigint/src/
Dmacros.rs36 (impl $imp:ident for $res:ty, $method:ident) => {
41 fn $method(self, other: $res) -> $res {
43 $imp::$method(self, &other)
50 (impl $imp:ident for $res:ty, $method:ident) => {
55 fn $method(self, other: $res) -> $res {
58 $imp::$method(self, &other)
60 $imp::$method(other, &self)
68 (impl $imp:ident for $res:ty, $method:ident) => {
73 fn $method(self, other: $res) -> $res {
75 $imp::$method(self, &other)
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DMethodAnalyzerTest.java49 private MethodNode method; field in MethodAnalyzerTest
56 method = new MethodNode(); in setup()
57 method.tryCatchBlocks = new ArrayList<TryCatchBlockNode>(); in setup()
69 method.visitLabel(l0); in createLinearSequence()
70 method.visitLineNumber(1001, l0); in createLinearSequence()
71 method.visitInsn(Opcodes.NOP); in createLinearSequence()
72 method.visitInsn(Opcodes.NOP); in createLinearSequence()
74 method.visitLabel(l1); in createLinearSequence()
75 method.visitLineNumber(1002, l1); in createLinearSequence()
76 method.visitInsn(Opcodes.RETURN); in createLinearSequence()
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DGeneratedMonitorTest.java56 for (Method method : methods) { in suite()
57 if (isAnyEnter(method) || isWaitFor(method)) { in suite()
58 validateMethod(method); in suite()
59 addTests(suite, method); in suite()
163 private static boolean isAnyEnter(Method method) { in isAnyEnter() argument
164 return method.getName().startsWith("enter") || method.getName().startsWith("tryEnter"); in isAnyEnter()
168 private static boolean isTryEnter(Method method) { in isTryEnter() argument
169 return method.getName().startsWith("tryEnter"); in isTryEnter()
176 private static boolean isEnterIf(Method method) { in isEnterIf() argument
177 return method.getName().startsWith("enterIf"); in isEnterIf()
[all …]
/external/grpc-grpc/src/compiler/
Dcsharp_generator.cc128 const MethodDescriptor* method) { in GenerateDocCommentServerMethod() argument
129 if (GenerateDocCommentBody(printer, method)) { in GenerateDocCommentServerMethod()
130 if (method->client_streaming()) { in GenerateDocCommentServerMethod()
139 if (method->server_streaming()) { in GenerateDocCommentServerMethod()
147 if (method->server_streaming()) { in GenerateDocCommentServerMethod()
160 const MethodDescriptor* method, in GenerateDocCommentClientMethod() argument
162 if (GenerateDocCommentBody(printer, method)) { in GenerateDocCommentClientMethod()
163 if (!method->client_streaming()) { in GenerateDocCommentClientMethod()
203 std::string GetCSharpMethodType(const MethodDescriptor* method) { in GetCSharpMethodType() argument
204 if (method->client_streaming()) { in GetCSharpMethodType()
[all …]
Dobjective_c_generator.cc42 const MethodDescriptor* method, in PrintProtoRpcDeclarationAsPragma() argument
44 vars["client_stream"] = method->client_streaming() ? "stream " : ""; in PrintProtoRpcDeclarationAsPragma()
45 vars["server_stream"] = method->server_streaming() ? "stream " : ""; in PrintProtoRpcDeclarationAsPragma()
84 void PrintMethodSignature(Printer* printer, const MethodDescriptor* method, in PrintMethodSignature() argument
87 PrintAllComments(method, printer, true); in PrintMethodSignature()
90 if (method->client_streaming()) { in PrintMethodSignature()
97 if (method->server_streaming()) { in PrintMethodSignature()
109 void PrintSimpleSignature(Printer* printer, const MethodDescriptor* method, in PrintSimpleSignature() argument
114 PrintMethodSignature(printer, method, vars); in PrintSimpleSignature()
117 void PrintAdvancedSignature(Printer* printer, const MethodDescriptor* method, in PrintAdvancedSignature() argument
[all …]
/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/compiler/
Dcsharp_generator.cc122 const MethodDescriptor* method) { in GenerateDocCommentServerMethod() argument
123 if (GenerateDocCommentBody(printer, method)) { in GenerateDocCommentServerMethod()
124 if (method->client_streaming()) { in GenerateDocCommentServerMethod()
133 if (method->server_streaming()) { in GenerateDocCommentServerMethod()
141 if (method->server_streaming()) { in GenerateDocCommentServerMethod()
154 const MethodDescriptor* method, in GenerateDocCommentClientMethod() argument
156 if (GenerateDocCommentBody(printer, method)) { in GenerateDocCommentClientMethod()
157 if (!method->client_streaming()) { in GenerateDocCommentClientMethod()
197 std::string GetCSharpMethodType(const MethodDescriptor* method) { in GetCSharpMethodType() argument
198 if (method->client_streaming()) { in GetCSharpMethodType()
[all …]
Dobjective_c_generator.cc42 const MethodDescriptor* method, in PrintProtoRpcDeclarationAsPragma() argument
44 vars["client_stream"] = method->client_streaming() ? "stream " : ""; in PrintProtoRpcDeclarationAsPragma()
45 vars["server_stream"] = method->server_streaming() ? "stream " : ""; in PrintProtoRpcDeclarationAsPragma()
84 void PrintMethodSignature(Printer* printer, const MethodDescriptor* method, in PrintMethodSignature() argument
87 PrintAllComments(method, printer, true); in PrintMethodSignature()
90 if (method->client_streaming()) { in PrintMethodSignature()
97 if (method->server_streaming()) { in PrintMethodSignature()
109 void PrintSimpleSignature(Printer* printer, const MethodDescriptor* method, in PrintSimpleSignature() argument
114 PrintMethodSignature(printer, method, vars); in PrintSimpleSignature()
117 void PrintAdvancedSignature(Printer* printer, const MethodDescriptor* method, in PrintAdvancedSignature() argument
[all …]
/external/icu/android_icu4j/api/legacy_platform/
Dcurrent.txt5 method public String[] getAmpmNarrowStrings();
9 method public String getBestPattern(String, int, boolean);
13 method public static android.icu.text.StringPrep getInstance(int);
14 method public String prepare(String, int) throws android.icu.text.StringPrepParseException;
24 method public String getCountryIso();
25 method public android.icu.util.TimeZone getDefaultTimeZone();
26 method public String getDefaultTimeZoneId();
27method public java.util.List<com.android.i18n.timezone.CountryTimeZones.TimeZoneMapping> getEffect…
28method public java.util.List<com.android.i18n.timezone.CountryTimeZones.TimeZoneMapping> getTimeZo…
29 method public boolean hasUtcZone(long);
[all …]
/external/flatbuffers/grpc/src/compiler/
Dswift_generator.cc48 static void GenerateClientFuncName(const grpc_generator::Method *method, in GenerateClientFuncName() argument
52 if (method->NoStreaming()) { in GenerateClientFuncName()
61 if (method->ServerStreaming()) { in GenerateClientFuncName()
71 if (method->ClientStreaming()) { in GenerateClientFuncName()
86 static void GenerateClientFuncBody(const grpc_generator::Method *method, in GenerateClientFuncBody() argument
92 if (method->NoStreaming()) { in GenerateClientFuncBody()
104 if (method->ServerStreaming()) { in GenerateClientFuncBody()
117 if (method->ClientStreaming()) { in GenerateClientFuncBody()
154 auto method = service->method(it); in GenerateClientProtocol() local
155 vars["Input"] = GenerateMessage(method->get_input_namespace_parts(), in GenerateClientProtocol()
[all …]
/external/python/python-api-core/tests/unit/gapic/
Dtest_method.py30 import google.api_core.gapic_v1.method
43 method = mock.Mock(spec=["__call__"], return_value=42)
45 wrapped_method = google.api_core.gapic_v1.method.wrap_method(method)
50 method.assert_called_once_with(1, 2, meep="moop", metadata=mock.ANY)
53 metadata = method.call_args[1]["metadata"]
61 method = mock.Mock(spec=["__call__"])
63 wrapped_method = google.api_core.gapic_v1.method.wrap_method(
64 method, client_info=None
69 method.assert_called_once_with(1, 2, meep="moop")
80 method = mock.Mock(spec=["__call__"])
[all …]
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DGeneratedMonitorTest.java53 for (Method method : methods) { in suite()
54 if (isAnyEnter(method) || isWaitFor(method)) { in suite()
55 validateMethod(method); in suite()
56 addTests(suite, method); in suite()
160 private static boolean isAnyEnter(Method method) { in isAnyEnter() argument
161 return method.getName().startsWith("enter") || method.getName().startsWith("tryEnter"); in isAnyEnter()
165 private static boolean isTryEnter(Method method) { in isTryEnter() argument
166 return method.getName().startsWith("tryEnter"); in isTryEnter()
173 private static boolean isEnterIf(Method method) { in isEnterIf() argument
174 return method.getName().startsWith("enterIf"); in isEnterIf()
[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/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/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/executorch/runtime/executor/test/
Dmethod_test.cpp78 Result<Method> method = programs_["add"]->load_method("forward", &mmm.get()); in TEST_F() local
79 ASSERT_EQ(method.error(), Error::Ok); in TEST_F()
82 auto input_cleanup = prepare_input_tensors(*method); in TEST_F()
84 Error err = method->execute(); in TEST_F()
88 Method new_method(std::move(method.get())); in TEST_F()
91 err = method->execute(); in TEST_F()
101 Result<Method> method = programs_["add"]->load_method("forward", &mmm.get()); in TEST_F() local
102 ASSERT_EQ(method.error(), Error::Ok); in TEST_F()
104 size_t num_inputs = method->inputs_size(); in TEST_F()
108 method->get_input(0); in TEST_F()
[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/google-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/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/pigweed/pw_rpc/py/pw_rpc/
Dcodegen_nanopb.py35 def _serde(method: ProtoServiceMethod) -> str:
56 method: ProtoServiceMethod, response: str | None = None
60 if method.client_streaming():
61 template_args.append(method.request_type().nanopb_struct())
64 response = method.response_type().nanopb_struct()
72 method: ProtoServiceMethod,
77 name = method.name()
83 method: ProtoServiceMethod, response: str | None = None
85 if not method.client_streaming():
89 response = method.response_type().nanopb_struct()
[all …]
Dcodegen_pwpb.py46 def _serde(method: ProtoServiceMethod) -> str:
56 method: ProtoServiceMethod, response: str | None = None
60 if method.client_streaming():
61 template_args.append(method.request_type().pwpb_struct())
64 response = method.response_type().pwpb_struct()
72 method: ProtoServiceMethod,
79 method: ProtoServiceMethod, response: str | None = None
81 if not method.client_streaming():
85 response = method.response_type().pwpb_struct()
87 if method.server_streaming():
[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.txt5method @Nullable public static byte[] exportKeyingMaterial(@NonNull javax.net.ssl.SSLEngine, @NonN…
6 method public static boolean isSupportedEngine(@NonNull javax.net.ssl.SSLEngine);
7 method public static void setUseSessionTickets(@NonNull javax.net.ssl.SSLEngine, boolean);
11method @Nullable public static byte[] exportKeyingMaterial(@NonNull javax.net.ssl.SSLSocket, @NonN…
12 method public static boolean isSupportedSocket(@NonNull javax.net.ssl.SSLSocket);
13 method public static void setUseSessionTickets(@NonNull javax.net.ssl.SSLSocket, boolean);
24 method public final java.util.Enumeration<byte[]> getIds();
25 method public final javax.net.ssl.SSLSession getSession(byte[]);
26 method public final int getSessionCacheSize();
27 method public final int getSessionTimeout();
[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/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/pigweed/pw_rpc/java/test/dev/pigweed/pw_rpc/
DClientTest.java54 private static final Method UNARY_METHOD = SERVICE.method("SomeUnary");
55 private static final Method SERVER_STREAMING_METHOD = SERVICE.method("SomeServerStreaming");
56 private static final Method CLIENT_STREAMING_METHOD = SERVICE.method("SomeClientStreaming");
73 private static byte[] response(String service, String method) { in response() argument
74 return response(service, method, Status.OK); in response()
77 private static byte[] response(String service, String method, Status status) { in response() argument
79 PacketType.RESPONSE, service, method, status, SomeMessage.getDefaultInstance()); in response()
83 String service, String method, Status status, MessageLite payload) { in response() argument
84 return serverReply(PacketType.RESPONSE, service, method, status, payload); in response()
87 private static byte[] serverStream(String service, String method, MessageLite payload) { in serverStream() argument
[all …]

12345678910>>...375