| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/typedarray/Entries/ |
| D | builtinTypedArrayEntries.ts | 46 //aot: [trace] aot call builtin: ArrayIterator.next, caller function name:func_main_0@builtinTypedA… 47 print(items1.next().value); //: 0,10 51 //aot: [trace] aot call builtin: ArrayIterator.next, caller function name:func_main_0@builtinTypedA… 52 items2.next(); 53 //aot: [trace] aot call builtin: ArrayIterator.next, caller function name:func_main_0@builtinTypedA… 54 print(items2.next().value); //: 1,20 58 //aot: [trace] aot call builtin: ArrayIterator.next, caller function name:func_main_0@builtinTypedA… 59 items3.next(); 60 //aot: [trace] aot call builtin: ArrayIterator.next, caller function name:func_main_0@builtinTypedA… 61 items3.next(); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/typedarray/Values/ |
| D | builtinTypedArrayValues.ts | 46 //aot: [trace] aot call builtin: ArrayIterator.next, caller function name:func_main_0@builtinTypedA… 47 print(items1.next().value); //: 10 51 //aot: [trace] aot call builtin: ArrayIterator.next, caller function name:func_main_0@builtinTypedA… 52 items2.next(); 53 //aot: [trace] aot call builtin: ArrayIterator.next, caller function name:func_main_0@builtinTypedA… 54 print(items2.next().value); //: 20 58 //aot: [trace] aot call builtin: ArrayIterator.next, caller function name:func_main_0@builtinTypedA… 59 items3.next(); 60 //aot: [trace] aot call builtin: ArrayIterator.next, caller function name:func_main_0@builtinTypedA… 61 items3.next(); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/typedarray/Keys/ |
| D | builtinTypedArrayKeys.ts | 46 //aot: [trace] aot call builtin: ArrayIterator.next, caller function name:func_main_0@builtinTypedA… 47 print(items1.next().value); //: 0 51 //aot: [trace] aot call builtin: ArrayIterator.next, caller function name:func_main_0@builtinTypedA… 52 items2.next(); 53 //aot: [trace] aot call builtin: ArrayIterator.next, caller function name:func_main_0@builtinTypedA… 54 print(items2.next().value); //: 1 58 //aot: [trace] aot call builtin: ArrayIterator.next, caller function name:func_main_0@builtinTypedA… 59 items3.next(); 60 //aot: [trace] aot call builtin: ArrayIterator.next, caller function name:func_main_0@builtinTypedA… 61 items3.next(); [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/container/ |
| D | utility.js | 18 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 …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/ |
| D | test_core_typedarray_bignum.j2 | 60 let next = arrayIterator.next(); 62 while (!next.done) { 63 if (next.value == undefined) { 66 if (typedUArray[counter] != (next.value!) as BigInt) { 69 next = arrayIterator.next() 83 let emptyNext = emptyIterator.next(); 103 let singleNext = singleIterator.next(); 109 singleNext = singleIterator.next(); 144 let next = arrayIterator.next(); 148 while (!next.done) { [all …]
|
| /arkcompiler/jsvm/src/ |
| D | memory_manager.h | 27 constexpr ElementMemory() : next(nullptr) {} in ElementMemory() 31 ElementMemory* next; member 50 MemoryChunk* next; member 54 MemoryChunk() : prev(nullptr), next(nullptr), freeCount(sizePerChunk) in MemoryChunk() 58 elements[i].memory.next = &(elements[i + 1].memory); in MemoryChunk() 61 elements[sizePerChunk - 1].memory.next = nullptr; in MemoryChunk() 90 auto* next = ptr->next; in ~MemoryChunkList() local 97 ptr = next; in ~MemoryChunkList() 121 memory->next = freeList; in Delete() 134 freeList = memory->next; in GetMemory() [all …]
|
| D | jsvm_reference-inl.h | 32 next = list->next; in Link() 33 if (next != nullptr) { in Link() 34 next->prev = this; in Link() 36 list->next = this; in Link() 42 prev->next = next; in Unlink() 44 if (next != nullptr) { in Unlink() 45 next->prev = prev; in Unlink() 48 next = nullptr; in Unlink()
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/set/Values/ |
| D | builtinSetValues.ts | 44 //aot: [trace] aot call builtin: SetIterator.next, caller function name:func_main_0@builtinSetValues 45 print(mySet.values(0).next().value); //: 0 49 //aot: [trace] aot call builtin: SetIterator.next, caller function name:func_main_0@builtinSetValues 50 print(mySet.values(0, 0).next().value); //: 0 54 //aot: [trace] aot call builtin: SetIterator.next, caller function name:func_main_0@builtinSetValues 55 print(mySet.values(-1, 10.2, 15).next().value); //: 0 68 //aot: [trace] aot call builtin: SetIterator.next, caller function name:func_main_0@builtinSetValues 70 //aot: [trace] aot call builtin: SetIterator.next, caller function name:func_main_0@builtinSetValues 72 //aot: [trace] aot call builtin: SetIterator.next, caller function name:func_main_0@builtinSetValues 74 //aot: [trace] aot call builtin: SetIterator.next, caller function name:func_main_0@builtinSetValues [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/map/Values/ |
| D | builtinMapValues.ts | 44 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapValues 45 print(myMap.values(0).next().value); //: 5 49 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapValues 50 print(myMap.values(0, 0).next().value); //: 5 54 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapValues 55 print(myMap.values(-1, 10.2, 15).next().value); //: 5 68 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapValues 70 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapValues 72 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapValues 74 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapValues [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/map/Keys/ |
| D | builtinMapKeys.ts | 44 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapKeys 45 print(myMap.keys(0).next().value); //: 0 49 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapKeys 50 print(myMap.keys(0, 0).next().value); //: 0 54 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapKeys 55 print(myMap.keys(-1, 10.2, 15).next().value); //: 0 68 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapKeys 70 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapKeys 72 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapKeys 74 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapKeys [all …]
|
| /arkcompiler/ets_frontend/es2panda/lexer/regexp/ |
| D | regexp.cpp | 44 char32_t RegExpParser::Next() in Next() function in panda::es2panda::lexer::RegExpParser 46 return iter_.Next(); in Next() 110 Next(); in ParseDisjunction() 118 Next(); in ParseAlternative() 122 Next(); in ParseAlternative() 132 Next(); in ParseAlternative() 136 Next(); in ParseAlternative() 143 Next(); // eat '?' in ParseAlternative() 145 char32_t cp = Next(); in ParseAlternative() 167 Next(); in ParseAlternative() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/util/ |
| D | doubleLinkedList.h | 30 Item *next {nullptr}; 65 item->next = nullptr; in Append() 72 tail_->next = item; in Append() 89 item->next = nullptr; in Prepend() 97 item->next = head_; in Prepend() 117 auto afterNext = after->next; in Insert() 119 after->next = item; in Insert() 122 item->next = afterNext; in Insert() 142 head_ = head_->next; in Erase() 149 tail_->next = nullptr; in Erase() [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/set/Entries/ |
| D | builtinSetEntries.ts | 44 //aot: [trace] aot call builtin: SetIterator.next, caller function name:func_main_0@builtinSetEntri… 45 print(mySet.entries(0).next().value); //: 0,0 49 //aot: [trace] aot call builtin: SetIterator.next, caller function name:func_main_0@builtinSetEntri… 50 print(mySet.entries(0, 0).next().value); //: 0,0 54 //aot: [trace] aot call builtin: SetIterator.next, caller function name:func_main_0@builtinSetEntri… 55 print(mySet.entries(-1, 10.2, 15).next().value); //: 0,0 68 //aot: [trace] aot call builtin: SetIterator.next, caller function name:func_main_0@builtinSetEntri… 70 //aot: [trace] aot call builtin: SetIterator.next, caller function name:func_main_0@builtinSetEntri… 72 //aot: [trace] aot call builtin: SetIterator.next, caller function name:func_main_0@builtinSetEntri… 74 //aot: [trace] aot call builtin: SetIterator.next, caller function name:func_main_0@builtinSetEntri… [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/sampler/ |
| D | lock_free_queue.cpp | 29 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/sharedtest/sharedset/ |
| D | sharedset.ts | 42 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 …]
|
| 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 …]
|
| /arkcompiler/ets_frontend/ets2panda/lexer/regexp/ |
| D | regexp.cpp | 44 char32_t RegExpParser::Next() in Next() function in ark::es2panda::lexer::RegExpParser 46 return iter_.Next(); in Next() 112 Next(); in ParseDisjunction() 120 Next(); in ParseAlternative() 124 Next(); in ParseAlternative() 134 Next(); in ParseAlternative() 144 Next(); in ParseAlternative() 149 Next(); in ParseAlternative() 170 Next(); in ParseAlternativeCharLeftParen() 177 Next(); // eat '?' in ParseAlternativeCharLeftParen() [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/map/Entries/ |
| D | builtinMapEntries.ts | 44 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapEntri… 45 print(myMap.entries(0).next().value); //: 0,5 49 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapEntri… 50 print(myMap.entries(0, 0).next().value); //: 0,5 54 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapEntri… 55 print(myMap.entries(-1, 10.2, 15).next().value); //: 0,5 68 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapEntri… 70 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapEntri… 72 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapEntri… 74 //aot: [trace] aot call builtin: MapIterator.next, caller function name:func_main_0@builtinMapEntri… [all …]
|
| /arkcompiler/ets_runtime/test/aottest/suspendgeneratorfor/ |
| D | suspendgeneratorfor.ts | 37 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/ |
| D | IteratorSetTest.ets | 35 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 …]
|
| /arkcompiler/ets_runtime/test/moduletest/asyncgenerator/ |
| D | asyncgeneratornext.js | 34 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/sharedtest/sharedmap/ |
| D | sharedmap.ts | 42 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 …]
|
| 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 …]
|
| /arkcompiler/ets_runtime/test/aottest/bc_builder/ |
| D | bc_builder.ts | 30 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/ |
| D | IteratorTest.js | 27 let next = iterator.next(); variable 28 while (!next.done) { 29 const fruit = next.value; 31 next = iterator.next();
|