Home
last modified time | relevance | path

Searched refs:IsInteger (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/wtf/
DTypeTraits.cpp29 COMPILE_ASSERT(IsInteger<bool>::value, WTF_IsInteger_bool_true);
30 COMPILE_ASSERT(IsInteger<char>::value, WTF_IsInteger_char_true);
31 COMPILE_ASSERT(IsInteger<signed char>::value, WTF_IsInteger_signed_char_true);
32 COMPILE_ASSERT(IsInteger<unsigned char>::value, WTF_IsInteger_unsigned_char_true);
33 COMPILE_ASSERT(IsInteger<short>::value, WTF_IsInteger_short_true);
34 COMPILE_ASSERT(IsInteger<unsigned short>::value, WTF_IsInteger_unsigned_short_true);
35 COMPILE_ASSERT(IsInteger<int>::value, WTF_IsInteger_int_true);
36 COMPILE_ASSERT(IsInteger<unsigned>::value, WTF_IsInteger_unsigned_int_true);
37 COMPILE_ASSERT(IsInteger<long>::value, WTF_IsInteger_long_true);
38 COMPILE_ASSERT(IsInteger<unsigned long>::value, WTF_IsInteger_unsigned_long_true);
[all …]
DTypeTraits.h51 template<typename T> struct IsInteger { static const bool value = false; };
52 template<> struct IsInteger<bool> { static const bool value = true; };
53 template<> struct IsInteger<char> { static const bool value = true; };
54 template<> struct IsInteger<signed char> { static const bool value = true; };
55 template<> struct IsInteger<unsigned char> { static const bool value = true; };
56 template<> struct IsInteger<short> { static const bool value = true; };
57 template<> struct IsInteger<unsigned short> { static const bool value = true; };
58 template<> struct IsInteger<int> { static const bool value = true; };
59 template<> struct IsInteger<unsigned int> { static const bool value = true; };
60 template<> struct IsInteger<long> { static const bool value = true; };
[all …]
DHashTraits.h83 template<typename T> struct GenericHashTraits : GenericHashTraitsBase<IsInteger<T>::value, T> {
/external/eigen/Eigen/src/Core/
DNumTraits.h54 IsInteger = std::numeric_limits<T>::is_integer, enumerator
65 IsInteger,
78 …static inline T lowest() { return IsInteger ? (std::numeric_limits<T>::min)() : (-(std::numeric_l… in lowest()
82 HasFloatingPoint = !IsInteger
136 IsInteger = NumTraits<Scalar>::IsInteger,
DFuzzy.h19 …e Derived, typename OtherDerived, bool is_integer = NumTraits<typename Derived::Scalar>::IsInteger>
40 …e Derived, typename OtherDerived, bool is_integer = NumTraits<typename Derived::Scalar>::IsInteger>
58 template<typename Derived, bool is_integer = NumTraits<typename Derived::Scalar>::IsInteger>
DIO.h124 template<typename Scalar, bool IsInteger>
147 : significant_decimals_default_impl<Scalar, NumTraits<Scalar>::IsInteger>
174 if (NumTraits<Scalar>::IsInteger)
DMathFunctions.h335 template<typename Scalar, bool IsInteger>
364 struct atanh2_impl : atanh2_default_impl<Scalar, NumTraits<Scalar>::IsInteger> {};
376 template<typename Scalar, bool IsInteger>
407 struct pow_impl : pow_default_impl<Scalar, NumTraits<Scalar>::IsInteger> {};
421 bool IsInteger>
425 …_impl : random_default_impl<Scalar, NumTraits<Scalar>::IsComplex, NumTraits<Scalar>::IsInteger> {};
645 bool IsInteger>
706 …: scalar_fuzzy_default_impl<Scalar, NumTraits<Scalar>::IsComplex, NumTraits<Scalar>::IsInteger> {};
DSelfCwiseBinaryOp.h183 typedef typename internal::conditional<NumTraits<Scalar>::IsInteger,
189 if(NumTraits<Scalar>::IsInteger) actual_other = other;
DPlainObjectBase.h627 EIGEN_STATIC_ASSERT(bool(NumTraits<T0>::IsInteger) &&
628 bool(NumTraits<T1>::IsInteger),
/external/eigen/test/
Dproduct.h86 if (!NumTraits<Scalar>::IsInteger && (std::min)(rows,cols)>1) in product()
95 if (!NumTraits<Scalar>::IsInteger && (std::min)(rows,cols)>1) in product()
107 if (!NumTraits<Scalar>::IsInteger && (std::min)(rows,cols)>1) in product()
131 if (!NumTraits<Scalar>::IsInteger && (std::min)(rows,cols)>1) in product()
Dadjoint.cpp14 template<bool IsInteger> struct adjoint_specific;
33 …RealScalar ref = NumTraits<Scalar>::IsInteger ? RealScalar(0) : (std::max)((s1 * v1 + s2 * v2).nor… in run()
47 …ref = NumTraits<Scalar>::IsInteger ? 0 : (std::max)((std::max)(v1.norm(),v2.norm()),(std::max)((sq… in run()
95 adjoint_specific<NumTraits<Scalar>::IsInteger>::run(v1, v2, v3, square, s1, s2); in adjoint()
Dlinearstructure.cpp49 if(!NumTraits<Scalar>::IsInteger) in linearStructure()
61 if(!NumTraits<Scalar>::IsInteger) in linearStructure()
Dsmallvectors.cpp36 if (!NumTraits<Scalar>::IsInteger) in smallVectors()
Dcwiseop.cpp32 typename Eigen::internal::enable_if<!NumTraits<typename MatrixType::Scalar>::IsInteger,typename Mat…
60 typename Eigen::internal::enable_if<NumTraits<typename MatrixType::Scalar>::IsInteger,typename Matr…
Dinteger_types.cpp55 VERIFY(NumTraits<Scalar>::IsInteger); in integer_type_tests()
/external/chromium_org/v8/src/compiler/
Dinstruction-selector-unittest.h132 bool IsInteger(const InstructionOperand* operand) const { in IsInteger() function
133 return IsInteger(ToVreg(operand)); in IsInteger()
135 bool IsInteger(int virtual_register) const { in IsInteger() function
/external/eigen/Eigen/src/Core/util/
DStaticAssert.h173 eigen_assert(!NumTraits<Scalar>::IsInteger);
176 EIGEN_STATIC_ASSERT(!NumTraits<TYPE>::IsInteger, THIS_FUNCTION_IS_NOT_FOR_INTEGER_NUMERIC_TYPES)
/external/chromium_org/third_party/WebKit/Source/platform/animation/
DAnimationUtilities.h47 COMPILE_ASSERT(WTF::IsInteger<T>::value, BlendForUnsignedTypes); in blend()
/external/vixl/src/a64/
Ddebugger-a64.cc53 virtual bool IsInteger() const { return false; } in IsInteger() function in vixl::Token
167 virtual bool IsInteger() const { return true; } in IsInteger() function in vixl::IntegerToken
172 VIXL_ASSERT(tok->IsInteger()); in Cast()
1313 if (!first->IsInteger()) { in Build()
1336 if (!first->IsInteger()) { in Build()
1522 } else if (second->IsInteger()) { in Build()
1534 if (!second->IsFormat() || !third->IsInteger()) { in Build()
/external/chromium_org/chrome/browser/resources/print_preview/
Dprint_preview_utils_unittest.gtestjs23 TEST_F('PrintPreviewUtilsUnitTest', 'IsInteger', function() {
/external/eigen/unsupported/Eigen/
DAdolcForward89 IsInteger = 0,
DMPRealSupport64 IsInteger = 0,
/external/chromium_org/v8/src/
Dtypes.h521 static bool IsInteger(double x) { in IsInteger() function
524 static bool IsInteger(i::Object* x) { in IsInteger() function
525 return x->IsNumber() && IsInteger(x->Number()); in IsInteger()
/external/eigen/Eigen/src/Geometry/
DAlignedBox.h165 if(!ScalarTraits::IsInteger) in sample()
/external/eigen/Eigen/src/LU/
DInverse.h322 EIGEN_STATIC_ASSERT(!NumTraits<Scalar>::IsInteger,THIS_FUNCTION_IS_NOT_FOR_INTEGER_NUMERIC_TYPES)

12