Lines Matching defs:self
55 mirror::Class* GetByteArrayClass(Thread* self) SHARED_REQUIRES(Locks::mutator_lock_) {
56 StackHandleScope<1> hs(self);
60 Runtime::Current()->GetClassLinker()->FindClass(self, "[B", null_loader);
62 byte_array_class_ = self->GetJniEnv()->NewLocalRef(byte_array_class);
65 return reinterpret_cast<mirror::Class*>(self->DecodeJObject(byte_array_class_));
69 Thread* self,
75 StackHandleScope<1> hs(self);
76 Handle<mirror::Class> byte_array_class(hs.NewHandle(GetByteArrayClass(self)));
77 mirror::Object* obj = alloc_space->Alloc(self,
89 Thread* self,
95 StackHandleScope<1> hs(self);
96 Handle<mirror::Class> byte_array_class(hs.NewHandle(GetByteArrayClass(self)));
97 mirror::Object* obj = alloc_space->AllocWithGrowth(self, bytes, bytes_allocated, usable_size,
175 Thread* self = Thread::Current();
176 ScopedObjectAccess soa(self);
193 StackHandleScope<1> hs(soa.Self());
198 object.Assign(Alloc(space, self, alloc_size, &bytes_allocated, nullptr,
201 object.Assign(AllocWithGrowth(space, self, alloc_size, &bytes_allocated, nullptr,
242 ScopedThreadStateChange tsc(self, kNative);
271 space->Free(self, object);
290 StackHandleScope<1> hs(soa.Self());
296 large_object.Assign(Alloc(space, self, three_quarters_space, &bytes_allocated, nullptr,
299 large_object.Assign(AllocWithGrowth(space, self, three_quarters_space, &bytes_allocated,
311 space->Free(self, large_object.Assign(nullptr));