Home
last modified time | relevance | path

Searched refs:buf_ (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/mem/
Ddyn_chunk.h90 return *reinterpret_cast<uint32_t *>(buf_ + offset); in GetU32()
96 *reinterpret_cast<uint32_t *>(buf_ + offset) = data; in PutU32()
102 return *reinterpret_cast<uint16_t *>(buf_ + offset); in GetU16()
108 *reinterpret_cast<uint16_t *>(buf_ + offset) = data; in PutU16()
114 return *(buf_ + offset); in GetU8()
120 *(buf_ + offset) = data; in PutU8()
125 return MEMBER_OFFSET(DynChunk, buf_); in GetBufferOffset()
130 return buf_; in GetBegin()
142 DynChunk(uint8_t *buf, Chunk *chunk) : buf_(buf), chunk_(chunk) in DynChunk()
147 uint8_t *buf_ {nullptr};
Ddyn_chunk.cpp42 if (buf_ != nullptr) { in Expand()
43 if (memcpy_s(newBuf, size_, buf_, size_) != EOK) { in Expand()
48 buf_ = newBuf; in Expand()
64 if (memmove_s(buf_ + position + len, moveSize, buf_ + position, moveSize) != EOK) { in Insert()
79 if (memcpy_s(buf_ + size_, // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in Emit()
100 if (memcpy_s(buf_ + size_, // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in EmitSelf()
102 buf_ + offset, // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in EmitSelf()
/arkcompiler/runtime_core/libpandabase/os/
Dstacktrace.cpp262 …Buf(uintptr_t *buf, size_t skip, size_t capacity) : buf_(buf), skip_(skip), size_(0), capacity_(ca… in Buf()
274 buf_[size_++] = pc; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in Append()
283 uintptr_t *buf_; member in panda::Buf
/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_parser.cpp461 …if (memmove_s(buffer_.buf_ + start + // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arith… in ParseAlternative()
464 … buffer_.buf_ + start, // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic) in ParseAlternative()
470 if (memcpy_s(buffer_.buf_ + start, termSize, buffer_.buf_ + end, termSize) != EOK) { in ParseAlternative()
482 const char *p = reinterpret_cast<char *>(groupNames_.buf_); in FindGroupName()
484 const char *bufEnd = reinterpret_cast<char *>(groupNames_.buf_) + groupNames_.size_; in FindGroupName()
1056 const char *name = reinterpret_cast<const char*>(groupNames_.buf_); in RecountCaptures()
Dregexp_parser.h136 return buffer_.buf_; in GetOriginBuffer()
/arkcompiler/runtime_core/libpandafile/
Dfile_item_container.cpp53 ItemWriter(std::vector<uint8_t> *buf, size_t offset) : buf_(buf), offset_(offset) {} in ItemWriter()
61 buf_->push_back(byte); in WriteByte()
68 buf_->insert(buf_->end(), bytes.cbegin(), bytes.cend()); in WriteBytes()
79 std::vector<uint8_t> *buf_; member in panda::panda_file::ItemDeduper::ItemWriter