Home
last modified time | relevance | path

Searched refs:pcap (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_async_from_sync_iterator.cpp45 JSHandle<PromiseCapability> pcap = in Next() local
63 RETURN_REJECT_PROMISE_IF_ABRUPT(thread, result, pcap); in Next()
65 return JSAsyncFromSyncIterator::AsyncFromSyncIteratorContinuation(thread, result, pcap); in Next()
81 JSHandle<PromiseCapability> pcap = in Throw() local
90 RETURN_REJECT_PROMISE_IF_ABRUPT(thread, throwString, pcap); in Throw()
96 JSHandle<JSTaggedValue> reject(thread, pcap->GetReject()); in Throw()
100 return pcap->GetPromise(); in Throw()
107 RETURN_REJECT_PROMISE_IF_ABRUPT(thread, throwResult, pcap); in Throw()
112 RETURN_REJECT_PROMISE_IF_ABRUPT(thread, throwResult, pcap); in Throw()
117 RETURN_REJECT_PROMISE_IF_ABRUPT(thread, result, pcap); in Throw()
[all …]
Dbuiltins_async_iterator.cpp50 JSHandle<PromiseCapability> pcap = JSPromise::NewPromiseCapability(thread, promiseFunc); in Return() local
54 JSHandle<JSTaggedValue> resolve(thread, pcap->GetResolve()); in Return()
61 return pcap->GetPromise(); in Return()
/arkcompiler/ets_runtime/ecmascript/
Djs_async_function.cpp46 JSHandle<PromiseCapability> pcap = in AsyncFunctionAwait() local
51 JSHandle<JSTaggedValue> resolve(thread, pcap->GetResolve()); in AsyncFunctionAwait()
83 JSHandle<JSPromise> promise(thread, pcap->GetPromise()); in AsyncFunctionAwait()
Djs_async_generator_object.cpp253 JSHandle<PromiseCapability> pcap = in AsyncGeneratorEnqueue() local
267 JSHandle<JSTaggedValue> reject(thread, pcap->GetReject()); in AsyncGeneratorEnqueue()
278 JSHandle<JSObject> promise(thread, pcap->GetPromise()); in AsyncGeneratorEnqueue()
291 asyncGeneratorRst->SetCapability(thread, pcap); in AsyncGeneratorEnqueue()
305 JSHandle<JSObject> promise(thread, pcap->GetPromise()); in AsyncGeneratorEnqueue()