HomeSort by relevance Sort by last modified time
    Searched refs:digits (Results 1 - 25 of 446) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/stlport/test/unit/
complete_digits.h 8 complete_digits(std::string &digits)
10 complete_digits(string &digits)
13 while (digits.size() < 2)
15 digits.insert(digits.begin(), '0');
  /ndk/tests/device/test-gnustl-full/unit/
complete_digits.h 8 complete_digits(std::string &digits)
10 complete_digits(string &digits)
13 while (digits.size() < 2)
15 digits.insert(digits.begin(), '0');
  /ndk/tests/device/test-stlport/unit/
complete_digits.h 8 complete_digits(std::string &digits)
10 complete_digits(string &digits)
13 while (digits.size() < 2)
15 digits.insert(digits.begin(), '0');
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
JavaScriptTarget.java 65 private void writeHexWithPadding(StringBuffer buf, String digits) {
66 digits = digits.toUpperCase();
67 int padding = 8 - digits.length();
72 buf.append(digits);
  /libcore/luni/src/main/java/java/math/
Logical.java 51 if (val.digits[val.numberLength - 1] != -1) {
52 for (i = 0; val.digits[i] == -1; i++) {
56 for (i = 0; (i < val.numberLength) && (val.digits[i] == -1); i++) {
67 for (i = 0; val.digits[i] == 0; i++) {
73 resDigits[i] = val.digits[i] + val.sign;
76 resDigits[i] = val.digits[i];
122 resDigits[i] = val.digits[i] & that.digits[i];
135 // the positive digits
145 resDigits[i] = -negative.digits[i] & positive.digits[i]
    [all...]
BigInteger.java 54 transient int[] digits; field in class:BigInteger
58 * digits.length().
113 * @param digits a reference of some array created before.
115 BigInteger(int sign, int numberLength, int[] digits) {
116 setJavaRepresentation(sign, numberLength, digits);
136 int[] digits = new int[numberLength]; local
138 digits[i] = random.nextInt();
141 digits[numberLength - 1] >>>= (-numBits) & 31;
142 setJavaRepresentation(sign, numberLength, digits);
207 * non-empty sequence of decimal digits. Digits are interpreted as if b
358 int[] digits = (sign != 0) ? bigInt.littleEndianIntsMagnitude() : new int[] { 0 }; local
1188 int[] digits = new int[bigRadixDigitsLength]; local
    [all...]
BitLevel.java 47 int highDigit = val.digits[val.numberLength - 1];
73 bCount += Integer.bitCount(val.digits[i]);
77 bCount += Integer.bitCount(-val.digits[i]);
79 bCount += Integer.bitCount(~val.digits[i]);
94 return ((val.digits[n >> 5] & (1 << (n & 31))) != 0);
103 static boolean nonZeroDroppedBits(int numberOfBits, int[] digits) {
108 for (i = 0; (i < intCount) && (digits[i] == 0); i++) {
111 return ((i != intCount) || (digits[i] << (32 - bitCount) != 0));
131 shiftLeftOneBit(resDigits, source.digits, srcLen);
147 shiftRight(resDigits, resLength, source.digits, intCount, count)
    [all...]
  /external/chromium_org/third_party/libxslt/libxslt/
extra.c 175 char digits[5]; local
202 memset(digits, 0, sizeof(digits));
203 strncpy(digits, str+7, 4);
204 field = strtol(digits, NULL, 10);
207 memset(digits, 0, sizeof(digits));
208 strncpy(digits, str+12, 2);
209 field = strtol(digits, NULL, 10);
212 memset(digits, 0, sizeof(digits))
    [all...]
  /external/libcxx/test/language.support/support.limits/limits/numeric.limits.members/
digits.pass.cpp 12 // digits
21 static_assert(std::numeric_limits<T>::digits == expected, "digits test 1");
22 static_assert(std::numeric_limits<const T>::digits == expected, "digits test 2");
23 static_assert(std::numeric_limits<volatile T>::digits == expected, "digits test 3");
24 static_assert(std::numeric_limits<const volatile T>::digits == expected, "digits test 4");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.limits/limits/numeric.limits.members/
digits.pass.cpp 12 // digits
21 static_assert(std::numeric_limits<T>::digits == expected, "digits test 1");
22 static_assert(std::numeric_limits<const T>::digits == expected, "digits test 2");
23 static_assert(std::numeric_limits<volatile T>::digits == expected, "digits test 3");
24 static_assert(std::numeric_limits<const volatile T>::digits == expected, "digits test 4");
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_strtod.py 108 # exact halfway cases with a small number of significant digits
119 # with small number of significant digits.
128 # until n * 2**p2 has more than 20 significant digits.
129 digits, exponent = n, e
130 while digits < 10**20:
131 s = '{}e{}'.format(digits, exponent)
134 s = '{}e{}'.format(digits * 10**40, exponent - 40)
136 digits *= 2
140 digits, exponent = n, e
141 while digits < 10**20
    [all...]
test_fpformat.py 17 # digits instead of 2.
23 def checkFix(self, n, digits):
24 result = fix(n, digits)
27 expected = "%.*f" % (digits, float(n))
31 def checkSci(self, n, digits):
32 result = sci(n, digits)
35 expected = "%.*e" % (digits, float(n))
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_strtod.py 108 # exact halfway cases with a small number of significant digits
119 # with small number of significant digits.
128 # until n * 2**p2 has more than 20 significant digits.
129 digits, exponent = n, e
130 while digits < 10**20:
131 s = '{}e{}'.format(digits, exponent)
134 s = '{}e{}'.format(digits * 10**40, exponent - 40)
136 digits *= 2
140 digits, exponent = n, e
141 while digits < 10**20
    [all...]
test_fpformat.py 17 # digits instead of 2.
23 def checkFix(self, n, digits):
24 result = fix(n, digits)
27 expected = "%.*f" % (digits, float(n))
31 def checkSci(self, n, digits):
32 result = sci(n, digits)
35 expected = "%.*e" % (digits, float(n))
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLFontElement.cpp 93 StringBuilder digits;
94 digits.reserveCapacity(16);
98 digits.append(*position++);
102 if (digits.isEmpty())
108 if (digits.is8Bit())
109 value = charactersToIntStrict(digits.characters8(), digits.length());
111 value = charactersToIntStrict(digits.characters16(), digits.length());
  /external/stlport/src/
num_get.cpp 78 bool _STLP_CALL __get_fdigit(wchar_t& c, const wchar_t* digits) {
79 const wchar_t* p = find(digits, digits + 10, c);
80 if (p != digits + 10) {
81 c = (char)('0' + (p - digits));
89 const wchar_t * digits) {
95 return __get_fdigit(c, digits);
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
FixASCIIControlsReader.java 40 /** count the digits of the sequence */
41 private int digits = 0; field in class:FixASCIIControlsReader
138 digits = 0;
144 digits = 1;
157 digits++;
158 if (digits <= 5)
184 digits++;
185 if (digits <= 4)
  /ndk/sources/cxx-stl/stlport/src/
num_get.cpp 78 bool _STLP_CALL __get_fdigit(wchar_t& c, const wchar_t* digits) {
79 const wchar_t* p = find(digits, digits + 10, c);
80 if (p != digits + 10) {
81 c = (char)('0' + (p - digits));
89 const wchar_t * digits) {
95 return __get_fdigit(c, digits);
  /external/icu/icu4c/source/i18n/
digitlst.cpp 50 * This is the zero digit. The base for the digits returned by getDigit()
71 fContext.digits = fStorage.getCapacity();
108 // Always reset the fContext.digits, even if fDecNumber was not reallocated,
110 fContext.digits = fStorage.getCapacity();
142 c.digits = 1;
158 int32_t savedDigits = fContext.digits;
159 fContext.digits = 1;
161 fContext.digits = savedDigits;
175 // Reduce - remove trailing zero digits.
183 // trim - remove trailing fraction zero digits
    [all...]
decNumber.c 60 /* precision (up to 999,999,999 digits) and arbitrary exponent */
64 /* tightly: digits, emax, and -emin in the context must be <= */
69 /* be finite, positive, have an exponent of zero, and all digits */
70 /* must be either 0 or 1. The result will only contain digits */
150 /* 6. The digits count is allowed to rise to a multiple of DECDPUN */
152 /* accounting of digits is not needed. The correct digits value */
154 /* This must be called before any rounding if the number of digits */
158 /* numbers up to four digits, using appropriate constants. This */
216 /* round-for-reround digits */
7812 Int digits=(len-1)*DECDPUN+1; \/* possible digits excluding msu *\/ local
8002 Int ae, d, digits; \/* .. *\/ local
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
digitlst.cpp 49 * This is the zero digit. The base for the digits returned by getDigit()
83 fContext.digits = fStorage.getCapacity();
121 // Always reset the fContext.digits, even if fDecNumber was not reallocated,
123 fContext.digits = fStorage.getCapacity();
144 c.digits = 1;
160 int32_t savedDigits = fContext.digits;
161 fContext.digits = 1;
163 fContext.digits = savedDigits;
177 // Reduce - remove trailing zero digits.
185 // trim - remove trailing fraction zero digits
    [all...]
decNumber.c 60 /* precision (up to 999,999,999 digits) and arbitrary exponent */
64 /* tightly: digits, emax, and -emin in the context must be <= */
69 /* be finite, positive, have an exponent of zero, and all digits */
70 /* must be either 0 or 1. The result will only contain digits */
150 /* 6. The digits count is allowed to rise to a multiple of DECDPUN */
152 /* accounting of digits is not needed. The correct digits value */
154 /* This must be called before any rounding if the number of digits */
158 /* numbers up to four digits, using appropriate constants. This */
321 /* complement of digits (where appropriate -- this is not the case *
7778 Int digits=(len-1)*DECDPUN+1; \/* possible digits excluding msu *\/ local
7968 Int ae, d, digits; \/* .. *\/ local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLParserIdioms.cpp 175 StringBuilder digits;
179 digits.append(*position++);
184 if (digits.is8Bit())
185 value = sign * charactersToIntStrict(digits.characters8(), digits.length(), &ok);
187 value = sign * charactersToIntStrict(digits.characters16(), digits.length(), &ok);
235 StringBuilder digits;
239 digits.append(*position++);
244 if (digits.is8Bit()
    [all...]
  /bionic/libc/dns/nameser/
ns_ttl.c 105 int ch, digits, dirty; local
109 digits = 0;
117 digits++;
120 if (digits == 0)
134 digits = 0;
137 if (digits > 0) {
  /external/arduino/hardware/arduino/cores/arduino/
Print.cpp 99 void Print::print(double n, int digits)
101 printFloat(n, digits);
158 void Print::println(double n, int digits)
160 print(n, digits);
187 void Print::printFloat(double number, uint8_t digits)
198 for (uint8_t i=0; i<digits; ++i)
208 // Print the decimal point, but only if there are digits beyond
209 if (digits > 0)
212 // Extract digits from the remainder one at a time
213 while (digits-- > 0
    [all...]

Completed in 1421 milliseconds

1 2 3 4 5 6 7 8 91011>>