/external/syslinux/com32/lib/sys/ |
xserial_write.c | 54 static int ndigits; local 71 ndigits = ch; 93 if (--ndigits == 0) {
|
/external/python/cpython3/Modules/_decimal/tests/ |
randdec.py | 127 def ndigits(n): function 134 coeff = ndigits(maxprec) 139 coeff = tuple(map(int, str(ndigits(maxprec)))) 142 coeff = tuple(map(int, str(ndigits(maxprec)))) 319 yield from_triple(1, ndigits(m), 0) 320 yield from_triple(-1, ndigits(m), 0) 321 yield from_triple(1, ndigits(m), randrange(maxexp)) 322 yield from_triple(-1, ndigits(m), randrange(maxexp)) 332 yield from_triple(1, ndigits(m), 0) 333 yield from_triple(-1, ndigits(m), 0 [all...] |
/external/syslinux/com32/lib/ |
vsnprintf.c | 55 int ndigits = 0, nchars; local 71 ndigits++; 74 /* Adjust ndigits for size of output */ 77 if (prec < ndigits + 1) 78 prec = ndigits + 1; 81 if (ndigits < prec) { 82 ndigits = prec; /* Mandatory number padding */ 84 ndigits = 1; /* Zero still requires space */ 91 tickskip = ndigits; /* No tick marks */ 95 ndigits += (ndigits - 1) / tickskip [all...] |
/external/libchrome/base/third_party/nspr/ |
prtime.cc | 791 int ndigits = end - rest; local 792 while (ndigits++ < 6) [all...] |
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
regcomp.c | 737 int ndigits = 0; local 743 ndigits++; 746 REQUIRE(ndigits > 0 && count <= DUPMAX, REG_BADBR); [all...] |
/external/icu/icu4c/source/common/ |
unames.cpp | 453 int ndigits, i; local 460 for (cp = code, ndigits = 0; cp; ++ndigits, cp >>= 4) 462 if (ndigits < 4) 463 ndigits = 4; 464 for (cp = code, i = ndigits; (cp || i > 0) && bufferLength; cp >>= 4, bufferLength--) { 468 buffer += ndigits; 469 length += ndigits; [all...] |
/external/llvm/lib/Support/ |
regcomp.c | 651 int ndigits = 0; local 655 ndigits++; 658 REQUIRE(ndigits > 0 && count <= DUPMAX, REG_BADBR); [all...] |
/external/swiftshader/third_party/LLVM/lib/Support/ |
regcomp.c | 615 int ndigits = 0; local 619 ndigits++; 622 REQUIRE(ndigits > 0 && count <= DUPMAX, REG_BADBR); [all...] |
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
regcomp.c | 651 int ndigits = 0; local 655 ndigits++; 658 REQUIRE(ndigits > 0 && count <= DUPMAX, REG_BADBR); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
floatobject.c | 1064 10**-ndigits; here ndigits is within reasonable bounds (typically, -308 <=
1065 ndigits <= 323). Returns a Python float, or sets a Python error and
1449 Py_ssize_t length, ndigits, fdigits, i; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
bltinmodule.c | 2168 Py_ssize_t ndigits; local [all...] |
dtoa.c | 1518 size_t ndigits, fraclen; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
floatobject.c | 1063 10**-ndigits; here ndigits is within reasonable bounds (typically, -308 <=
1064 ndigits <= 323). Returns a Python float, or sets a Python error and
1434 Py_ssize_t length, ndigits, fdigits, i; local [all...] |
longobject.c | 122 int ndigits = 0;
local 142 ++ndigits;
145 v = _PyLong_New(ndigits);
148 v->ob_size = negative ? -ndigits : ndigits;
165 int ndigits = 0;
local 170 ++ndigits;
173 v = _PyLong_New(ndigits);
176 Py_SIZE(v) = ndigits;
494 Py_ssize_t ndigits;
local 529 Py_ssize_t ndigits; \/* number of Python long digits *\/ local 638 Py_ssize_t ndigits; \/* |v->ob_size| *\/ local 849 int ndigits = 0; local 891 int ndigits = 0; local 4133 Py_ssize_t ndigits, msd_bits = 0; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
bltinmodule.c | 2157 Py_ssize_t ndigits; local [all...] |
/external/libpng/ |
png.c | 3259 unsigned int ndigits = 0, first = 16 \/* flag value *\/; local [all...] |
/external/pdfium/third_party/libpng16/ |
png.c | 3196 unsigned int ndigits = 0, first = 16 \/* flag value *\/; local [all...] |
/external/python/cpython2/Objects/ |
floatobject.c | 1073 10**-ndigits; here ndigits is within reasonable bounds (typically, -308 <= 1074 ndigits <= 323). Returns a Python float, or sets a Python error and 1092 _Py_double_round(double x, int ndigits) { 1101 /* Easy path for the common case ndigits == 0. */ 1102 if (ndigits == 0) { 1458 Py_ssize_t length, ndigits, fdigits, i; local [all...] |
/external/python/cpython2/Python/ |
bltinmodule.c | 2179 Py_ssize_t ndigits; local [all...] |
dtoa.c | 1518 size_t ndigits, fraclen; local [all...] |
/external/python/cpython3/Objects/ |
floatobject.c | 906 10**-ndigits; here ndigits is within reasonable bounds (typically, -308 <= 907 ndigits <= 323). Returns a Python float, or sets a Python error and 915 double_round(double x, int ndigits) { 926 buf = _Py_dg_dtoa(x, 3, ndigits, &decpt, &sign, &buf_end); 973 double_round(double x, int ndigits) { 975 if (ndigits >= 0) { 976 if (ndigits > 22) { 978 pow1*pow2 ~= pow(10.0, ndigits) might overflow */ 979 pow1 = pow(10.0, (double)(ndigits-22)) 1026 Py_ssize_t ndigits; local 1230 Py_ssize_t length, ndigits, fdigits, i; local [all...] |
/external/python/cpython3/Python/ |
bltinmodule.c | 2054 PyObject *ndigits = NULL; local [all...] |
dtoa.c | 1445 size_t ndigits, fraclen; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Objects/ |
longobject.c | 122 int ndigits = 0;
local 142 ++ndigits;
145 v = _PyLong_New(ndigits);
148 v->ob_size = negative ? -ndigits : ndigits;
165 int ndigits = 0;
local 170 ++ndigits;
173 v = _PyLong_New(ndigits);
176 Py_SIZE(v) = ndigits;
494 Py_ssize_t ndigits;
local 529 Py_ssize_t ndigits; \/* number of Python long digits *\/ local 638 Py_ssize_t ndigits; \/* |v->ob_size| *\/ local 849 int ndigits = 0; local 891 int ndigits = 0; local 4133 Py_ssize_t ndigits, msd_bits = 0; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Objects/ |
longobject.c | 118 int ndigits = 0;
local 138 ++ndigits;
141 v = _PyLong_New(ndigits);
144 v->ob_size = negative ? -ndigits : ndigits;
161 int ndigits = 0;
local 166 ++ndigits;
169 v = _PyLong_New(ndigits);
172 Py_SIZE(v) = ndigits;
508 Py_ssize_t ndigits;
local 543 Py_ssize_t ndigits; \/* number of Python long digits *\/ local 652 Py_ssize_t ndigits; \/* |v->ob_size| *\/ local 863 int ndigits = 0; local 905 int ndigits = 0; local 4159 Py_ssize_t ndigits, msd_bits = 0; local [all...] |