Lines Matching refs:o
406 mirror::Object* o = Dbg::GetObjectRegistry()->Get<mirror::Object*>(id); in DecodeArray() local
407 if (o == NULL || o == ObjectRegistry::kInvalidObject) { in DecodeArray()
411 if (!o->IsArrayInstance()) { in DecodeArray()
416 return o->AsArray(); in DecodeArray()
421 mirror::Object* o = Dbg::GetObjectRegistry()->Get<mirror::Object*>(id); in DecodeClass() local
422 if (o == NULL || o == ObjectRegistry::kInvalidObject) { in DecodeClass()
426 if (!o->IsClass()) { in DecodeClass()
431 return o->AsClass(); in DecodeClass()
514 JDWP::JdwpTag Dbg::TagFromObject(const ScopedObjectAccessUnchecked& soa, mirror::Object* o) { in TagFromObject() argument
515 return (o == NULL) ? JDWP::JT_OBJECT : TagFromClass(soa, o->GetClass()); in TagFromObject()
842 mirror::Object* o = gRegistry->Get<mirror::Object*>(class_id); in GetClassName() local
843 if (o == NULL) { in GetClassName()
846 if (o == ObjectRegistry::kInvalidObject) { in GetClassName()
849 if (!o->IsClass()) { in GetClassName()
850 return StringPrintf("non-class %p", o); // This is only used for debugging output anyway. in GetClassName()
852 return GetClassName(o->AsClass()); in GetClassName()
889 mirror::Object* o = gRegistry->Get<mirror::Object*>(id); in GetClassLoader() local
890 if (o == NULL || o == ObjectRegistry::kInvalidObject) { in GetClassLoader()
893 expandBufAddObjectId(pReply, gRegistry->Add(o->GetClass()->GetClassLoader())); in GetClassLoader()
920 mirror::Object* o = gRegistry->Get<mirror::Object*>(object_id); in GetMonitorInfo() local
921 if (o == NULL || o == ObjectRegistry::kInvalidObject) { in GetMonitorInfo()
931 MonitorInfo monitor_info(o); in GetMonitorInfo()
1065 mirror::Object* o = gRegistry->Get<mirror::Object*>(object_id); in GetReferringObjects() local
1066 if (o == NULL || o == ObjectRegistry::kInvalidObject) { in GetReferringObjects()
1070 heap->GetReferringObjects(o, max_count, raw_instances); in GetReferringObjects()
1079 mirror::Object* o = gRegistry->Get<mirror::Object*>(object_id); in DisableCollection() local
1080 if (o == NULL || o == ObjectRegistry::kInvalidObject) { in DisableCollection()
1089 mirror::Object* o = gRegistry->Get<mirror::Object*>(object_id); in EnableCollection() local
1094 if (o == NULL || o == ObjectRegistry::kInvalidObject) { in EnableCollection()
1109 mirror::Object* o = gRegistry->Get<mirror::Object*>(object_id); in IsCollected() local
1110 if (o == NULL || o == ObjectRegistry::kInvalidObject) { in IsCollected()
1214 mirror::Object* o = gRegistry->Get<mirror::Object*>(object_id); in GetReferenceType() local
1215 if (o == NULL || o == ObjectRegistry::kInvalidObject) { in GetReferenceType()
1219 JDWP::JdwpTypeTag type_tag = GetTypeTag(o->GetClass()); in GetReferenceType()
1220 JDWP::RefTypeId type_id = gRegistry->AddRefType(o->GetClass()); in GetReferenceType()
1255 mirror::Object* o = gRegistry->Get<mirror::Object*>(object_id); in GetObjectTag() local
1256 if (o == ObjectRegistry::kInvalidObject) { in GetObjectTag()
1259 tag = TagFromObject(soa, o); in GetObjectTag()
1391 mirror::Object* o = gRegistry->Get<mirror::Object*>(id); in SetArrayElements() local
1392 if (o == ObjectRegistry::kInvalidObject) { in SetArrayElements()
1395 oa->Set<false>(offset + i, o); in SetArrayElements()
1807 mirror::Object* o = Dbg::GetObjectRegistry()->Get<mirror::Object*>(object_id); in GetFieldValueImpl() local
1808 if ((!is_static && o == NULL) || o == ObjectRegistry::kInvalidObject) { in GetFieldValueImpl()
1814 if (receiver_class == NULL && o != NULL) { in GetFieldValueImpl()
1815 receiver_class = o->GetClass(); in GetFieldValueImpl()
1835 o = f->GetDeclaringClass(); in GetFieldValueImpl()
1843 field_value.SetL(f->GetObject(o)); in GetFieldValueImpl()
1845 field_value.SetJ(f->Get64(o)); in GetFieldValueImpl()
1847 field_value.SetI(f->Get32(o)); in GetFieldValueImpl()
1866 mirror::Object* o = Dbg::GetObjectRegistry()->Get<mirror::Object*>(object_id); in SetFieldValueImpl() local
1867 if ((!is_static && o == NULL) || o == ObjectRegistry::kInvalidObject) { in SetFieldValueImpl()
1884 o = f->GetDeclaringClass(); in SetFieldValueImpl()
1893 f->Set64<false>(o, value); in SetFieldValueImpl()
1897 f->Set32<false>(o, value); in SetFieldValueImpl()
1910 HandleWrapper<mirror::Object> h_o(hs.NewHandleWrapper(&o)); in SetFieldValueImpl()
1918 f->SetObject<false>(o, v); in SetFieldValueImpl()
2627 mirror::Object* o = reinterpret_cast<mirror::Object*>(intVal); in GetLocalValue() local
2628 VLOG(jdwp) << "get " << tag << " object local " << reg << " = " << o; in GetLocalValue()
2629 if (!Runtime::Current()->GetHeap()->IsValidObjectAddress(o)) { in GetLocalValue()
2630 LOG(FATAL) << "Register " << reg << " expected to hold " << tag << " object: " << o; in GetLocalValue()
2632 tag = TagFromObject(soa, o); in GetLocalValue()
2633 JDWP::SetObjectId(buf + 1, gRegistry->Add(o)); in GetLocalValue()
2762 mirror::Object* o = gRegistry->Get<mirror::Object*>(static_cast<JDWP::ObjectId>(value)); in SetLocalValue() local
2763 if (o == ObjectRegistry::kInvalidObject) { in SetLocalValue()
2764 VLOG(jdwp) << tag << " object " << o << " is an invalid object"; in SetLocalValue()
2766 } else if (!visitor.SetVReg(m, reg, static_cast<uint32_t>(reinterpret_cast<uintptr_t>(o)), in SetLocalValue()
2768 VLOG(jdwp) << "failed to set " << tag << " object local " << reg << " = " << o; in SetLocalValue()
4324 uint8_t ExamineObject(mirror::Object* o, bool is_native_heap) in ExamineObject() argument
4326 if (o == NULL) { in ExamineObject()
4338 if (!Runtime::Current()->GetHeap()->IsLiveObjectLocked(o)) { in ExamineObject()
4342 mirror::Class* c = o->GetClass(); in ExamineObject()
4349 LOG(ERROR) << "Invalid class for managed heap object: " << o << " " << c; in ExamineObject()
4354 LOG(ERROR) << "Null class of class " << c << " for object " << o; in ExamineObject()
4363 if (o->IsObjectArray()) { in ExamineObject()