Home
last modified time | relevance | path

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

/external/llvm/unittests/Support/
DTrailingObjectsTest.cpp55 bool HasShort, HasDouble; member in __anon07bada1e0111::Class2
59 return HasShort ? 1 : 0; in numTrailingObjects()
65 Class2(bool HasShort, bool HasDouble) in Class2() argument
66 : HasShort(HasShort), HasDouble(HasDouble) {} in Class2()
70 bool HasShort = S != 0; in create() local
74 ::operator new(totalSizeToAlloc<double, short>(HasDouble, HasShort)); in create()
75 Class2 *C = new (Mem) Class2(HasShort, HasDouble); in create()
76 if (HasShort) in create()
85 if (!HasShort) in getShort()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DTrailingObjectsTest.cpp58 bool HasShort, HasDouble; member in __anon90d457560111::Class2
62 return HasShort ? 1 : 0; in numTrailingObjects()
68 Class2(bool HasShort, bool HasDouble) in Class2() argument
69 : HasShort(HasShort), HasDouble(HasDouble) {} in Class2()
73 bool HasShort = S != 0; in create() local
77 ::operator new(totalSizeToAlloc<double, short>(HasDouble, HasShort)); in create()
78 Class2 *C = new (Mem) Class2(HasShort, HasDouble); in create()
79 if (HasShort) in create()
88 if (!HasShort) in getShort()