/external/smali/smali/src/main/java/org/jf/smali/ |
D | LiteralTools.java | 67 } else if (Character.digit(byteChars[position], 8) >= 0) { in parseByte() 74 int digit; in parseByte() local 78 digit = Character.digit(byteChars[position], radix); in parseByte() 79 if (digit < 0) { in parseByte() 86 if (shiftedResult < 0 && shiftedResult >= -digit) { in parseByte() 89 result = (byte)(shiftedResult + digit); in parseByte() 137 } else if (Character.digit(shortChars[position], 8) >= 0) { in parseShort() 144 int digit; in parseShort() local 148 digit = Character.digit(shortChars[position], radix); in parseShort() 149 if (digit < 0) { in parseShort() [all …]
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | wnaf.c | 99 int digit = 0; in ec_compute_wNAF() local 103 digit = window_val - next_bit; in ec_compute_wNAF() 113 digit = window_val & (mask >> 1); in ec_compute_wNAF() 117 digit = window_val; in ec_compute_wNAF() 121 window_val -= digit; in ec_compute_wNAF() 128 assert(-bit < digit && digit < bit); in ec_compute_wNAF() 131 assert(digit & 1); in ec_compute_wNAF() 134 out[j] = digit; in ec_compute_wNAF() 161 const EC_RAW_POINT *precomp, int digit) { in lookup_precomp() argument 162 if (digit < 0) { in lookup_precomp() [all …]
|
/external/libcxx/test/std/re/re.traits/ |
D | lookup_classname.pass.cpp | 67 LIBCPP_ASSERT((std::ctype_base::digit & std::regex_traits<char>::__regex_word) == 0); in main() 72 test("d", std::ctype_base::digit); in main() 73 test("D", std::ctype_base::digit); in main() 74 test("d", std::ctype_base::digit, true); in main() 75 test("D", std::ctype_base::digit, true); in main() 111 test("digit", std::ctype_base::digit); in main() 112 test("Digit", std::ctype_base::digit); in main() 113 test("digit", std::ctype_base::digit, true); in main() 114 test("Digit", std::ctype_base::digit, true); in main() 116 test("digit", std::ctype_base::digit); in main() [all …]
|
/external/python/cpython3/Include/ |
D | longintrepr.h | 45 typedef uint32_t digit; typedef 51 #define _PyLong_DECIMAL_BASE ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */ 53 typedef unsigned short digit; 59 #define _PyLong_DECIMAL_BASE ((digit)10000) /* 10 ** DECIMAL_SHIFT */ 63 #define PyLong_BASE ((digit)1 << PyLong_SHIFT) 64 #define PyLong_MASK ((digit)(PyLong_BASE - 1)) 87 digit ob_digit[1];
|
/external/python/cpython2/Include/ |
D | longintrepr.h | 45 typedef PY_UINT32_T digit; typedef 51 #define _PyLong_DECIMAL_BASE ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */ 53 typedef unsigned short digit; 59 #define _PyLong_DECIMAL_BASE ((digit)10000) /* 10 ** DECIMAL_SHIFT */ 63 #define PyLong_BASE ((digit)1 << PyLong_SHIFT) 64 #define PyLong_MASK ((digit)(PyLong_BASE - 1)) 92 digit ob_digit[1];
|
/external/libunwind/src/ |
D | os-linux.h | 114 unsigned long num_digits = 0, digit, val = 0; in scan_hex() local 122 digit = *cp; in scan_hex() 123 if ((digit - '0') <= 9) in scan_hex() 124 digit -= '0'; in scan_hex() 125 else if ((digit - 'a') < 6) in scan_hex() 126 digit -= 'a' - 10; in scan_hex() 127 else if ((digit - 'A') < 6) in scan_hex() 128 digit -= 'A' - 10; in scan_hex() 131 val = (val << 4) | digit; in scan_hex() 144 unsigned long num_digits = 0, digit, val = 0; in scan_dec() local [all …]
|
/external/stressapptest/src/ |
D | sattypes.h | 136 int digit = 0, last_non_zero_size = 1; in cpuset_format() local 139 digit |= 1 << (i & 3); in cpuset_format() 142 format += char(digit <= 9 ? '0' + digit: 'A' + digit - 10); in cpuset_format() 143 if (digit) { in cpuset_format() 145 digit = 0; in cpuset_format() 149 if (digit) { in cpuset_format() 150 format += char(digit <= 9 ? '0' + digit: 'A' + digit - 10); in cpuset_format()
|
/external/webrtc/webrtc/base/ |
D | urlencode.cc | 20 int digit = *pch; in HexPairValue() local 21 if (digit >= '0' && digit <= '9') { in HexPairValue() 22 value += digit - '0'; in HexPairValue() 24 else if (digit >= 'A' && digit <= 'F') { in HexPairValue() 25 value += digit - 'A' + 10; in HexPairValue() 27 else if (digit >= 'a' && digit <= 'f') { in HexPairValue() 28 value += digit - 'a' + 10; in HexPairValue()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | DateNumberFormat.java | 228 int digit = ch - digits[0]; in parse() local 229 if (digit < 0 || 9 < digit) { in parse() 230 digit = UCharacter.digit(ch); in parse() 232 if (digit < 0 || 9 < digit) { in parse() 233 for ( digit = 0 ; digit < 10 ; digit++ ) { in parse() 234 if ( ch == digits[digit]) { in parse() 239 if (0 <= digit && digit <= 9 && num < PARSE_THRESHOLD) { in parse() 241 num = num * 10 + digit; in parse()
|
D | Punycode.java | 112 private static char digitToBasic(int digit, boolean uppercase) { in digitToBasic() argument 115 if(digit<26) { in digitToBasic() 117 return (char)(CAPITAL_A+digit); in digitToBasic() 119 return (char)(SMALL_A+digit); in digitToBasic() 122 return (char)((ZERO-26)+digit); in digitToBasic() 278 int n, i, bias, basicLength, j, in, oldi, w, k, digit, t, in decode() local 335 digit=basicToDigit[src.charAt(in++) & 0xFF]; in decode() 336 if(digit<0) { in decode() 339 if(digit>(0x7fffffff-i)/w) { in decode() 344 i+=digit*w; in decode() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | DateNumberFormat.java | 224 int digit = ch - digits[0]; in parse() local 225 if (digit < 0 || 9 < digit) { in parse() 226 digit = UCharacter.digit(ch); in parse() 228 if (digit < 0 || 9 < digit) { in parse() 229 for ( digit = 0 ; digit < 10 ; digit++ ) { in parse() 230 if ( ch == digits[digit]) { in parse() 235 if (0 <= digit && digit <= 9 && num < PARSE_THRESHOLD) { in parse() 237 num = num * 10 + digit; in parse()
|
D | Punycode.java | 110 private static char digitToBasic(int digit, boolean uppercase) { in digitToBasic() argument 113 if(digit<26) { in digitToBasic() 115 return (char)(CAPITAL_A+digit); in digitToBasic() 117 return (char)(SMALL_A+digit); in digitToBasic() 120 return (char)((ZERO-26)+digit); in digitToBasic() 276 int n, i, bias, basicLength, j, in, oldi, w, k, digit, t, in decode() local 333 digit=basicToDigit[src.charAt(in++) & 0xFF]; in decode() 334 if(digit<0) { in decode() 337 if(digit>(0x7fffffff-i)/w) { in decode() 342 i+=digit*w; in decode() [all …]
|
/external/v8/src/objects/ |
D | bigint.cc | 326 digit_t digit; in NewFromDouble() local 331 digit = mantissa >> remaining_mantissa_bits; in NewFromDouble() 335 digit = mantissa << (msd_topbit - kMantissaTopBit); in NewFromDouble() 338 result->set_digit(digits - 1, digit); in NewFromDouble() 343 if (sizeof(digit) == 4) { in NewFromDouble() 344 digit = mantissa >> 32; in NewFromDouble() 347 DCHECK_EQ(sizeof(digit), 8); in NewFromDouble() 348 digit = mantissa; in NewFromDouble() 352 digit = 0; in NewFromDouble() 354 result->set_digit(digit_index, digit); in NewFromDouble() [all …]
|
/external/v8/src/base/ |
D | vlq-base64.cc | 40 int32_t digit; in VLQBase64Decode() local 46 digit = static_cast<int>(charToDigitDecode(start[*pos])); in VLQBase64Decode() 48 if (digit == -1 || (is_last_byte && (digit >> 2) != 0)) { in VLQBase64Decode() 51 res += (digit & kDataMask) << shift; in VLQBase64Decode() 54 } while (digit & kContinueMask); in VLQBase64Decode()
|
/external/python/cpython2/Objects/ |
D | longobject.c | 63 ((PY_SSIZE_T_MAX - offsetof(PyLongObject, ob_digit))/sizeof(digit)) 131 digit *p = v->ob_digit; in PyLong_FromLong() 135 *p++ = (digit)(t & PyLong_MASK); in PyLong_FromLong() 159 digit *p = v->ob_digit; in PyLong_FromUnsignedLong() 162 *p++ = (digit)(ival & PyLong_MASK); in PyLong_FromUnsignedLong() 201 digit bits = (digit)frac; in PyLong_FromDouble() 503 digit msd = v->ob_digit[ndigits - 1]; in _PyLong_NumBits() 615 v->ob_digit[idigit] = (digit)(accum & PyLong_MASK); in _PyLong_FromByteArray() 625 v->ob_digit[idigit] = (digit)accum; in _PyLong_FromByteArray() 644 digit carry; /* for computing 2's-comp */ in _PyLong_AsByteArray() [all …]
|
/external/rust/crates/syn/1.0.7/src/ |
D | bigint.rs | 17 for digit in self.digits.iter().rev() { in to_string() 18 has_nonzero |= *digit != 0; in to_string() 20 repr.push((*digit + b'0') as char); in to_string() 60 for digit in &mut self.digits { in mul_assign() 61 let prod = *digit * base + carry; in mul_assign() 62 *digit = prod % 10; in mul_assign()
|
/external/flatbuffers/docs/source/ |
D | Grammar.md | 56 `[:digit:]` = `[0-9]` 60 dec\_integer\_constant = `[-+]?[:digit:]+` 66 dec\_float\_constant = `[-+]?(([.][:digit:]+)|([:digit:]+[.][:digit:]*)|([:digit:]+))([eE][-+]?[:di… 68 …ant = `[-+]?0[xX](([.][:xdigit:]+)|([:xdigit:]+[.][:xdigit:]*)|([:xdigit:]+))([pP][-+]?[:digit:]+)`
|
/external/python/cpython3/Objects/ |
D | longobject.c | 259 ((PY_SSIZE_T_MAX - offsetof(PyLongObject, ob_digit))/sizeof(digit)) 276 size*sizeof(digit)); in _PyLong_New() 337 abs_ival, unsigned long, digit); in PyLong_FromLong() 349 abs_ival & PyLong_MASK, unsigned long, digit); in PyLong_FromLong() 351 abs_ival >> PyLong_SHIFT, unsigned long, digit); in PyLong_FromLong() 365 digit *p = v->ob_digit; in PyLong_FromLong() 370 t & PyLong_MASK, unsigned long, digit); in PyLong_FromLong() 396 digit *p = v->ob_digit; in PyLong_FromUnsignedLong() 398 *p++ = (digit)(ival & PyLong_MASK); in PyLong_FromUnsignedLong() 437 digit bits = (digit)frac; in PyLong_FromDouble() [all …]
|
/external/cpuinfo/src/arm/linux/ |
D | cpuinfo.c | 32 const uint32_t digit = (uint32_t) (*digit_ptr - '0'); in parse_processor_number() local 33 if (digit > 10) { in parse_processor_number() 39 processor_number = processor_number * 10 + digit; in parse_processor_number() 331 const uint32_t digit = (*cpu_architecture_ptr) - '0'; in parse_cpu_architecture() local 334 if (digit >= 10) { in parse_cpu_architecture() 338 architecture = architecture * 10 + digit; in parse_cpu_architecture() 430 uint32_t digit; in parse_cpu_part() local 432 digit = digit_char - '0'; in parse_cpu_part() 434 digit = 10 + (digit_char - 'A'); in parse_cpu_part() 436 digit = 10 + (digit_char - 'a'); in parse_cpu_part() [all …]
|
/external/icu/icu4c/source/common/ |
D | ustrfmt.cpp | 34 int digit; in uprv_itou() local 39 digit = (int)(i % radix); in uprv_itou() 40 buffer[length++]=(UChar)(digit<=9?(0x0030+digit):(0x0030+digit+7)); in uprv_itou()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | WNafL2RMultiplier.java | 40 int digit = wi >> 16, zeroes = wi & 0xFFFF; in multiplyPositive() local 42 int n = Math.abs(digit); in multiplyPositive() 43 ECPoint[] table = digit < 0 ? preCompNeg : preComp; in multiplyPositive() 73 int digit = wi >> 16, zeroes = wi & 0xFFFF; in multiplyPositive() 75 int n = Math.abs(digit); in multiplyPositive() 76 ECPoint[] table = digit < 0 ? preCompNeg : preComp; in multiplyPositive()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/ |
D | WNafL2RMultiplier.java | 42 int digit = wi >> 16, zeroes = wi & 0xFFFF; in multiplyPositive() local 44 int n = Math.abs(digit); in multiplyPositive() 45 ECPoint[] table = digit < 0 ? preCompNeg : preComp; in multiplyPositive() 75 int digit = wi >> 16, zeroes = wi & 0xFFFF; in multiplyPositive() 77 int n = Math.abs(digit); in multiplyPositive() 78 ECPoint[] table = digit < 0 ? preCompNeg : preComp; in multiplyPositive()
|
/external/icu/icu4c/source/i18n/ |
D | double-conversion-bignum-dtoa.cpp | 210 uint16_t digit; in GenerateShortestDigits() local 211 digit = numerator->DivideModuloIntBignum(*denominator); in GenerateShortestDigits() 212 DOUBLE_CONVERSION_ASSERT(digit <= 9); // digit is a uint16_t and therefore always positive. in GenerateShortestDigits() 215 buffer[(*length)++] = static_cast<char>(digit + '0'); in GenerateShortestDigits() 302 uint16_t digit; in GenerateCountedDigits() local 303 digit = numerator->DivideModuloIntBignum(*denominator); in GenerateCountedDigits() 304 DOUBLE_CONVERSION_ASSERT(digit <= 9); // digit is a uint16_t and therefore always positive. in GenerateCountedDigits() 307 buffer[i] = static_cast<char>(digit + '0'); in GenerateCountedDigits() 312 uint16_t digit; in GenerateCountedDigits() local 313 digit = numerator->DivideModuloIntBignum(*denominator); in GenerateCountedDigits() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/util/ |
D | IndentingWriter.java | 180 int digit = (int)(value & 15); in printUnsignedLongAsHex() local 181 if (digit < 10) { in printUnsignedLongAsHex() 182 buffer[bufferIndex--] = (char)(digit + '0'); in printUnsignedLongAsHex() 184 buffer[bufferIndex--] = (char)((digit - 10) + 'a'); in printUnsignedLongAsHex() 204 long digit = value % 10; in printSignedLongAsDec() local 205 buffer[bufferIndex--] = (char)(digit + '0'); in printSignedLongAsDec() 224 int digit = value % 10; in printSignedIntAsDec() local 225 buffer[bufferIndex--] = (char)(digit + '0'); in printSignedIntAsDec()
|
/external/ipsec-tools/src/racoon/ |
D | prsa_tok.l | 49 digit [0-9] 50 octet (([01]?{digit}?{digit})|((2([0-4]{digit}))|(25[0-5]))) 82 {digit}+ { prsalval.num = atol(prsatext); return NUMBER; }
|