Searched refs:future (Results 26 - 50 of 144) sorted by relevance

123456

/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dtemplate_data_source.py11 from future import Future
H A Dcaching_file_system_test.py86 # the future shouldn't do any additional work.
106 future = file_system.ReadSingle('bob/bob0')
108 self.assertEqual('bob/bob0 contents', future.Get())
121 tuple(future.Get() for future in futures))
137 tuple(future.Get() for future in futures))
152 future = file_system.ReadSingle('bob/bob0')
154 self.assertEqual('bob/bob0 contents', future.Get())
H A Dcompiled_file_system_test.py177 future = compiled_fs.GetFromFile('404.html')
179 future.Get()
182 future = compiled_fs.GetFromFileListing('apps/')
190 future.Get()
199 future = compiled_fs.GetFromFileListing('extensions/')
203 future.Get()
207 future = compiled_fs.GetFromFileListing('/')
211 future.Get()
H A Dapi_models_test.py124 future = self._api_models.GetModel('alarms')
133 future.Get()
138 future = self._api_models.GetModel('alarms')
140 future.Get()
H A Dobject_store.py5 from future import Future
H A Dtest_patcher.py5 from future import Future
H A Dcron_servlet.py17 from future import Gettable, Future
159 future, init_timer = TimerClosure(target.Cron)
160 assert isinstance(future, Future), (
165 future.Get()
221 for future in cron_futures:
222 future.Get()
H A Dfake_url_fetcher.py7 from future import Gettable, Future
118 future = self._fetcher.FetchAsync(url, **kwargs)
121 return future.Get()
H A Dappengine_url_fetcher.py9 from future import Future
H A Dchained_compiled_file_system.py7 from future import Gettable, Future
H A Dchroot_file_system.py9 from future import Gettable, Future
H A Dintro_data_source.py12 from future import Future
H A Dmanifest_data_source_test.py10 from future import Future
H A Dredirector.py9 from future import Gettable, Future
H A Dtest_object_store.py5 from future import Future
12 is a special case; it is only incremented once the future has had Get called.
/external/clang/INPUTS/
H A Dall-std-headers.cpp66 #if __has_include(<future>)
67 #include <future>
/external/guava/guava-testlib/src/com/google/common/testing/
H A DGcFinalization.java110 * Waits until the given future {@linkplain Future#isDone is done}, invoking the garbage
115 public static void awaitDone(Future<?> future) { argument
116 if (future.isDone()) {
123 if (future.isDone()) {
128 future.get(1L, SECONDS);
135 throw new RuntimeException("Unexpected interrupt while waiting for future", ie);
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DAbstractListeningExecutorServiceTest.java61 Future<?> future = e.submit(task);
62 future.get();
71 Future<String> future = e.submit(new StringTask());
72 String result = future.get();
81 Future<?> future = e.submit(new NoOpRunnable());
82 future.get();
83 assertTrue(future.isDone());
91 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING);
92 String result = future.get();
104 Future future
[all...]
/external/guava/guava/src/com/google/common/util/concurrent/
H A DSimpleTimeLimiter.java126 Future<T> future = executor.submit(callable);
130 return future.get(timeoutDuration, timeoutUnit);
132 future.cancel(true);
136 return Uninterruptibles.getUninterruptibly(future,
142 future.cancel(true);
H A DUninterruptibles.java118 * Invokes {@code future.}{@link Future#get() get()} uninterruptibly.
126 public static <V> V getUninterruptibly(Future<V> future) argument
132 return future.get();
146 * {@code future.}{@link Future#get(long, TimeUnit) get(timeout, unit)}
154 Future<V> future, long timeout, TimeUnit unit)
164 return future.get(remainingNanos, NANOSECONDS);
153 getUninterruptibly( Future<V> future, long timeout, TimeUnit unit) argument
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/model/
H A Ddatastorefile.py157 for future in put_futures:
160 key = future.get_result()
185 for key, future in data_futures:
186 result = future.get_result()
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/
H A DAccountManagerHelper.java165 AccountManagerFuture<Bundle> future = mAccountManager.getAuthToken(account,
168 return getAuthTokenInner(future, errorEncountered);
218 private String getAuthTokenInner(AccountManagerFuture<Bundle> future, argument
221 Bundle result = future.getResult();
252 AccountManagerFuture<Bundle> future;
254 future = mAccountManager.getAuthToken(
257 future = mAccountManager.getAuthToken(
260 final AccountManagerFuture<Bundle> finalFuture = future;
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/
H A DJsDocValidator.java44 for (Future<ValidatorContext> future : futures) {
46 ValidatorContext result = future.get();
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
H A DOutputStreamTesterTest.java116 private Future<byte[]> future; field in class:OutputStreamTesterTest.PipedOutputStreamSinkTester
123 future = executor.submit(new Callable<byte[]>() {
140 return future.get();
H A DWriterTesterTest.java105 private Future<char[]> future; field in class:WriterTesterTest.PipedWriterCharSinkTester
112 future = executor.submit(new Callable<char[]>() {
129 return future.get();

Completed in 1104 milliseconds

123456