HomeSort by relevance Sort by last modified time
    Searched full:callable (Results 1 - 25 of 1787) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/v8/src/
code-factory.cc 15 Callable CodeFactory::LoadIC(Isolate* isolate) {
18 return Callable(stub.GetCode(), LoadDescriptor(isolate));
21 return Callable(stub.GetCode(), LoadDescriptor(isolate));
25 Callable CodeFactory::ApiGetter(Isolate* isolate) {
27 return Callable(stub.GetCode(), ApiGetterDescriptor(isolate));
31 Callable CodeFactory::LoadICInOptimizedCode(Isolate* isolate) {
33 return Callable(code, LoadWithVectorDescriptor(isolate));
37 Callable CodeFactory::LoadGlobalIC(Isolate* isolate, TypeofMode typeof_mode) {
39 return Callable(stub.GetCode(), LoadGlobalDescriptor(isolate));
43 Callable CodeFactory::LoadGlobalICInOptimizedCode(Isolate* isolate
    [all...]
code-factory.h 18 class Callable final BASE_EMBEDDED {
20 Callable(Handle<Code> code, CallInterfaceDescriptor descriptor)
35 static Callable LoadIC(Isolate* isolate);
36 static Callable LoadICInOptimizedCode(Isolate* isolate);
37 static Callable LoadGlobalIC(Isolate* isolate, TypeofMode typeof_mode);
38 static Callable LoadGlobalICInOptimizedCode(Isolate* isolate,
40 static Callable KeyedLoadIC(Isolate* isolate);
41 static Callable KeyedLoadICInOptimizedCode(Isolate* isolate);
42 static Callable CallIC(Isolate* isolate, int argc,
45 static Callable CallICInOptimizedCode
    [all...]
  /external/v8/test/message/
instanceof-noncallable.out 1 *%(basename)s:30: TypeError: Right-hand side of 'instanceof' is not callable
4 TypeError: Right-hand side of 'instanceof' is not callable
  /frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/
BrNameUtil.java 19 import android.databinding.tool.reflection.Callable;
43 public static String brKey(Callable callable) {
44 if (callable.type == Callable.Type.FIELD) {
45 return stripPrefixFromField(callable.name);
48 final String name = callable.name;
49 if (isGetter(callable) || isSetter(callable)) {
51 } else if (isBooleanGetter(callable)) {
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/fixes/
fix_callable.py 4 """Fixer for callable().
6 This converts callable(obj) into isinstance(obj, collections.Callable), adding a
18 # Ignore callable(*args) or use of keywords.
19 # Either could be a hint that the builtin callable() is not being used.
21 power< 'callable'
36 args.extend(Attr(Name(u'collections'), Name(u'Callable')))
  /prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/fixes/
fix_callable.py 4 """Fixer for callable().
6 This converts callable(obj) into isinstance(obj, collections.Callable), adding a
18 # Ignore callable(*args) or use of keywords.
19 # Either could be a hint that the builtin callable() is not being used.
21 power< 'callable'
36 args.extend(Attr(Name(u'collections'), Name(u'Callable')))
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_callable.py 4 """Fixer for callable().
6 This converts callable(obj) into isinstance(obj, collections.Callable), adding a
18 # Ignore callable(*args) or use of keywords.
19 # Either could be a hint that the builtin callable() is not being used.
21 power< 'callable'
36 args.extend(Attr(Name(u'collections'), Name(u'Callable')))
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_callable.py 4 """Fixer for callable().
6 This converts callable(obj) into isinstance(obj, collections.Callable), adding a
18 # Ignore callable(*args) or use of keywords.
19 # Either could be a hint that the builtin callable() is not being used.
21 power< 'callable'
36 args.extend(Attr(Name(u'collections'), Name(u'Callable')))
  /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...]
WrappingScheduledExecutorServiceTest.java 23 import java.util.concurrent.Callable;
51 testExecutor.schedule(Executors.callable(DO_NOTHING), 5, TimeUnit.SECONDS);
65 private static final class WrappedCallable<T> implements Callable<T> {
66 private final Callable<T> delegate;
68 public WrappedCallable(Callable<T> delegate) {
97 protected <T> Callable<T> wrapTask(Callable<T> callable) {
98 return new WrappedCallable<T>(callable);
134 Callable<V> callable, long delay, TimeUnit unit)
    [all...]
  /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...]
  /external/v8/test/mjsunit/es6/
classof-proxy.js 16 var callable = new Proxy(function(){}.__proto__, {});
20 assertTrue(test_function(callable));
26 assertTrue(test_function(callable));
  /external/guava/guava/src/com/google/common/util/concurrent/
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...]
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...]
AbstractListeningExecutorService.java 22 import java.util.concurrent.Callable;
28 * {@link ListenableFutureTask} instances for each {@link Runnable} and {@link Callable} submitted
45 @Override protected final <T> ListenableFutureTask<T> newTaskFor(Callable<T> callable) {
46 return ListenableFutureTask.create(callable);
57 @Override public <T> ListenableFuture<T> submit(Callable<T> task) {
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...]
  /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/testng/src/main/java/org/testng/internal/
PoolService.java 7 import java.util.concurrent.Callable;
40 public List<FutureType> submitTasksAndWait(List<? extends Callable<FutureType>> tasks) {
43 for (Callable<FutureType> callable : tasks) {
44 m_completionService.submit(callable);
  /libcore/jsr166-tests/src/test/java/jsr166/
AbstractExecutorServiceTest.java 20 import java.util.concurrent.Callable;
82 * Completed submit(callable) returns result
118 Future future = e.submit(Executors.callable(new PrivilegedAction() {
139 Future future = e.submit(Executors.callable(new PrivilegedExceptionAction() {
157 Future future = e.submit(Executors.callable(new PrivilegedExceptionAction() {
184 * submit(null callable) throws NPE
189 e.submit((Callable) null);
195 * submit(callable).get() throws InterruptedException if interrupted
200 final Callable<Void> awaiter = new CheckedCallable<Void>() {
223 * get of submit(callable) throws ExecutionException if callabl
    [all...]
  /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 {
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/
RobolectricBackgroundExecutorService.java 7 import java.util.concurrent.Callable;
42 public <T> Future<T> submit(Callable<T> tCallable) {
68 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> callables) throws InterruptedException {
73 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> callables, long l, TimeUnit timeUnit) throws InterruptedException {
78 public <T> T invokeAny(Collection<? extends Callable<T>> callables) throws InterruptedException, ExecutionException {
83 public <T> T invokeAny(Collection<? extends Callable<T>> callables, long l, TimeUnit timeUnit) throws InterruptedException, ExecutionException, TimeoutException {
  /external/guice/extensions/servlet/src/com/google/inject/servlet/
ServletScopes.java 32 import java.util.concurrent.Callable;
183 * Wraps the given callable in a contextual callable that "continues" the
199 * <p>The returned callable will throw a {@link ScopingException} when called
202 * @param callable code to be executed in another thread, which depends on
207 * @return a callable that will invoke the given callable, making the request
214 public static <T> Callable<T> continueRequest(final Callable<T> callable,
    [all...]
  /external/v8/src/compiler/
js-generic-lowering.cc 62 Callable callable = CodeFactory::Name(isolate()); \
63 ReplaceWithStubCall(node, callable, flags); \
91 void JSGenericLowering::ReplaceWithStubCall(Node* node, Callable callable,
93 ReplaceWithStubCall(node, callable, flags, node->op()->properties());
96 void JSGenericLowering::ReplaceWithStubCall(Node* node, Callable callable,
100 isolate(), zone(), callable.descriptor(), 0, flags, properties);
101 Node* stub_code = jsgraph()->HeapConstant(callable.code())
125 Callable callable = CodeFactory::StrictEqual(isolate()); local
132 Callable callable = CodeFactory::StrictNotEqual(isolate()); local
139 Callable callable = CodeFactory::ToBoolean(isolate()); local
146 Callable callable = CodeFactory::Typeof(isolate()); local
159 Callable callable = CodeFactory::KeyedLoadICInOptimizedCode(isolate()); local
183 Callable callable = CodeFactory::LoadICInOptimizedCode(isolate()); local
208 Callable callable = local
234 Callable callable = local
259 Callable callable = local
286 Callable callable = local
327 Callable callable = CodeFactory::InstanceOf(isolate()); local
372 Callable callable = CodeFactory::FastNewObject(isolate()); local
469 Callable callable = CodeFactory::FastNewClosure( local
486 Callable callable = CodeFactory::FastNewContext(isolate(), slot_count); local
509 Callable callable = CodeFactory::FastCloneShallowArray(isolate()); local
529 Callable callable = local
541 Callable callable = CodeFactory::FastCloneRegExp(isolate()); local
577 Callable callable = CodeFactory::Construct(isolate()); local
597 Callable callable = CodeFactory::Call(isolate(), mode); local
    [all...]
  /external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
FuturesCombineBenchmark.java 26 import java.util.concurrent.Callable;
39 @Override <V> ListenableFuture<V> combine(final Callable<V> combiner, Executor executor,
59 <V> ListenableFuture<V> combine(Callable<V> combiner, final Executor executor,
66 Callable<V> combiner, Executor executor,
86 Callable<Integer> callable = Callables.returning(12);
89 sum += impl.combine(callable, INLINE_EXECUTOR, futures).get();
101 Callable<Integer> callable = Callables.returning(12);
104 sum += impl.combine(callable, INLINE_EXECUTOR, futures).get()
    [all...]

Completed in 2135 milliseconds

1 2 3 4 5 6 7 8 91011>>