/netbsd-src/external/bsd/ntp/dist/tests/ntpd/ |
H A D | t-ntp_scanner.c | 62 int temp = is_integer("123"); in test_IsInteger() 64 temp = is_integer("-999"); in test_IsInteger() 66 temp = is_integer("0"); //what about -0? in test_IsInteger() 68 temp = is_integer("16.5"); in test_IsInteger() 70 temp = is_integer("12ab"); in test_IsInteger() 72 temp = is_integer("2147483647"); in test_IsInteger() 74 temp = is_integer("2347483647"); //too big for signed int in test_IsInteger()
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/ |
H A D | limits.cc | 49 const bool __numeric_limits_base::is_integer; member in std::__numeric_limits_base 74 const bool numeric_limits<bool>::is_integer; member in std::numeric_limits<bool> 99 const bool numeric_limits<char>::is_integer; member in std::numeric_limits<char> 124 const bool numeric_limits<signed char>::is_integer; member in std::numeric_limits<signed char> 149 const bool numeric_limits<unsigned char>::is_integer; member in std::numeric_limits<unsigned char> 176 const bool numeric_limits<wchar_t>::is_integer; member in std::numeric_limits<wchar_t> 202 const bool numeric_limits<short>::is_integer; member in std::numeric_limits<short> 227 const bool numeric_limits<unsigned short>::is_integer; member in std::numeric_limits<unsigned short> 252 const bool numeric_limits<int>::is_integer; member in std::numeric_limits<int> 277 const bool numeric_limits<unsigned int>::is_integer; member in std::numeric_limits<unsigned int> [all …]
|
H A D | compatibility-ldbl-alt128.cc | 63 const bool numeric_limits<long double>::is_integer; member in std::numeric_limits<long double>
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/ |
H A D | limits.cc | 45 const bool __numeric_limits_base::is_integer; member in std::__numeric_limits_base 70 const bool numeric_limits<bool>::is_integer; member in std::numeric_limits<bool> 95 const bool numeric_limits<char>::is_integer; member in std::numeric_limits<char> 120 const bool numeric_limits<signed char>::is_integer; member in std::numeric_limits<signed char> 145 const bool numeric_limits<unsigned char>::is_integer; member in std::numeric_limits<unsigned char> 172 const bool numeric_limits<wchar_t>::is_integer; member in std::numeric_limits<wchar_t> 198 const bool numeric_limits<short>::is_integer; member in std::numeric_limits<short> 223 const bool numeric_limits<unsigned short>::is_integer; member in std::numeric_limits<unsigned short> 248 const bool numeric_limits<int>::is_integer; member in std::numeric_limits<int> 273 const bool numeric_limits<unsigned int>::is_integer; member in std::numeric_limits<unsigned int> [all …]
|
/netbsd-src/bin/expr/ |
H A D | expr.y | 55 static int is_integer(const char *); 188 if (is_integer($1) && is_integer($3)) { 264 is_integer(const char *str) in is_integer() function 280 if (!is_integer(left)) { in perform_arith_op() 284 if (!is_integer(right)) { in perform_arith_op()
|
/netbsd-src/usr.bin/xlint/lint1/ |
H A D | tree.c | 125 lint_assert(is_integer(tp->t_tspec)); in ic_any() 458 lint_assert(is_integer(tp->t_tspec)); in is_compiler_builtin() 493 lint_assert(is_integer(tn->tn_type->t_tspec)); in build_name_call() 545 if (!is_integer(tn->u.ops.left->tn_type->t_tspec)) in build_string() 877 if (!is_integer(lt) || !is_integer(rt)) in fold_unsigned_integer() 944 if (is_integer(t) && !is_uinteger(t)) in fold_signed_integer() 1015 && is_integer(lt) && (*lnp)->tn_op != CON in fold_constant_integer() 1026 if (is_integer(t)) { in fold_constant_integer() 1231 if (!is_integer( in build_plus_minus() [all...] |
H A D | debug.c | 231 else if (is_integer(tn->tn_type->t_tspec)) in debug_node() 560 else if (is_integer(t))
|
H A D | init.c | 206 is_integer(lt) && in check_bit_field_init() 208 !is_integer(rt)) in check_bit_field_init()
|
H A D | func.c | 483 if (!is_integer(tn->tn_type->t_tspec)) { in check_case_label() 621 if (tn != NULL && !is_integer(tn->tn_type->t_tspec)) { in stmt_switch_expr()
|
H A D | emit1.c | 344 if (is_integer(t)) { in outcall()
|
/netbsd-src/external/apache2/llvm/dist/libcxx/include/ |
H A D | limits | 32 static constexpr bool is_integer = false; 157 static _LIBCPP_CONSTEXPR const bool is_integer = false; 217 static _LIBCPP_CONSTEXPR const bool is_integer = true; 270 static _LIBCPP_CONSTEXPR const bool is_integer = true; 316 static _LIBCPP_CONSTEXPR const bool is_integer = false; 362 static _LIBCPP_CONSTEXPR const bool is_integer = false; 408 static _LIBCPP_CONSTEXPR const bool is_integer = false; 458 static _LIBCPP_CONSTEXPR const bool is_integer = __base::is_integer; 499 _LIBCPP_CONSTEXPR const bool numeric_limits<_Tp>::is_integer; 551 static _LIBCPP_CONSTEXPR const bool is_integer = __base::is_integer; [all …]
|
/netbsd-src/external/lgpl3/mpfr/dist/src/ |
H A D | gamma.c | 118 int compared, is_integer; in mpfr_gamma() local 248 is_integer = mpfr_integer_p (x); in mpfr_gamma() 250 if (is_integer && MPFR_IS_NEG(x)) in mpfr_gamma() 268 if (is_integer && mpfr_fits_ulong_p (x, MPFR_RNDN)) in mpfr_gamma()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Headers/ |
H A D | __clang_cuda_cmath.h | 220 typename __clang_cuda_enable_if<std::numeric_limits<__T>::is_integer, \ 318 __DEVICE__ typename __clang_cuda_enable_if<std::numeric_limits<__T>::is_integer, 325 __DEVICE__ typename __clang_cuda_enable_if<std::numeric_limits<__T>::is_integer, 341 __DEVICE__ typename __clang_cuda_enable_if<std::numeric_limits<__T>::is_integer, 348 __DEVICE__ typename __clang_cuda_enable_if<std::numeric_limits<__T>::is_integer,
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/ |
H A D | limits | 226 static _GLIBCXX_USE_CONSTEXPR bool is_integer = false; 404 static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; 474 static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; 542 static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; 613 static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; 685 static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; 749 static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; 814 static constexpr bool is_integer = true; 875 static constexpr bool is_integer = true; 941 static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/ |
H A D | limits | 226 static _GLIBCXX_USE_CONSTEXPR bool is_integer = false; 404 static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; 474 static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; 542 static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; 613 static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; 685 static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; 749 static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; 814 static constexpr bool is_integer = true; 875 static constexpr bool is_integer = true; 941 static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; [all …]
|
/netbsd-src/external/lgpl3/gmp/dist/tests/cxx/ |
H A D | t-misc.cc | 377 ASSERT_ALWAYS ( std::numeric_limits<mpz_class>::is_integer); in check_limits() 378 ASSERT_ALWAYS (!std::numeric_limits<mpf_class>::is_integer); in check_limits() 381 ASSERT_ALWAYS (&std::numeric_limits<mpz_class>::is_integer in check_limits() 382 != &std::numeric_limits<mpq_class>::is_integer); in check_limits()
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/fast_float/ |
H A D | fast_float.h | 519 fastfloat_really_inline bool is_integer(char c) noexcept { return c >= '0' && c <= '9'; } in is_integer() function 605 …if (!is_integer(*p) && (*p != decimal_point)) { // a sign must be followed by an integer or the dot in parse_number_string() 617 while ((p != pend) && is_integer(*p)) { in parse_number_string() 637 while ((p != pend) && is_integer(*p)) { in parse_number_string() 661 if ((p == pend) || !is_integer(*p)) { in parse_number_string() 669 while ((p != pend) && is_integer(*p)) { in parse_number_string() 2214 fastfloat_really_inline bool is_integer(char c) noexcept { return c >= '0' && c <= '9'; } in is_integer() function 2300 …if (!is_integer(*p) && (*p != decimal_point)) { // a sign must be followed by an integer or the dot in parse_number_string() 2312 while ((p != pend) && is_integer(*p)) { in parse_number_string() 2332 while ((p != pend) && is_integer(*p)) { in parse_number_string() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
H A D | MathExtras.h | 157 static_assert(std::numeric_limits<T>::is_integer && 226 static_assert(std::numeric_limits<T>::is_integer && 510 static_assert(std::numeric_limits<T>::is_integer && 526 static_assert(std::numeric_limits<T>::is_integer && 568 static_assert(std::numeric_limits<T>::is_integer &&
|
/netbsd-src/external/lgpl3/gmp/dist/cxx/ |
H A D | limits.cc | 40 const bool numeric_limits<T>::is_integer; \
|
/netbsd-src/usr.bin/xlint/common/ |
H A D | lint.h | 140 #define is_integer(t) (type_properties(t)->tt_is_integer) 139 #define is_integer(t) (type_properties(t)->tt_is_integer) global() macro
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
H A D | SparseSet.h | 124 static_assert(std::numeric_limits<SparseT>::is_integer &&
|
H A D | Bitfields.h | 245 std::numeric_limits<IntegerType>::is_integer,
|
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/ |
H A D | x-elisp.c | 204 is_integer (const char *p) in is_integer() function 320 if (is_integer (tp->chars) || is_float (tp->chars)) in read_token()
|
/netbsd-src/usr.bin/xlint/lint2/ |
H A D | chk.c | 497 if (is_integer(t1) && is_integer(t2) && in chkau() 576 } else if (t1 == PTR && is_integer(t2)) { in chkau()
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/ |
H A D | max_size_type.h | 773 static constexpr bool is_integer = true; in _GLIBCXX_VISIBILITY() 800 static constexpr bool is_integer = true; in _GLIBCXX_VISIBILITY()
|