Lines Matching refs:type
53 bool GetUnboxedPrimitiveType(ObjPtr<mirror::Class> klass, Primitive::Type* type) in GetUnboxedPrimitiveType() argument
67 *type = primitive; \ in GetUnboxedPrimitiveType()
76 ObjPtr<mirror::Class> GetBoxedPrimitiveClass(Primitive::Type type) in GetBoxedPrimitiveClass() argument
80 switch (type) { in GetBoxedPrimitiveClass()
94 bool GetUnboxedTypeAndValue(ObjPtr<mirror::Object> o, Primitive::Type* type, JValue* value) in GetUnboxedTypeAndValue() argument
101 *type = primitive; \ in GetUnboxedTypeAndValue()
110 inline bool IsReferenceType(Primitive::Type type) { in IsReferenceType() argument
111 return type == Primitive::kPrimNot; in IsReferenceType()
114 inline bool IsPrimitiveType(Primitive::Type type) { in IsPrimitiveType() argument
115 return !IsReferenceType(type); in IsPrimitiveType()
250 Primitive::Type type; in ConvertJValueCommon() local
251 if (!GetUnboxedPrimitiveType(to, &type)) { in ConvertJValueCommon()
254 type = from_type; in ConvertJValueCommon()
261 if (UNLIKELY(from_type != type)) { in ConvertJValueCommon()
266 if (UNLIKELY(!ConvertPrimitiveValueNoThrow(from_type, type, src_value, value))) { in ConvertJValueCommon()
272 ObjPtr<mirror::Object> boxed = BoxPrimitive(type, src_value); in ConvertJValueCommon()