/external/v8/src/ |
D | code-factory.cc | 15 Callable CodeFactory::LoadIC(Isolate* isolate, ContextualMode mode) { in LoadIC() 16 return Callable( in LoadIC() 23 Callable CodeFactory::KeyedLoadIC(Isolate* isolate) { in KeyedLoadIC() 24 return Callable(isolate->builtins()->KeyedLoadIC_Initialize(), in KeyedLoadIC() 30 Callable CodeFactory::StoreIC(Isolate* isolate, StrictMode mode) { in StoreIC() 31 return Callable(StoreIC::initialize_stub(isolate, mode), in StoreIC() 37 Callable CodeFactory::KeyedStoreIC(Isolate* isolate, StrictMode mode) { in KeyedStoreIC() 41 return Callable(ic, StoreDescriptor(isolate)); in KeyedStoreIC() 46 Callable CodeFactory::CompareIC(Isolate* isolate, Token::Value op) { in CompareIC() 48 return Callable(code, BinaryOpDescriptor(isolate)); in CompareIC() [all …]
|
D | code-factory.h | 18 class Callable FINAL BASE_EMBEDDED { 20 Callable(Handle<Code> code, CallInterfaceDescriptor descriptor) in Callable() function 35 static Callable LoadIC(Isolate* isolate, ContextualMode mode); 36 static Callable KeyedLoadIC(Isolate* isolate); 37 static Callable StoreIC(Isolate* isolate, StrictMode mode); 38 static Callable KeyedStoreIC(Isolate* isolate, StrictMode mode); 40 static Callable CompareIC(Isolate* isolate, Token::Value op); 42 static Callable BinaryOpIC(Isolate* isolate, Token::Value op, 47 static Callable ToBoolean( 51 static Callable ToNumber(Isolate* isolate); [all …]
|
/external/lldb/tools/lldb-perf/lib/ |
D | Measurement.h | 20 template <typename GaugeType, typename Callable> 31 Measurement (Callable callable, const char* name, const char* desc) : in Measurement() 62 virtual const Callable& 135 Callable m_callable; 139 template <typename Callable> 140 class TimeMeasurement : public Measurement<TimeGauge,Callable> 144 Measurement<TimeGauge,Callable> () in TimeMeasurement() 148 TimeMeasurement (Callable callable, 151 Measurement<TimeGauge,Callable> (callable, name, descr) 157 Measurement<TimeGauge,Callable>(rhs) in TimeMeasurement() [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 | AbstractListeningExecutorService.java | 25 import java.util.concurrent.Callable; 62 public <T> ListenableFuture<T> submit(Callable<T> task) { in submit() 69 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) throws InterruptedException, in invokeAny() 79 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny() 85 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll() 93 for (Callable<T> t : tasks) { in invokeAll() 117 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, in invokeAll() 126 for (Callable<T> t : tasks) { in invokeAll()
|
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()
|
D | ListenableFutureTask.java | 19 import java.util.concurrent.Callable; 52 public static <V> ListenableFutureTask<V> create(Callable<V> callable) { in create() 73 ListenableFutureTask(Callable<V> callable) { in ListenableFutureTask()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | WrappingExecutorServiceTest.java | 29 import java.util.concurrent.Callable; 91 Callable<String> task = Callables.returning(RESULT_VALUE); in testSubmit() 99 List<Callable<String>> tasks = createTasks(3); in testInvokeAll() 119 List<Callable<String>> tasks = createTasks(3); in testInvokeAny() 145 private static List<Callable<String>> createTasks(int n) { in createTasks() 146 List<Callable<String>> callables = Lists.newArrayList(); in createTasks() 153 private static final class WrappedCallable<T> implements Callable<T> { 154 private final Callable<T> delegate; 156 public WrappedCallable(Callable<T> delegate) { in WrappedCallable() 185 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()
|
D | MoreExecutorsTest.java | 60 import java.util.concurrent.Callable; 145 final Callable<Integer> incrementTask = new Callable<Integer>() { in testSameThreadExecutorInvokeAll() 180 Future<?> future = executor.submit(new Callable<Void>() { in testSameThreadExecutorServiceTermination() 264 List<Callable<T>> tasks = ImmutableList.of(); in testListeningExecutorServiceInvokeAllJavadocCodeCompiles() 273 List<Callable<String>> callables = in testListeningDecorator() 435 invokeAnyImpl(e, new ArrayList<Callable<String>>(), false, 0); in testInvokeAnyImpl_emptyTasks() 448 List<Callable<Integer>> l = new ArrayList<Callable<Integer>>(); in testInvokeAnyImpl_nullElement() 449 l.add(new Callable<Integer>() { in testInvokeAnyImpl_nullElement() 469 List<Callable<String>> l = new ArrayList<Callable<String>>(); in testInvokeAnyImpl_noTaskCompletes() 487 List<Callable<String>> l = new ArrayList<Callable<String>>(); in testInvokeAnyImpl()
|
D | SimpleTimeLimiterTest.java | 21 import java.util.concurrent.Callable; 61 new Callable<String>() { in testGoodCallableWithEnoughTime() 75 new Callable<String>() { in testGoodCallableWithNotEnoughTime() 91 new Callable<String>() { in testBadCallableWithEnoughTime() 107 new Callable<String>() { in testBadCallableWithNotEnoughTime()
|
/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/robolectric/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-testlib/src/com/google/common/util/concurrent/testing/ |
D | SameThreadScheduledExecutorService.java | 30 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/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/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | ProgressDialogTest.java | 13 import java.util.concurrent.Callable; 80 … assertLatestDialogsSet("Title", "Message", false, false, null, new Callable<ProgressDialog>() { in show_setsLatestAlertDialogAndLatestDialog_3args() 91 … assertLatestDialogsSet("Title", "Message", true, false, null, new Callable<ProgressDialog>() { in show_setsLatestAlertDialogAndLatestDialog_4args() 101 … assertLatestDialogsSet("Title", "Message", true, true, null, new Callable<ProgressDialog>() { in show_setsLatestAlertDialogAndLatestDialog_5args() 117 …assertLatestDialogsSet("Title", "Message", true, true, cancelListener, new Callable<ProgressDialog… in show_setsLatestAlertDialogAndLatestDialog_6args() 127 Callable<ProgressDialog> callable) throws Exception { in assertLatestDialogsSet()
|
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/ |
D | BulletAppState.java | 76 Callable<Boolean> call = new Callable<Boolean>() { in startPhysicsOnExecutor() 95 private Callable<Boolean> parallelPhysicsUpdate = new Callable<Boolean>() { 103 private Callable<Boolean> detachedPhysicsUpdate = new Callable<Boolean>() {
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
D | FakeTickerTest.java | 25 import java.util.concurrent.Callable; 110 new Callable<Void>() { in testConcurrentAdvance() 133 new Callable<Void>() { in testConcurrentAutoIncrementStep() 148 private void runConcurrentTest(int numberOfThreads, final Callable<Void> callable) in runConcurrentTest() 154 executorService.submit(new Callable<Void>() { in runConcurrentTest()
|
/external/junit/src/org/junit/rules/ |
D | ErrorCollector.java | 10 import java.util.concurrent.Callable; 64 checkSucceeds(new Callable<Object>() { in checkThat() 77 public Object checkSucceeds(Callable<Object> callable) { in checkSucceeds()
|
/external/droiddriver/src/io/appium/droiddriver/util/ |
D | InstrumentationUtils.java | 25 import java.util.concurrent.Callable; 130 runOnMainSyncWithTimeout(new Callable<Void>() { in runOnMainSyncWithTimeout() 147 public static <V> V runOnMainSyncWithTimeout(Callable<V> callable) { in runOnMainSyncWithTimeout() 176 public RunOnMainSyncFutureTask(Callable<V> callable) { in RunOnMainSyncFutureTask()
|
/external/droiddriver/droiddriver-android_support_test/src/io/appium/droiddriver/android_support_test/ |
D | D2AndroidJUnitRunner.java | 28 import java.util.concurrent.Callable; 39 private static final Callable<Activity> GET_RUNNING_ACTIVITY = new Callable<Activity>() {
|