• Home
  • Raw
  • Download

Lines Matching refs:c

277 static JDWP::JdwpTag TagFromClass(mirror::Class* c)  in TagFromClass()  argument
279 CHECK(c != NULL); in TagFromClass()
280 if (c->IsArrayClass()) { in TagFromClass()
285 if (c->IsStringClass()) { in TagFromClass()
287 } else if (c->IsClassClass()) { in TagFromClass()
289 } else if (class_linker->FindSystemClass("Ljava/lang/Thread;")->IsAssignableFrom(c)) { in TagFromClass()
291 } else if (class_linker->FindSystemClass("Ljava/lang/ThreadGroup;")->IsAssignableFrom(c)) { in TagFromClass()
293 } else if (class_linker->FindSystemClass("Ljava/lang/ClassLoader;")->IsAssignableFrom(c)) { in TagFromClass()
610 mirror::Class* c = DecodeClass(id, status); in GetClassObject() local
611 if (c == NULL) { in GetClassObject()
614 class_object_id = gRegistry->Add(c); in GetClassObject()
620 mirror::Class* c = DecodeClass(id, status); in GetSuperclass() local
621 if (c == NULL) { in GetSuperclass()
624 if (c->IsInterface()) { in GetSuperclass()
628 superclass_id = gRegistry->Add(c->GetSuperClass()); in GetSuperclass()
644 mirror::Class* c = DecodeClass(id, status); in GetModifiers() local
645 if (c == NULL) { in GetModifiers()
649 uint32_t access_flags = c->GetAccessFlags() & kAccJavaFlagsMask; in GetModifiers()
767 mirror::Class* c = DecodeClass(class_ids[i], status); in GetInstanceCounts() local
768 if (c == NULL) { in GetInstanceCounts()
771 classes.push_back(c); in GetInstanceCounts()
782 mirror::Class* c = DecodeClass(class_id, status); in GetInstances() local
783 if (c == NULL) { in GetInstances()
788 Runtime::Current()->GetHeap()->GetInstances(c, max_count, raw_instances); in GetInstances()
836 mirror::Class* c = DecodeClass(class_id, status); in GetReflectedType() local
837 if (c == NULL) { in GetReflectedType()
841 expandBufAdd1(pReply, c->IsInterface() ? JDWP::TT_INTERFACE : JDWP::TT_CLASS); in GetReflectedType()
854 static bool Visit(mirror::Class* c, void* arg) { in GetClassList()
855 return reinterpret_cast<ClassListCreator*>(arg)->Visit(c); in GetClassList()
860 bool Visit(mirror::Class* c) NO_THREAD_SAFETY_ANALYSIS { in GetClassList()
861 if (!c->IsPrimitive()) { in GetClassList()
862 classes.push_back(gRegistry->AddRefType(c)); in GetClassList()
876 mirror::Class* c = DecodeClass(class_id, status); in GetClassInfo() local
877 if (c == NULL) { in GetClassInfo()
881 if (c->IsArrayClass()) { in GetClassInfo()
885 if (c->IsErroneous()) { in GetClassInfo()
890 *pTypeTag = c->IsInterface() ? JDWP::TT_INTERFACE : JDWP::TT_CLASS; in GetClassInfo()
894 *pDescriptor = ClassHelper(c).GetDescriptor(); in GetClassInfo()
933 mirror::Class* c = DecodeClass(class_id, status); in GetSignature() local
934 if (c == NULL) { in GetSignature()
937 signature = ClassHelper(c).GetDescriptor(); in GetSignature()
943 mirror::Class* c = DecodeClass(class_id, status); in GetSourceFile() local
944 if (c == NULL) { in GetSourceFile()
947 result = ClassHelper(c).GetSourceFile(); in GetSourceFile()
1103 mirror::Class* c = DecodeClass(class_id, status); in CreateObject() local
1104 if (c == NULL) { in CreateObject()
1107 new_object = gRegistry->Add(c->AllocObject(Thread::Current())); in CreateObject()
1117 mirror::Class* c = DecodeClass(array_class_id, status); in CreateArrayObject() local
1118 if (c == NULL) { in CreateArrayObject()
1121 new_array = gRegistry->Add(mirror::Array::Alloc(Thread::Current(), c, length)); in CreateArrayObject()
1175 mirror::Class* c = m->GetDeclaringClass(); in SetLocation() local
1176 location.type_tag = c->IsInterface() ? JDWP::TT_INTERFACE : JDWP::TT_CLASS; in SetLocation()
1177 location.class_id = gRegistry->Add(c); in SetLocation()
1247 mirror::Class* c = DecodeClass(class_id, status); in OutputDeclaredFields() local
1248 if (c == NULL) { in OutputDeclaredFields()
1252 size_t instance_field_count = c->NumInstanceFields(); in OutputDeclaredFields()
1253 size_t static_field_count = c->NumStaticFields(); in OutputDeclaredFields()
1258 …mirror::ArtField* f = (i < instance_field_count) ? c->GetInstanceField(i) : c->GetStaticField(i - … in OutputDeclaredFields()
1275 mirror::Class* c = DecodeClass(class_id, status); in OutputDeclaredMethods() local
1276 if (c == NULL) { in OutputDeclaredMethods()
1280 size_t direct_method_count = c->NumDirectMethods(); in OutputDeclaredMethods()
1281 size_t virtual_method_count = c->NumVirtualMethods(); in OutputDeclaredMethods()
1286 …mirror::ArtMethod* m = (i < direct_method_count) ? c->GetDirectMethod(i) : c->GetVirtualMethod(i -… in OutputDeclaredMethods()
1302 mirror::Class* c = DecodeClass(class_id, status); in OutputDeclaredInterfaces() local
1303 if (c == NULL) { in OutputDeclaredInterfaces()
1307 ClassHelper kh(c); in OutputDeclaredInterfaces()
1439 mirror::Class* c = DecodeClass(ref_type_id, status); in GetFieldValueImpl() local
1440 if (ref_type_id != 0 && c == NULL) { in GetFieldValueImpl()
1450 mirror::Class* receiver_class = c; in GetFieldValueImpl()
1613 mirror::Class* c = Runtime::Current()->GetClassLinker()->FindSystemClass("Ljava/lang/Thread;"); in GetThreadGroup() local
1614 CHECK(c != NULL); in GetThreadGroup()
1615 mirror::ArtField* f = c->FindInstanceField("group", "Ljava/lang/ThreadGroup;"); in GetThreadGroup()
1630 …mirror::Class* c = Runtime::Current()->GetClassLinker()->FindSystemClass("Ljava/lang/ThreadGroup;"… in GetThreadGroupName() local
1631 CHECK(c != NULL); in GetThreadGroupName()
1632 mirror::ArtField* f = c->FindInstanceField("name", "Ljava/lang/String;"); in GetThreadGroupName()
1642 …mirror::Class* c = Runtime::Current()->GetClassLinker()->FindSystemClass("Ljava/lang/ThreadGroup;"… in GetThreadGroupParent() local
1643 CHECK(c != NULL); in GetThreadGroupParent()
1644 mirror::ArtField* f = c->FindInstanceField("parent", "Ljava/lang/ThreadGroup;"); in GetThreadGroupParent()
2242 mirror::Class* c = m->GetDeclaringClass(); in PostLocationEvent() local
2245 location.type_tag = c->IsInterface() ? JDWP::TT_INTERFACE : JDWP::TT_CLASS; in PostLocationEvent()
2246 location.class_id = gRegistry->AddRefType(c); in PostLocationEvent()
2280 void Dbg::PostClassPrepare(mirror::Class* c) { in PostClassPrepare() argument
2289 JDWP::JdwpTypeTag tag = c->IsInterface() ? JDWP::TT_INTERFACE : JDWP::TT_CLASS; in PostClassPrepare()
2290 gJdwpState->PostClassPrepare(tag, gRegistry->Add(c), ClassHelper(c).GetDescriptor(), state); in PostClassPrepare()
2684 mirror::Class* c = DecodeClass(class_id, status); in InvokeMethod() local
2685 if (c == NULL) { in InvokeMethod()
2694 if (m->GetDeclaringClass() != c) { in InvokeMethod()
2698 if (!m->GetDeclaringClass()->IsAssignableFrom(c)) { in InvokeMethod()
2734 req->class_ = c; in InvokeMethod()
3366 mirror::Class* c = o->GetClass(); in ExamineObject() local
3367 if (c == NULL) { in ExamineObject()
3372 if (!Runtime::Current()->GetHeap()->IsHeapAddress(c)) { in ExamineObject()
3373 LOG(ERROR) << "Invalid class for managed heap object: " << o << " " << c; in ExamineObject()
3377 if (c->IsClassClass()) { in ExamineObject()
3381 if (c->IsArrayClass()) { in ExamineObject()
3385 switch (c->GetComponentSize()) { in ExamineObject()