Home
last modified time | relevance | path

Searched refs:union_size (Results 1 – 2 of 2) sorted by relevance

/system/tools/aidl/
Dgenerate_rust.cpp1208 auto union_size = cpp::SizeOfDefinedType(*parcel, typenames); in GenerateParcelBody() local
1209 AIDL_FATAL_IF(union_size == std::nullopt, *parcel); in GenerateParcelBody()
1211 << ">(), " << std::to_string(*union_size) << ");\n"; in GenerateParcelBody()
Dgenerate_ndk.cpp1500 auto union_size = cpp::SizeOfDefinedType(defined_type, types); in GenerateParcelClassDecl() local
1501 AIDL_FATAL_IF(union_size == std::nullopt, defined_type); in GenerateParcelClassDecl()
1502 out << "static_assert(sizeof(" << clazz << ") == " << std::to_string(*union_size) << ");\n"; in GenerateParcelClassDecl()