/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
D | hdtoa.c | 49 roundup(char *s0, int ndigits) in roundup() argument 53 for (s = s0 + ndigits - 1; *s == 0xf; s--) { in roundup() 71 dorounding(char *s0, int ndigits, int sign, int *decpt) in dorounding() argument 80 if ((s0[ndigits] > 8) || in dorounding() 81 (s0[ndigits] == 8 && s0[ndigits + 1] & 1)) in dorounding() 82 adjust = roundup(s0, ndigits); in dorounding() 86 adjust = roundup(s0, ndigits); in dorounding() 90 adjust = roundup(s0, ndigits); in dorounding() 123 __hdtoa(double d, const char *xdigs, int ndigits, int *decpt, int *sign, in __hdtoa() argument 156 if (ndigits == 0) /* dtoa() compatibility */ in __hdtoa() [all …]
|
D | ldtoa.c | 49 __ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign, in __ldtoa() argument 104 ret = gdtoa(&fpi, be, vbits, &kind, mode, ndigits, decpt, rve); in __ldtoa() 113 __ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign, in __ldtoa() argument 118 ret = dtoa((double)*ld, mode, ndigits, decpt, sign, rve); in __ldtoa()
|
D | dtoa.c | 78 (d0, mode, ndigits, decpt, sign, rve) in dtoa() argument 79 double d0; int mode, ndigits, *decpt, *sign; char **rve; in dtoa() 81 (double d0, int mode, int ndigits, int *decpt, int *sign, char **rve) 309 ndigits = 0; 315 if (ndigits <= 0) 316 ndigits = 1; 317 ilim = ilim1 = i = ndigits; 323 i = ndigits + k + 1; 445 if (ndigits < 0 && ilim <= 0) { 633 k = -1 - ndigits;
|
D | gdtoa.c | 116 (fpi, be, bits, kindp, mode, ndigits, decpt, rve) in gdtoa() argument 118 int *kindp, mode, ndigits, *decpt; char **rve; 120 (FPI *fpi, int be, ULong *bits, int *kindp, int mode, int ndigits, int *decpt, char **rve) 300 ndigits = 0; 306 if (ndigits <= 0) 307 ndigits = 1; 308 ilim = ilim1 = i = ndigits; 314 i = ndigits + k + 1; 453 if (ndigits < 0 && ilim <= 0) { 631 k = -1 - ndigits;
|
D | gdtoa.h | 107 extern char* __dtoa ANSI((double d, int mode, int ndigits, int *decpt, 110 int mode, int ndigits, int *decpt, char **rve));
|
D | gdtoaimp.h | 589 extern char *dtoa ANSI((double d, int mode, int ndigits,
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | regcomp.c | 737 int ndigits = 0; in p_count() local 743 ndigits++; in p_count() 746 REQUIRE(ndigits > 0 && count <= DUPMAX, REG_BADBR); in p_count()
|