Lines Matching refs:bytes_allocated

81   size_t bytes_allocated;  in AllocObjectWithAllocator()  local
118 bytes_allocated = byte_count; in AllocObjectWithAllocator()
119 usable_size = bytes_allocated; in AllocObjectWithAllocator()
124 (obj = rosalloc_space_->AllocThreadLocal(self, byte_count, &bytes_allocated)) != nullptr && in AllocObjectWithAllocator()
131 usable_size = bytes_allocated; in AllocObjectWithAllocator()
138 obj = TryToAllocate<kInstrumented, false>(self, allocator, byte_count, &bytes_allocated, in AllocObjectWithAllocator()
148 &bytes_allocated, in AllocObjectWithAllocator()
168 DCHECK_GT(bytes_allocated, 0u); in AllocObjectWithAllocator()
209 thread_stats->allocated_bytes += bytes_allocated; in AllocObjectWithAllocator()
212 global_stats->allocated_bytes += bytes_allocated; in AllocObjectWithAllocator()
222 allocation_records_->RecordAllocation(self, &obj, bytes_allocated); in AllocObjectWithAllocator()
228 l->ObjectAllocated(self, &obj, bytes_allocated); in AllocObjectWithAllocator()
287 size_t* bytes_allocated, in TryToAllocate() argument
303 *bytes_allocated = alloc_size; in TryToAllocate()
318 ret = rosalloc_space_->Alloc(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
334 bytes_allocated, in TryToAllocate()
345 bytes_allocated, in TryToAllocate()
352 bytes_allocated, in TryToAllocate()
361 bytes_allocated, in TryToAllocate()
369 bytes_allocated, in TryToAllocate()
382 bytes_allocated, in TryToAllocate()
400 bytes_allocated, in TryToAllocate()
407 *bytes_allocated = alloc_size; in TryToAllocate()