Home
last modified time | relevance | path

Searched refs:HasDouble (Results 1 – 5 of 5) sorted by relevance

/external/llvm/unittests/Support/
DTrailingObjectsTest.cpp55 bool HasShort, HasDouble; member in __anon07bada1e0111::Class2
62 return HasDouble ? 1 : 0; in numTrailingObjects()
65 Class2(bool HasShort, bool HasDouble) in Class2() argument
66 : HasShort(HasShort), HasDouble(HasDouble) {} in Class2()
71 bool HasDouble = D != 0.0; in create() local
74 ::operator new(totalSizeToAlloc<double, short>(HasDouble, HasShort)); in create()
75 Class2 *C = new (Mem) Class2(HasShort, HasDouble); in create()
78 if (HasDouble) in create()
91 if (!HasDouble) in getDouble()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DTrailingObjectsTest.cpp58 bool HasShort, HasDouble; member in __anon90d457560111::Class2
65 return HasDouble ? 1 : 0; in numTrailingObjects()
68 Class2(bool HasShort, bool HasDouble) in Class2() argument
69 : HasShort(HasShort), HasDouble(HasDouble) {} in Class2()
74 bool HasDouble = D != 0.0; in create() local
77 ::operator new(totalSizeToAlloc<double, short>(HasDouble, HasShort)); in create()
78 Class2 *C = new (Mem) Class2(HasShort, HasDouble); in create()
81 if (HasDouble) in create()
94 if (!HasDouble) in getDouble()
/external/libtextclassifier/utils/
Dvariant.h78 TC3_CHECK(HasDouble()); in DoubleValue()
98 bool HasDouble() const { return type_ == TYPE_DOUBLE_VALUE; } in HasDouble() function
Dlua-utils.cc234 } else if (value.HasDouble()) { in PushValue()
Dflatbuffers.cc151 return value.HasDouble(); in IsMatchingType()