Searched defs:TestLightFlattenable (Results 1 – 2 of 2) sorted by relevance
33 struct TestLightFlattenable : LightFlattenable<TestLightFlattenable> { struct34 std::unique_ptr<int32_t> ptr;36 bool isFixedSize() const { return true; } in isFixedSize()37 size_t getFlattenedSize() const { return sizeof(int32_t); } in getFlattenedSize()39 status_t flatten(void* buffer, size_t size) const { in flatten()44 status_t unflatten(void const* buffer, size_t size) { in unflatten()
106 struct TestLightFlattenable : LightFlattenablePod<TestLightFlattenable> { struct108 explicit TestLightFlattenable(int32_t v) : value(v) {} in TestLightFlattenable() function109 int32_t value = 0;