Home
last modified time | relevance | path

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

1234567

/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.java37 AsyncCallable<V> callable) { in CombinedFuture()
49 Callable<V> callable) { in CombinedFuture()
139 private final AsyncCallable<V> callable; field in CombinedFuture.AsyncCallableInterruptibleTask
141 public AsyncCallableInterruptibleTask(AsyncCallable<V> callable, Executor listenerExecutor) { in AsyncCallableInterruptibleTask()
170 private final Callable<V> callable; field in CombinedFuture.CallableInterruptibleTask
172 public CallableInterruptibleTask(Callable<V> callable, Executor listenerExecutor) { in CallableInterruptibleTask()
DListenableFutureTask.java52 public static <V> ListenableFutureTask<V> create(Callable<V> callable) { in create()
70 ListenableFutureTask(Callable<V> callable) { in ListenableFutureTask()
DTimeLimiter.java98 <T> T callWithTimeout(Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) in callWithTimeout()
122 Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) in callUninterruptiblyWithTimeout()
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()
DSimpleTimeLimiter.java118 Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit, boolean amInterruptible) in callWithTimeout()
147 public <T> T callWithTimeout(Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) in callWithTimeout()
169 Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) in callUninterruptiblyWithTimeout()
/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.java37 AsyncCallable<V> callable) { in CombinedFuture()
49 Callable<V> callable) { in CombinedFuture()
139 private final AsyncCallable<V> callable; field in CombinedFuture.AsyncCallableInterruptibleTask
141 public AsyncCallableInterruptibleTask(AsyncCallable<V> callable, Executor listenerExecutor) { in AsyncCallableInterruptibleTask()
170 private final Callable<V> callable; field in CombinedFuture.CallableInterruptibleTask
172 public CallableInterruptibleTask(Callable<V> callable, Executor listenerExecutor) { in CallableInterruptibleTask()
DListenableFutureTask.java52 public static <V> ListenableFutureTask<V> create(Callable<V> callable) { in create()
70 ListenableFutureTask(Callable<V> callable) { in ListenableFutureTask()
DTimeLimiter.java98 <T> T callWithTimeout(Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) in callWithTimeout()
122 Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) in callUninterruptiblyWithTimeout()
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()
DSimpleTimeLimiter.java118 Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit, boolean amInterruptible) in callWithTimeout()
147 public <T> T callWithTimeout(Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) in callWithTimeout()
169 Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) 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/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/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/python/cpython3/Objects/
Dcall.c23 _Py_CheckFunctionResult(PyObject *callable, PyObject *result, const char *where) in _Py_CheckFunctionResult()
74 _PyObject_FastCallDict(PyObject *callable, PyObject *const *args, in _PyObject_FastCallDict()
119 _PyObject_MakeTpCall(PyObject *callable, PyObject *const *args, Py_ssize_t nargs, PyObject *keyword… in _PyObject_MakeTpCall()
174 PyVectorcall_Call(PyObject *callable, PyObject *tuple, PyObject *kwargs) in PyVectorcall_Call()
214 PyObject_Call(PyObject *callable, PyObject *args, PyObject *kwargs) in PyObject_Call()
783 PyEval_CallObjectWithKeywords(PyObject *callable, in PyEval_CallObjectWithKeywords()
815 PyObject_CallObject(PyObject *callable, PyObject *args) in PyObject_CallObject()
824 _PyObject_FastCall_Prepend(PyObject *callable, PyObject *obj, in _PyObject_FastCall_Prepend()
859 _PyObject_Call_Prepend(PyObject *callable, in _PyObject_Call_Prepend()
900 _PyObject_CallFunctionVa(PyObject *callable, const char *format, in _PyObject_CallFunctionVa()
[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/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/v8/src/compiler/
Djs-generic-lowering.cc86 Callable callable = Builtins::CallableFor(isolate(), builtin); in REPLACE_STUB_CALL() local
90 void JSGenericLowering::ReplaceWithBuiltinCall(Node* node, Callable callable, in ReplaceWithBuiltinCall()
96 Node* node, Callable callable, CallDescriptor::Flags flags, in ReplaceWithBuiltinCall()
130 Callable callable = Builtins::CallableFor(isolate(), builtin_with_feedback); in ReplaceUnaryOpWithBuiltinCall() local
231 Callable callable = Builtins::CallableFor(isolate(), builtin_id); in DEF_BINARY_LOWERING() local
341 Callable callable = CodeFactory::LoadGlobalIC(isolate(), p.typeof_mode()); in LowerJSLoadGlobal() local
347 Callable callable = in LowerJSLoadGlobal() local
431 Callable callable = CodeFactory::StoreOwnIC(isolate()); in LowerJSStoreNamedOwn() local
437 Callable callable = CodeFactory::StoreOwnICInOptimizedCode(isolate()); in LowerJSStoreNamedOwn() local
631 Callable callable = in LowerJSCreateFunctionContext() local
[all …]
/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

1234567