/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | CallablesTest.java | 38 Callable<Object> callable = Callables.returning(value); in testReturning() local 39 assertSame(value, callable.call()); in testReturning() 41 assertSame(value, callable.call()); in testReturning() 47 Callable<Void> callable = new Callable<Void>() { in testRenaming() local 53 Callables.threadRenaming(callable, newName).call(); in testRenaming() 61 Callable<Void> callable = new Callable<Void>() { in testRenaming_exceptionalReturn() local 68 Callables.threadRenaming(callable, newName).call(); in testRenaming_exceptionalReturn() 86 Callable<Void> callable = new Callable<Void>() { in testRenaming_noPermissions() local 92 Callables.threadRenaming(callable, newName).call(); in testRenaming_noPermissions()
|
D | WrappingScheduledExecutorServiceTest.java | 51 testExecutor.schedule(Executors.callable(DO_NOTHING), 5, TimeUnit.SECONDS); in testSchedule() 97 protected <T> Callable<T> wrapTask(Callable<T> callable) { in wrapTask() argument 98 return new WrappedCallable<T>(callable); in wrapTask() 134 Callable<V> callable, long delay, TimeUnit unit) { in schedule() argument 135 assertTrue(callable instanceof WrappedCallable); in schedule()
|
/external/v8/src/compiler/ |
D | js-generic-lowering.cc | 145 Callable callable = CodeFactory::CompareIC(isolate(), token); in ReplaceWithCompareIC() local 148 callable.descriptor(), 0, in ReplaceWithCompareIC() 152 inputs.push_back(CodeConstant(callable.code())); in ReplaceWithCompareIC() 186 void JSGenericLowering::ReplaceWithStubCall(Node* node, Callable callable, in ReplaceWithStubCall() argument 189 callable.descriptor(), 0, flags | FlagsForNode(node)); in ReplaceWithStubCall() 190 Node* stub_code = CodeConstant(callable.code()); in ReplaceWithStubCall() 199 Callable callable = in ReplaceWithBuiltinCall() local 202 linkage()->GetStubCallDescriptor(callable.descriptor(), nargs); in ReplaceWithBuiltinCall() 207 Node* stub_code = CodeConstant(callable.code()); in ReplaceWithBuiltinCall() 248 Callable callable = CodeFactory::ToBoolean( in LowerJSUnaryNot() local [all …]
|
D | raw-machine-assembler.cc | 87 Callable callable = CodeFactory::CallFunction(isolate(), 0, flags); in CallFunctionStub0() local 89 callable.descriptor(), 1, CallDescriptor::kNeedsFrameState, zone()); in CallFunctionStub0() 90 Node* stub_code = HeapConstant(callable.code()); in CallFunctionStub0()
|
/external/jmonkeyengine/engine/src/core/com/jme3/app/ |
D | AppTask.java | 51 private final Callable<V> callable; field in AppTask 65 public AppTask(Callable<V> callable) { in AppTask() argument 66 this.callable = callable; in AppTask() 137 return callable; in getCallable() 142 final V tmpResult = callable.call(); in invoke()
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | ListenableFutureTask.java | 52 public static <V> ListenableFutureTask<V> create(Callable<V> callable) { in create() argument 53 return new ListenableFutureTask<V>(callable); in create() 73 ListenableFutureTask(Callable<V> callable) { in ListenableFutureTask() argument 74 super(callable); in ListenableFutureTask()
|
D | SimpleTimeLimiter.java | 100 Callable<Object> callable = new Callable<Object>() { in newProxy() 111 return callWithTimeout(callable, timeoutDuration, timeoutUnit, in newProxy() 120 public <T> T callWithTimeout(Callable<T> callable, long timeoutDuration, in callWithTimeout() argument 122 checkNotNull(callable); in callWithTimeout() 126 Future<T> future = executor.submit(callable); in callWithTimeout()
|
D | Callables.java | 57 static <T> Callable<T> threadRenaming(final Callable<T> callable, 60 checkNotNull(callable); 67 return callable.call();
|
D | FakeTimeLimiter.java | 48 public <T> T callWithTimeout(Callable<T> callable, long timeoutDuration, in callWithTimeout() argument 51 return callable.call(); // fooled you in callWithTimeout()
|
D | MoreExecutors.java | 509 Callable<V> callable, long delay, TimeUnit unit) { in schedule() argument 510 ListenableFutureTask<V> task = ListenableFutureTask.create(callable); in schedule() 809 @Override protected <T> Callable<T> wrapTask(Callable<T> callable) { 810 return Callables.threadRenaming(callable, nameSupplier); 839 @Override protected <T> Callable<T> wrapTask(Callable<T> callable) { 840 return Callables.threadRenaming(callable, nameSupplier);
|
D | WrappingExecutorService.java | 58 protected abstract <T> Callable<T> wrapTask(Callable<T> callable); in wrapTask() argument 66 Executors.callable(command, null)); in wrapTask()
|
/external/lldb/tools/lldb-perf/lib/ |
D | Measurement.h | 31 Measurement (Callable callable, const char* name, const char* desc) : in Measurement() argument 33 m_callable (callable), in Measurement() 148 TimeMeasurement (Callable callable, 151 Measurement<TimeGauge,Callable> (callable, name, descr) 183 MemoryMeasurement (Callable callable, in MemoryMeasurement() argument 186 Measurement<MemoryGauge,Callable> (callable, name, descr) in MemoryMeasurement()
|
/external/llvm/include/llvm/ADT/ |
D | STLExtras.h | 69 Ret (*callback)(intptr_t callable, Params ...params); 70 intptr_t callable; variable 73 static Ret callback_fn(intptr_t callable, Params ...params) { in callback_fn() argument 74 return (*reinterpret_cast<Callable*>(callable))( in callback_fn() 80 function_ref(Callable &&callable, 85 callable(reinterpret_cast<intptr_t>(&callable)) {} in callback() 87 return callback(callable, std::forward<Params>(params)...); in operator()
|
/external/droiddriver/src/io/appium/droiddriver/util/ |
D | InstrumentationUtils.java | 147 public static <V> V runOnMainSyncWithTimeout(Callable<V> callable) { in runOnMainSyncWithTimeout() argument 149 final RunOnMainSyncFutureTask<V> futureTask = new RunOnMainSyncFutureTask<>(callable); in runOnMainSyncWithTimeout() 176 public RunOnMainSyncFutureTask(Callable<V> callable) { in RunOnMainSyncFutureTask() argument 177 super(callable); in RunOnMainSyncFutureTask()
|
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/ |
D | SameThreadScheduledExecutorService.java | 142 return schedule(java.util.concurrent.Executors.callable(command), in schedule() 176 public <V> ListenableScheduledFuture<V> schedule(final Callable<V> callable, in schedule() argument 178 Preconditions.checkNotNull(callable, "callable must not be null!"); in schedule() 180 ListenableFuture<V> delegateFuture = submit(callable); in schedule()
|
/external/junit/src/org/junit/rules/ |
D | ErrorCollector.java | 77 public Object checkSucceeds(Callable<Object> callable) { in checkSucceeds() argument 79 return callable.call(); in checkSucceeds()
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/ |
D | UpdateControl.java | 64 public <V> Future<V> enqueue(Callable<V> callable) { in enqueue() argument 65 AppTask<V> task = new AppTask<V>(callable); in enqueue()
|
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/ |
D | util.py | 25 if __html__ is not None and callable(__html__): 29 if __unicode__ is not None and callable(__unicode__):
|
/external/v8/test/fuzz-natives/ |
D | fuzz-natives.status | 17 # Implemented in the parser, not callable. 34 # TODO(danno): Fix these internal function that are only callable form stubs
|
/external/chromium-trace/trace-viewer/third_party/six/ |
D | test_six.py | 438 assert six.callable(X) 439 assert six.callable(X()) 440 assert six.callable(test_callable) 441 assert six.callable(hasattr) 442 assert six.callable(X.method) 443 assert six.callable(X().method) 444 assert not six.callable(4) 445 assert not six.callable("string")
|
/external/junit/src/org/junit/internal/runners/ |
D | MethodRoadie.java | 60 Callable<Object> callable= new Callable<Object>() { in runWithTimeout() 66 Future<Object> result= service.submit(callable); in runWithTimeout()
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
D | FakeTickerTest.java | 148 private void runConcurrentTest(int numberOfThreads, final Callable<Void> callable) in runConcurrentTest() argument 159 callable.call(); in runConcurrentTest()
|
/external/lldb/examples/test/ |
D | .lldb-pre-post-flight.bad | 1 pre_flight = "I am not callable"
|
D | usage-pre-post-flight | 6 config: {'pre_flight': 'I am not callable', 'post_flight': <function post_flight at 0x1071871b8>} 7 fatal error: pre_flight is not callable, exiting.
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | ProgressDialogTest.java | 127 Callable<ProgressDialog> callable) throws Exception { in assertLatestDialogsSet() argument 131 dialog = callable.call(); in assertLatestDialogsSet()
|