| /arkcompiler/ets_frontend/es2panda/lexer/regexp/ |
| D | regexp.cpp | 46 char32_t RegExpParser::Next() in Next() function in panda::es2panda::lexer::RegExpParser 48 return iter_.Next(); in Next() 111 Next(); in ParseDisjunction() 119 Next(); in ParseAlternative() 123 Next(); in ParseAlternative() 133 Next(); in ParseAlternative() 137 Next(); in ParseAlternative() 144 Next(); // eat '?' in ParseAlternative() 146 char32_t cp = Next(); in ParseAlternative() 168 Next(); in ParseAlternative() [all …]
|
| /arkcompiler/runtime_core/verification/util/ |
| D | obj_pool.h | 33 Accessor() : idx {0}, pool {nullptr}, prev {nullptr}, next {nullptr} {} in Accessor() 34 …td::size_t index, ObjPool *obj_pool) : idx {index}, pool {obj_pool}, prev {nullptr}, next {nullptr} in Accessor() 38 Accessor(const Accessor &p) : idx {p.idx}, pool {p.pool}, prev {nullptr}, next {nullptr} in Accessor() 42 Accessor(Accessor &&p) : idx {p.idx}, pool {p.pool}, prev {p.prev}, next {p.next} in Accessor() 62 next = p.next; 95 next = nullptr; in Reset() 100 next = pool->Accessors[idx]; in Insert() 101 if (next != nullptr) in Insert() 102 next->prev = this; in Insert() 110 pool->Accessors[idx] = next; in Erase() [all …]
|
| D | equiv_classes.h | 73 ObjIndex Next; member 135 lhs_tail_obj_entry.Next = rhs_cls_entry.Head; in JoinClasses() 139 auto obj = lhs_tail_obj_entry.Next; in JoinClasses() 143 obj = obj_entry.Next; in JoinClasses() 176 auto &next = obj_entry.Next; in DisposeObjIndex() local 178 ObjEntry(prev).Next = next; in DisposeObjIndex() 180 if (next.IsValid()) { in DisposeObjIndex() 181 ObjEntry(next).Prev = prev; in DisposeObjIndex() 184 cls_entry.Head = next; in DisposeObjIndex() 193 obj_entry.Next.Invalidate(); in DisposeObjIndex() [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/ets_runtime/test/moduletest/container/ |
| D | container_hashmap.js | 46 res.set("test keys:", iteratorKey.next().value == "a" && iteratorKey.next().value == "b" && 47 iteratorKey.next().value == "c" && iteratorKey.next().value == undefined); 50 …res.set("test values:", iteratorValues.next().value == "aa" && iteratorValues.next().value == "bb"… 51 iteratorValues.next().value == "cc" && iteratorValues.next().value == undefined); 54 iteratorEntries.next().value; 55 iteratorEntries.next().value; 56 res.set("test entries1:", iteratorEntries.next().value != undefined); 57 res.set("itest entries2:", iteratorEntries.next().value == undefined); 119 res.set("test keys:", iteratorKey1.next().value == "a" && iteratorKey1.next().value == "b" && 120 iteratorKey1.next().value == "c" && iteratorKey1.next().value == undefined); [all …]
|
| D | container_treemap.js | 45 res.set("test keys:", iteratorKey.next().value == "a" && iteratorKey.next().value == "b" && 46 iteratorKey.next().value == "c" && iteratorKey.next().value == undefined); 49 …res.set("test values:", iteratorValues.next().value == "aa" && iteratorValues.next().value == "bb"… 50 iteratorValues.next().value == "cc" && iteratorValues.next().value == undefined); 53 iteratorEntries.next().value; 54 iteratorEntries.next().value; 55 res.set("test entries1:", iteratorEntries.next().value != undefined); 56 res.set("itest entries2:", iteratorEntries.next().value == undefined); 123 res.set("test keys:", iteratorKey1.next().value == "a" && iteratorKey1.next().value == "b" && 124 iteratorKey1.next().value == "c" && iteratorKey1.next().value == undefined); [all …]
|
| D | container_hashset.js | 38 …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 …]
|
| D | container_treeset.js | 44 …map.set("test values:", iteratorSetValues.next().value == "aa" && iteratorSetValues.next().value =… 45 iteratorSetValues.next().value == "cc" && iteratorSetValues.next().value == undefined); 48 iteratorSetEntries.next().value; 49 iteratorSetEntries.next().value; 50 map.set("test entries1:", iteratorSetEntries.next().value != undefined); 51 map.set("test entries2:", iteratorSetEntries.next().value == undefined); 114 …map.set("test values:", iteratorSetValues1.next().value == "aa" && iteratorSetValues1.next().value… 115 … iteratorSetValues1.next().value == "cc" && iteratorSetValues1.next().value == undefined); 118 iteratorSetEntries1.next().value; 119 iteratorSetEntries1.next().value; [all …]
|
| D | container_lightweightmap.js | 48 res.set("test keys:", iteratorKey1.next().value == "a" && iteratorKey1.next().value == "b" && 49 iteratorKey1.next().value == "c" && iteratorKey1.next().value == undefined); 52 …res.set("test values:", iteratorValues1.next().value == "aa" && iteratorValues1.next().value == "b… 53 iteratorValues1.next().value == "cc" && iteratorValues1.next().value == undefined); 56 iteratorEntries1.next().value; 57 iteratorEntries1.next().value; 58 res.set("test entries1:", iteratorEntries1.next().value != undefined); 59 res.set("itest entries2:", iteratorEntries1.next().value == undefined);
|
| D | container_lightweightset.js | 42 … res.set("test values:", iteratorValues1.next().value == 1 && iteratorValues1.next().value == 2 && 43 iteratorValues1.next().value == 3 && iteratorValues1.next().value == undefined); 46 iteratorEntries1.next().value; 47 iteratorEntries1.next().value; 48 res.set("test entries1:", iteratorEntries1.next().value != undefined); 49 res.set("itest entries2:", iteratorEntries1.next().value == undefined);
|
| /arkcompiler/runtime_core/compiler/optimizer/code_generator/ |
| D | spill_fill_encoder.cpp | 77 auto next = std::next(it); in SortSpillFillData() local 78 …while (next != spill_fills->end() && it->SrcType() == next->SrcType() && it->DstType() == next->Ds… in SortSpillFillData() 79 ++next; in SortSpillFillData() 83 std::sort(it, next, [](auto sf1, auto sf2) { return sf1.DstValue() > sf2.DstValue(); }); in SortSpillFillData() 86 std::sort(it, next, [](auto sf1, auto sf2) { return sf1.SrcValue() > sf2.SrcValue(); }); in SortSpillFillData() 89 it = next; in SortSpillFillData() 113 auto next_it = std::next(it); in EncodeSpillFill() 114 SpillFillData *next = next_it == end ? nullptr : &(*next_it); in EncodeSpillFill() local 121 for (auto group_it = it, next_group_it = std::next(it); in EncodeSpillFill() 136 adv = EncodeRegisterToX(sf, next, consecutive_ops_hint); in EncodeSpillFill() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | ecma_global_storage.h | 93 void Reset([[maybe_unused]] JSThread *thread, Node *next, JSTaggedType value, bool isUsing) in Reset() argument 96 SetNext(next); in Reset() 112 void Reset(JSThread *thread, Node *next, JSTaggedType value, bool isUsing) in Reset() argument 114 Node::Reset(thread, next, value, isUsing); in Reset() 322 inline void SetNext(NodeList *next) in SetNext() argument 324 next_ = next; in SetNext() 340 inline void SetFreeNext(NodeList<T> *next) in SetFreeNext() argument 342 freeNext_ = next; in SetFreeNext() 361 T *next = usedList_; in IterateUsageGlobal() local 363 while (next != nullptr) { in IterateUsageGlobal() [all …]
|
| /arkcompiler/runtime_core/tests/cts-assembly/ |
| D | obj-13.pa | 18 # 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/compiler/optimizer/templates/ |
| D | codegen_language_extensions.h.erb | 17 % 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"]
|
| D | ir-dyn-base-types.h.erb | 25 % next unless plugin_opts["compiler_base_types"] 26 % next unless plugin_opts["compiler_base_types"]["header_path_implementation_codegen"] 31 % next unless plugin_opts["compiler_extensions"] 32 % next unless plugin_opts["compiler_extensions"]["main_header_path"] 113 % next unless plugin_opts["compiler_base_types"] 114 % next unless plugin_opts["compiler_base_types"]["list_types"] 140 % next unless plugin_opts["compiler_base_types"] 141 % next unless plugin_opts["compiler_base_types"]["list_types"]
|
| /arkcompiler/runtime_core/verification/util/parser/ |
| D | parser.h | 72 using next = base_parser<Context, type_sum<NType, T>, Char, Iter>; 76 static next<charset<Char>> of_charset(const charset<Char> &c) 92 static next<Char *> of_string(Char *str) 110 static next<op_end> end() 116 next<op_optional> operator~() && 125 next<op_optional> operator~() const & 137 bool, next<type_prod<op_action, F>>>::type 164 next<type_prod<op_action, F>>>::type 190 next<type_prod<op_action, F>>>::type 216 …typename if_type<decltype(f(action::START, ref_to<Context>())), bool, next<type_prod<op_action, F>… [all …]
|
| /arkcompiler/ets_runtime/test/aottest/definegeneratorfunc/ |
| D | definegeneratorfunc.ts | 25 print(gen.next().value); 26 print(gen.next().value); 27 print(gen.next().value); 28 print(gen.next().done);
|
| /arkcompiler/ets_runtime/test/moduletest/asyncgenerator/ |
| D | asyncgeneratornext.js | 30 print("asyncgenerator next start"); 31 b.next(); 32 b.next(3); 33 print("asyncgenerator next end");
|
| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | arena.h | 45 * @param arena - Arena which will be linked as next to the current 50 * \brief Clear link to the next arena 55 * \brief Returns next linked Arena 56 * @return next linked Arena or nullptr 177 * \brief Links this Arena to the next \param arena 178 * @param arena - Arena which will be linked as next to the current 196 * \brief Returns next linked Arena 197 * @return next linked Arena or nullptr
|
| /arkcompiler/ets_runtime/test/aottest/suspendgeneratorphi/ |
| D | suspendgeneratorphi.ts | 29 var a = gen1.next().value; 30 var b = gen1.next().value; 33 var c = gen2.next().value; 34 var d = gen2.next().value;
|
| /arkcompiler/ets_runtime/test/aottest/suspendgeneratorbranch/ |
| D | suspendgeneratorbranch.ts | 36 var a = gen1.next().value; 37 var b = gen1.next().value; 40 var c = gen2.next().value; 41 var d = gen2.next().value;
|
| /arkcompiler/ets_runtime/test/moduletest/generator/ |
| D | generator.js | 43 var a = p.next() 45 var b = p.next() 47 var c = p.next() 49 var d = p.next()
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_api_vector_iterator_test.cpp | 137 * @tc.name: Next 139 * whether the elements through "Next" function are consistent. 143 HWTEST_F_L0(JSAPIVectorIteratorTest, Next) in HWTEST_F_L0() argument 164 JSTaggedValue result = JSAPIVectorIterator::Next(ecmaRuntimeCallInfo); in HWTEST_F_L0() 182 * @tc.name: Next 183 * @tc.desc: test special return of Next, including throw exception and return undefined 194 // test Next exception in HWTEST_F_L0() 201 JSTaggedValue result = JSAPIVectorIterator::Next(ecmaRuntimeCallInfo); in HWTEST_F_L0() 207 // test Next return undefined in HWTEST_F_L0() 214 JSTaggedValue result = JSAPIVectorIterator::Next(ecmaRuntimeCallInfo); in HWTEST_F_L0()
|
| D | js_api_deque_iterator_test.cpp | 81 * @tc.name: Next 83 * the elements are consistent through Next function. 87 HWTEST_F_L0(JSAPIDequeIteratorTest, Next) in HWTEST_F_L0() argument 109 JSTaggedValue result = JSAPIDequeIterator::Next(ecmaRuntimeCallInfo); in HWTEST_F_L0() 125 * @tc.name: Next 126 * @tc.desc: test special return of Next, including throw exception and return undefined 137 // test Next exception in HWTEST_F_L0() 144 JSTaggedValue result = JSAPIDequeIterator::Next(ecmaRuntimeCallInfo); in HWTEST_F_L0() 150 // test Next return undefined in HWTEST_F_L0() 157 JSTaggedValue result = JSAPIDequeIterator::Next(ecmaRuntimeCallInfo); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_weak_set.cpp | 77 JSHandle<JSTaggedValue> next = JSIterator::IteratorStep(thread, iter); in WeakSetConstructor() local 78 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, next.GetTaggedValue()); in WeakSetConstructor() 81 while (!next->IsFalse()) { in WeakSetConstructor() 82 // Let nextValue be IteratorValue(next). in WeakSetConstructor() 83 JSHandle<JSTaggedValue> nextValue(JSIterator::IteratorValue(thread, next)); in WeakSetConstructor() 100 // Let next be IteratorStep(iter). in WeakSetConstructor() 101 next = JSIterator::IteratorStep(thread, iter); in WeakSetConstructor() 102 // ReturnIfAbrupt(next). in WeakSetConstructor() 103 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, next.GetTaggedValue()); in WeakSetConstructor()
|