/external/v8/src/ |
D | code-factory.h | 18 class Callable final BASE_EMBEDDED { 20 Callable(Handle<Code> code, CallInterfaceDescriptor descriptor) in Callable() function 34 static Callable LoadIC(Isolate* isolate); 35 static Callable LoadICInOptimizedCode(Isolate* isolate); 36 static Callable LoadGlobalIC(Isolate* isolate, TypeofMode typeof_mode); 37 static Callable LoadGlobalICInOptimizedCode(Isolate* isolate, 39 static Callable KeyedLoadIC(Isolate* isolate); 40 static Callable KeyedLoadICInOptimizedCode(Isolate* isolate); 41 static Callable KeyedLoadIC_Megamorphic(Isolate* isolate); 42 static Callable CallIC(Isolate* isolate, [all …]
|
D | code-factory.cc | 17 Callable make_callable(Stub& stub) { in make_callable() 19 return Callable(stub.GetCode(), Descriptor(stub.isolate())); in make_callable() 25 Callable CodeFactory::LoadIC(Isolate* isolate) { in LoadIC() 31 Callable CodeFactory::ApiGetter(Isolate* isolate) { in ApiGetter() 37 Callable CodeFactory::LoadICInOptimizedCode(Isolate* isolate) { in LoadICInOptimizedCode() 43 Callable CodeFactory::LoadGlobalIC(Isolate* isolate, TypeofMode typeof_mode) { in LoadGlobalIC() 49 Callable CodeFactory::LoadGlobalICInOptimizedCode(Isolate* isolate, in LoadGlobalICInOptimizedCode() 56 Callable CodeFactory::KeyedLoadIC(Isolate* isolate) { in KeyedLoadIC() 62 Callable CodeFactory::KeyedLoadICInOptimizedCode(Isolate* isolate) { in KeyedLoadICInOptimizedCode() 68 Callable CodeFactory::KeyedLoadIC_Megamorphic(Isolate* isolate) { in KeyedLoadIC_Megamorphic() [all …]
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | TransferRequestIntegrationTest.java | 29 import java.util.concurrent.Callable; 42 private final Callable<Boolean> FALSE_CALLABLE = new Callable<Boolean>() { 73 Callable<Callable<Boolean>> callable = new Callable<Callable<Boolean>>() { in testTransferNonHttpRequest() 74 @Override public Callable<Boolean> call() { in testTransferNonHttpRequest() 76 return ServletScopes.transferRequest(new Callable<Boolean>() { in testTransferNonHttpRequest() 85 Callable<Boolean> transfer = ServletScopes.scopeRequest(callable, seedMap).call(); in testTransferNonHttpRequest() 93 Callable<Boolean> callable = new Callable<Boolean>() { in testTransferNonHttpRequest_concurrentUseBlocks() 114 Callable<Boolean> callable = new Callable<Boolean>() { in testTransferNonHttpRequest_concurrentUseSameThreadOk()
|
/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()
|
D | ListeningExecutorService.java | 21 import java.util.concurrent.Callable; 41 <T> ListenableFuture<T> submit(Callable<T> task); in submit() 74 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll() 96 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAll()
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
D | ServletScopes.java | 32 import java.util.concurrent.Callable; 214 public static <T> Callable<T> continueRequest(final Callable<T> callable, in continueRequest() 228 return new Callable<T>() { in continueRequest() 261 public static <T> Callable<T> transferRequest(Callable<T> callable) { 267 private static <T> Callable<T> transferHttpRequest(final Callable<T> callable) { 272 return new Callable<T>() { 279 private static <T> Callable<T> transferNonHttpRequest(final Callable<T> callable) { 284 return new Callable<T>() { 323 public static <T> Callable<T> scopeRequest(final Callable<T> callable, 338 return new Callable<T>() { [all …]
|
/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/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/mockito/src/test/java/org/mockitoutil/ |
D | SimplePerRealmReloadingClassLoader.java | 8 import java.util.concurrent.Callable; 87 if (instance instanceof Callable) { in doInRealm() 88 Callable<?> callableInRealm = (Callable<?>) instance; in doInRealm() 103 if (instance instanceof Callable) { in doInRealm() 104 Callable<?> callableInRealm = (Callable<?>) instance; in doInRealm()
|
/external/guava/guava-bootstrap/src/java/util/concurrent/ |
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()
|
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()
|
/external/guice/core/test/com/google/inject/ |
D | PerformanceComparison.java | 31 import java.util.concurrent.Callable; 69 static final Callable<Foo> springFactory = new Callable<Foo>() { 106 static final Callable<Foo> juiceFactory = new Callable<Foo>() { 131 static final Callable<Foo> byHandFactory = new Callable<Foo>() { 145 static void validate(Callable<Foo> t) throws Exception { in validate() 156 static void iterate(Callable<Foo> callable, String label) { in iterate() 176 static void concurrentlyIterate(final Callable<Foo> callable, String label) { in concurrentlyIterate()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/ |
D | RobolectricBackgroundExecutorService.java | 7 import java.util.concurrent.Callable; 42 public <T> Future<T> submit(Callable<T> tCallable) { in submit() 68 …public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> callables) throws Interrupt… in invokeAll() 73 …public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> callables, long l, TimeUnit… in invokeAll() 78 …public <T> T invokeAny(Collection<? extends Callable<T>> callables) throws InterruptedException, E… in invokeAny() 83 …public <T> T invokeAny(Collection<? extends Callable<T>> callables, long l, TimeUnit timeUnit) thr… 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/v8/src/interpreter/ |
D | interpreter.h | 23 class Callable; variable 108 void DoStaGlobal(Callable ic, InterpreterAssembler* assembler); 111 void DoStoreIC(Callable ic, InterpreterAssembler* assembler); 114 void DoKeyedStoreIC(Callable ic, InterpreterAssembler* assembler); 143 compiler::Node* BuildLoadGlobal(Callable ic, compiler::Node* context, 157 compiler::Node* BuildUnaryOp(Callable callable,
|
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/ |
D | SameThreadScheduledExecutorService.java | 31 import java.util.concurrent.Callable; 81 public <T> ListenableFuture<T> submit(Callable<T> task) { in submit() 101 Collection<? extends Callable<T>> tasks) throws InterruptedException { in invokeAll() 108 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAll() 116 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny() 123 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, in invokeAny() 176 public <V> ListenableScheduledFuture<V> schedule(final Callable<V> callable, in schedule()
|
/external/guice/jdk8-tests/test/com/google/inject/jdk8/ |
D | Java8LanguageFeatureBindingTest.java | 34 import java.util.concurrent.Callable; 67 public Callable<String> provideCallable() { in testProviderMethod_returningLambda() 72 Callable<String> callable = injector.getInstance(new Key<Callable<String>>() {}); in testProviderMethod_returningLambda() 82 public Callable<String> provideCallable() { in testProviderMethod_containingLambda_throwingException() 92 injector.getInstance(new Key<Callable<String>>() {}); in testProviderMethod_containingLambda_throwingException()
|
/external/guava/guava-testlib/test/com/google/common/util/concurrent/testing/ |
D | TestingExecutorsTest.java | 26 import java.util.concurrent.Callable; 67 Callable<Boolean> task = new Callable<Boolean>() { in testNoOpScheduledExecutorInvokeAll() 88 Callable<Integer> task = new Callable<Integer>() { in testSameThreadScheduledExecutor()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/ |
D | RuntimeDataTest.java | 20 import java.util.concurrent.Callable; 117 new String[] { Type.getInternalName(Callable.class) }); in testGenerateArgumentArray() 141 Callable<?> callable = (Callable<?>) loader.add("Sample", in testGenerateArgumentArray() 158 new String[] { Type.getInternalName(Callable.class) }); in testGenerateAccessCall() 192 Callable<?> callable = (Callable<?>) loader in testGenerateAccessCall()
|
/external/libchrome/base/ |
D | bind_internal.h | 62 template <typename Callable, 63 typename Signature = decltype(&Callable::operator())> 66 template <typename Callable, typename R, typename... Args> 67 struct ExtractCallableRunTypeImpl<Callable, R(Callable::*)(Args...) const> { 77 template <typename Callable> 79 typename ExtractCallableRunTypeImpl<Callable>::Type; 99 template <typename Callable> 100 struct IsConvertibleToRunType<Callable, void_t<decltype(&Callable::operator())>> 101 : std::is_convertible<Callable, ExtractCallableRunType<Callable>*> {};
|