Home
last modified time | relevance | path

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

1234567

/external/guava/android/guava/src/com/google/common/util/concurrent/
DTrustedListenableFutureTask.java36 static <V> TrustedListenableFutureTask<V> create(AsyncCallable<V> callable) { in create()
40 static <V> TrustedListenableFutureTask<V> create(Callable<V> callable) { in create()
66 TrustedListenableFutureTask(Callable<V> callable) { in TrustedListenableFutureTask()
70 TrustedListenableFutureTask(AsyncCallable<V> callable) { in TrustedListenableFutureTask()
112 private final Callable<V> callable; field in TrustedListenableFutureTask.TrustedFutureInterruptibleTask
114 TrustedFutureInterruptibleTask(Callable<V> callable) { in TrustedFutureInterruptibleTask()
146 private final AsyncCallable<V> callable; field in TrustedListenableFutureTask.TrustedFutureInterruptibleAsyncTask
148 TrustedFutureInterruptibleAsyncTask(AsyncCallable<V> callable) { in TrustedFutureInterruptibleAsyncTask()
DCombinedFuture.java39 AsyncCallable<V> callable) { in CombinedFuture()
49 Callable<V> callable) { in CombinedFuture()
144 private final AsyncCallable<V> callable; field in CombinedFuture.AsyncCallableInterruptibleTask
146 AsyncCallableInterruptibleTask(AsyncCallable<V> callable, Executor listenerExecutor) { in AsyncCallableInterruptibleTask()
174 private final Callable<V> callable; field in CombinedFuture.CallableInterruptibleTask
176 CallableInterruptibleTask(Callable<V> callable, Executor listenerExecutor) { in CallableInterruptibleTask()
DListenableFutureTask.java59 public static <V> ListenableFutureTask<V> create(Callable<V> callable) { in create()
77 ListenableFutureTask(Callable<V> callable) { in ListenableFutureTask()
DFakeTimeLimiter.java50 public <T> T callWithTimeout(Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) in callWithTimeout()
71 Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) throws ExecutionException { in callUninterruptiblyWithTimeout()
DTimeLimiter.java100 <T> T callWithTimeout(Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) in callWithTimeout()
124 Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) in callUninterruptiblyWithTimeout()
/external/guava/guava/src/com/google/common/util/concurrent/
DTrustedListenableFutureTask.java36 static <V> TrustedListenableFutureTask<V> create(AsyncCallable<V> callable) { in create()
40 static <V> TrustedListenableFutureTask<V> create(Callable<V> callable) { in create()
66 TrustedListenableFutureTask(Callable<V> callable) { in TrustedListenableFutureTask()
70 TrustedListenableFutureTask(AsyncCallable<V> callable) { in TrustedListenableFutureTask()
112 private final Callable<V> callable; field in TrustedListenableFutureTask.TrustedFutureInterruptibleTask
114 TrustedFutureInterruptibleTask(Callable<V> callable) { in TrustedFutureInterruptibleTask()
146 private final AsyncCallable<V> callable; field in TrustedListenableFutureTask.TrustedFutureInterruptibleAsyncTask
148 TrustedFutureInterruptibleAsyncTask(AsyncCallable<V> callable) { in TrustedFutureInterruptibleAsyncTask()
DCombinedFuture.java39 AsyncCallable<V> callable) { in CombinedFuture()
49 Callable<V> callable) { in CombinedFuture()
144 private final AsyncCallable<V> callable; field in CombinedFuture.AsyncCallableInterruptibleTask
146 AsyncCallableInterruptibleTask(AsyncCallable<V> callable, Executor listenerExecutor) { in AsyncCallableInterruptibleTask()
174 private final Callable<V> callable; field in CombinedFuture.CallableInterruptibleTask
176 CallableInterruptibleTask(Callable<V> callable, Executor listenerExecutor) { in CallableInterruptibleTask()
DTimeLimiter.java147 <T> T callWithTimeout(Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) in callWithTimeout()
167 default <T> T callWithTimeout(Callable<T> callable, Duration timeout) in callWithTimeout()
194 Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) in callUninterruptiblyWithTimeout()
216 default <T> T callUninterruptiblyWithTimeout(Callable<T> callable, Duration timeout) in callUninterruptiblyWithTimeout()
DListenableFutureTask.java59 public static <V> ListenableFutureTask<V> create(Callable<V> callable) { in create()
77 ListenableFutureTask(Callable<V> callable) { in ListenableFutureTask()
DFutures.java180 public static <O> ListenableFuture<O> submit(Callable<O> callable, Executor executor) { in submit()
207 public static <O> ListenableFuture<O> submitAsync(AsyncCallable<O> callable, Executor executor) { in submitAsync()
222 AsyncCallable<O> callable, Duration delay, ScheduledExecutorService executorService) { in scheduleAsync()
236 AsyncCallable<O> callable, in scheduleAsync()
DFakeTimeLimiter.java50 public <T> T callWithTimeout(Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) in callWithTimeout()
71 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/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/python/cpython3/Objects/
Dcall.c33 _Py_CheckFunctionResult(PyThreadState *tstate, PyObject *callable, in _Py_CheckFunctionResult()
94 _PyObject_FastCallDictTstate(PyThreadState *tstate, PyObject *callable, in _PyObject_FastCallDictTstate()
138 PyObject_VectorcallDict(PyObject *callable, PyObject *const *args, in PyObject_VectorcallDict()
147 _PyObject_MakeTpCall(PyThreadState *tstate, PyObject *callable, in _PyObject_MakeTpCall()
205 PyVectorcall_Call(PyObject *callable, PyObject *tuple, PyObject *kwargs) in PyVectorcall_Call()
251 _PyObject_Call(PyThreadState *tstate, PyObject *callable, in _PyObject_Call()
289 PyObject_Call(PyObject *callable, PyObject *args, PyObject *kwargs) in PyObject_Call()
297 PyCFunction_Call(PyObject *callable, PyObject *args, PyObject *kwargs) in PyCFunction_Call()
411 PyEval_CallObjectWithKeywords(PyObject *callable, in PyEval_CallObjectWithKeywords()
444 PyObject_CallObject(PyObject *callable, PyObject *args) in PyObject_CallObject()
[all …]
/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/llvm-project/flang/lib/Evaluate/
Dfold-real.cpp32 if (auto callable{GetHostRuntimeWrapper<T, T>(name)}) { in FoldIntrinsicFunction() local
46 if (auto callable{GetHostRuntimeWrapper<T, T, T>(localName)}) { in FoldIntrinsicFunction() local
58 if (auto callable{GetHostRuntimeWrapper<T, Int4, T>(name)}) { in FoldIntrinsicFunction() local
73 if (auto callable{GetHostRuntimeWrapper<T, ComplexT>("abs")}) { in FoldIntrinsicFunction() local
/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/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()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
DRuntimeDataTest.java141 Callable<?> callable = (Callable<?>) loader.add("Sample", in testGenerateArgumentArray() local
192 Callable<?> callable = (Callable<?>) loader in testGenerateAccessCall() local
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/
DTestScheduledExecutorService.java52 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
117 private final Callable<T> callable; field in SimpleScheduledFuture
123 public SimpleScheduledFuture(Callable<T> callable, long timeoutMillis) { in SimpleScheduledFuture()

1234567