Home
last modified time | relevance | path

Searched full:done (Results 1 – 25 of 133) sorted by relevance

123456

/arkcompiler/ets_runtime/ecmascript/
Djs_async_from_sync_iterator.cpp49 …torRecord be the Record {[[Iterator]]: asyncIterator, [[NextMethod]]: nextMethod, [[Done]]: false}. in CreateAsyncFromSyncIterator()
59 // 1.Let done be IteratorComplete(result). in AsyncFromSyncIteratorContinuation()
60 bool done = JSIterator::IteratorComplete(thread, result); in AsyncFromSyncIteratorContinuation() local
61 // 2.IfAbruptRejectPromise(done, promiseCapability). in AsyncFromSyncIteratorContinuation()
62 JSHandle<JSTaggedValue> tmpDone(thread, JSTaggedValue(done)); in AsyncFromSyncIteratorContinuation()
81 // 9.Let onFulfilled be ! CreateBuiltinFunction(steps, length, "", « [[Done]] »). in AsyncFromSyncIteratorContinuation()
83 // 10.Set onFulfilled.[[Done]] to done. in AsyncFromSyncIteratorContinuation()
85 onFulfilled->SetDone(thread, JSTaggedValue(done)); in AsyncFromSyncIteratorContinuation()
102 // 2.Return ! CreateIterResultObject(value, F.[[Done]]). in AsyncFromSyncIterUnwarpFunction()
104 bool done = unwarpFunction->GetDone().ToBoolean(); in AsyncFromSyncIterUnwarpFunction() local
[all …]
Djs_iterator.cpp196 // Return ToBoolean(Get(iterResult, "done")). in IteratorComplete()
198 … JSHandle<JSTaggedValue> done = JSTaggedValue::GetProperty(thread, iterResult, doneStr).GetValue(); in IteratorComplete() local
200 return done->ToBoolean(); in IteratorComplete()
218 // 3.Let done be IteratorComplete(result). in IteratorStep()
219 bool done = IteratorComplete(thread, result); in IteratorStep() local
220 // 4.ReturnIfAbrupt(done). in IteratorStep()
221 JSHandle<JSTaggedValue> doneHandle(thread, JSTaggedValue(done)); in IteratorStep()
223 // 5.If done is true, return false. in IteratorStep()
224 if (done) { in IteratorStep()
293 …Iterator::CreateIterResultObject(JSThread *thread, const JSHandle<JSTaggedValue> &value, bool done) in CreateIterResultObject() argument
[all …]
Djs_iterator.h41 FIRST_BIT_FIELD(BitField, Done, bool, DONE_BITS)
80 …SObject> CreateIterResultObject(JSThread *thread, const JSHandle<JSTaggedValue> &value, bool done);
Djs_regexp_iterator.cpp45 // 4. If O.[[Done]] is true, then in Next()
66 // a. Set O.[[Done]] to true. in Next()
101 // i. Set O.[[Done]] to true. in Next()
/arkcompiler/ets_frontend/ts2panda/tests/statements/
DforOf.test.ts55 let done = new VReg(); variable
75 new Sta(done),
79 new Sta(done),
86 new Ldobjbyname(new Imm(5), "done"),
94 new Sta(done),
104 new Lda(done),
138 let done = new VReg(); variable
160 new Sta(done),
164 new Sta(done),
171 new Ldobjbyname(new Imm(5), "done"),
[all …]
/arkcompiler/ets_runtime/test/moduletest/generator/
Dgenerator.js44 print(a.value, a.done)
46 print(b.value, b.done)
48 print(c.value, c.done)
50 print(d.value, d.done)
/arkcompiler/ets_runtime/test/moduletest/yieldstar/
Dyieldstar.js33 print(a.value, a.done)
35 print(b.value, b.done)
37 print(c.value, c.done)
/arkcompiler/runtime_core/platforms/unix/libpandabase/futex/
Dmutex.h145 bool done = false; in ReadLock() local
146 while (!done) { in ReadLock()
151done = state_.compare_exchange_weak(cur_state, new_state, std::memory_order_acquire); in ReadLock()
178 bool done = false; in ReadUnlock() local
181 while (!done) { in ReadUnlock()
184 // waiters_ load should not be reordered before state_, so it's done with seq cst. in ReadUnlock()
188done = state_.compare_exchange_weak(cur_state, new_state, std::memory_order_seq_cst); in ReadUnlock()
189 if (done && new_state == UNLOCKED) { in ReadUnlock()
Dmutex.cpp138 bool done = false; in WriteLock() local
139 while (!done) { in WriteLock()
145 done = state_.compare_exchange_weak(cur_state, WRITE_LOCKED, std::memory_order_acquire); in WriteLock()
200 bool done = false; in TryReadLock() local
203 while (!done) { in TryReadLock()
207 done = state_.compare_exchange_weak(cur_state, new_state, std::memory_order_acquire); in TryReadLock()
222 bool done = false; in TryWriteLock() local
225 while (!done) { in TryWriteLock()
230 done = state_.compare_exchange_weak(cur_state, WRITE_LOCKED, std::memory_order_acquire); in TryWriteLock()
253 bool done = false; in WriteUnlock() local
[all …]
Dfmutex.cpp183 bool done = false; in MutexLock() local
184 while (!done) { in MutexLock()
190 done = in MutexLock()
271 bool done = false; in MutexUnlock() local
275 while (!done) { in MutexUnlock()
284done = ATOMIC_CAS_WEAK(&m->state_and_waiters_, curState, newState, memory_order_release, memory_or… in MutexUnlock()
285 if (LIKELY(done)) { in MutexUnlock()
/arkcompiler/ets_frontend/es2panda/compiler/function/
DgeneratorFunctionBuilder.cpp67 VReg done = pg_->AllocReg(); in Yield() local
73 pg_->StoreAccumulator(node, done); in Yield()
74 pg_->CreateIterResultObject(node, value, done); in Yield()
DfunctionBuilder.cpp74 VReg done = pg_->AllocReg(); in AsyncYield() local
81 pg_->StoreConst(node, done, Constant::JS_FALSE); in AsyncYield()
82 pg_->AsyncGeneratorResolve(node, funcObj_, value, done); in AsyncYield()
269 // iv. Let done be ? IteratorComplete(innerResult). in YieldStar()
270 // v. Let done be ? IteratorComplete(innerResult). in YieldStar()
271 // vii. Let done be ? IteratorComplete(innerReturnResult). in YieldStar()
311 // v. If done is true, then in YieldStar()
312 // 6. If done is true, then in YieldStar()
313 // viii. If done is true, then in YieldStar()
/arkcompiler/runtime_core/compiler/tools/
Dbenchmark_coverage.sh36 done
112 done <<< "$filtered_ignore_list"
194 done
221 done
240 done
249 done
339 done
363 done
393 done
405 done
Dpbc_2_ir_doc_gen.sh32 done
59 done
/arkcompiler/runtime_core/scripts/
Dinstall-third-party64 done
83 done
136 done
143 done < "$manifest"
/arkcompiler/ets_runtime/test/moduletest/asyncgenerator/
Dasyncgeneratorreturn.js30 a.next().then((res) => print(res.value)); // { value: 1, done: false }
31 a.return('foo').then((res) => print(res.value)); // { value: "foo", done: true }
Dasyncgeneratorthrow.js34 it.next(1).then((res) => print(res.value)); // { value: 3, done: false }
36 .then((res) => print(res.value)); // { value: 3, done: false }
Dasyncgeneratoryieldstar.js59 iter.next().then(({ done, value }) => { property
60 print(done);
/arkcompiler/runtime_core/verification/
DTODO.txt20 - done Introduce the same mechanism in checkcast
23 7. done Origins: at method entry, give different @start origins to parameters!
/arkcompiler/runtime_core/compiler/docs/
Dreg_alloc_graph_coloring_doc.md37 … to coalesce after coloring, that makes work when major decisions already done, so it decrease abi…
50 …as set to start of callee-saved range and it is fully occupied. Search is done by two phases. On f…
58 … entire allocation is done in algorithm-own structures, and implementation of results happen after…
61 …rval of input is not intersected by a call-site. The same thing should be done for return value, m…
/arkcompiler/runtime_core/isa/
Dgen_wrapper.sh50 done
62 done
/arkcompiler/runtime_core/tests/checked/
Difcvt.pa58 jmp done
61 done:
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_promise.cpp141 // 10. Let iteratorRecord be Record {[[iterator]]: iterator, [[done]]: false}. in All()
142 bool done = false; in All() local
143 JSHandle<PromiseIteratorRecord> itRecord = factory->NewPromiseIteratorRecord(itor, done); in All()
149 // a. If iteratorRecord.[[done]] is false, let result be IteratorClose(iterator, result). in All()
207 // 10. Let iteratorRecord be Record {[[iterator]]: iterator, [[done]]: false}. in Race()
208 bool done = false; in Race() local
209 …JSHandle<PromiseIteratorRecord> iteratorRecord = factory->NewPromiseIteratorRecord(iterator, done); in Race()
213 // a. If iteratorRecord.[[done]] is false, let result be IteratorClose(iterator,result). in Race()
469 // b. If next is an abrupt completion, set iteratorRecord.[[done]] to true. in PerformPromiseAll()
479 // i. Set iteratorRecord.[[done]] to true. in PerformPromiseAll()
[all …]
/arkcompiler/toolchain/tooling/agent/
Dheapprofiler_impl.h97 void ReportHeapSnapshotProgress(int32_t done, int32_t total);
160 void ReportProgress(int32_t done, int32_t total) override in ReportProgress() argument
162 frontend_->ReportHeapSnapshotProgress(done, total); in ReportProgress()
/arkcompiler/ets_frontend/es2panda/test/compiler/js/language/statements/switch/
Ddiscriminant-scope-expected.txt1 Done

123456