Searched refs:contents_ (Results 1 – 2 of 2) sorted by relevance
/art/compiler/utils/ |
D | assembler.cc | 31 contents_ = allocator_->AllocArray<uint8_t>(kInitialBufferCapacity, kArenaAllocAssembler); in AssemblerBuffer() 32 cursor_ = contents_; in AssemblerBuffer() 33 limit_ = ComputeLimit(contents_, kInitialBufferCapacity); in AssemblerBuffer() 49 allocator_->MakeInaccessible(contents_, Capacity()); in ~AssemblerBuffer() 83 contents_ = reinterpret_cast<uint8_t*>( in ExtendCapacity() 84 allocator_->Realloc(contents_, old_capacity, new_capacity, kArenaAllocAssembler)); in ExtendCapacity() 87 cursor_ = contents_ + old_size; in ExtendCapacity() 88 limit_ = ComputeLimit(contents_, new_capacity); in ExtendCapacity()
|
D | assembler.h | 109 return *reinterpret_cast<T*>(contents_ + position); in Load() 114 *reinterpret_cast<T*>(contents_ + position) = value; in Store() 121 cursor_ = contents_ + new_size; in Resize() 128 memmove(contents_ + newposition, contents_ + oldposition, size); in Move() 161 CHECK_GE(cursor_, contents_); in Size() 162 return cursor_ - contents_; in Size() 165 uint8_t* contents() const { return contents_; } in contents() 239 int GetPosition() { return cursor_ - contents_; } in GetPosition() 242 CHECK_GE(limit_, contents_); in Capacity() 243 return (limit_ - contents_) + kMinimumGap; in Capacity() [all …]
|