Home
last modified time | relevance | path

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

12345678910>>...22

/arkcompiler/ets_runtime/test/moduletest/container/
Dexpect_output.txt53 Test Deque done
54 Test hashmap done
55 Test hashset done
56 Test LightWeightMap done
57 Test LightWeightSet done
58 Test LinkedList done
59 Test List done
60 Test PlainArray done
61 Test Queue done
62 Test Stack done
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/17.Experimental_Features/Iterable_Types/
Dfor_of_10.sts31 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;
Dfor_of_11.sts31 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/tests/ets_func_tests/std/containers/
DIteratorSetTest.sts36 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 … 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 …]
DIteratorMapTest.sts36 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 … 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/ets_runtime/test/sharedtest/sharedset/
Dexpect_output.txt19 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 …]
Dsharedset.ts43 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/runtime_core/static_core/plugins/ets/stdlib/escompat/
DIterator.sts19 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/toolchain/tooling/test/
Dpt_base64_test.cpp50 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/ecmascript/
Djs_async_from_sync_iterator.cpp43 …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_runtime/test/sharedtest/sharedmap/
Dexpect_output.txt19 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 …]
Dsharedmap.ts43 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/test/moduletest/getiterator/
Dgetiterator.js31 return { done: false, value: entry.value[0] };
33 return { done: true, value: undefined };
63 return { done: false, value: [value.value, value.value] };
65 return { done: true, value: undefined };
95 return { done: false, value: value };
97 return { done: true, value: undefined };
132 return { done: false, value: entry.value[0] };
134 return { done: true, value: undefined };
167 return { done: false, value: [value.value, value.value] };
169 return { done: true, value: undefined };
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dgenerators.sts69 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/
Dasyncgenerator.js26 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/
Dmutex.cpp156 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()
210 bool done = false; in TryReadLock() local
213 while (!done) { in TryReadLock()
217 done = state_.compare_exchange_weak(curState, newState, std::memory_order_acquire); in TryReadLock()
232 bool done = false; in TryWriteLock() local
235 while (!done) { in TryWriteLock()
240 done = state_.compare_exchange_weak(curState, WRITE_LOCKED, std::memory_order_acquire); in TryWriteLock()
263 bool done = false; in WriteUnlock() local
[all …]
/arkcompiler/toolchain/tooling/test/testcases/
Djs_heapprofiler_dump_test.h51 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()
Djs_heapdump_test.h80 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/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/04.iterable_types/
Dit.params.yaml33 done: this.index >= this.base.data.length,
62 done: this.index >= this.base.data.length,
91 done: this.index >= this.base.data.length,
120 done: this.index >= this.data.len(),
176 done: this.index >= this.data.len(),
226 done: this.index >= this.data.length,
255 done: this.index >= this.data.length,
289 done: this.index >= this.base.data.length,
312 done: this.index >= this.data.length,
351 return { done: false, value: v }
[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.js34 assert_equal(a.done, false);
37 assert_equal(b.done, false);
40 assert_equal(c.done, true);
/arkcompiler/runtime_core/static_core/scripts/
Dinstall-third-party90 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"
265 done
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/
Dtest_core_typedarray_bignum.j262 while (!next.done) {
85 if (!emptyNext.done || emptyNext.value != undefined) {
105 if (singleNext.done || singleNext.value != 0n) {
110 if (!singleNext.done || singleNext.value != undefined) {
148 while (!next.done) {
186 while (!next.done) {
192 if (!next.done || next.value != undefined) {
/arkcompiler/ets_runtime/test/moduletest/forof_set/
Dforof_set.js55 print(keyIterator.next().done);
58 print(valueIterator.next().done);
60 while (!entriesIterator.next().done) {
66 while (!(iterResult = keyIterator.next()).done) {
/arkcompiler/ets_runtime/ecmascript/mem/
Drset_worklist_handler-inl.h89 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()

12345678910>>...22