/arkcompiler/ets_runtime/ecmascript/base/ |
D | json_parser.h | 66 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/ |
D | range.h | 24 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
|
D | bit_table.h | 309 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/ |
D | area.h | 24 : 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
|
D | allocator-inl.h | 26 …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()
|
D | mark_stack.h | 61 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()
|
D | allocator.h | 57 return end_; in GetEnd() 67 return &end_; in GetEndAddress() 72 return (end_ - top_); in Available() 78 uintptr_t end_ {0};
|
D | chunk.cpp | 37 ASSERT(end_ - ptr_ < size); in Expand() 67 end_ = area->GetEnd(); in Expand() 78 end_ = 0; in ReleaseMemory()
|
D | chunk.h | 48 if (UNLIKELY(size > end_ - ptr_)) { in Allocate() 93 uintptr_t end_ {0};
|
D | region.h | 106 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/ |
D | labelPair.h | 25 LabelPair(Label *begin, Label *end) : begin_(begin), end_(end) {} in LabelPair() 34 return end_; in End() 39 Label *end_ {};
|
D | switchBuilder.cpp | 29 …: 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()
|
D | switchBuilder.h | 46 Label *end_; variable
|
D | labelTarget.h | 75 return end_; in ContinueTarget()
|
/arkcompiler/ets_runtime/ecmascript/regexp/ |
D | regexp_parser.h | 62 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
|
D | regexp_parser.cpp | 425 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/ |
D | liveness_analyzer.h | 35 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/ |
D | bytecodes.h | 711 : 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/ |
D | file_item_container.h | 181 return end_; in GetEndItem() 373 end_ = item; in SetEnd() 379 index->UpdateItems(start_, end_); in UpdateItems() 397 BaseItem *end_ {nullptr}; 568 BaseItem *end_; variable
|
D | file_item_container.cpp | 172 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/ |
D | js_serializer.h | 175 begin_(data), position_(data), end_(data + size), engine_(hint) in thread_() 224 const uint8_t *end_ = nullptr; variable
|
D | js_serializer.cpp | 1035 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/ |
D | pt_params.h | 105 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_ {};
|
D | pt_types.h | 1289 return end_.get(); in GetEnd() 1294 end_ = std::move(end); in SetEnd() 1304 std::unique_ptr<ScriptPosition> end_ {nullptr};
|
D | pt_params.cpp | 136 paramsObject->end_ = std::move(location); in Create()
|