Lines Matching full:primitive
29 #include "primitive.h"
124 DCHECK_EQ(Primitive::kPrim ## type, GetTypeAsPrimitiveType()) << PrettyField(this); \
133 DCHECK_EQ(Primitive::kPrim ## type, GetTypeAsPrimitiveType()) << PrettyField(this); \
183 Primitive::Type type = GetTypeAsPrimitiveType();
184 CHECK(type == Primitive::kPrimInt || type == Primitive::kPrimFloat) << PrettyField(this);
192 Primitive::Type type = GetTypeAsPrimitiveType();
193 CHECK(type == Primitive::kPrimInt || type == Primitive::kPrimFloat) << PrettyField(this);
200 Primitive::Type type = GetTypeAsPrimitiveType();
201 CHECK(type == Primitive::kPrimLong || type == Primitive::kPrimDouble) << PrettyField(this);
209 Primitive::Type type = GetTypeAsPrimitiveType();
210 CHECK(type == Primitive::kPrimLong || type == Primitive::kPrimDouble) << PrettyField(this);
216 DCHECK_EQ(Primitive::kPrimFloat, GetTypeAsPrimitiveType()) << PrettyField(this);
224 DCHECK_EQ(Primitive::kPrimFloat, GetTypeAsPrimitiveType()) << PrettyField(this);
231 DCHECK_EQ(Primitive::kPrimDouble, GetTypeAsPrimitiveType()) << PrettyField(this);
239 DCHECK_EQ(Primitive::kPrimDouble, GetTypeAsPrimitiveType()) << PrettyField(this);
246 DCHECK_EQ(Primitive::kPrimNot, GetTypeAsPrimitiveType()) << PrettyField(this);
252 DCHECK_EQ(Primitive::kPrimNot, GetTypeAsPrimitiveType()) << PrettyField(this);
280 inline Primitive::Type ArtField::GetTypeAsPrimitiveType()
282 return Primitive::GetType(GetTypeDescriptor()[0]);
286 return GetTypeAsPrimitiveType() != Primitive::kPrimNot;
308 return Primitive::ComponentSize(GetTypeAsPrimitiveType());
359 Primitive::Type type = field.GetTypeAsPrimitiveType();
360 const size_t field_size = Primitive::ComponentSize(type);