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 | 108 return *reinterpret_cast<T*>(contents_ + position); in Load() 113 *reinterpret_cast<T*>(contents_ + position) = value; in Store() 120 cursor_ = contents_ + new_size; in Resize() 127 memmove(contents_ + newposition, contents_ + oldposition, size); in Move() 160 CHECK_GE(cursor_, contents_); in Size() 161 return cursor_ - contents_; in Size() 164 uint8_t* contents() const { return contents_; } in contents() 238 int GetPosition() { return cursor_ - contents_; } in GetPosition() 241 CHECK_GE(limit_, contents_); in Capacity() 242 return (limit_ - contents_) + kMinimumGap; in Capacity() [all …]
|