• Home
  • Raw
  • Download

Lines Matching refs:bytes_allocated

70   size_t bytes_allocated;  in AllocObjectWithAllocator()  local
88 bytes_allocated = byte_count; in AllocObjectWithAllocator()
89 usable_size = bytes_allocated; in AllocObjectWithAllocator()
93 (obj = rosalloc_space_->AllocThreadLocal(self, byte_count, &bytes_allocated)) && in AllocObjectWithAllocator()
103 usable_size = bytes_allocated; in AllocObjectWithAllocator()
109 obj = TryToAllocate<kInstrumented, false>(self, allocator, byte_count, &bytes_allocated, in AllocObjectWithAllocator()
118 &bytes_allocated, in AllocObjectWithAllocator()
135 DCHECK_GT(bytes_allocated, 0u); in AllocObjectWithAllocator()
169 thread_stats->allocated_bytes += bytes_allocated; in AllocObjectWithAllocator()
172 global_stats->allocated_bytes += bytes_allocated; in AllocObjectWithAllocator()
182 allocation_records_->RecordAllocation(self, &obj, bytes_allocated); in AllocObjectWithAllocator()
239 size_t* bytes_allocated, in TryToAllocate() argument
255 *bytes_allocated = alloc_size; in TryToAllocate()
269 ret = rosalloc_space_->Alloc(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
282 ret = rosalloc_space_->AllocNonvirtual(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
290 ret = dlmalloc_space_->Alloc(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
294 ret = dlmalloc_space_->AllocNonvirtual(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
300 ret = non_moving_space_->Alloc(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
305 ret = large_object_space_->Alloc(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
332 *bytes_allocated = alloc_size; in TryToAllocate()
339 ret = region_space_->AllocNonvirtual<false>(alloc_size, bytes_allocated, usable_size, in TryToAllocate()
353 ret = region_space_->AllocNonvirtual<false>(alloc_size, bytes_allocated, usable_size, in TryToAllocate()
362 ret = region_space_->AllocNonvirtual<false>(alloc_size, bytes_allocated, usable_size, in TryToAllocate()
373 ret = region_space_->AllocNonvirtual<false>(alloc_size, bytes_allocated, usable_size, in TryToAllocate()
386 *bytes_allocated = alloc_size; in TryToAllocate()