Home
last modified time | relevance | path

Searched refs:callable (Results 1 – 25 of 77) sorted by relevance

1234

/external/llvm/include/llvm/ADT/
DSTLExtras.h70 Ret (*callback)(intptr_t callable, Params ...params);
71 intptr_t callable; variable
74 static Ret callback_fn(intptr_t callable, Params ...params) { in callback_fn() argument
75 return (*reinterpret_cast<Callable*>(callable))( in callback_fn()
81 function_ref(Callable &&callable) in function_ref() argument
83 callable(reinterpret_cast<intptr_t>(&callable)) {} in function_ref()
85 return callback(callable, std::forward<Params>(params)...); in operator()
93 Ret (*callback)(intptr_t callable);
94 intptr_t callable; variable
97 static Ret callback_fn(intptr_t callable) { in callback_fn() argument
[all …]
/external/guava/guava/src/com/google/common/util/concurrent/
DListenableFutureTask.java47 public static <V> ListenableFutureTask<V> create(Callable<V> callable) { in create() argument
48 return new ListenableFutureTask<V>(callable); in create()
68 private ListenableFutureTask(Callable<V> callable) { in ListenableFutureTask() argument
69 super(callable); in ListenableFutureTask()
DSimpleTimeLimiter.java100 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()
DFakeTimeLimiter.java43 public <T> T callWithTimeout(Callable<T> callable, long timeoutDuration, in callWithTimeout() argument
45 return callable.call(); // fooled you in callWithTimeout()
DTimeLimiter.java104 <T> T callWithTimeout(Callable<T> callable, long timeoutDuration, in callWithTimeout() argument
DMoreExecutors.java461 Callable<V> callable, long delay, TimeUnit unit) { in schedule() argument
462 return delegate.schedule(callable, delay, unit); in schedule()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DCallablesTest.java34 Callable<Object> callable = Callables.returning(value); in testReturning() local
35 assertSame(value, callable.call()); in testReturning()
37 assertSame(value, callable.call()); in testReturning()
DAbstractListeningExecutorServiceTest.java104 Future future = e.submit(Executors.callable( in testSubmitPrivilegedAction()
127 Future future = e.submit(Executors.callable( in testSubmitPrivilegedExceptionAction()
147 Future future = e.submit(Executors.callable( in testSubmitFailedPrivilegedExceptionAction()
619 l.add(Executors.callable( in testTimedInvokeAll6()
/external/lldb/tools/lldb-perf/lib/
DMeasurement.h31 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/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/
Dwebkitunittest.py41 def _assertRaisesRegexp(self, expected_exception, regex_message, callable, *args): argument
43 callable(*args)
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/
DInstrumentationUtils.java22 Callable<R> callable) throws Throwable { in runOnMainSyncAndGetResult() argument
23 FutureTask<R> task = new FutureTask<R>(callable); in runOnMainSyncAndGetResult()
/external/junit/src/org/junit/rules/
DErrorCollector.java77 public Object checkSucceeds(Callable<Object> callable) { in checkSucceeds() argument
79 return callable.call(); in checkSucceeds()
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
DCriteriaHelper.java73 final Callable<Boolean> callable = new Callable<Boolean>() { in pollForUIThreadCriteria() local
83 return ThreadUtils.runOnUiThreadBlockingNoException(callable); in pollForUIThreadCriteria()
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwTestBase.java75 public <R> R runTestOnUiThreadAndGetResult(Callable<R> callable) in runTestOnUiThreadAndGetResult() argument
77 FutureTask<R> task = new FutureTask<R>(callable); in runTestOnUiThreadAndGetResult()
398 public static void poll(final Callable<Boolean> callable) throws Exception {
403 return callable.call();
415 public void pollOnUiThread(final Callable<Boolean> callable) throws Exception {
419 return runTestOnUiThreadAndGetResult(callable);
/external/chromium_org/tools/telemetry/telemetry/
Ddecorators.py53 if len(args) == 1 and callable(args[0]):
82 assert args and not callable(args[0]), '@Enabled requires argumentas'
/external/lldb/examples/test/
D.lldb-pre-post-flight.bad1 pre_flight = "I am not callable"
Dusage-pre-post-flight6 config: {'pre_flight': 'I am not callable', 'post_flight': <function post_flight at 0x1071871b8>}
7 fatal error: pre_flight is not callable, exiting.
/external/junit/src/org/junit/internal/runners/
DMethodRoadie.java60 Callable<Object> callable= new Callable<Object>() { in runWithTimeout()
66 Future<Object> result= service.submit(callable); in runWithTimeout()
/external/chromium_org/chrome/common/extensions/api/
Dmanifest_types.json5 // The type schemas for structured manifest items. Not actually a callable API.
/external/chromium_org/third_party/simplejson/
Dencoder.py363 if _item_sort_key and not callable(_item_sort_key):
413 if _asdict and callable(_asdict):
505 if _asdict and callable(_asdict):
544 if _asdict and callable(_asdict):
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DProgressDialogTest.java127 Callable<ProgressDialog> callable) throws Exception { in assertLatestDialogsSet() argument
131 dialog = callable.call(); in assertLatestDialogsSet()
/external/chromium_org/extensions/common/api/
Dextensions_manifest_types.json5 // The type schemas for structured manifest items. Not actually a callable API.
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/test/
Dskip.py37 if not callable(attr):
/external/chromium_org/v8/src/
Dexecution.cc120 Handle<Object> callable, in Call() argument
125 if (!callable->IsJSFunction()) { in Call()
127 isolate, callable, TryGetFunctionDelegate(isolate, callable), Object); in Call()
129 Handle<JSFunction> func = Handle<JSFunction>::cast(callable); in Call()
/external/chromium_org/third_party/jinja2/
Dtests.py20 test_callable = callable

1234