Home
last modified time | relevance | path

Searched refs:decpt (Results 1 – 19 of 19) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dpystrtod.c947 Py_ssize_t decpt, digits_len, vdigits_start, vdigits_end; in format_float_short() local
957 decpt = (Py_ssize_t)decpt_as_int; in format_float_short()
1048 vdigits_end = decpt + precision; in format_float_short()
1051 if (decpt <= -4 || decpt > in format_float_short()
1063 if (decpt <= -4 || decpt > 16) in format_float_short()
1074 exp = decpt - 1; in format_float_short()
1075 decpt = 1; in format_float_short()
1079 vdigits_start = decpt <= 0 ? decpt-1 : 0; in format_float_short()
1081 vdigits_end = vdigits_end > decpt ? vdigits_end : decpt + 1; in format_float_short()
1083 vdigits_end = vdigits_end > decpt ? vdigits_end : decpt; in format_float_short()
[all …]
Ddtoa.c2346 int *decpt, int *sign, char **rve) in _Py_dg_dtoa() argument
2411 *decpt = 9999; in _Py_dg_dtoa()
2417 *decpt = 1; in _Py_dg_dtoa()
2928 *decpt = k + 1; in _Py_dg_dtoa()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dpystrtod.c947 Py_ssize_t decpt, digits_len, vdigits_start, vdigits_end; in format_float_short() local
957 decpt = (Py_ssize_t)decpt_as_int; in format_float_short()
1048 vdigits_end = decpt + precision; in format_float_short()
1051 if (decpt <= -4 || decpt > in format_float_short()
1063 if (decpt <= -4 || decpt > 16) in format_float_short()
1074 exp = decpt - 1; in format_float_short()
1075 decpt = 1; in format_float_short()
1079 vdigits_start = decpt <= 0 ? decpt-1 : 0; in format_float_short()
1081 vdigits_end = vdigits_end > decpt ? vdigits_end : decpt + 1; in format_float_short()
1083 vdigits_end = vdigits_end > decpt ? vdigits_end : decpt; in format_float_short()
[all …]
Ddtoa.c2315 int *decpt, int *sign, char **rve) in _Py_dg_dtoa() argument
2380 *decpt = 9999; in _Py_dg_dtoa()
2386 *decpt = 1; in _Py_dg_dtoa()
2897 *decpt = k + 1; in _Py_dg_dtoa()
/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/
Dldtoa.c56 ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign, char **rve) in ldtoa() argument
106 ret = gdtoa(&fpi, be, (ULong *)bits, &kind, mode, ndigits, decpt, rve); in ldtoa()
107 if (*decpt == -32768) in ldtoa()
108 *decpt = INT_MAX; in ldtoa()
111 return dtoa((double)*ld, mode, ndigits, decpt, sign, rve); in ldtoa()
Dgdtoa.h121 extern char* dtoa ANSI((double d, int mode, int ndigits, int *decpt,
123 extern char* hdtoa ANSI((double d, const char *xdigs, int ndigits, int *decpt,
125 extern char* ldtoa ANSI((long double *ld, int mode, int ndigits, int *decpt,
128 int *decpt, int *sign, char **rve));
131 int mode, int ndigits, int *decpt, char **rve));
Dgethex.c45 CONST unsigned char *decpt, *s0, *s, *s1; in gethex() local
63 decpt = 0; in gethex()
70 decpt = ++s; in gethex()
82 if (*s == decimalpoint && !decpt) { in gethex()
83 decpt = ++s; in gethex()
87 if (decpt) in gethex()
88 e = -(((Long)(s-decpt)) << 2); in gethex()
Ddtoa.c87 (d, mode, ndigits, decpt, sign, rve) in dtoa() argument
88 double d; int mode, ndigits, *decpt, *sign; char **rve; in dtoa()
90 (double d, int mode, int ndigits, int *decpt, int *sign, char **rve)
170 *decpt = 9999;
182 *decpt = 1;
817 *decpt = k + 1;
Dgdtoa.c131 (FPI *fpi, int be, ULong *bits, int *kindp, int mode, int ndigits, int *decpt, char **rve) in gdtoa() argument
194 *decpt = -32768; in gdtoa()
197 *decpt = -32768; in gdtoa()
214 *decpt = 1; in gdtoa()
822 *decpt = k + 1; in gdtoa()
Dstrtod.c93 int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, decpt, dsign, in strtod() local
108 sign = nz0 = nz = decpt = 0; in strtod()
189 decpt = 1; in strtod()
268 if (!decpt) in strtod()
Dstrtodg.c312 int bb0, bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, decpt, denorm; in strtodg() local
374 for(decpt = nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++) in strtodg()
386 decpt = 1; in strtodg()
462 if (!decpt) in strtodg()
Dgdtoaimp.h563 int *decpt, int *sign, char **rve);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Ddtoa.h8 int *decpt, int *sign, char **rve);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Ddtoa.h8 int *decpt, int *sign, char **rve);
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dvfwprintf.c1972 cvt(double value, int ndigits, int flags, char *sign, int *decpt, int ch, in cvt() argument
1978 _DIAGASSERT(decpt != NULL); in cvt()
1995 digits = __dtoa(value, mode, ndigits, decpt, &dsgn, &rve); in cvt()
2007 *decpt = -ndigits + 1; in cvt()
2008 bp += *decpt; in cvt()
Dvfwscanf.c771 wchar_t decpt = (wchar_t)(unsigned char)*localeconv()->decimal_point; in parsefloat() local
866 if (c != decpt) in parsefloat()
Dvfscanf.c992 char decpt = *localeconv()->decimal_point; in parsefloat() local
1090 if (c != decpt) in parsefloat()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dfloatobject.c1088 int decpt, sign, val, halfway_case; in _Py_double_round() local
1157 buf = _Py_dg_dtoa(x, 3, ndigits+halfway_case, &decpt, &sign, &buf_end); in _Py_double_round()
1172 assert(buflen - decpt == ndigits+1); in _Py_double_round()
1176 decpt += 1; in _Py_double_round()
1198 buf, decpt - (int)buflen); in _Py_double_round()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dfloatobject.c1087 int decpt, sign, val, halfway_case; in _Py_double_round() local
1145 buf = _Py_dg_dtoa(x, 3, ndigits+halfway_case, &decpt, &sign, &buf_end); in _Py_double_round()
1159 assert(buflen - decpt == ndigits+1); in _Py_double_round()
1163 decpt += 1; in _Py_double_round()
1185 buf, decpt - (int)buflen); in _Py_double_round()