Home | History | Annotate | Download | only in runtime

Lines Matching full:primitive

261   // Setup the primitive type classes.
262 SetClassRoot(kPrimitiveBoolean, CreatePrimitiveClass(self, Primitive::kPrimBoolean));
263 SetClassRoot(kPrimitiveByte, CreatePrimitiveClass(self, Primitive::kPrimByte));
264 SetClassRoot(kPrimitiveShort, CreatePrimitiveClass(self, Primitive::kPrimShort));
265 SetClassRoot(kPrimitiveInt, CreatePrimitiveClass(self, Primitive::kPrimInt));
266 SetClassRoot(kPrimitiveLong, CreatePrimitiveClass(self, Primitive::kPrimLong));
267 SetClassRoot(kPrimitiveFloat, CreatePrimitiveClass(self, Primitive::kPrimFloat));
268 SetClassRoot(kPrimitiveDouble, CreatePrimitiveClass(self, Primitive::kPrimDouble));
269 SetClassRoot(kPrimitiveVoid, CreatePrimitiveClass(self, Primitive::kPrimVoid));
336 InitializePrimitiveClass(char_class.get(), Primitive::kPrimChar);
354 // Setup the primitive array type classes - can't be done until Object has a vtable.
1238 klass->SetPrimitiveType(Primitive::kPrimNot); // Default to not being primitive.
1306 // only the descriptors of primitive types should be 1 character long, also avoid class lookup
1307 // for primitive classes that aren't backed by dex files.
1734 DCHECK_EQ(klass->GetPrimitiveType(), Primitive::kPrimNot);
2008 mirror::Class* ClassLinker::CreatePrimitiveClass(Thread* self, Primitive::Type type) {
2016 mirror::Class* ClassLinker::InitializePrimitiveClass(mirror::Class* primitive_class, Primitive::Type type) {
2024 const char* descriptor = Primitive::Descriptor(type);
2035 // primitive type's internally-generated class object.
2119 new_class->SetPrimitiveType(Primitive::kPrimNot);
2166 switch (Primitive::GetType(type)) {
2167 case Primitive::kPrimByte:
2169 case Primitive::kPrimChar:
2171 case Primitive::kPrimDouble:
2173 case Primitive::kPrimFloat:
2175 case Primitive::kPrimInt:
2177 case Primitive::kPrimLong:
2179 case Primitive::kPrimShort:
2181 case Primitive::kPrimBoolean:
2183 case Primitive::kPrimVoid:
2185 case Primitive::kPrimNot:
2189 ThrowNoClassDefFoundError("Not a primitive type: %s", printable_type.c_str());
2660 DCHECK_EQ(klass->GetPrimitiveType(), Primitive::kPrimNot);
3190 // Found a non-primitive type.
3729 Primitive::Type type1 = fh_->GetTypeAsPrimitiveType();
3731 Primitive::Type type2 = fh_->GetTypeAsPrimitiveType();
3732 bool isPrimitive1 = type1 != Primitive::kPrimNot;
3733 bool isPrimitive2 = type2 != Primitive::kPrimNot;
3734 bool is64bit1 = isPrimitive1 && (type1 == Primitive::kPrimLong || type1 == Primitive::kPrimDouble);
3735 bool is64bit2 = isPrimitive2 && (type2 == Primitive::kPrimLong || type2 == Primitive::kPrimDouble);
3794 Primitive::Type type = fh.GetTypeAsPrimitiveType();
3795 bool isPrimitive = type != Primitive::kPrimNot;
3813 Primitive::Type type = fh.GetTypeAsPrimitiveType();
3814 CHECK(type != Primitive::kPrimNot); // should only be working on primitive types
3815 if (type == Primitive::kPrimLong || type == Primitive::kPrimDouble) {
3835 Primitive::Type type = fh.GetTypeAsPrimitiveType();
3836 CHECK(type != Primitive::kPrimNot); // should only be working on primitive types
3840 ((type == Primitive::kPrimLong || type == Primitive::kPrimDouble)
3871 Primitive::Type type = fh.GetTypeAsPrimitiveType();
3872 bool is_primitive = type != Primitive::kPrimNot;