Lines Matching refs:capacity_
48 capacity_(capacity) { in CodeBuffer()
49 if (capacity_ == 0) { in CodeBuffer()
53 buffer_ = reinterpret_cast<byte*>(malloc(capacity_)); in CodeBuffer()
78 capacity_(capacity) { in CodeBuffer()
89 munmap(buffer_, capacity_); in ~CodeBuffer()
99 int ret = mprotect(buffer_, capacity_, PROT_READ | PROT_EXEC); in SetExecutable()
107 int ret = mprotect(buffer_, capacity_, PROT_READ | PROT_WRITE); in SetWritable()
153 memset(buffer_, 0, capacity_); in Reset()
163 VIXL_ASSERT(new_capacity > capacity_); in Grow()
176 mremap(buffer_, capacity_, new_capacity, MREMAP_MAYMOVE)); in Grow()
184 capacity_ = new_capacity; in Grow()