Lines Matching refs:Class1
19 class Class1 final : protected TrailingObjects<Class1, short> { class
27 Class1(int *ShortArray, unsigned NumShorts) : NumShorts(NumShorts) { in Class1() function in __anon07bada1e0111::Class1
33 static Class1 *create(int *ShortArray, unsigned NumShorts) { in create()
35 return new (Mem) Class1(ShortArray, NumShorts); in create()
102 Class1 *C = Class1::create(arr, 3); in TEST()
103 EXPECT_EQ(sizeof(Class1), sizeof(unsigned)); in TEST()
104 EXPECT_EQ(Class1::additionalSizeToAlloc<short>(1), sizeof(short)); in TEST()
105 EXPECT_EQ(Class1::additionalSizeToAlloc<short>(3), sizeof(short) * 3); in TEST()
107 EXPECT_EQ(Class1::totalSizeToAlloc<short>(1), sizeof(Class1) + sizeof(short)); in TEST()
108 EXPECT_EQ(Class1::totalSizeToAlloc<short>(3), in TEST()
109 sizeof(Class1) + sizeof(short) * 3); in TEST()