Home
last modified time | relevance | path

Searched refs:IV_MAX (Results 1 – 25 of 33) sorted by relevance

12

/openbsd/src/gnu/usr.bin/perl/dist/Devel-PPPort/parts/inc/
Dlimits238 __UNDEFINED__ IV_MAX PERL_INT_MAX
248 __UNDEFINED__ IV_MAX PERL_QUAD_MAX
257 __UNDEFINED__ IV_MAX PERL_LONG_MAX
268 __UNDEFINED__ PERL_QUAD_MAX IV_MAX
275 __UNDEFINED__ IV_MAX PERL_LONG_MAX
Duv23 if (TeMpUv <= IV_MAX) \
29 __UNDEFINED__ newSVuv(uv) ((uv) <= IV_MAX ? newSViv((IV)uv) : newSVnv((NV)uv))
Dformat79 RETVAL = newSVpvf("%" IVdf, IV_MAX);
Dutf8198 * IV_MAX or below. This is for future internal use of the larger code points.
353 if (UNLIKELY(ret > IV_MAX)) {
Dmagic507 RETVAL = (UV)IV_MAX+100;
/openbsd/src/gnu/usr.bin/perl/ext/XS-APItest/t/
Dprintf.t58 "check types for IV_MAX and UV_MAX match IVdf/UVuf");
/openbsd/src/gnu/usr.bin/perl/cpan/Term-ReadKey/
Dppport.h11938 #ifndef IV_MAX
11939 # define IV_MAX PERL_INT_MAX macro
11966 #ifndef IV_MAX
11967 # define IV_MAX PERL_QUAD_MAX macro
11993 #ifndef IV_MAX
11994 # define IV_MAX PERL_LONG_MAX macro
12026 # define PERL_QUAD_MAX IV_MAX
12050 #ifndef IV_MAX
12051 # define IV_MAX PERL_LONG_MAX macro
14878 if (TeMpUv <= IV_MAX) \
[all …]
/openbsd/src/gnu/usr.bin/perl/cpan/Scalar-List-Utils/
DListUtil.xs411 if (i >= IV_MAX / retiv) { in sum()
431 if (i <= IV_MAX / retiv) { in sum()
447 if (retiv <= IV_MAX - i) { in sum()
1387 else if(nv > 0 && (UV)nv > (UV)IV_MAX) in uniq()
/openbsd/src/gnu/usr.bin/perl/pod/
Dperldeprecation.pod479 points exceeding the maximum value of an integer (C<IV_MAX>).
488 Perl 5.28 using a code point exceeding C<IV_MAX> throws a fatal error.
492 than 32-bit ones. For 32-bit integers, C<IV_MAX> equals C<0x7FFFFFFF>;
493 for 64-bit integers, C<IV_MAX> equals C<0x7FFFFFFFFFFFFFFF>.
Dperl5240delta.pod255 =head2 Using code points above the platform's C<IV_MAX> is now deprecated
260 used. However, use of those above the platform's C<IV_MAX> is broken in
265 C<IV_MAX> is typically 2**31 -1 on 32-bit platforms, and 2**63-1 on
/openbsd/src/gnu/usr.bin/perl/
Dperl.h2420 # define IV_MAX ((IV)INT64_MAX) macro
2428 # define IV_MAX PERL_QUAD_MAX macro
2437 # define IV_MAX ((IV)INT32_MAX) macro
2449 # define IV_MAX PERL_LONG_MAX macro
4713 #define IV_MAX_P1 (2.0 * (1 + (((UV)IV_MAX) >> 1)))
4785 #define NV_WITHIN_IV(nv) (I_V(nv) >= IV_MIN && I_V(nv) <= IV_MAX)
4791 #define CLUMP_2IV(uv) ((uv) > (UV)IV_MAX ? IV_MAX : (IV)(uv))
Dutf8.h1137 #define MAX_LEGAL_CP ((UV)IV_MAX)
Dpp.h510 & (TARGu_uv <= (UV)IV_MAX))) \
Dsv.c1596 if (u <= (UV)IV_MAX) { in Perl_sv_setuv()
2075 STATIC_ASSERT_DECL(MAX_UV_PRESERVED_IN_NV <= (UV)IV_MAX);
2106 if (SvNVX(sv) < (NV)IV_MAX + 0.5) { in S_sv_2iuv_common()
2236 if (value <= (UV)IV_MAX) { in S_sv_2iuv_common()
2303 (UV)IV_MAX); in S_sv_2iuv_common()
2402 if (value < (UV)IV_MAX) in Perl_sv_2iv_flags()
2409 return (numtype & IS_NUMBER_NEG) ? IV_MIN : IV_MAX; in Perl_sv_2iv_flags()
2674 } else if (value <= (UV)IV_MAX) { in Perl_sv_2nv_flags()
2690 if (SvNVX(sv) < (NV)IV_MAX + 0.5) { in Perl_sv_2nv_flags()
9269 if (SvIVX(sv) == IV_MAX)
[all …]
Dpp.c1099 && SvIVX(sv) != IV_MAX) in PP()
1240 else if (result <= (UV)IV_MAX) in PP()
1826 if (uv > IV_MAX)
1827 count = IV_MAX; /* The best we can do? */
2762 else if (SvUVX(sv) <= IV_MAX) { in PP()
3571 pos2_is_uv = (UV)len_iv > (UV)IV_MAX; in Perl_translate_substr_offsets()
3767 if (SvIOK_UV(offsetsv) && SvUVX(offsetsv) > (UV)IV_MAX)
Dpp_hot.c1707 && SvIVX(sv) != IV_MAX) in PP()
5008 else if (UNLIKELY(cur == IV_MAX)) { in PP()
6611 elem = uv > IV_MAX ? IV_MAX : uv; in PP()
Dpp_ctl.c1398 ? SvIsUV(right) && SvUV(right) > IV_MAX
1399 : SvNV_nomg(right) > (NV) IV_MAX)))
2493 if (nv < (NV)IV_MIN || nv > (NV)IV_MAX) in S_outside_integer()
2500 SvUV_nomg(sv) > (UV)IV_MAX))) in S_outside_integer()
Dop.c6033 UV end = (i + 1 < len) ? array[i+1] - 1 : IV_MAX; in Perl_invmap_dump()
6036 if (end == IV_MAX) { in Perl_invmap_dump()
6286 start = MIN(IV_MAX, start); in S_pmtrans()
6287 end = MIN(IV_MAX, end); in S_pmtrans()
6627 : IV_MAX - t_cp; in S_pmtrans()
6632 t_cp_end = MIN(IV_MAX, t_cp + span - 1); in S_pmtrans()
6643 r_cp_end = MIN(IV_MAX, r_cp + span - 1); in S_pmtrans()
6769 if ( t_cp_end >= IV_MAX - 1 in S_pmtrans()
6999 if (t_cp >= IV_MAX) { in S_pmtrans()
Dinline.h3466 STATIC_ASSERT_STMT(((UV)1 << NV_PRESERVES_UV_BITS) - 1 <= (UV)IV_MAX); in S_lossless_NV_to_IV()
Dhv.c1128 if (u <= (UV)IV_MAX) { in Perl_hv_scalar()
/openbsd/src/gnu/usr.bin/perl/dist/Devel-PPPort/
DChanges139 * Add tests for IVdf, UVuf, IV_MAX and UV_MAX
1025 IV_MAX
/openbsd/src/gnu/usr.bin/perl/cpan/Encode/Encode/
Dencode.h1193 # define MAX_EXTERNALLY_LEGAL_CP ((UV) (IV_MAX))
/openbsd/src/gnu/usr.bin/perl/dist/Devel-PPPort/parts/todo/
D5003007269 IV_MAX # T
/openbsd/src/gnu/usr.bin/perl/ext/POSIX/
DPOSIX.xs3375 if (num < IV_MIN || num > IV_MAX)
3530 else if (sizeof (IV) < sizeof (time_t) && (result < IV_MIN || IV_MAX < result))
/openbsd/src/gnu/usr.bin/perl/t/lib/warnings/
Dutf8738 # NAME Fatality of too-large code points, but IV_MAX works, warns

12