HomeSort by relevance Sort by last modified time
    Searched defs:Future (Results 26 - 50 of 74) sorted by null

12 3

  /external/chromium_org/chrome/common/extensions/docs/server2/
schema_processor_test.py 10 from future import Future
25 return Future(value={})
sidenav_data_source.py 12 from future import Future
whats_new_data_source.py 11 from future import Future
87 return Future(callback=resolve)
api_models_test.py 18 from future import Future
136 future = self._api_models.GetModel('alarms')
145 future.Get()
151 future = self._api_models.GetModel('alarms')
154 future.Get()
caching_file_system.py 9 from future import All, Future
61 return Future(callback=lambda: make_stat_info(dir_stat))
90 # been cached in which case their Future will already have been constructed
106 stat_future = Future(value=stat_value)
126 return Future(value=up_to_date_data)
content_providers.py 13 from future import Future
128 # TODO(rockot): Remove this in a future patch. It should not be needed once
192 future = safe(path,
195 if future is None:
196 return Future(callback=lambda: True)
197 return Future(callback=lambda: safe(path, 'resolving', future.Get))
fake_url_fetcher.py 8 from future import Future
59 return Future(callback=resolve)
108 return Future(value=self.Fetch(url))
file_system.py 8 from future import Future
26 return Future(callback=boom)
92 guaranteed to only happen once the Future has been resolved (Get()
100 '''Reads a single file from the FileSystem. Returns a Future with the same
106 return Future(callback=lambda: read_single.Get().get(path, None))
109 '''Returns a Future to the existence of |path|; True if |path| exists,
119 return Future(value=True)
131 future to its completion.
152 '''An async version of Stat. Returns a Future to a StatInfo rather than
    [all...]
gcs_file_system.py 11 from future import Future
99 return Future(callback=resolve)
102 return Future(value=())
gitiles_file_system_test.py 12 from future import Future
76 return Future(callback=resolve)
local_file_system.py 10 from future import Future
96 return Future(exc_info=sys.exc_info())
98 return Future(callback=resolve)
101 return Future(value=())
manifest_data_source.py 9 from future import Future
121 return Future(callback=resolve)
127 return dict((platform, future.Get())
128 for platform, future in manifest_data_futures.iteritems())
129 return Future(callback=resolve)
mock_file_system.py 8 from future import Future
89 return Future(value=self._stat_tracker.GetVersion(''))
92 return Future(value=self._stat_tracker.GetVersion('') - 1)
platform_bundle.py 11 from future import All
15 from future import Future
89 Future(callback=lambda: self.GetReferenceResolver(platform)),
90 Future(callback=lambda: self.GetAPIModels(platform)),
91 Future(callback=lambda: self.GetFeaturesBundle(platform)),
114 Future(callback=lambda: self.GetReferenceResolver(platform)),
115 Future(callback=lambda: self.GetAPIModels(platform)),
116 Future(callback=lambda: self.GetFeaturesBundle(platform)),
render_refresher.py 11 from future import Future
97 return Future(callback=lambda: False)
subversion_file_system.py 15 from future import Future
137 # A list of tuples of the form (path, Future).
143 for path, future in fetches:
145 result = future.Get()
165 return Future(callback=resolve)
168 return Future(value=())
202 return Future(callback=resolve)
test_file_system.py 6 from future import Future
123 return Future(value=dict((k, v) for k, v in self._path_values.iteritems()
127 return Future(value=())
api_models.py 11 from future import All, Future, Race
67 self._schema_processor = Future(callback=lambda:
172 return Future(callback=resolve)
compiled_file_system.py 9 from future import Future
160 return Future(value=None)
167 '''Returns a Future containing the recursive directory listing of |path| as
183 # asynchronous Future contract) because there's a greater chance to
189 return Future(exc_info=sys.exc_info())
192 return Future(value=first_layer_files)
229 return Future(exc_info=sys.exc_info())
233 return Future(value=cache_entry.cache_data)
252 return Future(exc_info=sys.exc_info()
    [all...]
content_provider.py 13 from future import All, Future
131 '''Returns a Future to the ContentAndType of the file at |path|.
143 '''Returns a Future to the version of the file at |path|.
164 return Future(value=path)
features_bundle.py 12 from future import All, Future
217 [Future(value=features_json)] + json_path_futures)
255 return Future(value={})
313 return Future(value=features)
329 futures.append(Future(value={'resolved': dependency_features}))
future_test.py 10 from future import All, Future, Race
16 self.assertRaises(ValueError, Future)
19 future = Future(value=42)
20 self.assertEqual(42, future.Get())
21 self.assertEqual(42, future.Get())
29 future = Future(callback=callback)
30 self.assertEqual(42, future.Get()
    [all...]
github_file_system.py 15 from future import Future
100 self._zip_file = Future(value=None)
104 self._zip_file = Future(value=ZipFile(StringIO(blob)))
108 self._zip_file = Future(value=None)
110 self._zip_file = Future(
159 return Future(value=result)
gitiles_file_system.py 22 from future import All, Future
88 '''Returns a future to cleanly resolve |fetch_future|.
143 # A list of tuples of the form (path, Future).
157 return All(self._ResolveFetchContent(path, future, skip_not_found)
158 for path, future in fetches).Then(parse_contents)
161 return Future(value=())
201 '''Returns a future that resolves to the commit ID for this branch.
206 '''Returns a future that resolves to the previous commit ID for this branch.
new_github_file_system.py 17 from future import Future
144 will be set to a Future of _GithubZipFile and the fetch process started,
154 '''Returns a Future which resolves to the _GithubZipFile for this repo
172 return Future(value=repo_zip)
175 '''Returns a Future which resolves to the _GithubZipFile for this repo

Completed in 1175 milliseconds

12 3