/external/v8/src/ |
code-factory.h | 18 class Callable final BASE_EMBEDDED { 20 Callable(Handle<Code> code, CallInterfaceDescriptor descriptor) 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...] |
code-factory.cc | 17 Callable make_callable(Stub& stub) { 19 return Callable(stub.GetCode(), Descriptor(stub.isolate())); 25 Callable CodeFactory::LoadIC(Isolate* isolate) { 31 Callable CodeFactory::ApiGetter(Isolate* isolate) { 37 Callable CodeFactory::LoadICInOptimizedCode(Isolate* isolate) { 43 Callable CodeFactory::LoadGlobalIC(Isolate* isolate, TypeofMode typeof_mode) { 49 Callable CodeFactory::LoadGlobalICInOptimizedCode(Isolate* isolate, 56 Callable CodeFactory::KeyedLoadIC(Isolate* isolate) { 62 Callable CodeFactory::KeyedLoadICInOptimizedCode(Isolate* isolate) { 68 Callable CodeFactory::KeyedLoadIC_Megamorphic(Isolate* isolate) [all...] |
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/ |
Callable.java | 20 * Emulation of Callable. 24 public interface Callable<V> {
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
Callable.java | 43 * <p>The {@code Callable} interface is similar to {@link 50 * convert from other common forms to {@code Callable} classes. 58 public interface Callable<V> {
|
ExecutorService.java | 133 * submission of a {@code Runnable} or {@code Callable} task to an 217 * {@link Callable} form so they can be submitted. 226 <T> Future<T> submit(Callable<T> task); 277 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) 308 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, 331 <T> T invokeAny(Collection<? extends Callable<T>> tasks) 357 <T> T invokeAny(Collection<? extends Callable<T>> tasks,
|
Executors.java | 56 * ThreadFactory}, and {@link Callable} classes defined in this 69 * <li>Methods that create and return a {@link Callable} 71 * in execution methods requiring {@code Callable}. 368 * Returns a {@link Callable} object that, when 371 * {@code Callable} to an otherwise resultless action. 375 * @return a callable object 378 public static <T> Callable<T> callable(Runnable task, T result) { method in class:Executors 385 * Returns a {@link Callable} object that, when 388 * @return a callable objec 391 public static Callable<Object> callable(Runnable task) { method in class:Executors 404 public static Callable<Object> callable(final PrivilegedAction<?> action) { method in class:Executors [all...] |
/packages/apps/Contacts/src/com/android/contacts/compat/ |
CallableCompat.java | 20 import android.provider.ContactsContract.CommonDataKinds.Callable; 28 Uri.withAppendedPath(Callable.CONTENT_URI, "filter_enterprise"); 34 return Callable.CONTENT_FILTER_URI;
|
/packages/apps/Dialer/java/com/android/contacts/common/compat/ |
CallableCompat.java | 22 import android.provider.ContactsContract.CommonDataKinds.Callable; 28 Uri.withAppendedPath(Callable.CONTENT_URI, "filter_enterprise"); 34 return Callable.CONTENT_FILTER_URI;
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/perf/targets/ |
Target02.java | 14 import java.util.concurrent.Callable; 19 public class Target02 implements Callable<Void> {
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
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>>() { local 74 @Override public Callable<Boolean> call() { 76 return ServletScopes.transferRequest(new Callable<Boolean>() 93 Callable<Boolean> callable = new Callable<Boolean>() { local 114 Callable<Boolean> callable = new Callable<Boolean>() { local [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
LambdaImplementationTest.java | 35 import java.util.concurrent.Callable; 42 Callable<String> r1 = () -> "Hello World"; 44 assertLambdaImplementsInterfaces(r1, Callable.class); 45 assertLambdaMethodCharacteristics(r1, Callable.class); 49 List<Callable<String>> callables = new ArrayList<>(); 85 Callable<String> r1 = LambdaImplementationTest::staticMethod; 87 assertLambdaImplementsInterfaces(r1, Callable.class); 88 assertLambdaMethodCharacteristics(r1, Callable.class); 93 List<Callable<String>> callables = new ArrayList<>(); 104 Callable<String> r1 = o::toString 152 Callable<String> callable = (Callable<String> & Serializable) () -> "No State"; local 175 Callable<String> callable = (Callable<String> & Serializable) () -> "State:" + state; local 209 Callable<String> callable = local [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
ListeningExecutorService.java | 21 import java.util.concurrent.Callable; 41 <T> ListenableFuture<T> submit(Callable<T> task); 74 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) 96 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
|
Callables.java | 23 import java.util.concurrent.Callable; 28 * Static utility methods pertaining to the {@link Callable} interface. 37 * Creates a {@code Callable} which immediately returns a preset value each 40 public static <T> Callable<T> returning(final @Nullable T value) { 41 return new Callable<T>() { 49 * Wraps the given callable such that for the duration of {@link Callable#call} the thread that is 53 * @param callable The callable to wrap 55 * for each invocation of the wrapped callable [all...] |
WrappingExecutorService.java | 26 import java.util.concurrent.Callable; 36 * {@linkplain #wrapTask(Callable) wrap} tasks before they are submitted 54 * Wraps a {@code Callable} for submission to the underlying executor. This 58 protected abstract <T> Callable<T> wrapTask(Callable<T> callable); 62 * default implementation delegates to {@link #wrapTask(Callable)}. 65 final Callable<Object> wrapped = wrapTask( 66 Executors.callable(command, null)); 83 private final <T> ImmutableList<Callable<T>> wrapTasks [all...] |
ListenableFutureTask.java | 19 import java.util.concurrent.Callable; 47 * given {@code Callable}. 49 * @param callable the callable task 52 public static <V> ListenableFutureTask<V> create(Callable<V> callable) { 53 return new ListenableFutureTask<V>(callable); 73 ListenableFutureTask(Callable<V> callable) { 74 super(callable); [all...] |
ForwardingListeningExecutorService.java | 19 import java.util.concurrent.Callable; 39 public <T> ListenableFuture<T> submit(Callable<T> task) {
|
TimeLimiter.java | 21 import java.util.concurrent.Callable; 82 * Invokes a specified Callable, timing out after the specified time limit. 91 * @param callable the Callable to execute 98 * @return the result returned by the Callable 104 <T> T callWithTimeout(Callable<T> callable, long timeoutDuration,
|
/external/compiler-rt/lib/lsan/ |
lsan_allocator.h | 30 template<typename Callable> 31 void ForEachChunk(const Callable &callback);
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/perf/ |
ExecuteInstrumentedCodeScenario.java | 14 import java.util.concurrent.Callable; 29 private final Class<? extends Callable<Void>> target; 32 Class<? extends Callable<Void>> target) { 39 protected Callable<Void> getInstrumentedCallable() throws Exception { 47 return (Callable<Void>) loader.add(target, instrumentedBuffer) 52 protected Callable<Void> getReferenceCallable() throws Exception {
|
TimedScenario.java | 14 import java.util.concurrent.Callable; 31 final Callable<Void> refRunnable = getReferenceCallable(); 49 private long getMinimumTime(final Callable<Void> subject) throws Exception { 58 private long getTime(final Callable<Void> subject) throws Exception { 64 protected abstract Callable<Void> getInstrumentedCallable() 67 protected Callable<Void> getReferenceCallable() throws Exception {
|
InstrumentationTimeScenario.java | 14 import java.util.concurrent.Callable; 36 protected Callable<Void> getInstrumentedCallable() throws Exception { 39 return new Callable<Void>() {
|
/external/guava/guava-bootstrap/src/java/util/concurrent/ |
ExecutorService.java | 28 <T> Future<T> submit(Callable<T> task); 34 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) 38 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) 41 <T> T invokeAny(Collection<? extends Callable<T>> tasks) 45 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
ScheduledTrial.java | 17 import java.util.concurrent.Callable; 45 Callable<TrialResult> trialTask() {
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
CallablesTest.java | 25 import java.util.concurrent.Callable; 38 Callable<Object> callable = Callables.returning(value); local 39 assertSame(value, callable.call()); 41 assertSame(value, callable.call()); 47 Callable<Void> callable = new Callable<Void>() { local 53 Callables.threadRenaming(callable, newName).call(); 61 Callable<Void> callable = new Callable<Void>() local 86 Callable<Void> callable = new Callable<Void>() { local [all...] |
/frameworks/base/packages/StatementService/src/com/android/statementservice/ |
ExceptionLoggingFutureTask.java | 21 import java.util.concurrent.Callable; 32 public ExceptionLoggingFutureTask(Callable<V> callable, String tag) { 33 super(callable);
|