Lines Matching refs:byte_count

42                                                       size_t byte_count, AllocatorType allocator,  in AllocObjectWithAllocator()  argument
45 CheckPreconditionsForAllocObject(klass, byte_count); in AllocObjectWithAllocator()
54 if (kCheckLargeObject && UNLIKELY(ShouldAllocLargeObject(klass, byte_count))) { in AllocObjectWithAllocator()
55 obj = AllocLargeObject<kInstrumented, PreFenceVisitor>(self, &klass, byte_count, in AllocObjectWithAllocator()
73 byte_count = RoundUp(byte_count, space::BumpPointerSpace::kAlignment); in AllocObjectWithAllocator()
77 byte_count <= self->TlabSize()) { in AllocObjectWithAllocator()
78 obj = self->AllocTlab(byte_count); in AllocObjectWithAllocator()
87 bytes_allocated = byte_count; in AllocObjectWithAllocator()
92 (obj = rosalloc_space_->AllocThreadLocal(self, byte_count, &bytes_allocated)) && in AllocObjectWithAllocator()
108 obj = TryToAllocate<kInstrumented, false>(self, allocator, byte_count, &bytes_allocated, in AllocObjectWithAllocator()
112 obj = AllocateInternalWithGc(self, allocator, byte_count, &bytes_allocated, &usable_size, in AllocObjectWithAllocator()
120 return AllocObject<kInstrumented>(self, klass, byte_count, pre_fence_visitor); in AllocObjectWithAllocator()
211 size_t byte_count, in AllocLargeObject() argument
216 return AllocObjectWithAllocator<kInstrumented, false, PreFenceVisitor>(self, *klass, byte_count, in AllocLargeObject()
396 inline bool Heap::ShouldAllocLargeObject(mirror::Class* c, size_t byte_count) const { in ShouldAllocLargeObject() argument
401 return byte_count >= large_object_threshold_ && (c->IsPrimitiveArray() || c->IsStringClass()); in ShouldAllocLargeObject()