Home
last modified time | relevance | path

Searched refs:discriminator (Results 1 – 4 of 4) sorted by relevance

/system/tools/hidl/
DCompoundType.cpp579 << layout.discriminator.align << "))) "; in emitSafeUnionTypeDeclarations()
612 emitLayoutAsserts(out, layout.discriminator, "::hidl_discriminator"); in emitSafeUnionTypeDeclarations()
1076 size_t dpad = layout.innerStruct.offset - layout.discriminator.size; in emitSafeUnionTypeConstructors()
1077 emitPaddingZero(out, layout.discriminator.size /*offset*/, dpad /*size*/); in emitSafeUnionTypeConstructors()
1575 "_hidl_offset + " + std::to_string(layout.discriminator.offset), in emitJavaTypeDeclarations()
1708 "_hidl_offset + " + std::to_string(layout.discriminator.offset), in emitJavaTypeDeclarations()
1968 Layout& discriminator = compoundLayout.discriminator; in getCompoundAlignmentAndSize() local
1972 &(discriminator.align), &(discriminator.size)); in getCompoundAlignmentAndSize()
1974 innerStruct.offset = discriminator.size; in getCompoundAlignmentAndSize()
2008 overall.align = std::max(innerStruct.align, discriminator.align); in getCompoundAlignmentAndSize()
DCompoundType.h146 Layout discriminator; member
/system/chre/chpp/api_parser/
DREADME.md130 // used, according to the provided mapping on the adjacent discriminator
135 "discriminator": "cellInfoType",
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp1080 EXPECT_EQ(IFoo::Discriminator::INT, res[0].discriminator); in TEST_F()
1082 EXPECT_EQ(IFoo::Discriminator::BOOL, res[1].discriminator); in TEST_F()
1084 EXPECT_EQ(IFoo::Discriminator::BOOL, res[2].discriminator); in TEST_F()
1086 EXPECT_EQ(IFoo::Discriminator::INT, res[3].discriminator); in TEST_F()