Home
last modified time | relevance | path

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

1234567

/external/guava/guava/src/com/google/common/util/concurrent/
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()
DCombinedFuture.java42 AsyncCallable<V> callable) { in CombinedFuture()
52 Callable<V> callable) { in CombinedFuture()
156 private final AsyncCallable<V> callable; field in CombinedFuture.AsyncCallableInterruptibleTask
158 AsyncCallableInterruptibleTask(AsyncCallable<V> callable, Executor listenerExecutor) { in AsyncCallableInterruptibleTask()
186 private final Callable<V> callable; field in CombinedFuture.CallableInterruptibleTask
188 CallableInterruptibleTask(Callable<V> callable, Executor listenerExecutor) { in CallableInterruptibleTask()
DTimeLimiter.java150 Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) in callWithTimeout()
170 default <T extends @Nullable Object> T callWithTimeout(Callable<T> callable, Duration timeout) in callWithTimeout()
197 Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) in callUninterruptiblyWithTimeout()
220 Callable<T> callable, Duration timeout) throws TimeoutException, ExecutionException { in callUninterruptiblyWithTimeout()
DFutures.java186 Callable<O> callable, Executor executor) { in submit()
215 AsyncCallable<O> callable, Executor executor) { in submitAsync()
230 AsyncCallable<O> callable, Duration delay, ScheduledExecutorService executorService) { in scheduleAsync()
244 AsyncCallable<O> callable, in scheduleAsync()
DListenableFutureTask.java61 public static <V extends @Nullable Object> ListenableFutureTask<V> create(Callable<V> callable) { in create()
80 ListenableFutureTask(Callable<V> callable) { in ListenableFutureTask()
DFakeTimeLimiter.java54 Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) throws ExecutionException { in callWithTimeout()
75 Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) throws ExecutionException { in callUninterruptiblyWithTimeout()
/external/guava/android/guava/src/com/google/common/util/concurrent/
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()
DCombinedFuture.java42 AsyncCallable<V> callable) { in CombinedFuture()
52 Callable<V> callable) { in CombinedFuture()
156 private final AsyncCallable<V> callable; field in CombinedFuture.AsyncCallableInterruptibleTask
158 AsyncCallableInterruptibleTask(AsyncCallable<V> callable, Executor listenerExecutor) { in AsyncCallableInterruptibleTask()
186 private final Callable<V> callable; field in CombinedFuture.CallableInterruptibleTask
188 CallableInterruptibleTask(Callable<V> callable, Executor listenerExecutor) { in CallableInterruptibleTask()
DListenableFutureTask.java61 public static <V extends @Nullable Object> ListenableFutureTask<V> create(Callable<V> callable) { in create()
80 ListenableFutureTask(Callable<V> callable) { in ListenableFutureTask()
DTimeLimiter.java103 Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) in callWithTimeout()
127 Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) in callUninterruptiblyWithTimeout()
DFakeTimeLimiter.java54 Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) throws ExecutionException { in callWithTimeout()
75 Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) throws ExecutionException { in callUninterruptiblyWithTimeout()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DCallablesTest.java42 Callable<Object> callable = Callables.returning(value); in testReturning() local
51 Callable<String> callable = in testAsAsyncCallable() local
69 Callable<String> callable = in testAsAsyncCallable_exception() local
93 Callable<Void> callable = in testRenaming() local
110 Callable<Void> callable = in testRenaming_exceptionalReturn() local
144 Callable<Void> callable = in testRenaming_noPermissions() local
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DCallablesTest.java42 Callable<Object> callable = Callables.returning(value); in testReturning() local
51 Callable<String> callable = in testAsAsyncCallable() local
69 Callable<String> callable = in testAsAsyncCallable_exception() local
93 Callable<Void> callable = in testRenaming() local
110 Callable<Void> callable = in testRenaming_exceptionalReturn() local
144 Callable<Void> callable = in testRenaming_noPermissions() local
/external/python/cpython3/Objects/
Dcall.c33 _Py_CheckFunctionResult(PyThreadState *tstate, PyObject *callable, in _Py_CheckFunctionResult()
118 _PyObject_FastCallDictTstate(PyThreadState *tstate, PyObject *callable, in _PyObject_FastCallDictTstate()
162 PyObject_VectorcallDict(PyObject *callable, PyObject *const *args, in PyObject_VectorcallDict()
171 _PyObject_MakeTpCall(PyThreadState *tstate, PyObject *callable, in _PyObject_MakeTpCall()
229 PyVectorcall_Call(PyObject *callable, PyObject *tuple, PyObject *kwargs) in PyVectorcall_Call()
276 _PyObject_Call(PyThreadState *tstate, PyObject *callable, in _PyObject_Call()
314 PyObject_Call(PyObject *callable, PyObject *args, PyObject *kwargs) in PyObject_Call()
322 PyCFunction_Call(PyObject *callable, PyObject *args, PyObject *kwargs) in PyCFunction_Call()
354 PyEval_CallObjectWithKeywords(PyObject *callable, in PyEval_CallObjectWithKeywords()
387 PyObject_CallObject(PyObject *callable, PyObject *args) in PyObject_CallObject()
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DCurrentSpanUtilsTest.java58 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
/external/guice/extensions/servlet/test/com/google/inject/servlet/
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
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/
DGenerator.java60 …ignature(ClassOrInterfaceDeclaration containingClassOrInterface, CallableDeclaration<?> callable) { in addOrReplaceWhenSameSignature()
69 …ignature(ClassOrInterfaceDeclaration containingClassOrInterface, CallableDeclaration<?> callable) { in replaceWhenSameSignature()
78 CallableDeclaration<?> callable, in addMethod()
98 …ignature(ClassOrInterfaceDeclaration containingClassOrInterface, CallableDeclaration<?> callable) { in removeMethodWithSameSignature()
/external/pigweed/pw_function/public/pw_function/
Dfunction.h62 Function(Callable callable) { in Function()
111 Function(Callable&& callable, in Function()
122 Function(Callable&& callable, void* storage) { in Function()
/external/python/pyasn1/pyasn1/compat/
Dcalling.py15 def callable(x): function
20 callable = callable variable
/external/guice/core/src/com/google/inject/internal/
DProvisionListenerStackCallback.java61 public T provision(InternalContext context, ProvisionCallback<T> callable) in provision()
96 final ProvisionCallback<T> callable; field in ProvisionListenerStackCallback.Provision
102 public Provision(InternalContext context, ProvisionCallback<T> callable) { in Provision()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/android/util/concurrent/
DPausedExecutorService.java63 private final Callable<V> callable; field in PausedExecutorService.DeferredTask
66 DeferredTask(Callable<V> callable, ExecutorService executor) { in DeferredTask()
177 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { in newTaskFor()
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DSimpleFuture.java18 private final Callable<T> callable; field in SimpleFuture
20 public SimpleFuture(Callable<T> callable) { in SimpleFuture()
/external/robolectric/utils/src/main/java/org/robolectric/util/
DSimpleFuture.java18 private final Callable<T> callable; field in SimpleFuture
20 public SimpleFuture(Callable<T> callable) { in SimpleFuture()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DCurrentSpanUtils.java75 static <C> Callable<C> withSpan(Span span, boolean endSpan, Callable<C> callable) { in withSpan()
142 private final Callable<V> callable; field in CurrentSpanUtils.CallableInSpan
145 private CallableInSpan(Span span, Callable<V> callable, boolean endSpan) { in CallableInSpan()
/external/libchrome/mojo/public/cpp/system/tests/
Ddata_pipe_drainer_unittest.cc16 base::RepeatingClosure BindLambda(Functor callable) { in BindLambda()
17 return base::BindRepeating([](Functor callable) { callable(); }, callable); in BindLambda()

1234567