/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
H A D | binary_buffer_parser.cpp | 21 if (count > 0 && count + offset_ <= length_) { in ParseBuffer() 22 if (memcpy_s(dst, count, buffer_ + offset_, count) != EOK) { in ParseBuffer() 25 offset_ = offset_ + count; in ParseBuffer() 33 offset_ = offset; in ParseBuffer()
|
/arkcompiler/runtime_core/libpandabase/utils/ |
H A D | bit_vector.h | 103 BitVectorIterator(WordType *data, int offset) : data_(data), offset_(offset) {} in BitVectorIterator() 112 return data_ == other.data_ && offset_ == other.offset_; in operator ==() 117 return data_ < other.data_ || (data_ == other.data_ && offset_ < other.offset_); in operator <() 143 return (*data_ & (1U << helpers::ToUnsigned(offset_))) != 0; in operator *() 145 ASSERT(offset_ >= 0); in operator *() 146 return BitReference(data_, 1U << helpers::ToUnsigned(offset_)); in operator *() 193 return (data_ - other.data_) * WORD_BITS + (offset_ - other.offset_); in operator -() 233 int offset_; global() member in panda::BitVectorIterator 629 int32_t offset_; global() member in panda::BitVectorBase::BitIndexIterator [all...] |
H A 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/runtime_core/static_core/libpandabase/utils/ |
H A D | bit_vector.h | 112 BitVectorIterator(WordType *data, int offset) : data_(data), offset_(offset) {} in BitVectorIterator() 121 return data_ == other.data_ && offset_ == other.offset_; in operator ==() 126 return data_ < other.data_ || (data_ == other.data_ && offset_ < other.offset_); in operator <() 152 return (*data_ & (1U << helpers::ToUnsigned(offset_))) != 0; in operator *() 154 ASSERT(offset_ >= 0); in operator *() 155 return BitReference(data_, 1U << helpers::ToUnsigned(offset_)); in operator *() 202 return (data_ - other.data_) * WORD_BITS + (offset_ - other.offset_); in operator -() 243 int offset_; global() member in ark::BitVectorIterator 665 int32_t offset_; global() member in ark::BitVectorBase::BitIndexIterator [all...] |
H A 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/runtime_core/static_core/libpandafile/ |
H A D | file_writer.h | 142 sp_[offset_++] = byte; 152 auto subSp = sp_.SubSpan(offset_, bytes.size()); 156 offset_ += bytes.size(); 162 return offset_; 167 size_t offset_ {0}; 204 return offset_; 219 size_t offset_ {0};
|
H A D | method_handle_data_accessor.h | 53 return File::EntityId(offset_); in GetEntityId() 61 uint32_t offset_; member in ark::panda_file::MethodHandleDataAccessor
|
H A D | file.h | 100 explicit constexpr EntityId(uint32_t offset) : offset_(offset) {} in EntityId() 108 return offset_ > sizeof(Header); in IsValid() 113 return offset_; in GetOffset() 123 return l.offset_ < r.offset_; in operator <() 128 return l.offset_ == r.offset_; in operator ==() 133 return stream << id.offset_; in operator <<() 137 uint32_t offset_ {0};
|
/arkcompiler/ets_runtime/ecmascript/serializer/ |
H A D | base_deserializer.h | 30 size_t offset_ {0U}; 35 hint_(hint), attachData_(attachData), objAddr_(objAddr), offset_(offset), root_(root) {} in NativeBindingInfo() 44 return offset_; in GetFieldOffset() 49 return ObjectSlot(objAddr_ + offset_); in GetSlot() 57 size_t offset_ {0U}; 61 : errorType_(errorType), errorMsg_(errorMsg), objAddr_(objAddr), offset_(offset), root_(root) {} in JSErrorInfo() 70 return offset_; in GetFieldOffset() 75 return ObjectSlot(objAddr_ + offset_); in GetSlot()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
H A D | debug_info.h | 52 return offset_; in GetOffset() 57 offset_ = offset; in SetOffset() 64 size_t offset_ {0};
|
H A D | visualizer_printer.cpp | 35 ++offset_; in PrintBeginTag() 40 --offset_; in PrintEndTag() 46 return std::string(offset_ << 1U, ' '); in MakeOffset()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ap_file/ |
H A D | pgo_method_type_set.h | 130 TypeInfoHeader(InfoType type, uint32_t offset) : infoType_(type), offset_(offset) {} in TypeInfoHeader() 132 : size_(size), infoType_(type), offset_(offset) {} in TypeInfoHeader() 146 return offset_; in GetOffset() 152 uint32_t offset_ {0}; 174 return offset_ < right.offset_; in operator <() 236 return offset_ < right.offset_; in operator <() 280 if (this->offset_ != right.GetOffset()) { in operator <() 281 return this->offset_ < righ in operator <() [all...] |
H A D | pgo_file_info.h | 33 uint32_t offset_ {0}; 131 GetPandaInfoSection()->offset_ = Size(); in PGOProfilerHeader() 385 void *addr = reinterpret_cast<void *>(reinterpret_cast<uintptr_t>(buffer) + info->offset_); in ParseSectionFromBinary() 398 info->offset_ = static_cast<uint32_t>(fileStream.tellp()); in ProcessSectionToBinary() 400 info->size_ = static_cast<uint32_t>(fileStream.tellp()) - info->offset_; in ProcessSectionToBinary()
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/ |
H A D | ets_test_mirror_classes.h | 32 constexpr MirrorFieldInfo(const char *name, std::size_t offset) : name_(name), offset_(offset) {} in MirrorFieldInfo() 44 return offset_; in Offset() 62 std::size_t offset_ = 0; member in ark::ets::test::MirrorFieldInfo
|
/arkcompiler/ets_runtime/ecmascript/stackmap/ |
H A 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};
|
/arkcompiler/runtime_core/static_core/runtime/include/ |
H A D | field.h | 75 return offset_; in GetOffset() 80 offset_ = offset; in SetOffset() 85 return MEMBER_OFFSET(Field, offset_); in GetOffsetOffset() 165 uint32_t offset_ {0};
|
/arkcompiler/ets_runtime/ecmascript/extractortool/src/ |
H A D | file_mapper.cpp | 70 offset_ = offset; in CreateFileMapper() 93 offset_ = offset; in CreateFileMapper() 121 return offset_; in GetOffset()
|
/arkcompiler/runtime_core/libpandafile/ |
H A D | method_handle_data_accessor.h | 53 return File::EntityId(offset_); in GetEntityId() 61 uint32_t offset_; member in panda::panda_file::MethodHandleDataAccessor
|
H A D | file_writer.h | 150 sp_[offset_++] = byte; 160 auto sub_sp = sp_.SubSpan(offset_, bytes.size()); 164 offset_ += bytes.size(); 170 return offset_; 175 size_t offset_ {0};
|
H A D | file.h | 104 explicit constexpr EntityId(uint32_t offset) : offset_(offset) {} in EntityId() 112 return offset_ > sizeof(Header); in IsValid() 117 return offset_; in GetOffset() 127 return l.offset_ < r.offset_; in operator <() 132 return l.offset_ == r.offset_; in operator ==() 137 return stream << id.offset_; in operator <<() 141 uint32_t offset_ {0};
|
/arkcompiler/ets_runtime/ecmascript/stackmap/llvm/ |
H A D | llvm_stackmap_type.h | 192 explicit DataInfo(std::unique_ptr<uint8_t[]> data): data_(std::move(data)), offset_(0) {} in DataInfo() 196 offset_ = 0; in ~DataInfo() 201 T t = *reinterpret_cast<const T*>(data_.get() + offset_); in Read() 202 offset_ += sizeof(T); in Read() 207 return offset_; in GetOffset() 211 unsigned int offset_ {0};
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
H A D | ets_shared_memory.h | 98 explicit Waiter(uint32_t offset) : offset_(offset) {} in Waiter() 118 return offset_; in GetOffset() 144 uint32_t offset_; member in ark::ets::EtsSharedMemory::WaitResult::Waiter
|
/arkcompiler/ets_frontend/ets2panda/lexer/token/ |
H A D | sourceLocation.h | 85 explicit OffsetEntry(size_t l) : lineStart(l), offset_(l) {}; in OffsetEntry() 99 size_t offset_ {};
|
H A D | sourceLocation.cpp | 25 size_t diff = offset - offset_; in AddCol() 26 offset_ = offset; in AddCol()
|
/arkcompiler/ets_frontend/es2panda/lexer/token/ |
H A D | sourceLocation.cpp | 26 size_t diff = offset - offset_; in AddCol() 27 offset_ = offset; in AddCol()
|