/external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/ |
SafeConstructor.java | 204 String[] digits = value.split(":"); local 207 for (int i = 0, j = digits.length; i < j; i++) { 208 val += Long.parseLong(digits[j - i - 1]) * bes; 253 String[] digits = value.split(":"); local 256 for (int i = 0, j = digits.length; i < j; i++) { 257 val += Double.parseDouble(digits[j - i - 1]) * bes;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
ScientificNumberFormatter.java | 305 char[] digits = dfs.getDigits(); local 306 preExponent.append(digits[1]).append(digits[0]);
|
/external/python/cpython2/Modules/ |
cgen.py | 42 # The set of digits that form a number 44 digits = '0123456789' variable 47 # Function to extract a string of digits from the front of the string. 48 # Returns the leading string of digits and the remaining string. 53 while s and s[0] in digits: 64 if not c in digits: return False
|
/art/libartbase/base/ |
bit_utils_iterator.h | 95 return std::numeric_limits<T>::digits - 1u - CLZ(this->bits_);
|
/external/autotest/client/common_lib/cros/tendo/ |
buffet_config.py | 24 RAND_CHARS = string.ascii_lowercase + string.digits
|
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
MatrixLogarithm.h | 28 static const int value = std::numeric_limits<RealScalar>::digits<= 24? 5: // single precision 29 std::numeric_limits<RealScalar>::digits<= 53? 7: // double precision 30 std::numeric_limits<RealScalar>::digits<= 64? 8: // extended precision 31 std::numeric_limits<RealScalar>::digits<=106? 10: // double-double
|
/external/icu/icu4c/source/i18n/ |
number_decimalquantity.cpp | 142 // This is so significant digits rounding can set the integer length. 502 // Fallback behavior upon truncateIfOverflow is to truncate at 17 digits. 610 // The position in the BCD at which rounding will be performed; digits to the right of position 617 // All digits are to the left of the rounding magnitude. 702 // All digits are to the left of the rounding magnitude. 728 // Bubble the result to the higher digits 732 // Note: in the long implementation, the most digits BCD can have at this point is 15, 965 if (dn->digits > 16) { 966 ensureCapacity(dn->digits); 967 for (int32_t i = 0; i < dn->digits; i++) [all...] |
/external/jemalloc/src/ |
util.c | 147 * possible to tell whether any digits are consumed (e.g., " 0" vs. 239 const char *digits = (uppercase) local 245 s[i] = digits[x & 0xf]; 250 const char *digits = (uppercase) local 257 s[i] = digits[x % (uint64_t)base];
|
/external/jemalloc_new/src/ |
malloc_io.c | 151 * possible to tell whether any digits are consumed (e.g., " 0" vs. 249 const char *digits = (uppercase) local 255 s[i] = digits[x & 0xf]; 260 const char *digits = (uppercase) local 267 s[i] = digits[x % (uint64_t)base];
|
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits/ |
default.pass.cpp | 33 static_assert(std::numeric_limits<A>::digits == 0, 34 "std::numeric_limits<A>::digits == 0");
|
/external/llvm/unittests/ADT/ |
PointerIntPairTest.cpp | 87 enum { NumLowBitsAvailable = std::numeric_limits<uintptr_t>::digits - 31 };
|
/external/parameter-framework/upstream/parameter/ |
ParameterType.h | 146 << (getSize() * std::numeric_limits<unsigned char>::digits - 1)) -
|
/external/python/cpython2/Lib/idlelib/ |
AutoExpand.py | 30 wordchars = string.ascii_letters + string.digits + "_"
|
/external/python/cpython2/Python/ |
codecs.c | 766 int digits; local 780 digits = 1; 784 digits = 2; 788 digits = 3; 792 digits = 4; 796 digits = 5; 800 digits = 6; 804 digits = 7; 807 while (digits-->0) {
|
/external/python/cpython3/Lib/ |
crypt.py | 9 _saltchars = _string.ascii_letters + _string.digits + './'
|
/external/python/cpython3/Lib/idlelib/ |
autoexpand.py | 20 wordchars = string.ascii_letters + string.digits + "_"
|
/external/python/cpython3/Lib/test/ |
test_long.py | 16 # Max number of base BASE digits to use in test cases. Doubling 117 # Get quasi-random long consisting of ndigits digits (in base BASE). 144 # Get random long consisting of ndigits random digits (relative to base 171 digits = list(range(1, MAXDIGITS+1)) + list(range(KARATSUBA_CUTOFF, 173 digits.append(KARATSUBA_CUTOFF * 3) 174 for lenx in digits: 176 for leny in digits: 210 digits = list(range(1, 5)) + list(range(KARATSUBA_CUTOFF, 212 digits.extend([KARATSUBA_CUTOFF * 10, KARATSUBA_CUTOFF * 100]) 214 bits = [digit * SHIFT for digit in digits] [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
ExecutionDomainFix.h | 79 static_cast<unsigned>(std::numeric_limits<unsigned>::digits) &&
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
PointerIntPairTest.cpp | 87 enum { NumLowBitsAvailable = std::numeric_limits<uintptr_t>::digits - 31 };
|
/external/icu/android_icu4j/src/main/java/android/icu/math/ |
BigDecimal.java | 83 /* 1999.02.04 lostdigits=0 behaviour rounds instead of digits+1 guard */ 98 /* 1999.06.29 1.02 constructors should not allow exponent > 9 digits */ 99 /* 1999.07.03 1.03 lost digits should not be checked if digits=0 */ 100 /* 1999.07.06 lost digits Exception message changed */ 135 * <i>operator methods</i>. The default settings provided by the constant {@link MathContext#DEFAULT} (<code>digits=9, 137 * arithmetic to nine digits of precision. The <code>MathContext</code> parameter must not be <code>null</code>. 140 * version of each method, the context settings used are <code>digits=0, 168 * <li>Results are normally calculated with up to some maximum number of significant digits. For example, if the 170 * rounded to 9 digits; the division of 2 by 3 would then result in 0.666666667. <br [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/ |
BigDecimal.java | 80 /* 1999.02.04 lostdigits=0 behaviour rounds instead of digits+1 guard */ 95 /* 1999.06.29 1.02 constructors should not allow exponent > 9 digits */ 96 /* 1999.07.03 1.03 lost digits should not be checked if digits=0 */ 97 /* 1999.07.06 lost digits Exception message changed */ 132 * <i>operator methods</i>. The default settings provided by the constant {@link MathContext#DEFAULT} (<code>digits=9, 134 * arithmetic to nine digits of precision. The <code>MathContext</code> parameter must not be <code>null</code>. 137 * version of each method, the context settings used are <code>digits=0, 165 * <li>Results are normally calculated with up to some maximum number of significant digits. For example, if the 167 * rounded to 9 digits; the division of 2 by 3 would then result in 0.666666667. <br [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
BigDecimal.java | 82 /* 1999.02.04 lostdigits=0 behaviour rounds instead of digits+1 guard */ 97 /* 1999.06.29 1.02 constructors should not allow exponent > 9 digits */ 98 /* 1999.07.03 1.03 lost digits should not be checked if digits=0 */ 99 /* 1999.07.06 lost digits Exception message changed */ 134 * <i>operator methods</i>. The default settings provided by the constant {@link MathContext#DEFAULT} (<code>digits=9, 136 * arithmetic to nine digits of precision. The <code>MathContext</code> parameter must not be <code>null</code>. 139 * version of each method, the context settings used are <code>digits=0, 167 * <li>Results are normally calculated with up to some maximum number of significant digits. For example, if the 169 * rounded to 9 digits; the division of 2 by 3 would then result in 0.666666667. <br [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
decimal.py | 145 DecimalTuple = _namedtuple('DecimalTuple', 'sign digits exponent')
193 number of zero digits are appended to the coefficient ("fold-down").
255 divide-integer or remainder operation had too many digits (would be
277 not exact (that is, it needed to be rounded and any discarded digits
303 rounded (that is, some zero or non-zero digits were discarded from the
531 # a string rather than as a tuple of digits. This speeds up
532 # the "digits to integer" and "integer to digits" conversions
536 # digits.
623 # process and validate the digits in value[1] [all...] |
stringold.py | 16 digits -- a string containing all characters considered decimal digits
17 hexdigits -- a string containing all characters considered hexadecimal digits
18 octdigits -- a string containing all characters considered octal digits
30 digits = '0123456789'
variable 31 hexdigits = digits + 'abcdef' + 'ABCDEF'
215 or more digits, possibly preceded by a sign. If base is 0, it
242 of one or more digits, possibly preceded by a sign. If base
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
LocaleIDParser.java | 80 static final UnicodeSet digits = new UnicodeSet("[0-9]"); field in class:LocaleIDParser 96 || pieces[i].length() == 3 && digits.containsAll(pieces[i])) {
|