/external/chromium/chrome/browser/resources/shared/js/cr/ |
promise.js | 6 * @fileoverview This implementes a future promise class. 17 * Creates a future promise. 18 * @param {*=} opt_value The value to set the promise to. If set completes 19 * the promise immediately. 22 function Promise(opt_value) { 34 Promise.prototype = { 43 * The value of the future promise. Accessing this before the promise has 62 * Whether the future promise has been fulfilled. 70 * Adds a listener to the future promise. The function will be called whe [all...] |
promise_test.html | 8 <script src="promise.js"></script> 30 const Promise = cr.Promise; 44 var p = new Promise; 64 var p = new Promise; 85 var p = new Promise; 109 var p = new Promise(V); 124 var p = new Promise; 131 var p = new Promise; 137 var p = new Promise; [all...] |
/external/chromium_org/ui/webui/resources/js/cr/ |
promise.js | 6 * @fileoverview This implementes a future promise class. 18 * Creates a future promise. 19 * @param {*=} opt_value The value to set the promise to. If set completes 20 * the promise immediately. 23 function Promise(opt_value) { 35 Promise.prototype = { 44 * The value of the future promise. Accessing this before the promise has 63 * Whether the future promise has been fulfilled. 71 * Adds a listener to the future promise. The function will be called whe [all...] |
/external/chromium/chrome/browser/resources/bookmark_manager/js/ |
bmm.js | 6 const Promise = cr.Promise; 35 * Loads a subtree of the bookmark tree and returns a {@code cr.Promise} that 38 * @return {!cr.Promise} The future promise for the load. 41 var p = new Promise; 43 loadingPromises[id] = new Promise; 57 * Loads the entire bookmark tree and returns a {@code cr.Promise} that will 60 * @return {!cr.Promise} The future promise for the load [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Promise.idl | 36 EnabledAtRuntime=promise 37 ] interface Promise { 38 [Custom] Promise then(optional AnyCallback fulfillCallback, optional AnyCallback rejectCallback); 39 [Custom] Promise catch(optional AnyCallback rejectCallback); 41 [Custom] static Promise fulfill(any value); 42 [Custom] static Promise resolve(any value); 43 [Custom] static Promise reject(any value); 45 [Custom] static Promise _any(any... values); 46 [Custom] static Promise every(any... values); 47 [Custom] static Promise some(any... values) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.promise/ |
default.pass.cpp | 12 // class promise<R> 14 // promise(); 22 std::promise<int> p; 27 std::promise<int&> p; 32 std::promise<void> p;
|
uses_allocator.pass.cpp | 12 // class promise<R> 15 // struct uses_allocator<promise<R>, Alloc> 23 static_assert((std::uses_allocator<std::promise<int>, test_allocator<int> >::value), ""); 24 static_assert((std::uses_allocator<std::promise<int&>, test_allocator<int> >::value), ""); 25 static_assert((std::uses_allocator<std::promise<void>, test_allocator<void> >::value), "");
|
swap.pass.cpp | 12 // class promise<R> 14 // void swap(promise& other); 16 // template <class R> void swap(promise<R>& x, promise<R>& y); 27 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); 28 std::promise<int> p(std::allocator_arg, test_allocator<int>()); 41 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); 42 std::promise<int> p(std::allocator_arg, test_allocator<int>()); 55 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); 56 std::promise<int> p [all...] |
dtor.pass.cpp | 12 // class promise<R> 14 // ~promise(); 25 std::promise<T> p; 35 std::promise<T> p; 54 std::promise<T> p; 64 std::promise<T> p; 82 std::promise<T> p; 93 std::promise<T> p;
|
set_value_at_thread_exit_const.pass.cpp | 12 // class promise<R> 14 // void promise::set_value_at_thread_exit(const R& r); 19 void func(std::promise<int> p) 28 std::promise<int> p;
|
set_value_at_thread_exit_void.pass.cpp | 12 // class promise<R> 14 // void promise<void>::set_value_at_thread_exit(); 22 void func(std::promise<void> p) 31 std::promise<void> p;
|
get_future.pass.cpp | 12 // class promise<R> 22 std::promise<double> p; 28 std::promise<double> p; 41 std::promise<double> p; 42 std::promise<double> p0 = std::move(p);
|
copy_assign.fail.cpp | 12 // class promise<R> 14 // promise& operator=(const promise& rhs) = delete; 25 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); 26 std::promise<int> p(std::allocator_arg, test_allocator<int>()); 46 std::promise<int&> p0(std::allocator_arg, test_allocator<int>()); 47 std::promise<int&> p(std::allocator_arg, test_allocator<int>()); 67 std::promise<void> p0(std::allocator_arg, test_allocator<void>()); 68 std::promise<void> p(std::allocator_arg, test_allocator<void>());
|
copy_ctor.fail.cpp | 12 // class promise<R> 14 // promise(const promise&) = delete; 25 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); 26 std::promise<int> p(p0); 44 std::promise<int&> p0(std::allocator_arg, test_allocator<int>()); 45 std::promise<int&> p(p0); 63 std::promise<void> p0(std::allocator_arg, test_allocator<void>()); 64 std::promise<void> p(p0);
|
move_assign.pass.cpp | 12 // class promise<R> 14 // promise& operator=(promise&& rhs); 26 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); 27 std::promise<int> p(std::allocator_arg, test_allocator<int>()); 47 std::promise<int&> p0(std::allocator_arg, test_allocator<int>()); 48 std::promise<int&> p(std::allocator_arg, test_allocator<int>()); 68 std::promise<void> p0(std::allocator_arg, test_allocator<void>()); 69 std::promise<void> p(std::allocator_arg, test_allocator<void>());
|
move_ctor.pass.cpp | 12 // class promise<R> 14 // promise(promise&& rhs); 26 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); 27 std::promise<int> p(std::move(p0)); 45 std::promise<int&> p0(std::allocator_arg, test_allocator<int>()); 46 std::promise<int&> p(std::move(p0)); 64 std::promise<void> p0(std::allocator_arg, test_allocator<void>()); 65 std::promise<void> p(std::move(p0));
|
/external/chromium_org/content/test/data/session_history/ |
fragment.html | 10 <a name="c">Last one, I promise.</a>
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/ |
future | 123 class promise; 308 /// Base class for state between a promise and one or more 397 // check this is only used by promise<R>::set_value(const R&) 398 // or promise<R>::set_value(R&) 399 static_assert(is_same<_Res, _Arg&>::value // promise<R&> 400 || is_same<const _Res, _Arg>::value, // promise<R> 403 typename promise<_Res>::_Ptr_type operator()() 409 promise<_Res>* _M_promise; 417 typename promise<_Res>::_Ptr_type operator()() 423 promise<_Res>* _M_promise [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/ |
future | 123 class promise; 308 /// Base class for state between a promise and one or more 397 // check this is only used by promise<R>::set_value(const R&) 398 // or promise<R>::set_value(R&) 399 static_assert(is_same<_Res, _Arg&>::value // promise<R&> 400 || is_same<const _Res, _Arg>::value, // promise<R> 403 typename promise<_Res>::_Ptr_type operator()() 409 promise<_Res>* _M_promise; 417 typename promise<_Res>::_Ptr_type operator()() 423 promise<_Res>* _M_promise [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/ |
future | 122 class promise; 304 /// Base class for state between a promise and one or more 393 // check this is only used by promise<R>::set_value(const R&) 394 // or promise<R>::set_value(R&) 395 static_assert(is_same<_Res, _Arg&>::value // promise<R&> 396 || is_same<const _Res, _Arg>::value, // promise<R> 399 typename promise<_Res>::_Ptr_type operator()() 405 promise<_Res>* _M_promise; 413 typename promise<_Res>::_Ptr_type operator()() 419 promise<_Res>* _M_promise [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ |
future | 123 class promise; 284 /// Base class for state between a promise and one or more 372 // check this is only used by promise<R>::set_value(const R&) 373 // or promise<R>::set_value(R&) 374 static_assert(is_same<_Res, _Arg&>::value // promise<R&> 375 || is_same<const _Res, _Arg>::value, // promise<R> 378 typename promise<_Res>::_Ptr_type operator()() 384 promise<_Res>* _M_promise; 392 typename promise<_Res>::_Ptr_type operator()() 398 promise<_Res>* _M_promise [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ |
future | 123 class promise; 284 /// Base class for state between a promise and one or more 372 // check this is only used by promise<R>::set_value(const R&) 373 // or promise<R>::set_value(R&) 374 static_assert(is_same<_Res, _Arg&>::value // promise<R&> 375 || is_same<const _Res, _Arg>::value, // promise<R> 378 typename promise<_Res>::_Ptr_type operator()() 384 promise<_Res>* _M_promise; 392 typename promise<_Res>::_Ptr_type operator()() 398 promise<_Res>* _M_promise [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/ |
future | 123 class promise; 284 /// Base class for state between a promise and one or more 372 // check this is only used by promise<R>::set_value(const R&) 373 // or promise<R>::set_value(R&) 374 static_assert(is_same<_Res, _Arg&>::value // promise<R&> 375 || is_same<const _Res, _Arg>::value, // promise<R> 378 typename promise<_Res>::_Ptr_type operator()() 384 promise<_Res>* _M_promise; 392 typename promise<_Res>::_Ptr_type operator()() 398 promise<_Res>* _M_promise [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/ |
future | 123 class promise; 284 /// Base class for state between a promise and one or more 372 // check this is only used by promise<R>::set_value(const R&) 373 // or promise<R>::set_value(R&) 374 static_assert(is_same<_Res, _Arg&>::value // promise<R&> 375 || is_same<const _Res, _Arg>::value, // promise<R> 378 typename promise<_Res>::_Ptr_type operator()() 384 promise<_Res>* _M_promise; 392 typename promise<_Res>::_Ptr_type operator()() 398 promise<_Res>* _M_promise [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
future | 59 class promise 62 promise(); 64 promise(allocator_arg_t, const Allocator& a); 65 promise(promise&& rhs) noexcept; 66 promise(const promise& rhs) = delete; 67 ~promise(); 70 promise& operator=(promise&& rhs) noexcept [all...] |