/external/v8/src/ |
D | code-factory.h | 37 static Callable LoadGlobalIC(Isolate* isolate, TypeofMode typeof_mode); 38 static Callable LoadGlobalICInOptimizedCode(Isolate* isolate, 40 static Callable StoreOwnIC(Isolate* isolate); 41 static Callable StoreOwnICInOptimizedCode(Isolate* isolate); 43 static Callable ResumeGenerator(Isolate* isolate); 45 static Callable FrameDropperTrampoline(Isolate* isolate); 46 static Callable HandleDebuggerStatement(Isolate* isolate); 48 static Callable BinaryOperation(Isolate* isolate, Operation op); 50 static Callable ApiGetter(Isolate* isolate); 51 static Callable CallApiCallback(Isolate* isolate, int argc); [all …]
|
D | code-factory.cc | 19 Callable make_callable(Stub& stub) { in make_callable() 21 return Callable(stub.GetCode(), Descriptor{}); in make_callable() 72 Callable CodeFactory::ApiGetter(Isolate* isolate) { in ApiGetter() 73 return Callable(BUILTIN_CODE(isolate, CallApiGetter), ApiGetterDescriptor{}); in ApiGetter() 77 Callable CodeFactory::CallApiCallback(Isolate* isolate, int argc) { in CallApiCallback() 80 return Callable(BUILTIN_CODE(isolate, CallApiCallback_Argc0), in CallApiCallback() 83 return Callable(BUILTIN_CODE(isolate, CallApiCallback_Argc1), in CallApiCallback() 94 Callable CodeFactory::LoadGlobalIC(Isolate* isolate, TypeofMode typeof_mode) { in LoadGlobalIC() 95 return Callable( in LoadGlobalIC() 103 Callable CodeFactory::LoadGlobalICInOptimizedCode(Isolate* isolate, in LoadGlobalICInOptimizedCode() [all …]
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | TransferRequestIntegrationTest.java | 26 import java.util.concurrent.Callable; 38 private final Callable<Boolean> FALSE_CALLABLE = 39 new Callable<Boolean>() { 86 Callable<Callable<Boolean>> callable = in testTransferNonHttpRequest() 87 new Callable<Callable<Boolean>>() { in testTransferNonHttpRequest() 89 public Callable<Boolean> call() { in testTransferNonHttpRequest() 92 new Callable<Boolean>() { in testTransferNonHttpRequest() 102 Callable<Boolean> transfer = ServletScopes.scopeRequest(callable, seedMap).call(); in testTransferNonHttpRequest() 130 Callable<Data> callable = in testTransferNonHttpRequest_closeable() 131 new Callable<Data>() { in testTransferNonHttpRequest_closeable() [all …]
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | WrappingExecutorService.java | 26 import java.util.concurrent.Callable; 58 protected abstract <T> Callable<T> wrapTask(Callable<T> callable); in wrapTask() 65 final Callable<Object> wrapped = wrapTask( in wrapTask() 83 private final <T> ImmutableList<Callable<T>> wrapTasks( 84 Collection<? extends Callable<T>> tasks) { 85 ImmutableList.Builder<Callable<T>> builder = ImmutableList.builder(); 86 for (Callable<T> task : tasks) { 99 public final <T> Future<T> submit(Callable<T> task) { 115 Collection<? extends Callable<T>> tasks) throws InterruptedException { 121 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) [all …]
|
D | Callables.java | 23 import java.util.concurrent.Callable; 40 public static <T> Callable<T> returning(final @Nullable T value) { in returning() 41 return new Callable<T>() { in returning() 57 static <T> Callable<T> threadRenaming(final Callable<T> callable, 61 return new Callable<T>() {
|
D | ForwardingExecutorService.java | 23 import java.util.concurrent.Callable; 55 Collection<? extends Callable<T>> tasks) throws InterruptedException { in invokeAll() 61 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAll() 67 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny() 74 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny() 104 public <T> Future<T> submit(Callable<T> task) { in submit()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | TaskQueue.h | 41 template <typename Callable> struct Task { 42 using ResultTy = typename std::result_of<Callable()>::type; 43 explicit Task(Callable C, TaskQueue &Parent) in Task() 63 Callable C; 81 template <typename Callable> 82 std::future<typename std::result_of<Callable()>::type> async(Callable &&C) { in async() 87 Task<Callable> T{std::move(C), *this}; in async() 88 using ResultTy = typename std::result_of<Callable()>::type; in async()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | ScopeExit.h | 26 template <typename Callable> class scope_exit { 27 Callable ExitFunction; 57 template <typename Callable> 58 LLVM_NODISCARD detail::scope_exit<typename std::decay<Callable>::type> 59 make_scope_exit(Callable &&F) { in make_scope_exit() 60 return detail::scope_exit<typename std::decay<Callable>::type>( in make_scope_exit() 61 std::forward<Callable>(F)); in make_scope_exit()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | WrappingExecutorServiceTest.java | 32 import java.util.concurrent.Callable; 88 Callable<String> task = Callables.returning(RESULT_VALUE); in testSubmit() 96 List<Callable<String>> tasks = createTasks(3); in testInvokeAll() 116 List<Callable<String>> tasks = createTasks(3); in testInvokeAny() 142 private static List<Callable<String>> createTasks(int n) { in createTasks() 143 List<Callable<String>> callables = Lists.newArrayList(); in createTasks() 150 private static final class WrappedCallable<T> implements Callable<T> { 151 private final Callable<T> delegate; 153 public WrappedCallable(Callable<T> delegate) { in WrappedCallable() 182 protected <T> Callable<T> wrapTask(Callable<T> callable) { in wrapTask() [all …]
|
D | WrappingScheduledExecutorServiceTest.java | 23 import java.util.concurrent.Callable; 65 private static final class WrappedCallable<T> implements Callable<T> { 66 private final Callable<T> delegate; 68 public WrappedCallable(Callable<T> delegate) { in WrappedCallable() 97 protected <T> Callable<T> wrapTask(Callable<T> callable) { in wrapTask() 134 Callable<V> callable, long delay, TimeUnit unit) { in schedule() 169 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll() 176 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAll() 182 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny() 188 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny() [all …]
|
D | CallablesTest.java | 25 import java.util.concurrent.Callable; 38 Callable<Object> callable = Callables.returning(value); in testReturning() 47 Callable<Void> callable = new Callable<Void>() { in testRenaming() 61 Callable<Void> callable = new Callable<Void>() { in testRenaming_exceptionalReturn() 86 Callable<Void> callable = new Callable<Void>() { in testRenaming_noPermissions()
|
/external/v8/src/compiler/ |
D | js-generic-lowering.cc | 57 Callable callable = Builtins::CallableFor(isolate(), Builtins::k##Name); \ 98 void JSGenericLowering::ReplaceWithStubCall(Node* node, Callable callable, in REPLACE_STUB_CALL() 103 void JSGenericLowering::ReplaceWithStubCall(Node* node, Callable callable, in ReplaceWithStubCall() 136 Callable callable = Builtins::CallableFor(isolate(), Builtins::kStrictEqual); in LowerJSStrictEqual() 149 Callable callable = in LowerJSLoadProperty() 153 Callable callable = in LowerJSLoadProperty() 169 Callable callable = in LowerJSLoadNamed() 173 Callable callable = Builtins::CallableFor(isolate(), Builtins::kLoadIC); in LowerJSLoadNamed() 189 Callable callable = CodeFactory::LoadGlobalIC(isolate(), p.typeof_mode()); in LowerJSLoadGlobal() 192 Callable callable = in LowerJSLoadGlobal() [all …]
|
/external/opencensus-java/api/src/test/java/io/opencensus/trace/ |
D | CurrentSpanUtilsTest.java | 27 import java.util.concurrent.Callable; 58 private void executeCallableAndExpectError(Callable<Object> callable, Throwable error) { in executeCallableAndExpectError() 187 Callable<Object> callable = in withSpanCallable() 188 new Callable<Object>() { in withSpanCallable() 205 Callable<Object> callable = in withSpanCallable_EndSpan() 206 new Callable<Object>() { in withSpanCallable_EndSpan() 223 Callable<Object> callable = in withSpanCallable_WithException() 224 new Callable<Object>() { in withSpanCallable_WithException() 242 Callable<Object> callable = in withSpanCallable_WithExceptionNoMessage() 243 new Callable<Object>() { in withSpanCallable_WithExceptionNoMessage() [all …]
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/ |
D | Lambda.java | 17 import java.util.concurrent.Callable; 36 public static Callable<String> hello() { in hello() 37 return (Callable<String> & java.util.RandomAccess) () -> "hello"; in hello() 40 public static Function<Integer, Callable<Long>> mult(int x) { in mult() 41 return new Function<Integer, Callable<Long>>() { in mult() 43 public Callable<Long> apply(Integer y) { in mult()
|
D | InnerClassLambda.java | 17 import java.util.concurrent.Callable; 35 public Function<List<String>, Callable<List<String>>> prefixFilter(String prefix) { in prefixFilter() 36 return new Function<List<String>, Callable<List<String>>>() { in prefixFilter() 38 public Callable<List<String>> apply(List<String> input) { in prefixFilter() 39 return new Callable<List<String>>() { in prefixFilter()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/perf/ |
D | TimedScenario.java | 14 import java.util.concurrent.Callable; 31 final Callable<Void> refRunnable = getReferenceCallable(); in run() 49 private long getMinimumTime(final Callable<Void> subject) throws Exception { in getMinimumTime() 58 private long getTime(final Callable<Void> subject) throws Exception { in getTime() 64 protected abstract Callable<Void> getInstrumentedCallable() in getInstrumentedCallable() 67 protected Callable<Void> getReferenceCallable() throws Exception { in getReferenceCallable()
|
D | ExecuteInstrumentedCodeScenario.java | 14 import java.util.concurrent.Callable; 29 private final Class<? extends Callable<Void>> target; 32 Class<? extends Callable<Void>> target) { in ExecuteInstrumentedCodeScenario() 39 protected Callable<Void> getInstrumentedCallable() throws Exception { in getInstrumentedCallable() 47 return (Callable<Void>) loader.add(target, instrumentedBuffer) in getInstrumentedCallable() 52 protected Callable<Void> getReferenceCallable() throws Exception { in getReferenceCallable()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | ScopeExitTest.cpp | 18 struct Callable { in TEST() struct 20 Callable(bool &Called) : Called(Called) {} in TEST() function 21 Callable(Callable &&RHS) : Called(RHS.Called) {} in TEST() argument 26 auto g = make_scope_exit(Callable(Called)); in TEST()
|
/external/mockito/src/test/java/org/mockitoutil/ |
D | SimplePerRealmReloadingClassLoader.java | 12 import java.util.concurrent.Callable; 91 if (instance instanceof Callable) { in doInRealm() 92 Callable<?> callableInRealm = (Callable<?>) instance; in doInRealm() 107 if (instance instanceof Callable) { in doInRealm() 108 Callable<?> callableInRealm = (Callable<?>) instance; in doInRealm()
|
/external/guice/core/test/com/google/inject/ |
D | PerformanceComparison.java | 25 import java.util.concurrent.Callable; 67 static final Callable<Foo> springFactory = 68 new Callable<Foo>() { 106 static final Callable<Foo> juiceFactory = 107 new Callable<Foo>() { 137 static final Callable<Foo> byHandFactory = 138 new Callable<Foo>() { 154 static void validate(Callable<Foo> t) throws Exception { in validate() 165 static void iterate(Callable<Foo> callable, String label) { in iterate() 183 static void concurrentlyIterate(final Callable<Foo> callable, String label) { in concurrentlyIterate()
|
/external/guava/guava-bootstrap/src/java/util/concurrent/ |
D | AbstractExecutorService.java | 31 public <T> Future<T> submit(Callable<T> task) { in submit() 38 private <T> T doInvokeAny(Collection<? extends Callable<T>> tasks, in doInvokeAny() 53 Iterator<? extends Callable<T>> it = tasks.iterator(); in doInvokeAny() 104 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny() 114 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, in invokeAny() 120 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll() 127 for (Callable<T> t : tasks) { in invokeAll() 150 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, in invokeAll() 159 for (Callable<T> t : tasks) in invokeAll()
|
D | ExecutorService.java | 28 <T> Future<T> submit(Callable<T> task); in submit() 34 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll() 38 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAll() 41 <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny() 45 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny()
|
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
D | FuturesCombineBenchmark.java | 26 import java.util.concurrent.Callable; 39 @Override <V> ListenableFuture<V> combine(final Callable<V> combiner, Executor executor, in combine() 59 <V> ListenableFuture<V> combine(Callable<V> combiner, final Executor executor, 66 Callable<V> combiner, Executor executor, 86 Callable<Integer> callable = Callables.returning(12); 101 Callable<Integer> callable = Callables.returning(12); 111 Callable<Integer> callable = Callables.returning(12); 126 Callable<Integer> callable = Callables.returning(12);
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/util/concurrent/ |
D | RoboExecutorService.java | 7 import java.util.concurrent.Callable; 28 public AdvancingFutureTask(Scheduler scheduler, Callable<V> callable) { in AdvancingFutureTask() 85 public <T> Future<T> submit(Callable<T> tCallable) { in submit() 114 …public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> callables) throws Interrupt… in invokeAll() 119 …public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> callables, long l, TimeUnit… in invokeAll() 124 …public <T> T invokeAny(Collection<? extends Callable<T>> callables) throws InterruptedException, E… in invokeAny() 129 …public <T> T invokeAny(Collection<? extends Callable<T>> callables, long l, TimeUnit timeUnit) thr… in invokeAny()
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
D | ServletScopes.java | 31 import java.util.concurrent.Callable; 218 public static <T> Callable<T> continueRequest(Callable<T> callable, Map<Key<?>, Object> seedMap) { 266 public static <T> Callable<T> transferRequest(Callable<T> callable) { 341 public static <T> Callable<T> scopeRequest(Callable<T> callable, Map<Key<?>, Object> seedMap) { 440 private static final <T> Callable<T> wrap( 441 final Callable<T> delegate, final RequestScoper requestScoper) { 442 return new Callable<T>() {
|