/ark/js_runtime/ecmascript/base/ |
D | json_parser.h | 64 end_ = end - 1; in Parse() 72 range_ = end_; in Parse() 134 std::string strNum(current_, end_ + 1); in ParseNumber() 135 current_ = end_; in ParseNumber() 143 if (UNLIKELY(current_++ == end_)) { in ParseNumber() 159 std::string strNum(current, end_ + 1); in ParseNumber() 160 current_ = end_; in ParseNumber() 184 if (current_ == end_) { in ParseBackslash() 231 end_--; in SlowParseString() 233 while (current_ <= end_) { in SlowParseString() [all …]
|
/ark/js_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 | 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}; 125 if (UNLIKELY(top_ >= end_)) { in PushBack()
|
D | chunk.cpp | 37 ASSERT(end_ - ptr_ < size); in Expand() 67 end_ = area->GetEnd(); in Expand() 78 end_ = 0; in ReleaseMemory()
|
D | allocator.h | 56 return end_; in GetEnd() 61 return (end_ - top_); in Available() 67 uintptr_t end_ {0};
|
D | region.h | 61 end_(end), in Region() 76 highWaterMark_ = end_; in Reset() 109 return end_; in GetEnd() 114 return end_ - reinterpret_cast<uintptr_t>(this); in GetCapacity() 119 return end_ - begin_; in GetSize() 227 return address >= begin_ && address <= end_; in InRange() 413 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() 46 if (UNLIKELY(top_ + size > end_)) { in Allocate()
|
D | chunk.h | 46 if (UNLIKELY(size > end_ - ptr_)) { in Allocate() 91 uintptr_t end_{0};
|
/ark/js_runtime/ecmascript/regexp/ |
D | regexp_parser.h | 57 end_(nullptr), in RegExpParser() 81 end_ = reinterpret_cast<uint8_t *>(source) + length - 1; in Init() 182 end_ = nullptr; in Clear() 189 if (pc_ <= end_) { in Advance() 222 uint8_t *end_; variable
|
D | regexp_parser.cpp | 414 int32_t length = end_ - pc_ + 1; in ParseAlternative() 808 …for (p = base_; p < end_; p++) { // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmeti… in ParseCaptureCount() 837 while (p < end_ && *p != ']') { in ParseCaptureCount() 1183 if (pc_ >= end_) { in ParseClassAtom()
|
/ark/runtime_core/runtime/mem/ |
D | region_space.h | 50 end_(end), in Region() 80 return end_; in End() 158 return end_ - ToUintPtr(this); in Size() 169 return ToUintPtr(object) >= begin_ && ToUintPtr(object) < end_; in IsInRange() 275 uintptr_t end_; variable
|
D | region_space-inl.h | 69 if (UNLIKELY(new_top > end_)) { in Alloc() 76 if (UNLIKELY(new_top > end_)) { in Alloc()
|
/ark/runtime_core/runtime/tests/ |
D | bitmap_test_base.h | 37 …BitmapVerify(BitmapType *bitmap, void *begin, void *end) : bitmap_(bitmap), begin_(begin), end_(en… in BitmapVerify() 42 EXPECT_TRUE(obj <= end_); in operator() 48 void *end_; variable
|
/ark/runtime_core/libpandafile/ |
D | file_item_container.h | 251 end_ = item; in SetEnd() 257 index->UpdateItems(start_, end_); in UpdateItems() 275 BaseItem *end_ {nullptr}; 456 EndItem end_; variable
|
D | file_item_container.cpp | 440 end_.SetOffset(cur_offset); in ComputeLayout() 468 index_section_item_.GetCurrentHeader()->SetEnd(&end_); in RebuildIndexSection() 498 end_.SetOrderIndex(idx++); in UpdateOrderIndexes() 779 ASSERT(end_ != nullptr); in Write() 780 ASSERT(end_->GetOffset() != 0); in Write() 786 if (!writer->Write<uint32_t>(end_->GetOffset())) { in Write()
|
/ark/js_runtime/ecmascript/ |
D | js_serializer.h | 137 : thread_(thread), begin_(data), position_(data), end_(data + size) in JSDeserializer() 173 const uint8_t * const end_ = nullptr; variable
|
D | js_serializer.cpp | 731 if (position_ >= end_) { in ReadType() 745 if (len > static_cast<size_t>(end_ - position_)) { in ReadInt() 758 if (len > static_cast<size_t>(end_ - position_)) { in ReadObjectId() 771 if (len > static_cast<size_t>(end_ - position_)) { in ReadDouble() 1215 if (len > static_cast<size_t>(end_ - position_)) { in ReadJSTaggedValue() 1228 if (bufferSize > static_cast<size_t>(end_ - position_)) { in GetBuffer()
|
/ark/js_runtime/ecmascript/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 | 1060 return end_.get(); in GetEnd() 1065 end_ = std::move(end); in SetEnd() 1075 std::unique_ptr<ScriptPosition> end_ {nullptr};
|
D | pt_params.cpp | 136 paramsObject->end_ = std::move(location); in Create()
|
D | pt_types.cpp | 1085 locationRange->end_ = std::move(obj); in Create() 1106 ASSERT(end_ != nullptr); in ToJson() 1107 result->Add("end", end_->ToJson()); in ToJson()
|
/ark/runtime_core/runtime/include/ |
D | cframe_iterators.h | 32 Range(It begin, It end) : begin_(begin), end_(end) {} in Range() 41 return end_; in end() 46 It end_; variable
|
/ark/runtime_core/libpandabase/utils/ |
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
|
/ark/js_runtime/ecmascript/snapshot/mem/ |
D | snapshot.cpp | 166 region->end_ = ToUintPtr(region) + defaultSnapshotSpaceCapacity; in DeserializeGlobalEnvAndProgram()
|