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

1 2 3 4 5 6 7

  /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/astl/include/
limits 47 // Template to return the number of decimal digits in a number
79 // The number of radix digits that be represented without change. For
81 // floating-point types, the number of radix digits in the mantissa.
83 static const int digits = 0;
85 // The number of base 10 digits that can be represented without change.
117 static const int digits = __FLT_MANT_DIG__;
133 static const int digits = __DBL_MANT_DIG__;
149 static const int digits = static_cast<int>(sizeof(int) * CHAR_BIT);
150 static const int digits10 = digits10<int, digits, is_signed>::value;
165 static const int digits = static_cast<int>(sizeof(unsigned int) * CHAR_BIT)
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/
digit.js 43 var digits = "1234567890"; variable
45 // be sure all digits are matched by \d
47 "'" + digits + "'.match(new RegExp('\\d+'))",
48 String([digits]), String(digits.match(new RegExp('\\d+'))));
50 // be sure all non-digits are matched by \D
55 // be sure all non-digits are not matched by \d
60 // be sure all digits are not matched by \D
62 "'" + digits + "'.match(new RegExp('\\D'))",
63 null, digits.match(new RegExp('\\D')))
    [all...]
  /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);
173 * non-empty sequence of decimal digits. Digits are interpreted as if b
324 int[] digits = (sign != 0) ? bigInt.littleEndianIntsMagnitude() : new int[] { 0 }; local
1158 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/dropbear/libtommath/
bn_mp_rand.c 20 mp_rand (mp_int * a, int digits)
26 if (digits <= 0) {
39 while (--digits > 0) {
  /external/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/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);
num_get_float.cpp 86 wchar_t* digits) {
92 ct.widen(ndigits + 0, ndigits + 10, digits);
323 // Second argument is number of digits in buffer, 1 <= digits <= 17.
338 * 1) decimal digits as an integer
353 /* Convert the decimal digits to a binary integer. */
420 if (value == (ULL(1) << (limits::digits - 1))) { /* carry created normal number */
468 value &= ~(ULL(1) << (limits::digits - 1)); /* hide hidden bit */
487 /* Convert the decimal digits to a binary integer. */
530 if ( limits::digits < 64 )
653 char digits[max_digits]; local
759 char digits[max_digits]; local
    [all...]
  /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);
num_get_float.cpp 86 wchar_t* digits) {
92 ct.widen(ndigits + 0, ndigits + 10, digits);
323 // Second argument is number of digits in buffer, 1 <= digits <= 17.
338 * 1) decimal digits as an integer
353 /* Convert the decimal digits to a binary integer. */
420 if (value == (ULL(1) << (limits::digits - 1))) { /* carry created normal number */
468 value &= ~(ULL(1) << (limits::digits - 1)); /* hide hidden bit */
487 /* Convert the decimal digits to a binary integer. */
530 if ( limits::digits < 64 )
653 char digits[max_digits]; local
759 char digits[max_digits]; local
    [all...]
  /external/icu4c/i18n/
digitlst.cpp 53 * This is the zero digit. The base for the digits returned by getDigit()
75 fContext.digits = fStorage.getCapacity();
113 // Always reset the fContext.digits, even if fDecNumber was not reallocated,
115 fContext.digits = fStorage.getCapacity();
136 c.digits = 1;
152 int32_t savedDigits = fContext.digits;
153 fContext.digits = 1;
155 fContext.digits = savedDigits;
169 // Reduce - remove trailing zero digits.
177 // 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 *
7769 Int digits=(len-1)*DECDPUN+1; \/* possible digits excluding msu *\/ local
7959 Int ae, d, digits; \/* .. *\/ local
    [all...]
  /bionic/libc/netbsd/nameser/
ns_ttl.c 103 int ch, digits, dirty; local
107 digits = 0;
115 digits++;
118 if (digits == 0)
132 digits = 0;
135 if (digits > 0) {
  /external/icu4c/samples/datefmt/
util.cpp 22 int8_t digits,
25 while (digits > 0) {
26 target += DIGIT_STRING[(number >> ((--digits) * 4)) & 0xF];
  /external/icu4c/samples/msgfmt/
util.cpp 22 int8_t digits,
25 while (digits > 0) {
26 target += DIGIT_STRING[(number >> ((--digits) * 4)) & 0xF];
  /external/icu4c/samples/translit/
util.cpp 22 int8_t digits,
25 while (digits > 0) {
26 target += DIGIT_STRING[(number >> ((--digits) * 4)) & 0xF];
  /external/webkit/Source/WebCore/html/
HTMLFontElement.cpp 92 Vector<UChar, 16> digits;
96 digits.append(*position++);
100 if (digits.isEmpty())
104 int value = charactersToIntStrict(digits.data(), digits.size());
  /libcore/luni/src/main/java/java/lang/
StrictMath.java 310 * cancellation of significant digits).
1119 long digits = factor + Double.EXPONENT_BIAS + subNormalFactor; local
1171 int digits = factor + Float.EXPONENT_BIAS + subNormalFactor; local
    [all...]
RealToString.java 34 * An array of decimal digits, filled by longDigitGenerator or bigIntDigitGenerator.
36 private final int[] digits = new int[64]; field in class:RealToString
39 * Number of valid entries in 'digits'.
196 sb.append0((char) ('0' + digits[digitIndex++]));
206 sb.append0((char) ('0' + digits[digitIndex++]));
229 int U = digits[digitIndex++];
240 U = digitIndex < digitCount ? digits[digitIndex++] : -1;
308 digits[digitCount++] = U;
311 digits[digitCount++] = U;
313 digits[digitCount++] = U + 1
    [all...]
  /external/protobuf/src/google/protobuf/stubs/
strutil.cc 236 // The implementation of \x parses any positive number of hex digits,
296 case '0': case '1': case '2': case '3': // octal digit: 1 to 3 digits
318 while (isxdigit(p[1])) // arbitrarily many hex digits
328 // \uhhhh => convert 4 hex digits to UTF-8
336 << "\\u must be followed by 4 hex digits: \\"
345 // \Uhhhhhhhh => convert 8 hex digits to UTF-8
364 << "\\U must be followed by 8 hex digits: \\"
734 int digits; local
738 // and by outputting two digits at a time rather than one.
743 digits = u / 100000000; // 100,000,00
825 int digits; local
    [all...]
  /libcore/luni/src/main/java/java/sql/
Date.java 194 private void format(int date, int digits, StringBuilder sb) {
196 if (digits - str.length() > 0) {
197 sb.append(PADDING.substring(0, digits - str.length()));
239 * significance digits corresponding to milliseconds, seconds, minutes and

Completed in 4610 milliseconds

1 2 3 4 5 6 7