/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/ |
H A D | ptr_list_ref.h | 232 explicit PtrListRef(pointer value) : first(value), last(value) {} in PtrListRef() 234 PtrListRef(pointer first, pointer last) : first(first), last(last == nullptr ? first : last) {} in PtrListRef() argument 255 return iterator(this->last == nullptr ? nullptr : this->last->GetNext()); in end() 260 return const_iterator(this->last == nullptr ? nullptr : this->last->GetNext()); in end() 265 return const_iterator(this->last in cend() 512 T *last = nullptr; global() member in maple::PtrListRef [all...] |
/arkcompiler/ets_runtime/ecmascript/js_api/ |
H A D | js_api_deque.cpp | 33 uint32_t last = deque->GetLast(); in InsertFront() local 35 if ((first + capacity - 1) % capacity == last) { in InsertFront() 36 elements = GrowCapacity(thread, deque, capacity, first, last); in InsertFront() 54 uint32_t last = deque->GetLast(); in InsertEnd() local 56 if (first == (last + 1) % capacity) { in InsertEnd() 57 elements = GrowCapacity(thread, deque, capacity, first, last); in InsertEnd() 60 last = capacity - 1; in InsertEnd() 62 elements->Set(thread, last, value); in InsertEnd() 65 last = (last in InsertEnd() 88 uint32_t last = GetLast(); GetTail() local 93 GrowCapacity(JSThread *thread, const JSHandle<JSAPIDeque> &deque, uint32_t oldCapacity, uint32_t first, uint32_t last) GrowCapacity() argument 127 uint32_t last = GetLast(); PopLast() local 141 uint32_t last = GetLast(); IsEmpty() local 150 uint32_t last = GetLast(); GetSize() local 184 uint32_t last = GetLast(); Has() local [all...] |
H A D | js_api_deque_iterator.cpp | 52 uint32_t last = deque->GetLast(); in Next() local 53 if (index == last) { in Next()
|
/arkcompiler/ets_frontend/ets2panda/ast_verifier/ |
H A D | sequenceExpressionHasLastType.cpp | 27 const auto *last = expr->Sequence().back(); in operator ()() local 32 if (last->TsType() == nullptr) { in operator ()() 33 ctx.AddCheckMessage("Sequence expression last type is null", *last, last->Start()); in operator ()() 36 if (expr->TsType() != last->TsType()) { in operator ()() 37 ctx.AddCheckMessage("Sequence expression type and last expression type are not the same", *expr, expr->Start()); in operator ()()
|
/arkcompiler/ets_runtime/test/moduletest/regexpflagd/ |
H A D | regexpflagd.js | 22 var regexpNames = /姓氏:(?<first>.+),名字:(?<last>.+)/gmd; 31 print(result.indices.groups.last); 33 print(result.groups.last); 40 print(result.indices.groups.last); 42 print(result.groups.last);
|
/arkcompiler/runtime_core/libpandabase/utils/ |
H A D | list.h | 242 Iterator InsertAfter(ConstIterator position, InputIterator first, InputIterator last) in InsertAfter() argument 244 while (first != last) { in InsertAfter() 252 ConstIterator last = position; in EraseAfter() local 254 std::advance(last, SHIFT); in EraseAfter() 255 return EraseAfter(position, last); in EraseAfter() 259 * Erase elements in range (position, last) 261 Iterator EraseAfter(ConstIterator position, ConstIterator last) in EraseAfter() argument 263 ASSERT(position != last); in EraseAfter() 264 position.node_->next_ = last.node_; in EraseAfter() 265 return Iterator(last in EraseAfter() 318 Splice(ConstIterator position, List &src_list, ConstIterator first, ConstIterator last) Splice() argument [all...] |
H A D | bit_vector.h | 35 inline void fill(panda::BitVectorIterator<IsConst> first, panda::BitVectorIterator<IsConst> last, bool value); 238 friend void std::fill(panda::BitVectorIterator<_IsConst> first, panda::BitVectorIterator<_IsConst> last, 634 inline void FillBitVector(panda::BitVectorIterator<IsConst> first, panda::BitVectorIterator<IsConst> last, bool value) in FillBitVector() argument 636 for (; first != last; ++first) { in FillBitVector() 653 inline void fill(panda::BitVectorIterator<IsConst> first, panda::BitVectorIterator<IsConst> last, bool value) in fill() argument 655 if (first.data_ != last.data_) { in fill() 657 std::fill(first.data_ + 1, last.data_, value ? ~0LLU : 0); in fill() 660 panda::internal::FillBitVector(panda::BitVectorIterator<IsConst>(last.data_, 0), last, value); in fill() local 662 panda::internal::FillBitVector(first, last, valu in fill() [all...] |
/arkcompiler/runtime_core/static_core/libpandabase/utils/ |
H A D | list.h | 238 Iterator InsertAfter(ConstIterator position, InputIterator first, InputIterator last) in InsertAfter() argument 240 while (first != last) { in InsertAfter() 248 ConstIterator last = position; in EraseAfter() local 250 std::advance(last, SHIFT); in EraseAfter() 251 return EraseAfter(position, last); in EraseAfter() 254 /// Erase elements in range (position, last) 255 Iterator EraseAfter(ConstIterator position, ConstIterator last) in EraseAfter() argument 257 ASSERT(position != last); in EraseAfter() 258 position.node_->next_ = last.node_; in EraseAfter() 259 return Iterator(last in EraseAfter() 306 Splice(ConstIterator position, List &srcList, ConstIterator first, ConstIterator last) Splice() argument [all...] |
H A D | bit_vector.h | 36 inline void fill(ark::BitVectorIterator<IS_CONST> first, ark::BitVectorIterator<IS_CONST> last, bool value); 248 friend void std::fill(ark::BitVectorIterator<IS_CONST_ITER> first, ark::BitVectorIterator<IS_CONST_ITER> last, 670 inline void FillBitVector(ark::BitVectorIterator<IS_CONST> first, ark::BitVectorIterator<IS_CONST> last, bool value) in FillBitVector() argument 672 for (; first != last; ++first) { in FillBitVector() 690 inline void fill(ark::BitVectorIterator<IS_CONST> first, ark::BitVectorIterator<IS_CONST> last, bool value) in fill() argument 692 if (first.data_ != last.data_) { in fill() 694 std::fill(first.data_ + 1, last.data_, value ? ~0LLU : 0); in fill() 697 ark::internal::FillBitVector(ark::BitVectorIterator<IS_CONST>(last.data_, 0), last, value); in fill() local 699 ark::internal::FillBitVector(first, last, valu in fill() [all...] |
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
H A D | condition_chain.h | 41 * Only last basic block in chain (B) has S1 successor which is called `single_predecessor_successor`. 105 auto last = begin_ + size_; in Contains() local 106 return std::find(begin_, last, bb) != last; in Contains()
|
H A D | scheduler.cpp | 292 Inst *last = nullptr; in ScheduleBasicBlock() local 294 last = inst->GetPrev(); in ScheduleBasicBlock() 297 last = inst; in ScheduleBasicBlock() 300 cycle += ScheduleInstsBetweenBarriers(first, last); in ScheduleBasicBlock() 362 // Rearranges instructions between [first..last] inclusive, none of them are barriers. 363 uint32_t Scheduler::ScheduleInstsBetweenBarriers(Inst *first, Inst *last) in ScheduleInstsBetweenBarriers() argument 365 COMPILER_LOG(DEBUG, SCHEDULER) << "SchedBetween " << first->GetId() << " and " << last->GetId(); in ScheduleInstsBetweenBarriers() 383 for (auto inst = first; inst != last->GetNext(); inst = inst->GetNext()) { in ScheduleInstsBetweenBarriers()
|
/arkcompiler/runtime_core/static_core/irtoc/backend/ |
H A D | irtoc_runtime.h | 72 auto last = exit->GetLastInst(); variable 73 if (last->IsReturn()) { 74 ASSERT(retType == compiler::DataType::NO_TYPE || retType == last->GetType()); 75 retType = last->GetType();
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_hclass-inl.h | 60 uint32_t last = cachedHClass->LastPropIndex(); in AddTransitions() local 63 JSTaggedValue(layoutInfo->GetAttr(last).GetPropertyMetaData())); in AddTransitions() 64 auto lastKey = JSHandle<JSTaggedValue>(thread, layoutInfo->GetKey(last)); in AddTransitions() 98 uint32_t last = cachedHClass->LastPropIndex(); in AddProtoTransitions() local 101 JSTaggedValue(layoutInfo->GetAttr(last).GetPropertyMetaData())); in AddProtoTransitions() 102 auto lastKey = JSHandle<JSTaggedValue>(thread, layoutInfo->GetKey(last)); in AddProtoTransitions() 128 int last = static_cast<int>(cachedHClass->LastPropIndex()); in FindTransitions() local 130 auto lastMetaData = layoutInfo->GetAttr(last).GetPropertyMetaData(); in FindTransitions() 131 auto lastKey = layoutInfo->GetKey(last); in FindTransitions() 190 int last in CheckHClassForRep() local [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/escompat/array_js_suites/ |
H A D | test_find_last.js | 39 let last = arr.findLast(fnTrue); 40 ASSERT_EQ(last, 'foo');
|
/arkcompiler/ets_runtime/test/moduletest/mapget/ |
H A D | mapget.js | 240 let last = map.entries(); // points to (3, null) 241 last.next(); 242 last.next(); 256 if (!last.next().done) { 257 throw new Error("Invalid 'last' iterator"); 285 if (!last.next().done) { 286 throw new Error("Invalid 'last' iterator");
|
/arkcompiler/runtime_core/static_core/irtoc/lang/ |
H A D | function.rb | 178 resolved = @unresolved.last[var_name.to_sym] 183 @locals.last[var_name.to_sym] = inst 185 r = @locals.last[var_name.to_sym] 188 @unresolved.last[var_name.to_sym] = var 199 @unresolved.last[var_sym] = var 214 @unresolved.last[method] = var 270 Output.println("auto* bb_#{@basic_blocks.last.index} = need_new_last_bb ? graph->CreateEmptyBlock() : (*cur_bb)->SplitBlockAfterInstruction((*cur_bb)->GetLastInst(), false);") 271 Output.println("ASSERT(bb_#{@basic_blocks.last.index}->GetGuestPc() == INVALID_PC);") 272 Output.println("bb_#{@basic_blocks.last.index}->SetGuestPc(pc);") 273 Output.println("bb_#{@basic_blocks.last [all...] |
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/evaluation/ |
H A D | base64.h | 38 auto last = input.end() - 1; in DecodedSize() local 39 for (size_t i = 0; i < MAX_PADDINGS && *last == PADDING_CHAR; ++i, --last) { in DecodedSize()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | containers_deque_stub_builder.h | 37 GateRef last = GetLast(obj);
in GetSize() local 38 return Int32Mod(Int32Add(Int32Sub(last, first), capacity), capacity);
in GetSize()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | linear_space.cpp | 406 Region *last = GetCurrentRegion(); in SetWaterLine() local 407 if (last != nullptr) { in SetWaterLine() 408 last->SetGCFlag(RegionGCFlags::HAS_AGE_MARK); in SetWaterLine() 410 EnumerateRegions([&last](Region *current) { in SetWaterLine() 411 if (current != last) { in SetWaterLine() 415 survivalObjectSize_ += last->GetAllocatedBytes(waterLine_); in SetWaterLine()
|
H A D | mark_stack.h | 127 Area *last = areaList_.PopBack(); in PopBack() local 128 currentArea_ = last; in PopBack()
|
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/ |
H A D | gc_intrusion.cpp | 688 auto last = casts.pop_back_val(); in HoistForRelocation() local 689 auto def = llvm::cast<Instruction>(last->getOperand(0)); in HoistForRelocation() 692 last->moveBefore(*def->getParent(), def->getParent()->getFirstInsertionPt()); in HoistForRelocation() 694 last->moveAfter(def); in HoistForRelocation() 699 curr->moveAfter(last); in HoistForRelocation() 700 last = curr; in HoistForRelocation() 748 Value *last = from; in CreateBackwardCasts() local 753 last = builder->CreatePtrToInt(last, targetType); in CreateBackwardCasts() 756 last in CreateBackwardCasts() [all...] |
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | program_object.cpp | 148 auto last = aotHCInfoArray->Get(aotHCInfoArray->GetLength() - 1); in MergeObjectLiteralHClassCache() local 149 if (!last.IsTaggedArray()) { in MergeObjectLiteralHClassCache() 152 auto snapshotCachedArray = TaggedArray::Cast(last); in MergeObjectLiteralHClassCache() 164 vm->GetGlobalEnv()->SetObjectLiteralHClassCache(thread, last); in MergeObjectLiteralHClassCache()
|
/arkcompiler/runtime_core/static_core/runtime/mem/gc/ |
H A D | gc_barrier_set.cpp | 175 void GCG1BarrierSet::Invalidate(CardTable::CardPtr begin, CardTable::CardPtr last) in Invalidate() argument 178 << " to " << cardTable_->GetCardEndAddress(last); in Invalidate() 180 for (auto *card = begin; card <= last; ++card) { in Invalidate()
|
/arkcompiler/ets_runtime/ecmascript/ts_types/ |
H A D | builtin_type_id.h | 130 size_t last = static_cast<size_t>(BuiltinTypeId::TYPED_ARRAY_LAST); in IsTypedArrayType() local 131 return first <= index && index <= last; in IsTypedArrayType()
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | regSpiller.cpp | 102 const auto last = spills_.back().Reversed(); in Restore() local 104 return last; in Restore()
|