| /arkcompiler/ets_runtime/test/moduletest/container/ |
| D | expect_output.txt | 41 Test Deque done 42 Test hashmap done 43 Test hashset done 44 Test LightWeightMap done 45 Test LightWeightSet done 46 Test LinkedList done 47 Test List done 48 Test PlainArray done 49 Test Queue done 50 Test Stack done [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/containers/ |
| D | IteratorSetTest.sts | 36 if (!v.done) { 49 if (v.done || v.value != 1) { 54 if (v.done || v.value != 2) { 59 if (!v.done) { 72 if (v.done || v.value != 1) { 77 if (!v.done) { 81 // Calling next() again after iteration is done 82 …r 18321, when the iterator has reached the end, and then called next() on it, v.done returns false. 84 if (!v.done) { 95 if (!v.done) { [all …]
|
| D | IteratorMapTest.sts | 36 if (!v.done) { 49 …if (v.done || (v.value as [string, number])[0] != "key1" || (v.value as [string, number])[1] != 1)… 54 …if (v.done || (v.value as [string, number])[0] != "key2" || (v.value as [string, number])[1] != 2)… 59 if (!v.done) { 72 …if (v.done || (v.value as [string, number])[0] != "key1" || (v.value as [string, number])[1] != 1)… 77 if (!v.done) { 81 // Calling next() again after iteration is done 82 …r 18321, when the iterator has reached the end, and then called next() on it, v.done returns false. 84 if (!v.done) { 95 if (!v.done) { [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/17.Experimental_Features/Iterable_Types/ |
| D | for_of_10.sts | 31 private done: boolean; 35 this.done = false; 39 if (this.done) 41 done: this.done, 46 this.done = true; 48 done: this.done, 56 done: false;
|
| D | for_of_11.sts | 31 private done: boolean; 35 this.done = false; 39 if (this.done) 41 done: this.done, 46 this.done = true; 48 done: this.done, 56 done: false,
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
| D | Iterator.sts | 19 done: boolean 23 this.done = true 27 constructor(done: boolean, value: T | undefined) { 28 this.done = done 33 this.done = false 55 if (v.done) {
|
| /arkcompiler/ets_runtime/test/sharedtest/sharedset/ |
| D | expect_output.txt | 19 keys next:0, done: false 20 keys next:1, done: false 21 keys next:2, done: false 22 keys next:3, done: false 23 keys next:4, done: false 24 keys next:undefined, done: true 25 values next:0, done: false 26 values next:1, done: false 27 values next:2, done: false 28 values next:3, done: false [all …]
|
| D | sharedset.ts | 43 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done); 45 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done); 47 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done); 49 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done); 51 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done); 53 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done); 57 print("values next:" + nextEntry.value + ", done: " + nextEntry.done); 59 print("values next:" + nextEntry.value + ", done: " + nextEntry.done); 61 print("values next:" + nextEntry.value + ", done: " + nextEntry.done); 63 print("values next:" + nextEntry.value + ", done: " + nextEntry.done); [all …]
|
| /arkcompiler/toolchain/tooling/test/ |
| D | pt_base64_test.cpp | 50 auto [numOctets, done] = PtBase64::Decode(dest.data(), src.data(), src.size()); in HWTEST_F_L0() 53 EXPECT_FALSE(done); in HWTEST_F_L0() 74 auto [numOctets, done] = PtBase64::Decode(dest.data(), src.data(), src.size()); in HWTEST_F_L0() 88 auto [numOctets, done] = PtBase64::Decode(dest.data(), src.data(), src.size()); in HWTEST_F_L0() 101 auto [numOctets, done] = PtBase64::Decode(dest.data(), src.data(), src.size()); in HWTEST_F_L0() 118 auto [numOctets, done] = PtBase64::Decode(dest.data(), src.data(), src.size()); in HWTEST_F_L0() 121 EXPECT_TRUE(done); in HWTEST_F_L0() 139 auto [numOctets, done] = PtBase64::Decode(decoded.data(), encoded.data(), encoded.size()); in HWTEST_F_L0() 142 EXPECT_TRUE(done); in HWTEST_F_L0() 163 auto [numOctets, done] = PtBase64::Decode(dest.data(), src.data(), src.size()); in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_runtime/test/sharedtest/sharedmap/ |
| D | expect_output.txt | 19 keys next:0, done: false 20 keys next:1, done: false 21 keys next:2, done: false 22 keys next:3, done: false 23 keys next:4, done: false 24 keys next:undefined, done: true 25 values next:value0, done: false 26 values next:value1, done: false 27 values next:value2, done: false 28 values next:value3, done: false [all …]
|
| D | sharedmap.ts | 43 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done); 45 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done); 47 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done); 49 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done); 51 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done); 53 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done); 57 print("values next:" + nextEntry.value + ", done: " + nextEntry.done); 59 print("values next:" + nextEntry.value + ", done: " + nextEntry.done); 61 print("values next:" + nextEntry.value + ", done: " + nextEntry.done); 63 print("values next:" + nextEntry.value + ", done: " + nextEntry.done); [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_async_from_sync_iterator.cpp | 43 …torRecord be the Record {[[Iterator]]: asyncIterator, [[NextMethod]]: nextMethod, [[Done]]: false}. in CreateAsyncFromSyncIterator() 53 // 1.Let done be IteratorComplete(result). in AsyncFromSyncIteratorContinuation() 54 bool done = JSIterator::IteratorComplete(thread, result); in AsyncFromSyncIteratorContinuation() local 55 // 2.IfAbruptRejectPromise(done, promiseCapability). in AsyncFromSyncIteratorContinuation() 56 JSHandle<JSTaggedValue> tmpDone(thread, JSTaggedValue(done)); in AsyncFromSyncIteratorContinuation() 75 // 9.Let onFulfilled be ! CreateBuiltinFunction(steps, length, "", « [[Done]] »). in AsyncFromSyncIteratorContinuation() 77 // 10.Set onFulfilled.[[Done]] to done. in AsyncFromSyncIteratorContinuation() 79 onFulfilled->SetDone(thread, JSTaggedValue(done)); in AsyncFromSyncIteratorContinuation() 96 // 2.Return ! CreateIterResultObject(value, F.[[Done]]). in AsyncFromSyncIterUnwarpFunction() 98 bool done = unwarpFunction->GetDone().ToBoolean(); in AsyncFromSyncIterUnwarpFunction() local [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ |
| D | generators.sts | 69 console.log(gen.next()); // {value: 1, done: false} 70 console.log(gen.next()); // {value: 2, done: false} 71 console.log(gen.next()); // {value: 3, done: false} 72 console.log(gen.next()); // {value: 4, done: false} 73 console.log(gen.next()); // {value: 5, done: false} 74 console.log(gen.next()); // {value: undefined, done: true}
|
| /arkcompiler/ets_runtime/test/aottest/asyncgenerator/ |
| D | asyncgenerator.js | 26 return {value: 1, done: false}; 42 print(result.done); 55 return {value: 1, done: false}; 68 print(result.done); 83 done: false, 89 done: false,
|
| /arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/futex/ |
| D | mutex.cpp | 156 bool done = false; in WriteLock() local 157 while (!done) { in WriteLock() 163 done = state_.compare_exchange_weak(curState, WRITE_LOCKED, std::memory_order_acquire); in WriteLock() 205 bool done = false; in TryReadLock() local 208 while (!done) { in TryReadLock() 212 done = state_.compare_exchange_weak(curState, newState, std::memory_order_acquire); in TryReadLock() 227 bool done = false; in TryWriteLock() local 230 while (!done) { in TryWriteLock() 235 done = state_.compare_exchange_weak(curState, WRITE_LOCKED, std::memory_order_acquire); in TryWriteLock() 258 bool done = false; in WriteUnlock() local [all …]
|
| /arkcompiler/toolchain/tooling/test/testcases/ |
| D | js_heapprofiler_dump_test.h | 51 int32_t done; in JsHeapProfilerDumpTest() 52 ret = params->GetInt("done", &done); in JsHeapProfilerDumpTest() 53 if (ret != Result::SUCCESS || done != 0) { in JsHeapProfilerDumpTest() 74 int32_t done; in JsHeapProfilerDumpTest() 75 ret = params->GetInt("done", &done); in JsHeapProfilerDumpTest()
|
| D | js_heapdump_test.h | 80 int done; in RecvReportProgress() local 81 ret = params->GetInt("done", &done); in RecvReportProgress() 86 if (done != 0) { in RecvReportProgress() 113 int done; in RecvReportProgressFinished() local 114 ret = params->GetInt("done", &done); in RecvReportProgressFinished()
|
| /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/static_core/scripts/ |
| D | install-third-party | 90 done 93 mapfile -t REPOS< <(for r in "${REPOS[@]}"; do echo "$r"; done | sort -u) 103 done 120 done 139 done 161 done 218 done 225 done < "$manifest" 260 done
|
| /arkcompiler/ets_runtime/test/moduletest/mapget/ |
| D | mapget.js | 244 while (end.next().done) { 250 if (!begin.next().done) { 253 if (!mid.next().done) { 256 if (!last.next().done) { 259 if (!end.next().done) { 266 if (v.done) { 273 if (v.done) { 279 if (!begin.next().done) { 282 if (!mid.next().done) { 285 if (!last.next().done) { [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/ |
| D | test_core_typedarray_bignum.j2 | 64 while (!next.done) { 87 if (!emptyNext.done || emptyNext.value != undefined) { 107 if (singleNext.done || singleNext.value != 0n) { 112 if (!singleNext.done || singleNext.value != undefined) { 150 while (!next.done) { 188 while (!next.done) { 194 if (!next.done || next.value != undefined) {
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | rset_worklist_handler-inl.h | 89 inline void RSetWorkListHandler::ProcessAllVisitor(const Visitor &visitor, int done) in ProcessAllVisitor() argument 92 ++done; in ProcessAllVisitor() 94 if (done > 0) { in ProcessAllVisitor() 96 remainItems_ -= done; in ProcessAllVisitor() 110 int done = 0; in ProcessAll() local 111 ProcessAllVisitor(visitor, done); in ProcessAll()
|
| /arkcompiler/runtime_core/platforms/unix/libpandabase/futex/ |
| D | mutex.h | 146 bool done = false; in ReadLock() local 147 while (!done) { in ReadLock() 152 … done = state_.compare_exchange_weak(cur_state, new_state, std::memory_order_acquire); in ReadLock() 179 bool done = false; in ReadUnlock() local 182 while (!done) { in ReadUnlock() 185 // waiters_ load should not be reordered before state_, so it's done with seq cst. in ReadUnlock() 189 … done = state_.compare_exchange_weak(cur_state, new_state, std::memory_order_seq_cst); in ReadUnlock() 190 if (done && new_state == UNLOCKED) { in ReadUnlock()
|
| /arkcompiler/runtime_core/static_core/irtoc/scripts/ |
| D | gc.irt | 84 Goto(:Done) 88 Goto(:Done) 96 Label(:Done) 145 Goto(:Done) 149 Goto(:Done) 158 Label(:Done) 173 Goto(:Done) 183 Goto(:Done) 189 Goto(:Done) 207 Label(:Done)
|