Lines Matching refs:kNewFlags
264 constexpr auto kNewFlags = static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis);
266 !GetClass<kNewFlags, kReadBarrierOption>()->
267 template GetComponentType<kNewFlags, kReadBarrierOption>()->IsPrimitive();
301 constexpr auto kNewFlags = static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis);
303 DCHECK(GetClass<kNewFlags>()->GetComponentType()->IsPrimitiveBoolean());
309 constexpr auto kNewFlags = static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis);
311 DCHECK(GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveByte());
317 constexpr auto kNewFlags = static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis);
319 DCHECK(GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveByte() ||
320 GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveBoolean());
326 constexpr auto kNewFlags = static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis);
328 DCHECK(GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveChar());
334 constexpr auto kNewFlags = static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis);
336 DCHECK(GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveShort());
342 constexpr auto kNewFlags = static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis);
344 DCHECK(GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveShort() ||
345 GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveChar());
351 constexpr auto kNewFlags = static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis);
354 return component_type != nullptr && component_type->template IsPrimitiveInt<kNewFlags>();
365 constexpr auto kNewFlags = static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis);
368 return component_type != nullptr && component_type->template IsPrimitiveLong<kNewFlags>();
379 constexpr auto kNewFlags = static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis);
381 return component_type != nullptr && component_type->template IsPrimitiveFloat<kNewFlags>();
387 constexpr auto kNewFlags = static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis);
389 DCHECK(GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveFloat());
395 constexpr auto kNewFlags = static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis);
397 return component_type != nullptr && component_type->template IsPrimitiveDouble<kNewFlags>();
403 constexpr auto kNewFlags = static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis);
405 DCHECK(GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveDouble());
455 constexpr auto kNewFlags = static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis);
457 result = AsArray<kNewFlags, kReadBarrierOption>()->
458 template SizeOf<kNewFlags, kReadBarrierOption>();
459 } else if (IsClass<kNewFlags, kReadBarrierOption>()) {
460 result = AsClass<kNewFlags, kReadBarrierOption>()->
461 template SizeOf<kNewFlags, kReadBarrierOption>();
462 } else if (GetClass<kNewFlags, kReadBarrierOption>()->IsStringClass()) {
463 result = AsString<kNewFlags, kReadBarrierOption>()->
464 template SizeOf<kNewFlags>();
466 result = GetClass<kNewFlags, kReadBarrierOption>()->
467 template GetObjectSize<kNewFlags, kReadBarrierOption>();
470 << " class=" << PrettyTypeOf(GetClass<kNewFlags, kReadBarrierOption>());