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

1 2 3 4 5 6 7 8 910

  /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);
  /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...]
  /ndk/sources/cxx-stl/llvm-libc++/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");
  /external/v8/src/
utils.cc 69 int digits = 1; local
70 for (uint32_t factor = 10; digits < 10; digits++, factor *= 10) {
73 position_ += digits;
74 for (int i = 1; i <= digits; i++) {
  /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/icu4c/i18n/
digitlst.cpp 50 * This is the zero digit. The base for the digits returned by getDigit()
75 fContext.digits = fStorage.getCapacity();
112 // Always reset the fContext.digits, even if fDecNumber was not reallocated,
114 fContext.digits = fStorage.getCapacity();
146 c.digits = 1;
162 int32_t savedDigits = fContext.digits;
163 fContext.digits = 1;
165 fContext.digits = savedDigits;
179 // Reduce - remove trailing zero digits.
187 // 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 */
7810 Int digits=(len-1)*DECDPUN+1; \/* possible digits excluding msu *\/ local
8000 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/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...]
  /external/skia/src/utils/
SkFloatUtils.h 36 static const int digits = 0; member in struct:SkNumericLimits
41 static const int digits = DBL_MANT_DIG; member in struct:SkNumericLimits
46 static const int digits = FLT_MANT_DIG; member in struct:SkNumericLimits
64 static const size_t kFractionBitCount = SkNumericLimits<RawType>::digits - 1;
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/time/
hours.pass.cpp 25 static_assert(std::numeric_limits<Rep>::digits >= 22, "");
microseconds.pass.cpp 25 static_assert(std::numeric_limits<Rep>::digits >= 54, "");
milliseconds.pass.cpp 25 static_assert(std::numeric_limits<Rep>::digits >= 44, "");
minutes.pass.cpp 25 static_assert(std::numeric_limits<Rep>::digits >= 28, "");
nanoseconds.pass.cpp 25 static_assert(std::numeric_limits<Rep>::digits >= 63, "");

Completed in 698 milliseconds

1 2 3 4 5 6 7 8 910