Lines Matching refs:type

133 #define FIELD_GET(object, type) \  argument
134 DCHECK_EQ(Primitive::kPrim ## type, GetTypeAsPrimitiveType()) << PrettyField(); \
138 return (object)->GetField ## type ## Volatile(GetOffset()); \
140 return (object)->GetField ## type(GetOffset());
142 #define FIELD_SET(object, type, value) \ argument
146 (object)->SetField ## type ## Volatile<kTransactionActive>(GetOffset(), value); \
148 (object)->SetField ## type<kTransactionActive>(GetOffset(), value); \
160 Primitive::Type type = GetTypeAsPrimitiveType(); in SetBoolean() local
161 DCHECK(type == Primitive::kPrimBoolean || type == Primitive::kPrimByte) << PrettyField(); in SetBoolean()
185 Primitive::Type type = GetTypeAsPrimitiveType(); in SetChar() local
186 DCHECK(type == Primitive::kPrimChar || type == Primitive::kPrimShort) << PrettyField(); in SetChar()
208 Primitive::Type type = GetTypeAsPrimitiveType(); in GetInt() local
209 CHECK(type == Primitive::kPrimInt || type == Primitive::kPrimFloat) << PrettyField(); in GetInt()
219 Primitive::Type type = GetTypeAsPrimitiveType(); in SetInt() local
220 CHECK(type == Primitive::kPrimInt || type == Primitive::kPrimFloat) << PrettyField(); in SetInt()
229 Primitive::Type type = GetTypeAsPrimitiveType(); in GetLong() local
230 CHECK(type == Primitive::kPrimLong || type == Primitive::kPrimDouble) << PrettyField(); in GetLong()
240 Primitive::Type type = GetTypeAsPrimitiveType(); in SetLong() local
241 CHECK(type == Primitive::kPrimLong || type == Primitive::kPrimDouble) << PrettyField(); in SetLong()
325 ObjPtr<mirror::Class> type = Runtime::Current()->GetClassLinker()->LookupResolvedType( in LookupResolvedType() local
328 return type; in LookupResolvedType()
335 ObjPtr<mirror::Class> type = Runtime::Current()->GetClassLinker()->ResolveType( in ResolveType() local
337 DCHECK_EQ(type == nullptr, Thread::Current()->IsExceptionPending()); in ResolveType()
338 return type; in ResolveType()
375 Primitive::Type type = field.GetTypeAsPrimitiveType(); in FindFieldWithOffset() local
376 const size_t field_size = Primitive::ComponentSize(type); in FindFieldWithOffset()