Home | History | Annotate | Download | only in accounting

Lines Matching full:mirror

20 #include "mirror/art_field-inl.h"
21 #include "mirror/class-inl.h"
22 #include "mirror/object-inl.h"
23 #include "mirror/object_array-inl.h"
48 for (const mirror::Object* obj : contained_) {
49 callback(const_cast<mirror::Object*>(obj), arg);
115 mirror::Object* obj = reinterpret_cast<mirror::Object*>(ptr_base + shift * kAlignment);
144 // TODO: rewrite the callbacks to accept a std::vector<mirror::Object*> rather than a mirror::Object**?
146 mirror::Object* pointer_buf[buffer_size];
147 mirror::Object** pb = &pointer_buf[0];
160 *pb++ = reinterpret_cast<mirror::Object*>(ptr_base + shift * kAlignment);
175 static void WalkFieldsInOrder(SpaceBitmap* visited, SpaceBitmap::Callback* callback, mirror::Object* obj,
180 static void WalkInstanceFields(SpaceBitmap* visited, SpaceBitmap::Callback* callback, mirror::Object* obj,
181 mirror::Class* klass, void* arg)
184 mirror::Class* super = klass->GetSuperClass();
189 mirror::ObjectArray<mirror::ArtField>* fields = klass->GetIFields();
192 mirror::ArtField* field = fields->Get(i);
195 mirror::Object* value = field->GetObj(obj);
205 static void WalkFieldsInOrder(SpaceBitmap* visited, SpaceBitmap::Callback* callback, mirror::Object* obj,
215 mirror::Class* klass = obj->GetClass();
219 mirror::ObjectArray<mirror::ArtField>* fields = klass->GetSFields();
222 mirror::ArtField* field = fields->Get(i);
225 mirror::Object* value = field->GetObj(NULL);
234 mirror::ObjectArray<mirror::Object>* obj_array = obj->AsObjectArray<mirror::Object>();
237 mirror::Object* value = obj_array->Get(i);
260 mirror::Object* obj = reinterpret_cast<mirror::Object*>(ptr_base + shift * kAlignment);