Home
last modified time | relevance | path

Searched refs:is_integer (Results 1 – 25 of 53) sorted by relevance

123

/external/libweave/third_party/chromium/base/numerics/
Dsafe_math_impl.h68 std::numeric_limits<Integer>::is_integer,
75 std::numeric_limits<Integer>::is_integer,
82 std::numeric_limits<Integer>::is_integer,
90 static const typename std::enable_if<std::numeric_limits<Integer>::is_integer,
100 bool IsInteger = std::numeric_limits<Numeric>::is_integer,
134 typename std::enable_if<std::numeric_limits<T>::is_integer, T>::type
157 typename std::enable_if<std::numeric_limits<T>::is_integer, T>::type
184 typename std::enable_if<std::numeric_limits<T>::is_integer &&
196 typename std::enable_if<std::numeric_limits<T>::is_integer &&
226 typename std::enable_if<std::numeric_limits<T>::is_integer &&
[all …]
Dsafe_numerics_unittest.cc54 Src max = SrcLimits::max() / 2 + (SrcLimits::is_integer ? 1 : 0); in GetMaxConvertibleToFloat()
78 typename std::enable_if<numeric_limits<Dst>::is_integer && in TestSpecializedArithmetic()
134 typename std::enable_if<numeric_limits<Dst>::is_integer && in TestSpecializedArithmetic()
338 static_assert((DstLimits::is_iec559 && SrcLimits::is_integer) || in Test()
340 (!(DstLimits::is_integer && SrcLimits::is_iec559) && in Test()
385 (DstLimits::is_integer && SrcLimits::is_iec559), in Test()
401 if (DstLimits::is_integer) { in Test()
451 static_assert((DstLimits::is_integer && SrcLimits::is_iec559) || in Test()
471 if (DstLimits::is_integer) { in Test()
/external/libchrome/base/numerics/
Dsafe_math_impl.h69 std::numeric_limits<Integer>::is_integer,
76 std::numeric_limits<Integer>::is_integer,
83 std::numeric_limits<Integer>::is_integer,
91 static const typename std::enable_if<std::numeric_limits<Integer>::is_integer,
101 bool IsInteger = std::numeric_limits<Numeric>::is_integer,
135 typename std::enable_if<std::numeric_limits<T>::is_integer, T>::type
158 typename std::enable_if<std::numeric_limits<T>::is_integer, T>::type
185 typename std::enable_if<std::numeric_limits<T>::is_integer &&
197 typename std::enable_if<std::numeric_limits<T>::is_integer &&
227 typename std::enable_if<std::numeric_limits<T>::is_integer &&
[all …]
Dsafe_numerics_unittest.cc58 Src max = SrcLimits::max() / 2 + (SrcLimits::is_integer ? 1 : 0); in GetMaxConvertibleToFloat()
82 typename std::enable_if<numeric_limits<Dst>::is_integer && in TestSpecializedArithmetic()
138 typename std::enable_if<numeric_limits<Dst>::is_integer && in TestSpecializedArithmetic()
342 static_assert((DstLimits::is_iec559 && SrcLimits::is_integer) || in Test()
344 (!(DstLimits::is_integer && SrcLimits::is_iec559) && in Test()
389 (DstLimits::is_integer && SrcLimits::is_iec559), in Test()
405 if (DstLimits::is_integer) { in Test()
455 static_assert((DstLimits::is_integer && SrcLimits::is_iec559) || in Test()
475 if (DstLimits::is_integer) { in Test()
/external/pdfium/third_party/base/numerics/
Dsafe_math_impl.h69 std::numeric_limits<Integer>::is_integer,
76 std::numeric_limits<Integer>::is_integer,
83 std::numeric_limits<Integer>::is_integer,
91 static const typename std::enable_if<std::numeric_limits<Integer>::is_integer,
116 typename std::enable_if<std::numeric_limits<T>::is_integer, T>::type
139 typename std::enable_if<std::numeric_limits<T>::is_integer, T>::type
166 typename std::enable_if<std::numeric_limits<T>::is_integer &&
178 typename std::enable_if<std::numeric_limits<T>::is_integer &&
208 typename std::enable_if<std::numeric_limits<T>::is_integer &&
224 typename std::enable_if<std::numeric_limits<T>::is_integer,
[all …]
/external/v8/src/base/
Dsafe_math_impl.h98 std::numeric_limits<Integer>::is_integer,
105 std::numeric_limits<Integer>::is_integer,
112 std::numeric_limits<Integer>::is_integer,
120 static const typename enable_if<std::numeric_limits<Integer>::is_integer,
144 typename enable_if<std::numeric_limits<T>::is_integer, T>::type
167 typename enable_if<std::numeric_limits<T>::is_integer, T>::type
195 std::numeric_limits<T>::is_integer && sizeof(T) * 2 <= sizeof(uintmax_t),
206 typename enable_if<std::numeric_limits<T>::is_integer &&
236 typename enable_if<std::numeric_limits<T>::is_integer &&
253 typename enable_if<std::numeric_limits<T>::is_integer, int>::type = 0) {
[all …]
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/
Dis_integer.pass.cpp20 static_assert(std::numeric_limits<T>::is_integer == expected, "is_integer test 1"); in test()
21 static_assert(std::numeric_limits<const T>::is_integer == expected, "is_integer test 2"); in test()
22 static_assert(std::numeric_limits<volatile T>::is_integer == expected, "is_integer test 3"); in test()
23 … static_assert(std::numeric_limits<const volatile T>::is_integer == expected, "is_integer test 4"); in test()
/external/opencv3/3rdparty/openexr/IlmImf/
DImfCheckedArithmetic.h66 std::numeric_limits<T>::is_integer);
84 std::numeric_limits<T>::is_integer);
102 std::numeric_limits<T>::is_integer);
120 std::numeric_limits<T>::is_integer);
148 std::numeric_limits<T>::is_integer);
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
Dcore.py24 from rsa._compat import is_integer
28 if is_integer(var):
Dtransform.py36 from rsa._compat import is_integer, b, byte, get_word_alignment, ZERO_BYTE, EMPTY_BYTE
83 if not is_integer(number):
/external/eigen/Eigen/src/Core/
DFuzzy.h19 template<typename Derived, typename OtherDerived, bool is_integer = NumTraits<typename Derived::Sca…
40 template<typename Derived, typename OtherDerived, bool is_integer = NumTraits<typename Derived::Sca…
58 template<typename Derived, bool is_integer = NumTraits<typename Derived::Scalar>::IsInteger>
/external/vulkan-validation-layers/libs/glm/detail/
Dtype_mat4x4.inl181 …GLM_STATIC_ASSERT(std::numeric_limits<X1>::is_iec559 || std::numeric_limits<X1>::is_integer, "*mat…
182 …GLM_STATIC_ASSERT(std::numeric_limits<Y1>::is_iec559 || std::numeric_limits<Y1>::is_integer, "*mat…
183 …GLM_STATIC_ASSERT(std::numeric_limits<Z1>::is_iec559 || std::numeric_limits<Z1>::is_integer, "*mat…
184 …GLM_STATIC_ASSERT(std::numeric_limits<W1>::is_iec559 || std::numeric_limits<W1>::is_integer, "*mat…
186 …GLM_STATIC_ASSERT(std::numeric_limits<X2>::is_iec559 || std::numeric_limits<X2>::is_integer, "*mat…
187 …GLM_STATIC_ASSERT(std::numeric_limits<Y2>::is_iec559 || std::numeric_limits<Y2>::is_integer, "*mat…
188 …GLM_STATIC_ASSERT(std::numeric_limits<Z2>::is_iec559 || std::numeric_limits<Z2>::is_integer, "*mat…
189 …GLM_STATIC_ASSERT(std::numeric_limits<W2>::is_iec559 || std::numeric_limits<W2>::is_integer, "*mat…
191 …GLM_STATIC_ASSERT(std::numeric_limits<X3>::is_iec559 || std::numeric_limits<X3>::is_integer, "*mat…
192 …GLM_STATIC_ASSERT(std::numeric_limits<Y3>::is_iec559 || std::numeric_limits<Y3>::is_integer, "*mat…
[all …]
Dfunc_vector_relational.inl40 GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559 || std::numeric_limits<T>::is_integer,
58 GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559 || std::numeric_limits<T>::is_integer,
75 GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559 || std::numeric_limits<T>::is_integer,
92 GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559 || std::numeric_limits<T>::is_integer,
Dfunc_integer.inl354 …GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'bitfieldInsert' only accept intege…
416 …GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'bitfieldReverse' only accept integ…
432 …GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'bitCount' only accept integer valu…
486 …GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'findLSB' only accept integer value…
540 …GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'findMSB' only accept integer value…
558 …GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'findMSB' only accept integer value…
597 …GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'findMSB' only accept integer value…
Dfunc_common.inl62 !std::numeric_limits<genFIType>::is_signed && std::numeric_limits<genFIType>::is_integer,
154 …(std::numeric_limits<genFIType>::is_signed && std::numeric_limits<genFIType>::is_integer), "'sign'…
374 std::numeric_limits<genType>::is_iec559 || std::numeric_limits<genType>::is_integer,
392 std::numeric_limits<genType>::is_iec559 || std::numeric_limits<genType>::is_integer,
411 std::numeric_limits<genType>::is_iec559 || std::numeric_limits<genType>::is_integer,
426 std::numeric_limits<T>::is_iec559 || std::numeric_limits<T>::is_integer,
443 std::numeric_limits<T>::is_iec559 || std::numeric_limits<T>::is_integer,
461 std::numeric_limits<T>::is_iec559 || std::numeric_limits<T>::is_integer,
480 std::numeric_limits<T>::is_iec559 || std::numeric_limits<T>::is_integer,
497 std::numeric_limits<T>::is_iec559 || std::numeric_limits<T>::is_integer,
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_sampler.c176 GLboolean is_integer = GL_FALSE; in convert_sampler() local
181 is_integer = _mesa_is_enum_format_integer(teximg->InternalFormat); in convert_sampler()
186 teximg ? teximg->_BaseFormat : GL_RGBA, is_integer); in convert_sampler()
Dst_cb_clear.c305 GLboolean is_integer = _mesa_is_enum_format_integer(rb->InternalFormat); in clear_with_quad() local
310 is_integer); in clear_with_quad()
548 GLboolean is_integer = _mesa_is_enum_format_integer(rb->InternalFormat); in st_Clear() local
553 is_integer); in st_Clear()
Dst_format.h80 GLenum baseFormat, GLboolean is_integer);
/external/libcxx/include/
Dlimits33 static constexpr bool is_integer = false;
155 static _LIBCPP_CONSTEXPR const bool is_integer = false;
215 static _LIBCPP_CONSTEXPR const bool is_integer = true;
267 static _LIBCPP_CONSTEXPR const bool is_integer = true;
313 static _LIBCPP_CONSTEXPR const bool is_integer = false;
359 static _LIBCPP_CONSTEXPR const bool is_integer = false;
405 static _LIBCPP_CONSTEXPR const bool is_integer = false;
455 static _LIBCPP_CONSTEXPR const bool is_integer = __base::is_integer;
496 _LIBCPP_CONSTEXPR const bool numeric_limits<_Tp>::is_integer;
548 static _LIBCPP_CONSTEXPR const bool is_integer = __base::is_integer;
[all …]
/external/netperf/src/missing/
Dgetaddrinfo.c214 static int is_integer(const char *);
218 static int is_integer();
260 is_integer(s) in is_integer() function
376 if (is_integer(servname))
/external/skia/src/ports/
DSkFontMgr_android_parser.h124 static_assert(std::numeric_limits<T>::is_integer, "T_must_be_integer"); in parse_non_negative_integer()
161 static_assert(std::numeric_limits<T>::is_integer, "T_must_be_integer"); in parse_fixed()
/external/llvm/include/llvm/Support/
DMathExtras.h110 static_assert(std::numeric_limits<T>::is_integer &&
179 static_assert(std::numeric_limits<T>::is_integer &&
392 static_assert(std::numeric_limits<T>::is_integer &&
408 static_assert(std::numeric_limits<T>::is_integer &&
450 static_assert(std::numeric_limits<T>::is_integer &&
/external/dng_sdk/source/
Ddng_safe_arithmetic.h202 static_assert(std::numeric_limits<TSrc>::is_integer && in ConvertUnsigned()
204 std::numeric_limits<TDest>::is_integer && in ConvertUnsigned()
/external/mesa3d/src/glsl/
Dloop_controls.cpp104 if (!iter->type->is_integer()) { in calculate_iterations()
126 iter = (increment->type->is_integer()) in calculate_iterations()
/external/webrtc/webrtc/base/
Drandom.h30 static_assert(std::numeric_limits<T>::is_integer && in Rand()

123