Lines Matching refs:bytes_allocated
79 size_t bytes_allocated; in AllocObjectWithAllocator() local
93 bytes_allocated = byte_count; in AllocObjectWithAllocator()
94 usable_size = bytes_allocated; in AllocObjectWithAllocator()
99 (obj = rosalloc_space_->AllocThreadLocal(self, byte_count, &bytes_allocated)) != nullptr && in AllocObjectWithAllocator()
106 usable_size = bytes_allocated; in AllocObjectWithAllocator()
113 obj = TryToAllocate<kInstrumented, false>(self, allocator, byte_count, &bytes_allocated, in AllocObjectWithAllocator()
122 &bytes_allocated, in AllocObjectWithAllocator()
139 DCHECK_GT(bytes_allocated, 0u); in AllocObjectWithAllocator()
176 thread_stats->allocated_bytes += bytes_allocated; in AllocObjectWithAllocator()
179 global_stats->allocated_bytes += bytes_allocated; in AllocObjectWithAllocator()
189 allocation_records_->RecordAllocation(self, &obj, bytes_allocated); in AllocObjectWithAllocator()
195 l->ObjectAllocated(self, &obj, bytes_allocated); in AllocObjectWithAllocator()
254 size_t* bytes_allocated, in TryToAllocate() argument
270 *bytes_allocated = alloc_size; in TryToAllocate()
285 ret = rosalloc_space_->Alloc(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
301 bytes_allocated, in TryToAllocate()
312 bytes_allocated, in TryToAllocate()
319 bytes_allocated, in TryToAllocate()
328 bytes_allocated, in TryToAllocate()
336 bytes_allocated, in TryToAllocate()
349 bytes_allocated, in TryToAllocate()
368 bytes_allocated, in TryToAllocate()
375 *bytes_allocated = alloc_size; in TryToAllocate()