| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_async_from_sync_iterator.cpp | 49 …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 …]
|
| D | js_iterator.cpp | 196 // 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 …]
|
| D | js_iterator.h | 41 FIRST_BIT_FIELD(BitField, Done, bool, DONE_BITS) 80 …SObject> CreateIterResultObject(JSThread *thread, const JSHandle<JSTaggedValue> &value, bool done);
|
| D | js_regexp_iterator.cpp | 45 // 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/ |
| D | forOf.test.ts | 55 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/ |
| D | generator.js | 44 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/ |
| D | yieldstar.js | 33 print(a.value, a.done) 35 print(b.value, b.done) 37 print(c.value, c.done)
|
| /arkcompiler/runtime_core/platforms/unix/libpandabase/futex/ |
| D | mutex.h | 145 bool done = false; in ReadLock() local 146 while (!done) { in ReadLock() 151 … done = 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() 188 … done = state_.compare_exchange_weak(cur_state, new_state, std::memory_order_seq_cst); in ReadUnlock() 189 if (done && new_state == UNLOCKED) { in ReadUnlock()
|
| D | mutex.cpp | 138 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 …]
|
| D | fmutex.cpp | 183 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() 284 …done = 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/ |
| D | generatorFunctionBuilder.cpp | 67 VReg done = pg_->AllocReg(); in Yield() local 73 pg_->StoreAccumulator(node, done); in Yield() 74 pg_->CreateIterResultObject(node, value, done); in Yield()
|
| D | functionBuilder.cpp | 74 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/ |
| D | benchmark_coverage.sh | 36 done 112 done <<< "$filtered_ignore_list" 194 done 221 done 240 done 249 done 339 done 363 done 393 done 405 done
|
| D | pbc_2_ir_doc_gen.sh | 32 done 59 done
|
| /arkcompiler/runtime_core/scripts/ |
| D | install-third-party | 64 done 83 done 136 done 143 done < "$manifest"
|
| /arkcompiler/ets_runtime/test/moduletest/asyncgenerator/ |
| D | asyncgeneratorreturn.js | 30 a.next().then((res) => print(res.value)); // { value: 1, done: false } 31 a.return('foo').then((res) => print(res.value)); // { value: "foo", done: true }
|
| D | asyncgeneratorthrow.js | 34 it.next(1).then((res) => print(res.value)); // { value: 3, done: false } 36 .then((res) => print(res.value)); // { value: 3, done: false }
|
| D | asyncgeneratoryieldstar.js | 59 iter.next().then(({ done, value }) => { property 60 print(done);
|
| /arkcompiler/runtime_core/verification/ |
| D | TODO.txt | 20 - 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/ |
| D | reg_alloc_graph_coloring_doc.md | 37 … 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/ |
| D | gen_wrapper.sh | 50 done 62 done
|
| /arkcompiler/runtime_core/tests/checked/ |
| D | ifcvt.pa | 58 jmp done 61 done:
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_promise.cpp | 141 // 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/ |
| D | heapprofiler_impl.h | 97 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/ |
| D | discriminant-scope-expected.txt | 1 Done
|