Home
last modified time | relevance | path

Searched defs:callable (Results 1 – 25 of 1362) sorted by relevance

12345678910>>...55

/aosp_15_r20/external/python/cpython3/Objects/
Dcall.c33 _Py_CheckFunctionResult(PyThreadState *tstate, PyObject *callable, in _Py_CheckFunctionResult()
117 _PyObject_FastCallDictTstate(PyThreadState *tstate, PyObject *callable, in _PyObject_FastCallDictTstate()
161 PyObject_VectorcallDict(PyObject *callable, PyObject *const *args, in PyObject_VectorcallDict()
170 _PyObject_MakeTpCall(PyThreadState *tstate, PyObject *callable, in _PyObject_MakeTpCall()
229 PyVectorcall_Function(PyObject *callable) in PyVectorcall_Function()
237 PyObject *callable, PyObject *tuple, PyObject *kwargs) in _PyVectorcall_Call()
266 PyVectorcall_Call(PyObject *callable, PyObject *tuple, PyObject *kwargs) in PyVectorcall_Call()
295 PyObject_Vectorcall(PyObject *callable, PyObject *const *args, in PyObject_Vectorcall()
313 _PyObject_Call(PyThreadState *tstate, PyObject *callable, in _PyObject_Call()
352 PyObject_Call(PyObject *callable, PyObject *args, PyObject *kwargs) in PyObject_Call()
[all …]
/aosp_15_r20/external/sdk-platform-java/gax-java/gax/src/test/java/com/google/api/gax/rpc/
H A DOperationCallableImplTest.java208 OperationCallable<Integer, Color, Currency> callable = in testCall() local
226 OperationCallable<Integer, Color, Currency> callable = in testResumeFutureCall() local
242 OperationCallable<Integer, Color, Currency> callable = in testCancelOperation() local
260 OperationCallable<Integer, Color, Currency> callable = in testFutureCallInitialDone() local
281 OperationCallable<Integer, Color, Currency> callable = in testFutureCallInitialError() local
303 OperationCallable<Integer, Color, Currency> callable = in testFutureCallInitialDoneWithError() local
332 OperationCallable<Integer, Color, Currency> callable = in testFutureCallInitialDoneWrongType() local
357 OperationCallable<Integer, Color, Currency> callable = in testFutureCallInitialDoneMetaWrongType() local
438 OperationCallable<Integer, Color, Currency> callable = in testFutureCallPollDoneOnFirst() local
463 OperationCallable<Integer, Color, Currency> callable = in testFutureCallPollDoneOnSecond() local
[all …]
H A DServerStreamingAttemptCallableTest.java80 ServerStreamingAttemptCallable<String, String> callable = in createCallable() local
97 ServerStreamingAttemptCallable<String, String> callable = createCallable(mockedCallContext); in testUserProvidedContextTimeout() local
136 ServerStreamingAttemptCallable<String, String> callable = createCallable(mockedCallContext); in testNoUserProvidedContextTimeout() local
167 ServerStreamingAttemptCallable<String, String> callable = createCallable(); in testNoErrorsAutoFlow() local
191 ServerStreamingAttemptCallable<String, String> callable = createCallable(); in testNoErrorsManualFlow() local
223 ServerStreamingAttemptCallable<String, String> callable = createCallable(); in testInitialRetry() local
258 ServerStreamingAttemptCallable<String, String> callable = createCallable(); in testMidRetry() local
300 ServerStreamingAttemptCallable<String, String> callable = createCallable(); in testRequestCountIsPreserved() local
329 ServerStreamingAttemptCallable<String, String> callable = createCallable(); in testCancel() local
386 ServerStreamingAttemptCallable<String, String> callable = createCallable(); in testResponseSubstitution() local
H A DServerStreamingCallableTest.java67 ServerStreamingCallable<Integer, Integer> callable = in serverStreaming() local
86 ServerStreamingCallable<Integer, Integer> callable = in testServerStreamingCall() local
106 ServerStreamingCallable<Integer, Integer> callable = in testServerStreamingCallWithContext() local
124 ServerStreamingCallable<Integer, Integer> callable = in blockingServerStreaming() local
138 ServerStreamingCallable<Integer, Integer> callable = in testIteratedServerStreamingCall() local
154 ServerStreamingCallable<Integer, Integer> callable = in testIteratedServerStreamingCallWithContext() local
175 UnaryCallable<Integer, Integer> callable = streamingCallable.first(); in testFirstElementCall() local
232 UnaryCallable<Integer, List<Integer>> callable = streamingCallable.all(); in testAllElementCall() local
H A DRetryingTest.java381 UnaryCallable<Integer, Integer> callable = in retryKeepFailing() local
405 UnaryCallable<Integer, Integer> callable = in testKnownStatusCode() local
424 UnaryCallable<Integer, Integer> callable = in testUnknownStatusCode() local
443 UnaryCallable<Integer, Integer> callable = in assertRetrying() local
450 UnaryCallable<Integer, Integer> callable = in assertRetryingUsingContext() local
H A DCallableTest.java84 UnaryCallable<String, String> callable = in testNonRetriedCallable() local
103 UnaryCallable<String, String> callable = in testNonRetriedCallableWithRetrySettings() local
121 ServerStreamingCallable<Object, Object> callable = in testNonRetriedServerStreamingCallable() local
137 ServerStreamingCallable<Object, Object> callable = in testNonRetriedServerStreamingCallableWithRetrySettings() local
/aosp_15_r20/libcore/luni/src/test/java/libcore/java/util/concurrent/
H A DFutureTaskTest.java44 TestCallable callable = new TestCallable(); in testRecursiveToString() local
53 TestCallable callable = new TestCallable(); in testExceptionNow_OnSuccess() local
63 TestCallable callable = new TestCallable(); in testExceptionNow_OnCancel() local
73 TestCallable callable = new TestCallable(); in testExceptionNow_OnFail() local
84 TestCallable callable = new TestCallable(); in testResultNow_OnSuccess() local
94 TestCallable callable = new TestCallable(); in testResultNow_OnCancel() local
104 TestCallable callable = new TestCallable(); in testResultNow_OnFail() local
115 TestCallable callable = new TestCallable(); in testState_OnSuccess() local
124 TestCallable callable = new TestCallable(); in testState_OnCancel() local
133 TestCallable callable = new TestCallable(); in testState_OnFail() local
/aosp_15_r20/external/sdk-platform-java/gax-java/gax-httpjson/src/test/java/com/google/api/gax/httpjson/
H A DRetryingTest.java123 UnaryCallable<Integer, Integer> callable = in retry() local
154 UnaryCallable<Integer, Integer> callable = in retryTotalTimeoutExceeded() local
169 UnaryCallable<Integer, Integer> callable = in retryMaxAttemptsExceeded() local
184 UnaryCallable<Integer, Integer> callable = in retryWithinMaxAttempts() local
206 UnaryCallable<Integer, Integer> callable = in retryOnStatusUnknown() local
219 UnaryCallable<Integer, Integer> callable = in retryOnUnexpectedException() local
243 UnaryCallable<Integer, Integer> callable = in retryNoRecover() local
260 UnaryCallable<Integer, Integer> callable = in retryKeepFailing() local
298 UnaryCallable<Integer, Integer> callable = in testKnownStatusCode() local
316 UnaryCallable<Integer, Integer> callable = in testUnknownStatusCode() local
H A DHttpJsonDirectCallableTest.java132 HttpJsonDirectCallable<Field, Field> callable = in testSuccessfulUnaryResponse() local
167 HttpJsonDirectCallable<Field, Field> callable = in testSuccessfulMultipleResponsesForUnaryCall() local
202 HttpJsonDirectCallable<Field, Field> callable = in testErrorMultipleResponsesForUnaryCall() local
234 HttpJsonDirectCallable<Field, Field> callable = in testErrorUnaryResponse() local
266 HttpJsonDirectCallable<Field, Field> callable = in testErrorNullContentSuccessfulResponse() local
295 HttpJsonDirectCallable<Field, Field> callable = in testErrorNullContentFailedResponse() local
321 HttpJsonDirectCallable<Field, Field> callable = in testErrorNon2xxOr4xxResponse() local
353 HttpJsonDirectCallable<Field, Field> callable = in testDeadlineExceededResponse() local
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/stack/ui/view/
H A DNotificationStatsLoggerTest.kt69 val callable = Callable { locations } in <lambda>() constant
105 val callable = Callable { locations } in <lambda>() constant
142 val callable = Callable { locations } in <lambda>() constant
197 val callable = spy(Callable { locations }) in <lambda>() constant
217 val callable = Callable { locations } in <lambda>() constant
361 val callable = Callable { locations } in <lambda>() constant
388 val callable = Callable { locations } in <lambda>() constant
/aosp_15_r20/external/guava/guava/src/com/google/common/util/concurrent/
H A DTrustedListenableFutureTask.java39 AsyncCallable<V> callable) { in create()
43 static <V extends @Nullable Object> TrustedListenableFutureTask<V> create(Callable<V> callable) { in create()
70 TrustedListenableFutureTask(Callable<V> callable) { in TrustedListenableFutureTask()
74 TrustedListenableFutureTask(AsyncCallable<V> callable) { in TrustedListenableFutureTask()
117 private final Callable<V> callable; field in TrustedListenableFutureTask.TrustedFutureInterruptibleTask
119 TrustedFutureInterruptibleTask(Callable<V> callable) { in TrustedFutureInterruptibleTask()
153 private final AsyncCallable<V> callable; field in TrustedListenableFutureTask.TrustedFutureInterruptibleAsyncTask
155 TrustedFutureInterruptibleAsyncTask(AsyncCallable<V> callable) { in TrustedFutureInterruptibleAsyncTask()
H A DCombinedFuture.java43 AsyncCallable<V> callable) { in CombinedFuture()
53 Callable<V> callable) { in CombinedFuture()
157 private final AsyncCallable<V> callable; field in CombinedFuture.AsyncCallableInterruptibleTask
159 AsyncCallableInterruptibleTask(AsyncCallable<V> callable, Executor listenerExecutor) { in AsyncCallableInterruptibleTask()
187 private final Callable<V> callable; field in CombinedFuture.CallableInterruptibleTask
189 CallableInterruptibleTask(Callable<V> callable, Executor listenerExecutor) { in CallableInterruptibleTask()
/aosp_15_r20/external/guava/android/guava/src/com/google/common/util/concurrent/
H A DTrustedListenableFutureTask.java39 AsyncCallable<V> callable) { in create()
43 static <V extends @Nullable Object> TrustedListenableFutureTask<V> create(Callable<V> callable) { in create()
70 TrustedListenableFutureTask(Callable<V> callable) { in TrustedListenableFutureTask()
74 TrustedListenableFutureTask(AsyncCallable<V> callable) { in TrustedListenableFutureTask()
117 private final Callable<V> callable; field in TrustedListenableFutureTask.TrustedFutureInterruptibleTask
119 TrustedFutureInterruptibleTask(Callable<V> callable) { in TrustedFutureInterruptibleTask()
153 private final AsyncCallable<V> callable; field in TrustedListenableFutureTask.TrustedFutureInterruptibleAsyncTask
155 TrustedFutureInterruptibleAsyncTask(AsyncCallable<V> callable) { in TrustedFutureInterruptibleAsyncTask()
H A DCombinedFuture.java43 AsyncCallable<V> callable) { in CombinedFuture()
53 Callable<V> callable) { in CombinedFuture()
157 private final AsyncCallable<V> callable; field in CombinedFuture.AsyncCallableInterruptibleTask
159 AsyncCallableInterruptibleTask(AsyncCallable<V> callable, Executor listenerExecutor) { in AsyncCallableInterruptibleTask()
187 private final Callable<V> callable; field in CombinedFuture.CallableInterruptibleTask
189 CallableInterruptibleTask(Callable<V> callable, Executor listenerExecutor) { in CallableInterruptibleTask()
/aosp_15_r20/external/pytorch/torch/_higher_order_ops/
H A Dstrict_mode.py20 def strict_mode(callable, operands): argument
35 def __call__(self, callable, operands): argument
43 def strict_mode_op_dense(callable, operands): argument
55 def inner(mode, callable, operands): argument
59 def trace_strict_mode(mode, strict_mode_op, callable, operands): argument
81 def strict_mode_fake_tensor_mode(mode, callable, operands): argument
88 def strict_mode_func(ctx, callable, inputs): argument
/aosp_15_r20/external/opencensus-java/api/src/test/java/io/opencensus/trace/
H A DCurrentSpanUtilsTest.java57 private void executeCallableAndExpectError(Callable<Object> callable, Throwable error) { in executeCallableAndExpectError()
187 Callable<Object> callable = in withSpanCallable() local
205 Callable<Object> callable = in withSpanCallable_EndSpan() local
223 Callable<Object> callable = in withSpanCallable_WithException() local
242 Callable<Object> callable = in withSpanCallable_WithExceptionNoMessage() local
261 Callable<Object> callable = in withSpanCallable_WithError() local
280 Callable<Object> callable = in withSpanCallable_WithErrorNoMessage() local
/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
H A DCallablesTest.java45 Callable<Object> callable = Callables.returning(value); in testReturning() local
55 Callable<String> callable = in testAsAsyncCallable() local
74 Callable<String> callable = in testAsAsyncCallable_exception() local
99 Callable<@Nullable Void> callable = in testRenaming() local
117 Callable<@Nullable Void> callable = in testRenaming_exceptionalReturn() local
152 Callable<@Nullable Void> callable = in testRenaming_noPermissions() local
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DCallablesTest.java45 Callable<Object> callable = Callables.returning(value); in testReturning() local
55 Callable<String> callable = in testAsAsyncCallable() local
74 Callable<String> callable = in testAsAsyncCallable_exception() local
99 Callable<@Nullable Void> callable = in testRenaming() local
117 Callable<@Nullable Void> callable = in testRenaming_exceptionalReturn() local
152 Callable<@Nullable Void> callable = in testRenaming_noPermissions() local
/aosp_15_r20/external/guice/extensions/servlet/test/com/google/inject/servlet/
H A DTransferRequestIntegrationTest.java86 Callable<Callable<Boolean>> callable = in testTransferNonHttpRequest() local
130 Callable<Data> callable = in testTransferNonHttpRequest_closeable() local
155 Callable<Boolean> callable = in testTransferNonHttpRequest_concurrentUseBlocks() local
179 Callable<Boolean> callable = in testTransferNonHttpRequest_concurrentUseBlocks_closeable() local
215 Callable<Boolean> callable = in testTransferNonHttpRequest_concurrentUseSameThreadOk() local
228 Callable<Boolean> callable = in testTransferNonHttpRequest_concurrentUseSameThreadOk_closeable() local
/aosp_15_r20/external/sdk-platform-java/gax-java/gax/src/test/java/com/google/api/gax/retrying/
H A DAbstractRetryingExecutorTest.java119 FailingCallable callable = new FailingCallable(0, "request", "SUCCESS", tracer); in testSuccess() local
136 FailingCallable callable = new FailingCallable(5, "request", "SUCCESS", tracer); in testSuccessWithFailures() local
154 FailingCallable callable = new FailingCallable(5, "request", "SUCCESS", tracer); in testSuccessWithFailuresPeekGetAttempt() local
181 FailingCallable callable = new FailingCallable(6, "request", "FAILURE", tracer); in testMaxRetriesExceeded() local
210 FailingCallable callable = new FailingCallable(6, "request", "FAILURE", tracer); in testTotalTimeoutExceeded() local
/aosp_15_r20/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
H A DExecutors.java120 public static <T> java.util.concurrent.Callable<T> callable(java.lang.Runnable task, T result) { in callable() method in Executors
124 public static java.util.concurrent.Callable<java.lang.Object> callable( in callable() method in Executors
129 public static java.util.concurrent.Callable<java.lang.Object> callable( in callable() method in Executors
134 public static java.util.concurrent.Callable<java.lang.Object> callable( in callable() method in Executors
140 java.util.concurrent.Callable<T> callable) { in privilegedCallable()
145 java.util.concurrent.Callable<T> callable) { in privilegedCallableUsingCurrentClassLoader()
282 java.util.concurrent.Callable<V> callable, in schedule()
/aosp_15_r20/external/sdk-platform-java/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/
H A DHttpJsonCallableFactory.java71 UnaryCallable<RequestT, ResponseT> callable = in createUnaryCallable() local
89 UnaryCallable<RequestT, ResponseT> callable = createDirectUnaryCallable(httpJsonCallSettings); in createBaseUnaryCallable() local
135 UnaryCallable<RequestT, ResponseT> callable = createDirectUnaryCallable(httpJsonCallSettings); in createPagedCallable() local
156 UnaryCallable<RequestT, ResponseT> callable = createDirectUnaryCallable(httpJsonCallSettings); in createBatchingCallable() local
180 ServerStreamingCallable<RequestT, ResponseT> callable = in createServerStreamingCallable() local
/aosp_15_r20/external/sdk-platform-java/gax-java/gax/src/test/java/com/google/api/gax/rpc/testing/
H A DFakeCallableFactory.java56 UnaryCallable<RequestT, ResponseT> callable = in createBaseUnaryCallable() local
74 UnaryCallable<RequestT, ResponseT> callable = in createUnaryCallable() local
93 UnaryCallable<RequestT, ResponseT> callable = in createUnpagedCallable() local
112 UnaryCallable<RequestT, ResponseT> callable = in createPagedCallable() local
133 UnaryCallable<RequestT, ResponseT> callable = in createBatchingCallable() local
/aosp_15_r20/external/sdk-platform-java/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/
H A DGrpcRawCallableFactory.java53 UnaryCallable<RequestT, ResponseT> callable = in createUnaryCallable() local
76 BidiStreamingCallable<RequestT, ResponseT> callable = in createBidiStreamingCallable() local
93 ServerStreamingCallable<RequestT, ResponseT> callable = in createServerStreamingCallable() local
113 ClientStreamingCallable<RequestT, ResponseT> callable = in createClientStreamingCallable() local
/aosp_15_r20/external/sdk-platform-java/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/
H A DEchoClientTest.java173 ServerStreamingCallable<ExpandRequest, EchoResponse> callable = client.expandCallable(); in expandTest() local
193 ServerStreamingCallable<ExpandRequest, EchoResponse> callable = client.expandCallable(); in expandExceptionTest() local
223 ClientStreamingCallable<EchoRequest, EchoResponse> callable = client.collectCallable(); in collectTest() local
247 ClientStreamingCallable<EchoRequest, EchoResponse> callable = client.collectCallable(); in collectExceptionTest() local
279 BidiStreamingCallable<EchoRequest, EchoResponse> callable = client.chatCallable(); in chatTest() local
303 BidiStreamingCallable<EchoRequest, EchoResponse> callable = client.chatCallable(); in chatExceptionTest() local

12345678910>>...55