/arkcompiler/runtime_core/libpandabase/utils/ |
D | bit_vector.h | 103 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 …]
|
D | bit_memory_stream.h | 31 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/ |
D | binary_buffer_parser.cpp | 22 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()
|
D | binary_buffer_parser.h | 36 uint32_t offset_ {0};
|
/arkcompiler/runtime_core/libpandafile/ |
D | method_handle_data_accessor.h | 53 return File::EntityId(offset_); in GetEntityId() 61 uint32_t offset_; variable
|
D | file_writer.h | 150 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};
|
D | file.h | 101 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};
|
D | method_handle_data_accessor.cpp | 27 offset_ = helpers::ReadULeb128(&sp); in MethodHandleDataAccessor()
|
D | file_item_container.cpp | 53 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
|
D | file_items.h | 193 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/ |
D | ark_stackmap_builder.h | 43 return offset_; in GetOffset() 47 offset_ = AlignUp(offset_, LLVMStackMapType::STACKMAP_ALIGN_BYTES); in AlignOffset() 52 uint32_t offset_ {0};
|
D | llvm_stackmap_type.h | 189 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};
|
D | ark_stackmap_builder.cpp | 26 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/ |
D | sourceLocation.cpp | 26 size_t diff = offset - offset_; in AddCol() 27 offset_ = offset; in AddCol()
|
D | sourceLocation.h | 83 explicit OffsetEntry(size_t l) : lineStart(l), offset_(l) {}; in OffsetEntry() 95 size_t offset_ {};
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
D | pgo_profiler_info.h | 47 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_;
|
D | pgo_profiler_info.cpp | 160 … 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/ |
D | emitter.h | 99 size_t offset_ {0};
|
D | emitter.cpp | 178 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/ |
D | bit_helper.h | 44 *buffer = reinterpret_cast<void *>(reinterpret_cast<uintptr_t>(*buffer) + result.offset_); in ReadBuffer()
|
/arkcompiler/toolchain/tooling/base/ |
D | pt_types.h | 2489 return offset_; in GetOffset() 2494 offset_ = offset; in SetOffset() 2513 int32_t offset_ {0};
|
D | pt_types.cpp | 2937 typeProfileEntry->offset_ = offset; in Create() 2972 result->Add("offset", offset_); in ToJson()
|