/aosp12/system/tools/aidl/ |
H A D | aidl_checkapi.cpp | 451 for (const auto new_type : new_types) { in check_api() local 452 const auto found = old_type_names.find(new_type->GetCanonicalName()); in check_api() 454 AIDL_ERROR(new_type) << "Added type: " << new_type->GetCanonicalName(); in check_api() 473 const auto new_type = found->second; in check_api() local 476 if (!CheckEquality(*old_type, *new_type)) { in check_api() 482 if (!have_compatible_annotations(*old_type, *new_type)) { in check_api() 486 if (new_type->AsInterface() == nullptr) { in check_api() 496 if (new_type->AsStructuredParcelable() == nullptr) { in check_api() 497 AIDL_ERROR(new_type) << "Parcelable" << new_type->GetCanonicalName() in check_api() 505 if (new_type->AsUnionDeclaration() == nullptr) { in check_api() [all …]
|
/aosp12/art/runtime/verifier/ |
H A D | register_line-inl.h | 42 const RegType& new_type) { in SetRegisterType() argument 44 if (new_type.IsLowHalf() || new_type.IsHighHalf()) { in SetRegisterType() 46 << new_type << "'"; in SetRegisterType() 51 line_[vdst] = new_type.GetId(); in SetRegisterType() 60 DCHECK(new_type.IsReferenceTypes()); in SetRegisterType() 89 inline void RegisterLine::SetResultRegisterType(MethodVerifier* verifier, const RegType& new_type) { in SetResultRegisterType() argument 90 DCHECK(!new_type.IsLowHalf()); in SetResultRegisterType() 91 DCHECK(!new_type.IsHighHalf()); in SetResultRegisterType() 92 result_[0] = new_type.GetId(); in SetResultRegisterType()
|
H A D | register_line.h | 117 const RegType& new_type) 127 void SetResultRegisterType(MethodVerifier* verifier, const RegType& new_type)
|
H A D | register_line.cc | 437 const RegType& new_type = cur_type.Merge( in MergeRegisters() local 439 changed = changed || !cur_type.Equals(new_type); in MergeRegisters() 440 line_[idx] = new_type.GetId(); in MergeRegisters()
|
/aosp12/frameworks/base/tools/aapt2/ |
H A D | ResourceTable.cpp | 357 ResourceTableTypeView new_type{type->type, id ? id.value().type_id() : Maybe<uint8_t>{}}; in InsertEntryIntoTableView() local 358 auto view_type = type_inserter.Insert(view_package->types, std::move(new_type)); in InsertEntryIntoTableView() 656 ResourceTableType* new_type = new_pkg->FindOrCreateType(type->type); in Clone() local 657 new_type->visibility_level = type->visibility_level; in Clone() 660 ResourceEntry* new_entry = new_type->CreateEntry(entry->name); in Clone()
|
/aosp12/system/media/camera/docs/ |
H A D | metadata_model.py | 859 return Kind._combine_children_by_name(self, new_type=type(self)) 863 def _combine_children_by_name(self, new_type): argument 877 kind = new_type(self.name, self.parent) 969 return Kind._combine_children_by_name(self, new_type=type(self))
|
/aosp12/art/compiler/optimizing/ |
H A D | instruction_simplifier.cc | 1186 static inline bool TryReplaceFieldOrArrayGetType(HInstruction* maybe_get, DataType::Type new_type) { in TryReplaceFieldOrArrayGetType() argument 1188 maybe_get->AsInstanceFieldGet()->SetType(new_type); in TryReplaceFieldOrArrayGetType() 1191 maybe_get->AsPredicatedInstanceFieldGet()->SetType(new_type); in TryReplaceFieldOrArrayGetType() 1194 maybe_get->AsStaticFieldGet()->SetType(new_type); in TryReplaceFieldOrArrayGetType() 1197 maybe_get->AsArrayGet()->SetType(new_type); in TryReplaceFieldOrArrayGetType() 1531 DataType::Type new_type = (value == 0xff) ? DataType::Type::kUint8 : DataType::Type::kUint16; in VisitAnd() local 1535 TryReplaceFieldOrArrayGetType(input_other, new_type)) { in VisitAnd() 1538 } else if (DataType::IsTypeConversionImplicit(input_other->GetType(), new_type)) { in VisitAnd() 1543 new_type, input_other, instruction->GetDexPc()); in VisitAnd()
|
H A D | nodes.h | 3060 void SetType(DataType::Type new_type) { 3064 DCHECK(GetType() == new_type || 3068 SetPackedField<TypeField>(new_type); 6196 void SetType(DataType::Type new_type) { 6200 SetPackedField<TypeField>(new_type); 6286 void SetType(DataType::Type new_type) { 6290 SetPackedField<TypeField>(new_type); 6429 void SetType(DataType::Type new_type) { 6433 SetPackedField<TypeField>(new_type); 7292 void SetType(DataType::Type new_type) { [all …]
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_util_Binder.cpp | 265 const char* new_type = in report_java_lang_error_fatal_error() local 267 if (new_type != nullptr) { in report_java_lang_error_fatal_error() 270 new_type); in report_java_lang_error_fatal_error()
|
/aosp12/art/openjdkjvmti/ |
H A D | ti_redefine.cc | 1777 auto [_, new_type] = *it; in CollectAndCreateNewInstances() 1789 new_type->Alloc</*kIsInstrumented=*/true, in CollectAndCreateNewInstances() 1974 art::ObjPtr<art::mirror::Class> new_type; in FinishNewClassAllocations() local 1978 new_type = in FinishNewClassAllocations() 1985 new_type = setup_single_redefinition(&new_redef, superclass); in FinishNewClassAllocations() 1987 if (new_type == nullptr) { in FinishNewClassAllocations() 1992 new_classes_arr->Set(i, new_type); in FinishNewClassAllocations()
|
/aosp12/art/runtime/mirror/ |
H A D | class.h | 417 void SetPrimitiveType(Primitive::Type new_type) REQUIRES_SHARED(Locks::mutator_lock_) { in SetPrimitiveType() argument 419 uint32_t v32 = static_cast<uint32_t>(new_type); in SetPrimitiveType() 422 v32 |= Primitive::ComponentSizeShift(new_type) << kPrimitiveTypeSizeShiftShift; in SetPrimitiveType()
|