/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.shared_future/ |
wait_until.pass.cpp | 23 void func1(std::promise<int> p) 31 void func3(std::promise<int&> p) 38 void func5(std::promise<void> p) 49 std::promise<T> p; 65 std::promise<T> p; 81 std::promise<T> p;
|
ctor_future.pass.cpp | 23 std::promise<T> p; 38 std::promise<T> p; 53 std::promise<T> p;
|
move_assign.pass.cpp | 24 std::promise<T> p; 41 std::promise<T> p; 58 std::promise<T> p;
|
move_ctor.pass.cpp | 23 std::promise<T> p; 38 std::promise<T> p; 53 std::promise<T> p;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.unique_future/ |
wait_until.pass.cpp | 23 void func1(std::promise<int> p) 31 void func3(std::promise<int&> p) 38 void func5(std::promise<void> p) 49 std::promise<T> p; 65 std::promise<T> p; 81 std::promise<T> p;
|
move_assign.pass.cpp | 24 std::promise<T> p; 41 std::promise<T> p; 58 std::promise<T> p;
|
move_ctor.pass.cpp | 24 std::promise<T> p; 39 std::promise<T> p; 54 std::promise<T> p;
|
share.pass.cpp | 23 std::promise<T> p; 38 std::promise<T> p; 53 std::promise<T> p;
|
/external/chromium_org/v8/test/webkit/fast/js/ |
Promise-init.js | 26 description('Test Promise construction.'); 31 var promise = new Promise(function(newResolve, newReject) { 37 shouldBeTrue('promise instanceof Promise'); 38 shouldBe('promise.constructor', 'Promise'); 43 shouldThrow('new Promise()', '"TypeError: Promise resolver undefined is not a function"'); 44 shouldThrow('new Promise(37)', '"TypeError: Promise resolver 37 is not a function"') [all...] |
Promise-onFulfilled-deep.js | 30 var promise = new Promise(function (r) { resolve = r; }); 33 promise = promise.then(function (value) { return value + 1; }, function () { testFailed('rejected'); }); 36 promise.then(function (value) {
|
Promise-onRejected-deep.js | 30 var promise = new Promise(function (_, r) { reject = r; }); 33 promise = promise.then(function (value) { testFailed('fulfilled'); throw value + 1; }, function (value) { throw value + 1; }); 36 promise.catch(function (value) {
|
/external/libcxx/test/thread/futures/futures.shared_future/ |
ctor_future.pass.cpp | 23 std::promise<T> p; 38 std::promise<T> p; 53 std::promise<T> p;
|
move_assign.pass.cpp | 24 std::promise<T> p; 41 std::promise<T> p; 58 std::promise<T> p;
|
move_ctor.pass.cpp | 23 std::promise<T> p; 38 std::promise<T> p; 53 std::promise<T> p;
|
/external/libcxx/test/thread/futures/futures.unique_future/ |
move_assign.pass.cpp | 24 std::promise<T> p; 41 std::promise<T> p; 58 std::promise<T> p;
|
move_ctor.pass.cpp | 24 std::promise<T> p; 39 std::promise<T> p; 54 std::promise<T> p;
|
share.pass.cpp | 23 std::promise<T> p; 38 std::promise<T> p; 53 std::promise<T> p;
|
/external/chromium_org/third_party/WebKit/Source/modules/battery/ |
BatteryManager.cpp | 39 return m_resolver->promise(); 42 ScriptPromise promise = m_resolver->promise(); local 45 // FIXME: Consider returning the same promise in this case. See crbug.com/385025. 53 return promise;
|
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
CryptoResultImpl.h | 46 // Wrapper around a Promise to notify completion of the crypto operation. 72 ScriptPromise promise();
|
/external/libcxx/src/ |
future.cpp | 44 return string("The associated promise has been destructed prior " 48 "the promise or packaged_task."); 50 return string("The state of the promise has already been set."); 216 promise<void>::promise() function in class:promise 221 promise<void>::~promise() 234 promise<void>::get_future() 244 promise<void>::set_value() 254 promise<void>::set_exception(exception_ptr __p [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
future.cpp | 46 return string("The associated promise has been destructed prior " 50 "the promise or packaged_task."); 52 return string("The state of the promise has already been set."); 218 promise<void>::promise() function in class:promise 223 promise<void>::~promise() 236 promise<void>::get_future() 246 promise<void>::set_value() 256 promise<void>::set_exception(exception_ptr __p [all...] |
/external/chromium_org/v8/test/mjsunit/es6/ |
promises.js | 56 var whitelist = {Promise: true, TypeError: true} 97 assertThrows(function() { Promise(function() {}) }, TypeError) 101 assertTrue(new Promise(function() {}) instanceof Promise) 105 assertThrows(function() { new Promise(5) }, TypeError) 109 assertDoesNotThrow(function() { new Promise(function() { throw 5 }) }) 113 (new Promise(function() { throw 5 })).chain( 121 Promise.accept(5); 122 Promise.accept(5).chain(undefined, assertUnreachable).chain( 130 Promise.reject(5).chain(assertUnreachable, undefined).chain [all...] |
/external/chromium_org/content/renderer/media/crypto/ |
ppapi_decryptor.cc | 28 // This class is needed so that resolving an Update() promise triggers playback 58 // This class is needed so that resolving a SessionLoaded() promise triggers 164 scoped_ptr<media::SimpleCdmPromise> promise) { 169 promise->reject(INVALID_STATE_ERROR, 0, "CdmDelegate() does not exist."); 174 certificate_data, certificate_data_length, promise.Pass()); 182 scoped_ptr<media::NewSessionCdmPromise> promise) { 187 promise->reject(INVALID_STATE_ERROR, 0, "CdmDelegate() does not exist."); 195 promise.Pass()); 200 scoped_ptr<media::NewSessionCdmPromise> promise) { 205 promise->reject(INVALID_STATE_ERROR, 0, "CdmDelegate() does not exist.") [all...] |
/external/chromium_org/chrome/browser/resources/cryptotoken/ |
textfetcher.js | 22 * @return {!Promise.<string>} A promise for the fetched text. In case of an 23 * error, this promise is rejected with an HTTP status code. 38 * @return {!Promise.<string>} A promise for the fetched text. In case of an 39 * error, this promise is rejected with an HTTP status code. 42 return new Promise(function(resolve, reject) {
|
/external/chromium_org/content/renderer/pepper/ |
content_decryptor_delegate.h | 64 scoped_ptr<media::SimpleCdmPromise> promise); 69 scoped_ptr<media::NewSessionCdmPromise> promise); 71 scoped_ptr<media::NewSessionCdmPromise> promise); 75 scoped_ptr<media::SimpleCdmPromise> promise); 77 scoped_ptr<media::SimpleCdmPromise> promise); 79 scoped_ptr<media::SimpleCdmPromise> promise); 81 scoped_ptr<media::KeyIdsPromise> promise); 141 // so that returning results can be matched to the corresponding promise. 206 // Takes ownership of |promise| and returns an identifier to be passed via 208 uint32_t SavePromise(scoped_ptr<media::CdmPromise> promise); [all...] |