/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.completion/ |
done.pass.cpp | 15 // template <class Promise = void> 31 template <class Promise> 32 void do_test(coro::coroutine_handle<Promise> const& H) {
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.completion/ |
done.pass.cpp | 15 // template <class Promise = void> 31 template <class Promise> 32 void do_test(coro::coroutine_handle<Promise> const& H) {
|
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/ |
destroy.pass.cpp | 15 // template <class Promise = void> 41 template <class Promise> 42 void do_test(coro::coroutine_handle<Promise>&& H) { 43 using HType = coro::coroutine_handle<Promise>;
|
resume.pass.cpp | 15 // template <class Promise = void> 54 template <class Promise> 55 void do_test(coro::coroutine_handle<Promise>&& H) { 56 using HType = coro::coroutine_handle<Promise>;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/ |
destroy.pass.cpp | 15 // template <class Promise = void> 41 template <class Promise> 42 void do_test(coro::coroutine_handle<Promise>&& H) { 43 using HType = coro::coroutine_handle<Promise>;
|
resume.pass.cpp | 15 // template <class Promise = void> 54 template <class Promise> 55 void do_test(coro::coroutine_handle<Promise>&& H) { 56 using HType = coro::coroutine_handle<Promise>;
|
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.prom/ |
promise.pass.cpp | 15 // template <class Promise> 16 // struct coroutine_handle<Promise>; 18 // Promise& promise() const 51 assert(&h.promise() == this); 52 assert(&h2.promise() == this); 53 assert(&h3.promise() == this); 64 template <class Promise> 65 void do_test(coro::coroutine_handle<Promise>&& H) { 69 ASSERT_SAME_TYPE(decltype(H.promise()), Promise&) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.prom/ |
promise.pass.cpp | 15 // template <class Promise> 16 // struct coroutine_handle<Promise>; 18 // Promise& promise() const 51 assert(&h.promise() == this); 52 assert(&h2.promise() == this); 53 assert(&h3.promise() == this); 64 template <class Promise> 65 void do_test(coro::coroutine_handle<Promise>&& H) { 69 ASSERT_SAME_TYPE(decltype(H.promise()), Promise&) [all...] |
/external/libmojo/mojo/edk/js/ |
drain_data.h | 22 // and rejecting or resolving the Promise. 30 // Returns a Promise that will be settled when no more data can be read. 46 // all of the buffered data to the JS Promise and then delete this. 55 v8::UniquePersistent<v8::Promise::Resolver> resolver_;
|
drain_data.cc | 32 v8::Handle<v8::Promise::Resolver> resolver( 33 v8::Promise::Resolver::New(isolate_)); 105 // The "settled" value of the promise always includes all of the data 109 v8::Handle<v8::Promise::Resolver> resolver( 110 v8::Local<v8::Promise::Resolver>::New(isolate_, resolver_));
|
/external/v8/src/js/ |
promise.js | 19 var GlobalPromise = global.Promise; 26 // ES#sec-promise.all 27 // Promise.all ( iterable ) 30 throw %make_type_error(kCalledOnNonObject, "Promise.all"); 70 // handled by the combined Promise. 72 SET_PRIVATE(throwawayPromise, promiseHandledBySymbol, deferred.promise); 87 return deferred.promise; 90 // ES#sec-promise.race 91 // Promise.race ( iterable ) 113 // handled by the combined Promise [all...] |
/external/autotest/client/site_tests/video_WebRtcMediaRecorder/ |
mediarecorder_test_utils.js | 9 return new Promise(function(resolve, reject) { 20 return new Promise(function(resolve, reject) {
|
/external/clang/test/SemaCXX/ |
coroutines.cpp | 29 template<typename Promise> struct coro {}; 30 template<typename Promise, typename... Ps> 31 struct std::coroutine_traits<coro<Promise>, Ps...> { 32 using promise_type = Promise; 57 struct promise; // expected-note 2{{forward declaration}} 58 template<typename ...T> struct std::coroutine_traits<void, T...> { using promise_type = promise; }; 63 // expected-error@-2 {{incomplete definition of type 'promise'}} 71 struct promise { struct
|
/external/autotest/client/site_tests/video_WebRtcResolutionSwitching/ |
resolution-switching.js | 50 Promise.all(promises) 63 Promise.all(this.peerConnections.map((pc) => pc.switchToRandomStream()))
|
/prebuilts/tools/common/m2/repository/org/jdeferred/jdeferred-core/1.2.2/ |
jdeferred-core-1.2.2.jar | |
/prebuilts/tools/common/m2/repository/org/jdeferred/jdeferred-core/1.2.3/ |
jdeferred-core-1.2.3.jar | |
/external/autotest/client/common_lib/cros/webrtc_scripts/ |
loopback-peerconnection.js | 42 * @return {!Promise} a Promise that resolves when everything is initalized. 54 return Promise.all(promises).then(() => { 111 * @return {!Promise} A promise that resolved when everything is initialized. 122 return Promise.resolve();
|
/external/autotest/client/site_tests/video_WebRtcMainFeedSwitching/ |
main-feed-switching.js | 53 Promise.all(promises)
|
/external/autotest/client/site_tests/webrtc_PausePlayPeerConnections/ |
pause-play.js | 41 Promise.all(promises)
|
/external/clang/include/clang/AST/ |
StmtCXX.h | 302 Promise, ///< The promise statement. 314 CoroutineBodyStmt(Stmt *Body, Stmt *Promise, Stmt *InitSuspend, 319 SubStmts[CoroutineBodyStmt::Promise] = Promise; 335 Stmt *getPromiseDeclStmt() const { return SubStmts[SubStmt::Promise]; } 370 /// This statament models the initialization of the coroutine promise 376 /// <promise>.return_value(<operand>) 377 /// <promise>.return_void() 378 /// which we name the "promise call" [all...] |
/external/clang/lib/Sema/ |
SemaCoroutine.cpp | 78 auto *Promise = R.getAsSingle<TypeDecl>(); 79 if (!Promise) { 85 // The promise type is required to be a class type. 86 QualType PromiseType = S.Context.getTypeDeclType(Promise); 134 // If we don't have a promise variable, build one now. 144 // Create and default-initialize the promise. 263 assert(Coroutine->CoroutinePromise && "no promise for coroutine"); 265 // Form a reference to the promise. 266 auto *Promise = Coroutine->CoroutinePromise; 268 Promise, Promise->getType().getNonReferenceType(), VK_LValue, Loc) [all...] |
/external/owasp/sanitizer/empiricism/ |
html-containment.js | 255 function Promise() { 256 if (!(this instanceof Promise)) { return new Promise(); } 267 Promise.prototype.toString = function () { return "Promise"; }; 272 if (argument instanceof Promise) {
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/ |
StmtCXX.h | 304 Promise, ///< The promise statement. 328 Stmt *Promise = nullptr; 358 return getStoredStmts()[SubStmt::Promise]; 415 /// This statament models the initialization of the coroutine promise 421 /// <promise>.return_value(<operand>) 422 /// <promise>.return_void() 423 /// which we name the "promise call". 448 /// \brief Retrieve the promise call that results from this 'co_return'
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/AST/ |
StmtCXX.h | 304 Promise, ///< The promise statement. 330 Stmt *Promise = nullptr; 362 return getStoredStmts()[SubStmt::Promise]; 420 /// This statament models the initialization of the coroutine promise 426 /// <promise>.return_value(<operand>) 427 /// <promise>.return_void() 428 /// which we name the "promise call". 453 /// \brief Retrieve the promise call that results from this 'co_return'
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/AST/ |
StmtCXX.h | 304 Promise, ///< The promise statement. 330 Stmt *Promise = nullptr; 362 return getStoredStmts()[SubStmt::Promise]; 420 /// This statament models the initialization of the coroutine promise 426 /// <promise>.return_value(<operand>) 427 /// <promise>.return_void() 428 /// which we name the "promise call". 453 /// \brief Retrieve the promise call that results from this 'co_return'
|