Home
last modified time | relevance | path

Searched full:next (Results 1 – 25 of 955) sorted by relevance

12345678910>>...39

/arkcompiler/ets_runtime/test/moduletest/container/
Dutility.js18 res.set("test keys:", iteratorKey1.next().value == "a" && iteratorKey1.next().value == "b" &&
19 iteratorKey1.next().value == "c" && iteratorKey1.next().value == undefined);
22 …res.set("test values:", iteratorValues1.next().value == "aa" && iteratorValues1.next().value == "b…
23 iteratorValues1.next().value == "cc" && iteratorValues1.next().value == undefined);
26 iteratorEntries1.next().value;
27 iteratorEntries1.next().value;
28 res.set("test entries1:", iteratorEntries1.next().value != undefined);
29 res.set("itest entries2:", iteratorEntries1.next().value == undefined);
60 res.set("test keys:", iteratorKey.next().value == "a" && iteratorKey.next().value == "b" &&
61 iteratorKey.next().value == "c" && iteratorKey.next().value == undefined);
[all …]
Dcontainer_hashset.js38 …map.set("test values:", iteratorSetValues.next().value == "aa" && iteratorSetValues.next().value =…
39 iteratorSetValues.next().value == "cc" && iteratorSetValues.next().value == undefined);
42 iteratorSetEntries.next().value;
43 iteratorSetEntries.next().value;
44 map.set("test entries1:", iteratorSetEntries.next().value != undefined);
45 map.set("test entries2:", iteratorSetEntries.next().value == undefined);
95 …map.set("test values:", iteratorSetValues1.next().value == "aa" && iteratorSetValues1.next().value…
96 … iteratorSetValues1.next().value == "cc" && iteratorSetValues1.next().value == undefined);
99 iteratorSetEntries1.next().value;
100 iteratorSetEntries1.next().value;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/
Dtest_core_typedarray_bignum.j262 let next = arrayIterator.next();
64 while (!next.done) {
65 if (next.value == undefined) {
68 if (typedUArray[counter] != (next.value!) as BigInt) {
71 next = arrayIterator.next()
85 let emptyNext = emptyIterator.next();
105 let singleNext = singleIterator.next();
111 singleNext = singleIterator.next();
146 let next = arrayIterator.next();
150 while (!next.done) {
[all …]
/arkcompiler/ets_frontend/es2panda/lexer/regexp/
Dregexp.cpp46 char32_t RegExpParser::Next() in Next() function in panda::es2panda::lexer::RegExpParser
48 return iter_.Next(); in Next()
112 Next(); in ParseDisjunction()
120 Next(); in ParseAlternative()
124 Next(); in ParseAlternative()
134 Next(); in ParseAlternative()
138 Next(); in ParseAlternative()
145 Next(); // eat '?' in ParseAlternative()
147 char32_t cp = Next(); in ParseAlternative()
169 Next(); in ParseAlternative()
[all …]
/arkcompiler/ets_frontend/ets2panda/lexer/regexp/
Dregexp.cpp45 char32_t RegExpParser::Next() in Next() function in ark::es2panda::lexer::RegExpParser
47 return iter_.Next(); in Next()
118 Next(); in ParseDisjunction()
126 Next(); in ParseAlternative()
130 Next(); in ParseAlternative()
140 Next(); in ParseAlternative()
150 Next(); in ParseAlternative()
155 Next(); in ParseAlternative()
176 Next(); in ParseAlternativeCharLeftParen()
183 Next(); // eat '?' in ParseAlternativeCharLeftParen()
[all …]
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/
Dlock_free_queue.cpp29 Node *next = tail->next.load(std::memory_order_acquire); in Push() local
35 if (next == nullptr) { in Push()
36 if (tail->next.compare_exchange_weak(next, newNode)) { in Push()
42 Node *newTail = next; in Push()
57 Node *next = head->next.load(std::memory_order_acquire); in Pop() local
64 ASSERT(next != nullptr); in Pop()
65 Node *newTail = next; in Pop()
68 if (next == nullptr) { in Pop()
71 ASSERT(next->data != nullptr); in Pop()
72 ret = *(next->data); in Pop()
[all …]
/arkcompiler/ets_runtime/test/aottest/suspendgeneratorfor/
Dsuspendgeneratorfor.ts37 print(func.next().value);
38 print(func.next().value);
39 print(func.next().value);
40 print(func.next().value);
41 print(func.next().value);
42 print(func.next().value);
43 print(func.next().value);
44 print(func.next().value);
45 print(func.next().value);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/containers/
DIteratorSetTest.sts35 const v = iterator.next();
48 let v = iterator.next();
53 v = iterator.next();
58 v = iterator.next();
71 let v = iterator.next();
76 v = iterator.next();
81 // Calling next() again after iteration is done
82 …/* issue number 18321, when the iterator has reached the end, and then called next() on it, v.done…
83 v = iterator.next();
94 const v = iterator.next();
[all …]
DIteratorMapTest.sts35 const v = iterator.next();
48 let v = iterator.next();
53 v = iterator.next();
58 v = iterator.next();
71 let v = iterator.next();
76 v = iterator.next();
81 // Calling next() again after iteration is done
82 …/* issue number 18321, when the iterator has reached the end, and then called next() on it, v.done…
83 v = iterator.next();
94 const v = iterator.next();
[all …]
DTrivialMapTest.sts27 assert it.next().value! == 4 : "it1"
28 assert it.next().value! == 2 : "it2"
29 assert it.next().value! == 3 : "it3"
32 assert kit.next().value! == 1 : "kit1"
33 assert kit.next().value! == 2 : "kit2"
34 assert kit.next().value! == 3 : "kit3"
/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.ts42 let nextEntry = keyIter.next();
43 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done);
44 nextEntry = keyIter.next();
45 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done);
46 nextEntry = keyIter.next();
47 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done);
48 nextEntry = keyIter.next();
49 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done);
50 nextEntry = keyIter.next();
51 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done);
[all …]
/arkcompiler/ets_runtime/test/sharedtest/sharedmap/
Dsharedmap.ts42 let nextEntry = keyIter.next();
43 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done);
44 nextEntry = keyIter.next();
45 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done);
46 nextEntry = keyIter.next();
47 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done);
48 nextEntry = keyIter.next();
49 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done);
50 nextEntry = keyIter.next();
51 print("keys next:" + nextEntry.value + ", done: " + nextEntry.done);
[all …]
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 …]
/arkcompiler/ets_runtime/test/moduletest/asyncgenerator/
Dasyncgeneratornext.js34 print("asyncgenerator next start");
35 b.next();
36 b.next(3);
39 g.next();
40 g.next();
41 print("asyncgenerator double next");
42 print("asyncgenerator next end");
/arkcompiler/ets_runtime/test/aottest/bc_builder/
Dbc_builder.ts30 while(obj.next) {
31 obj = obj.next
35 testLoop({next: {}});
39 while (current.next) {
40 current = current.next;
44 testLoop2({next: {}});
62 while (current.next) {
63 current = current.next;
71 testLoop3({next: {}});
/arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/js/
DIteratorTest.js27 let next = iterator.next(); variable
28 while (!next.done) {
29 const fruit = next.value;
31 next = iterator.next();
/arkcompiler/runtime_core/static_core/tests/cts-assembly/
Dobj-13.pa18 # Obj* next;
24 # o->next = newObj;
32 # head->next = nullptr;
37 # cur = cur->next;
44 # cur = cur->next;
54 Obj next
62 stobj.obj a0, Obj.next
78 ldobj.obj v1, Obj.next
94 ldobj.obj v1, Obj.next
/arkcompiler/runtime_core/tests/cts-assembly/
Dobj-13.pa18 # Obj* next;
24 # o->next = newObj;
32 # head->next = nullptr;
37 # cur = cur->next;
44 # cur = cur->next;
54 Obj next
62 stobj.obj a0, Obj.next
78 ldobj.obj v1, Obj.next
94 ldobj.obj v1, Obj.next
/arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/ts/
DIteratorTest.ts27 let next = iterator.next(); variable
28 while (!next.done) {
29 const fruit = next.value;
31 next = iterator.next();
/arkcompiler/ets_runtime/ecmascript/
Decma_global_storage.h96 void Reset([[maybe_unused]] JSThread *thread, Node *next, JSTaggedType value, bool isUsing) in Reset() argument
99 SetNext(next); in Reset()
103 memtrace((void *)next, sizeof(Node), "ArkJsGlobalHandle", isUsing); in Reset()
118 void Reset(JSThread *thread, Node *next, JSTaggedType value, bool isUsing) in Reset() argument
120 Node::Reset(thread, next, value, isUsing); in Reset()
331 inline void SetNext(NodeList *next) in SetNext() argument
333 next_ = next; in SetNext()
349 inline void SetFreeNext(NodeList<T> *next) in SetFreeNext() argument
351 freeNext_ = next; in SetFreeNext()
370 T *next = usedList_; in IterateUsageGlobal() local
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
Dspill_fill_encoder.cpp84 auto next = std::next(it); in SortSpillFillData() local
85 …while (next != spillFills->end() && it->SrcType() == next->SrcType() && it->DstType() == next->Dst… in SortSpillFillData()
86 ++next; in SortSpillFillData()
90 std::sort(it, next, [](auto sf1, auto sf2) { return sf1.DstValue() > sf2.DstValue(); }); in SortSpillFillData()
93 std::sort(it, next, [](auto sf1, auto sf2) { return sf1.SrcValue() > sf2.SrcValue(); }); in SortSpillFillData()
96 it = next; in SortSpillFillData()
120 auto nextIt = std::next(it); in EncodeSpillFill()
121 SpillFillData *next = nextIt == end ? nullptr : &(*nextIt); in EncodeSpillFill() local
128 for (auto groupIt = it, nextGroupIt = std::next(it); in EncodeSpillFill()
143 adv = EncodeRegisterToX(sf, next, consecutiveOpsHint); in EncodeSpillFill()
[all …]
/arkcompiler/runtime_core/compiler/optimizer/templates/
Dcodegen_language_extensions.h.erb17 % next unless plugin_opts["compiler_extensions"]
18 % next unless plugin_opts["compiler_extensions"]["header_path_implementation_codegen"]
25 % next unless plugin_opts["compiler_extensions"]
26 % next unless plugin_opts["compiler_extensions"]["function_codegen_prologue"]
38 % next unless plugin_opts["compiler_extensions"]
39 % next unless plugin_opts["compiler_extensions"]["function_codegen_epilogue"]
/arkcompiler/ets_runtime/ecmascript/compiler/base/
Ddepend_chain_helper.cpp24 head_ = head_->next; in Merge()
32 rhs = rhs->next; in Merge()
37 lhs = lhs->next; in Merge()
38 rhs = rhs->next; in Merge()
58 lhs = lhs->next; in Equals()
59 rhs = rhs->next; in Equals()
66 // assign node->next to head in UpdateNode()
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/typedarray/Keys/
DbuiltinTypedArrayKeys.ts46 print(items1.next().value); //: 0
50 items2.next();
51 print(items2.next().value); //: 1
55 items3.next();
56 items3.next();
57 print(items3.next().value); //: 2
61 items4.next();
62 items4.next();
63 items4.next();
64 print(items4.next().value); //: undefined
[all …]

12345678910>>...39