HomeSort by relevance Sort by last modified time
    Searched defs:Future (Results 1 - 25 of 74) 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=())
object_store.py 5 from future import Future
12 '''Gets a |Future| with the value of |key| in the object store, or None
18 '''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)
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])
appengine_url_fetcher.py 12 from future import Future
51 """Fetches a file asynchronously, and returns a Future with the result.
71 return Future(callback=lambda: process_result(rpc.get_result()))
chained_compiled_file_system.py 8 from future import Future
91 return Future(callback=resolve)
chroot_file_system.py 9 from future import Future
future.py 17 '''Creates a Future which returns a list of results from each Future in
20 If any Future raises an error other than those in |except_pass| the returned
21 Future will raise as well.
23 If any Future raises an error in |except_pass| then None will be inserted as
38 return Future(callback=resolve)
42 '''Returns a Future which resolves to the first Future in |futures| that
51 for future in futures:
53 first_future = future
    [all...]
path_canonicalizer.py 8 from future import Future
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...]
rietveld_patcher.py 10 from future import Future
samples_data_source.py 10 from future import All, Future
api_data_source.py 11 from future import Future, All
43 future = self._GetSchemaView(platform, 'events')
44 self._event_byname_futures[platform] = Future(
45 callback=lambda: GetEventByNameFromEvents(future.Get()))
68 return Future(callback=resolve)
84 return Future(callback=resolve)
105 future = self._GetImpl(platform, api)
106 return All([future], except_pass=FileNotFoundError)
api_list_data_source.py 6 from future import Future
caching_rietveld_patcher.py 7 from future import Future
104 return Future(value=cached_value)
manifest_data_source_test.py 10 from future import Future
284 return Future(value=manifest_features)
patched_file_system.py 8 from future import Future
24 return Future(callback=raise_file_not_found)
permissions_data_source.py 10 from future import Future
74 return Future(callback=resolve)
82 return dict(('declare_' + platform, future.Get())
83 for platform, future in permissions_data_futures.iteritems())
84 return Future(callback=resolve)
reference_resolver_test.py 9 from future import Future
268 return Future(value=Namespace(self._apis[name], 'fake/path.json'))
  /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 601 milliseconds

1 2 3