HomeSort by relevance Sort by last modified time
    Searched defs:Future (Results 1 - 25 of 63) sorted by null

1 2 3

  /frameworks/base/libs/hwui/thread/
Future.h 28 class Future: public LightRefBase<Future<T> > {
30 Future(Condition::WakeUpType type = Condition::WAKE_UP_ONE): mBarrier(type), mResult() { }
31 ~Future() { }
34 * Returns the result of this future, blocking if
  /external/chromium_org/chrome/common/extensions/docs/server2/
cache_chain_object_store.py 5 from future import Future
43 return Future(value=cached_items)
50 # Don't realise the Future value of an object store that we don't need to;
75 return Future(callback=resolve)
empty_dir_file_system.py 6 from future import Future
21 return Future(value=result)
24 return Future(value=())
future.py 11 '''Creates a Future which returns a list of results from each Future in
24 return Future(callback=resolve)
27 class Future(object):
object_store.py 5 from future import Future
12 '''Gets a |Future| with the value of |key| in the object store, or None
16 return Future(callback=lambda: multi_get_future.Get().get(key))
19 '''Gets a |Future| with values mapped to |keys| from the object store, with
offline_file_system.py 6 from future import Future
17 if skip_not_found: return Future(value={})
20 return Future(callback=raise_file_not_found)
redirector.py 9 from future import Future
69 return Future(callback=lambda: [f.Get() for f in futures])
test_object_store.py 5 from future import Future
12 is a special case; it is only incremented once the future has had Get called.
32 return Future(callback=callback)
test_patcher.py 5 from future import Future
29 return Future(value=dict((path, self._patch_data[path])
api_list_data_source.py 6 from future import Future
101 return Future(callback=resolve)
appengine_url_fetcher.py 10 from future import Future
39 """Fetches a file asynchronously, and returns a Future with the result.
45 return Future(callback=lambda: rpc.get_result())
chained_compiled_file_system.py 8 from future import Future
90 return Future(callback=resolve)
chroot_file_system.py 9 from future import Future
41 return Future(callback=resolve)
future_test.py 10 from future import Future
15 self.assertRaises(ValueError, Future)
18 future = Future(value=42)
19 self.assertEqual(42, future.Get())
20 self.assertEqual(42, future.Get())
28 future = Future(callback=callback)
29 self.assertEqual(42, future.Get()
    [all...]
path_canonicalizer.py 8 from future import Future
81 return Future(callback=resolve)
persistent_object_store.py 8 from future import Future
26 [future.wait() for future in futures]
34 return dict((key, future.get_result().GetValue())
35 for key, future in db_futures.iteritems()
36 if future.get_result() is not None)
37 return Future(callback=resolve)
47 [future.wait() for future in futures
    [all...]
reference_resolver_test.py 9 from future import Future
252 return Future(value=Namespace(self._apis[name], 'fake/path.json'))
rietveld_patcher.py 10 from future import Future
144 return Future(callback=_GetAsyncFetchCallback(self._issue,
api_models.py 10 from future import Collect, Future
80 for future in futures:
82 return future.Get()
86 return Future(callback=resolve)
caching_rietveld_patcher.py 7 from future import Future
104 return Future(value=cached_value)
fake_url_fetcher.py 8 from future import Future
59 return Future(callback=resolve)
108 return Future(value=self.Fetch(url))
132 future = self._fetcher.FetchAsync(url, **kwargs)
135 return future.Get()
136 return Future(callback=resolve)
manifest_data_source_test.py 10 from future import Future
284 return Future(value=manifest_features)
  /libcore/luni/src/main/java/java/util/concurrent/
Future.java 10 * A {@code Future} represents the result of an asynchronous
19 * If you would like to use a {@code Future} for the sake
21 * declare types of the form {@code Future<?>} and
34 * Future<String> future
41 * displayText(future.get()); // use future
46 * The {@link FutureTask} class is an implementation of {@code Future} that
50 * FutureTask<String> future =
55 * executor.execute(future);}</pre
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
Future.java 19 // This Future differs from the java.util.concurrent.Future in these aspects:
23 // ignore that flag. Regardless whether the Future is cancelled, a return
25 // null if it finds the Future is cancelled.
29 public interface Future<T> {
  /external/clang/test/SemaCXX/
decltype.cpp 20 struct Future {
21 explicit Future(T v);
36 Future<int> f1(42);
37 f1.call([](int){ return Future<float>(0); });

Completed in 557 milliseconds

1 2 3