Home
last modified time | relevance | path

Searched refs:end_ (Results 1 – 25 of 28) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/base/
Djson_parser.h66 end_ = (end == begin) ? end : end - 1; in Parse()
74 range_ = end_; in Parse()
137 std::string strNum(current_, end_ + 1); in ParseNumber()
138 current_ = end_; in ParseNumber()
151 if (UNLIKELY(current_++ == end_)) { in ParseNumber()
167 std::string strNum(current, end_ + 1); in ParseNumber()
168 current_ = end_; in ParseNumber()
197 if (current_ == end_) { in ParseBackslash()
244 end_--; in SlowParseString()
246 while (current_ <= end_) { in SlowParseString()
[all …]
/arkcompiler/runtime_core/libpandabase/utils/
Drange.h24 Range(It begin, It end) : begin_(begin), end_(end) {} in Range()
33 return end_; in end()
38 return std::distance(begin_, end_); in size()
43 It end_; variable
Dbit_table.h309 Range(BitTable *table, int start, int end) : table_(table), start_(start), end_(end) {} in Range()
316 return RangeIterator(table_, end_); in end()
326 int end_; variable
/arkcompiler/ets_runtime/ecmascript/mem/
Darea.h24 : begin_(begin), end_(begin + capacity), next_(nullptr), prev_(nullptr) in Area()
38 return end_; in GetEnd()
53 return end_ - begin_; in GetSize()
70 uintptr_t end_; variable
Dallocator-inl.h26 …or::BumpPointerAllocator(uintptr_t begin, uintptr_t end) : begin_(begin), top_(begin), end_(end) {} in BumpPointerAllocator()
32 end_ = 0; in Reset()
39 end_ = end; in Reset()
40 ASAN_POISON_MEMORY_REGION(reinterpret_cast<void *>(top_), (end_ - top_)); in Reset()
47 end_ = end; in Reset()
48 ASAN_POISON_MEMORY_REGION(reinterpret_cast<void *>(top_), (end_ - top_)); in Reset()
55 if (UNLIKELY(top_ + size > end_)) { in Allocate()
Dmark_stack.h61 if (UNLIKELY(top_ >= end_)) { in PushBackChecked()
78 end_ = reinterpret_cast<uintptr_t *>(end); in ResetBegin()
84 top_ = end_ = reinterpret_cast<uintptr_t *>(end); in ResetTop()
92 uintptr_t *end_ {nullptr};
141 if (UNLIKELY(top_ >= end_)) { in PushBack()
Dallocator.h57 return end_; in GetEnd()
67 return &end_; in GetEndAddress()
72 return (end_ - top_); in Available()
78 uintptr_t end_ {0};
Dchunk.cpp37 ASSERT(end_ - ptr_ < size); in Expand()
67 end_ = area->GetEnd(); in Expand()
78 end_ = 0; in ReleaseMemory()
Dchunk.h48 if (UNLIKELY(size > end_ - ptr_)) { in Allocate()
93 uintptr_t end_ {0};
Dregion.h106 end_(end), in Region()
147 return end_; in GetEnd()
157 return end_ - allocateBase_; in GetCapacity()
162 return end_ - packedData_.begin_; in GetSize()
349 return address >= packedData_.begin_ && address <= end_; in InRange()
586 uintptr_t end_; variable
/arkcompiler/ets_frontend/es2panda/compiler/core/
DlabelPair.h25 LabelPair(Label *begin, Label *end) : begin_(begin), end_(end) {} in LabelPair()
34 return end_; in End()
39 Label *end_ {};
DswitchBuilder.cpp29 …: pg_(pg), end_(pg->AllocLabel()), labelCtx_(pg, LabelTarget(end_, LabelTarget::BREAK_LABEL)), stm… in SwitchBuilder()
38 pg_->SetLabel(stmt_, end_); in ~SwitchBuilder()
74 pg_->Branch(stmt_, end_); in Break()
DswitchBuilder.h46 Label *end_; variable
DlabelTarget.h75 return end_; in ContinueTarget()
/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_parser.h62 end_(nullptr), in RegExpParser()
86 end_ = reinterpret_cast<uint8_t *>(source) + length - 1; in Init()
216 end_ = nullptr; in Clear()
223 if (pc_ <= end_) { in Advance()
256 uint8_t *end_; variable
Dregexp_parser.cpp425 int32_t length = end_ - pc_ + 1; in ParseAlternative()
800 if (p <= end_) { in ParseGroupSpecifier()
847 …for (p = base_; p < end_; p++) { // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmeti… in ParseCaptureCount()
876 while (p < end_ && *p != ']') { in ParseCaptureCount()
1301 if (pc_ >= end_) { in ParseClassAtom()
/arkcompiler/runtime_core/compiler/optimizer/analysis/
Dliveness_analyzer.h35 LiveRange(LifeNumber begin, LifeNumber end) : begin_(begin), end_(end) {} in LiveRange()
44 return (begin_ <= other.begin_ && other.end_ <= end_); in Contains()
49 return (begin_ <= number && number <= end_); in Contains()
54 return begin_ == other.begin_ && end_ == other.end_;
68 end_ = end; in SetEnd()
72 return end_; in GetEnd()
78 ss << "[" << begin_ << ":" << end_ << ")"; in ToString()
84 LifeNumber end_ = 0; variable
/arkcompiler/ets_runtime/ecmascript/compiler/
Dbytecodes.h711 : builder_(builder), start_(start), end_(end) {} in BytecodeIterator()
717 end_ = end; in Reset()
748 index_ = end_; in GotoEnd()
754 return (index_ <= end_) && (index_ >= start_); in InRange()
774 uint32_t end_ {0};
/arkcompiler/runtime_core/libpandafile/
Dfile_item_container.h181 return end_; in GetEndItem()
373 end_ = item; in SetEnd()
379 index->UpdateItems(start_, end_); in UpdateItems()
397 BaseItem *end_ {nullptr};
568 BaseItem *end_; variable
Dfile_item_container.cpp172 end_ = debug_items_end_->get(); in ItemContainer()
461 end_->SetOffset(cur_offset); in ComputeLayout()
489 index_section_item_.GetCurrentHeader()->SetEnd(end_); in RebuildIndexSection()
519 end_->SetOrderIndex(idx++); in UpdateOrderIndexes()
810 ASSERT(end_ != nullptr); in Write()
811 ASSERT(end_->GetOffset() != 0); in Write()
817 if (!writer->Write<uint32_t>(end_->GetOffset())) { in Write()
/arkcompiler/ets_runtime/ecmascript/
Djs_serializer.h175 begin_(data), position_(data), end_(data + size), engine_(hint) in thread_()
224 const uint8_t *end_ = nullptr; variable
Djs_serializer.cpp1035 if (position_ >= end_) { in ReadType()
1049 if (len > static_cast<size_t>(end_ - position_)) { in ReadInt()
1063 if (len > static_cast<size_t>(end_ - position_)) { in ReadObjectId()
1077 if (len > static_cast<size_t>(end_ - position_)) { in ReadDouble()
1096 uint8_t dataSize = end_ - begin_; in Deserialize()
1817 if (len > static_cast<size_t>(end_ - position_)) { in ReadJSTaggedValue()
1831 if (len > static_cast<size_t>(end_ - position_)) { in ReadNativePointer()
1845 if (bufferSize > static_cast<size_t>(end_ - position_)) { in GetBuffer()
/arkcompiler/toolchain/tooling/base/
Dpt_params.h105 if (end_) { in GetEnd()
106 return end_->get(); in GetEnd()
113 return end_.has_value(); in HasEnd()
131 std::optional<std::unique_ptr<Location>> end_ {};
Dpt_types.h1289 return end_.get(); in GetEnd()
1294 end_ = std::move(end); in SetEnd()
1304 std::unique_ptr<ScriptPosition> end_ {nullptr};
Dpt_params.cpp136 paramsObject->end_ = std::move(location); in Create()

12