Searched refs:discriminator (Results 1 – 3 of 3) sorted by relevance
/system/tools/hidl/ |
D | CompoundType.cpp | 579 << layout.discriminator.align << "))) "; in emitSafeUnionTypeDeclarations() 612 emitLayoutAsserts(out, layout.discriminator, "::hidl_discriminator"); in emitSafeUnionTypeDeclarations() 1095 size_t dpad = layout.innerStruct.offset - layout.discriminator.size; in emitSafeUnionTypeConstructors() 1096 emitPaddingZero(out, layout.discriminator.size /*offset*/, dpad /*size*/); in emitSafeUnionTypeConstructors() 1600 "_hidl_offset + " + std::to_string(layout.discriminator.offset), in emitJavaTypeDeclarations() 1733 "_hidl_offset + " + std::to_string(layout.discriminator.offset), in emitJavaTypeDeclarations() 1993 Layout& discriminator = compoundLayout.discriminator; in getCompoundAlignmentAndSize() local 1997 &(discriminator.align), &(discriminator.size)); in getCompoundAlignmentAndSize() 1999 innerStruct.offset = discriminator.size; in getCompoundAlignmentAndSize() 2033 overall.align = std::max(innerStruct.align, discriminator.align); in getCompoundAlignmentAndSize()
|
D | CompoundType.h | 146 Layout discriminator; member
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_client.cpp | 1098 EXPECT_EQ(IFoo::Discriminator::INT, res[0].discriminator); in TEST_F() 1100 EXPECT_EQ(IFoo::Discriminator::BOOL, res[1].discriminator); in TEST_F() 1102 EXPECT_EQ(IFoo::Discriminator::BOOL, res[2].discriminator); in TEST_F() 1104 EXPECT_EQ(IFoo::Discriminator::INT, res[3].discriminator); in TEST_F()
|