/external/libcxx/test/std/thread/futures/futures.shared_future/ |
wait_until.pass.cpp | 39 void func1(std::promise<int> p) 48 void func3(std::promise<int&> p) 56 void func5(std::promise<void> p) 68 std::promise<T> p; 89 std::promise<T> p; 110 std::promise<T> p;
|
ctor_future.pass.cpp | 25 std::promise<T> p; 40 std::promise<T> p; 55 std::promise<T> p;
|
move_assign.pass.cpp | 26 std::promise<T> p; 43 std::promise<T> p; 60 std::promise<T> p;
|
move_ctor.pass.cpp | 25 std::promise<T> p; 40 std::promise<T> p; 55 std::promise<T> p;
|
/external/libcxx/test/std/thread/futures/futures.unique_future/ |
wait_until.pass.cpp | 39 void func1(std::promise<int> p) 48 void func3(std::promise<int&> p) 56 void func5(std::promise<void> p) 68 std::promise<T> p; 89 std::promise<T> p; 110 std::promise<T> p;
|
move_assign.pass.cpp | 26 std::promise<T> p; 43 std::promise<T> p; 60 std::promise<T> p;
|
move_ctor.pass.cpp | 26 std::promise<T> p; 41 std::promise<T> p; 56 std::promise<T> p;
|
share.pass.cpp | 25 std::promise<T> p; 40 std::promise<T> p; 55 std::promise<T> p;
|
/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/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) {
|
/external/libcxx/src/ |
future.cpp | 48 return string("The associated promise has been destructed prior " 52 "the promise or packaged_task."); 54 return string("The state of the promise has already been set."); 215 promise<void>::promise() function in class:promise 220 promise<void>::~promise() 233 promise<void>::get_future() 243 promise<void>::set_value() 253 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/v8/test/mjsunit/es6/debug-promises/ |
reject-uncaught-all.js | 5 // Flags: --expose-debug-as debug --allow-natives-syntax --promise-extra 8 // there is a catch handler for the to-be-rejected Promise. 9 // We expect an Exception debug event with a promise to be triggered. 16 var p = new Promise(function(resolve, reject) { 24 return Promise.reject(new Error("uncaught reject")); 33 assertTrue(event_data.promise() instanceof Promise); 34 assertSame(q, event_data.promise());
|
reject-uncaught-uncaught.js | 5 // Flags: --expose-debug-as debug --allow-natives-syntax --promise-extra 8 // there is no catch handler for the to-be-rejected Promise. 9 // We expect an Exception debug event with a promise to be triggered. 16 var p = new Promise(function(resolve, reject) { 24 return Promise.reject(Error("uncaught reject")); // event 33 assertTrue(event_data.promise() instanceof Promise); 34 assertSame(q, event_data.promise());
|
throw-uncaught-all.js | 5 // Flags: --expose-debug-as debug --allow-natives-syntax --promise-extra 8 // there is no catch handler for the exception thrown in a Promise. 9 // We expect an Exception debug event with a promise to be triggered. 16 var p = new Promise(function(resolve, reject) { 34 assertTrue(event_data.promise() instanceof Promise); 35 assertSame(q, event_data.promise());
|
throw-uncaught-uncaught.js | 5 // Flags: --expose-debug-as debug --allow-natives-syntax --promise-extra 8 // there is a catch handler for the exception thrown in a Promise. 9 // We expect an Exception debug event with a promise to be triggered. 16 var p = new Promise(function(resolve, reject) { 34 assertTrue(event_data.promise() instanceof Promise); 35 assertSame(q, event_data.promise());
|
throw-with-throw-in-reject.js | 5 // Flags: --expose-debug-as debug --allow-natives-syntax --promise-extra 7 // Test debug events when an exception is thrown inside a Promise, which is 8 // caught by a custom promise, which throws a new exception in its reject 10 // 1) when the exception is thrown in the promise q. 18 var p = new Promise(function(resolve, reject) { 33 MyPromise.prototype = new Promise(function() {}); 34 MyPromise.__proto__ = Promise; 57 assertSame(q, event_data.promise());
|