Home
last modified time | relevance | path

Searched refs:offset_ (Results 1 – 22 of 22) sorted by relevance

/arkcompiler/runtime_core/libpandabase/utils/
Dbit_vector.h103 BitVectorIterator(WordType *data, int offset) : data_(data), offset_(offset) {} in BitVectorIterator()
112 return data_ == other.data_ && offset_ == other.offset_;
117 return data_ < other.data_ || (data_ == other.data_ && offset_ < other.offset_);
143 return (*data_ & (1U << helpers::ToUnsigned(offset_))) != 0;
145 ASSERT(offset_ >= 0);
146 return BitReference(data_, 1U << helpers::ToUnsigned(offset_));
193 return (data_ - other.data_) * WORD_BITS + (offset_ - other.offset_);
204 if (offset_++ == (WORD_BITS - 1)) { in BumpUp()
205 offset_ = 0; in BumpUp()
212 if (offset_-- == 0) { in BumpDown()
[all …]
Dbit_memory_stream.h31 BitMemoryStreamOut(Container *data, size_t offset) : data_(data), offset_(offset) {} in BitMemoryStreamOut()
35 data_->resize(RoundUp(BitsToBytesRoundUp(offset_ + length), sizeof(uint32_t))); in EnsureSpace()
43 BitMemoryRegion region(data_->data(), offset_, length); in Write()
45 offset_ += length; in Write()
55 BitMemoryRegion region(data_->data(), offset_, length); in Write()
67 offset_ += length; in Write()
77 size_t offset_ {0};
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
Dbinary_buffer_parser.cpp22 if (count > 0 && count + offset_ <= length_) { in ParseBuffer()
23 if (memcpy_s(dst, count, buffer_ + offset_, count) != EOK) { in ParseBuffer()
26 offset_ = offset_ + count; in ParseBuffer()
34 offset_ = offset; in ParseBuffer()
Dbinary_buffer_parser.h36 uint32_t offset_ {0};
/arkcompiler/runtime_core/libpandafile/
Dmethod_handle_data_accessor.h53 return File::EntityId(offset_); in GetEntityId()
61 uint32_t offset_; variable
Dfile_writer.h150 sp_[offset_++] = byte; in WriteByte()
160 auto sub_sp = sp_.SubSpan(offset_, bytes.size()); in WriteBytes()
164 offset_ += bytes.size(); in WriteBytes()
170 return offset_; in GetOffset()
175 size_t offset_ {0};
Dfile.h101 explicit constexpr EntityId(uint32_t offset) : offset_(offset) {} in EntityId()
109 return offset_ > sizeof(Header); in IsValid()
114 return offset_; in GetOffset()
124 return l.offset_ < r.offset_;
129 return l.offset_ == r.offset_;
134 return stream << id.offset_;
138 uint32_t offset_ {0};
Dmethod_handle_data_accessor.cpp27 offset_ = helpers::ReadULeb128(&sp); in MethodHandleDataAccessor()
Dfile_item_container.cpp53 ItemWriter(std::vector<uint8_t> *buf, size_t offset) : buf_(buf), offset_(offset) {} in ItemWriter()
62 ++offset_; in WriteByte()
69 offset_ += bytes.size(); in WriteBytes()
75 return offset_; in GetOffset()
80 size_t offset_; member in panda::panda_file::ItemDeduper::ItemWriter
Dfile_items.h193 return offset_; in GetOffset()
198 return panda_file::File::EntityId(offset_); in GetFileId()
203 offset_ = offset; in SetOffset()
274 uint32_t offset_ {0};
/arkcompiler/ets_runtime/ecmascript/stackmap/
Dark_stackmap_builder.h43 return offset_; in GetOffset()
47 offset_ = AlignUp(offset_, LLVMStackMapType::STACKMAP_ALIGN_BYTES); in AlignOffset()
52 uint32_t offset_ {0};
Dllvm_stackmap_type.h189 explicit DataInfo(std::unique_ptr<uint8_t[]> data): data_(std::move(data)), offset_(0) {} in DataInfo()
193 offset_ = 0; in ~DataInfo()
198 T t = *reinterpret_cast<const T*>(data_.get() + offset_); in Read()
199 offset_ += sizeof(T); in Read()
204 return offset_; in GetOffset()
208 unsigned int offset_ {0};
Dark_stackmap_builder.cpp26 uint8_t *dst = buffer_ + offset_; in WriteBuffer()
28 std::cout << "buffer_:0x" << std::hex << buffer_ << " offset_:0x" << offset_ << std::endl; in WriteBuffer()
35 offset_ = offset_ + count; in WriteBuffer()
/arkcompiler/ets_frontend/es2panda/lexer/token/
DsourceLocation.cpp26 size_t diff = offset - offset_; in AddCol()
27 offset_ = offset; in AddCol()
DsourceLocation.h83 explicit OffsetEntry(size_t l) : lineStart(l), offset_(l) {}; in OffsetEntry()
95 size_t offset_ {};
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_info.h47 uint32_t offset_ {0};
118 GetPandaInfoSection()->offset_ = Size(); in PGOProfilerHeader()
551 TypeInfoHeader(InfoType type, uint32_t offset) : infoType_(type), offset_(offset) {} in TypeInfoHeader()
553 : size_(size), infoType_(type), offset_(offset) {} in TypeInfoHeader()
567 return offset_; in GetOffset()
573 uint32_t offset_ {0};
588 return offset_ < right.offset_;
624 return offset_ < right.offset_;
666 …return offset_ < right.GetOffset() || GetType() < right.GetType() || superType_ < right.superType_;
Dpgo_profiler_info.cpp160 … pandaInfoSection->offset_ -= sizeof(PGOProfilerHeader) - sizeof(PGOProfilerHeaderLegacy); in ParseFromText()
182 void *addr = reinterpret_cast<void *>(reinterpret_cast<uintptr_t>(buffer) + info->offset_); in ParseFromBinary()
191 fileStream.seekp(info->offset_); in ProcessToBinary()
196 info->size_ = static_cast<uint32_t>(fileStream.tellp()) - info->offset_; in ProcessToBinary()
798 secInfo.offset_ = sizeof(SectionInfo); in ProcessToBinary()
1082 void *addr = reinterpret_cast<void *>(reinterpret_cast<uintptr_t>(buffer) + info->offset_); in ParseFromBinary()
1119 info->offset_ = static_cast<uint32_t>(fileStream.tellp()); in ProcessToBinary()
1131 info->size_ = static_cast<uint32_t>(fileStream.tellp()) - info->offset_; in ProcessToBinary()
1138 info->offset_ = static_cast<uint32_t>(fileStream.tellp()); in ProcessToBinary()
1145 info->size_ = static_cast<uint32_t>(fileStream.tellp()) - info->offset_; in ProcessToBinary()
[all …]
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
Demitter.h99 size_t offset_ {0};
Demitter.cpp178 pandaIns->ins_debug.bound_left = offset_; in GenInstructionDebugInfo()
179 pandaIns->ins_debug.bound_right = offset_ + insLen; in GenInstructionDebugInfo()
182 offset_ += insLen; in GenInstructionDebugInfo()
/arkcompiler/ets_runtime/ecmascript/base/
Dbit_helper.h44 *buffer = reinterpret_cast<void *>(reinterpret_cast<uintptr_t>(*buffer) + result.offset_); in ReadBuffer()
/arkcompiler/toolchain/tooling/base/
Dpt_types.h2489 return offset_; in GetOffset()
2494 offset_ = offset; in SetOffset()
2513 int32_t offset_ {0};
Dpt_types.cpp2937 typeProfileEntry->offset_ = offset; in Create()
2972 result->Add("offset", offset_); in ToJson()