/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/libcxx/test/std/re/re.traits/ |
D | lookup_classname.pass.cpp | 45 assert((std::ctype_base::digit & std::regex_traits<char>::__regex_word) == 0); in main() 50 test("d", std::ctype_base::digit); in main() 51 test("D", std::ctype_base::digit); in main() 52 test("d", std::ctype_base::digit, true); in main() 53 test("D", std::ctype_base::digit, true); in main() 89 test("digit", std::ctype_base::digit); in main() 90 test("Digit", std::ctype_base::digit); in main() 91 test("digit", std::ctype_base::digit, true); in main() 92 test("Digit", std::ctype_base::digit, true); in main() 94 test("digit", std::ctype_base::digit); in main() [all …]
|
/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 | 225 int digit = ch - digits[0]; in parse() local 226 if (digit < 0 || 9 < digit) { in parse() 227 digit = UCharacter.digit(ch); in parse() 229 if (digit < 0 || 9 < digit) { in parse() 230 for ( digit = 0 ; digit < 10 ; digit++ ) { in parse() 231 if ( ch == digits[digit]) { in parse() 236 if (0 <= digit && digit <= 9 && num < PARSE_THRESHOLD) { in parse() 238 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/boringssl/src/crypto/ec/ |
D | wnaf.c | 143 int digit = 0; in compute_wNAF() local 151 digit = window_val - next_bit; /* -2^w < digit < 0 */ in compute_wNAF() 160 digit = window_val & (mask >> 1); /* 0 < digit < 2^w */ in compute_wNAF() 164 digit = window_val; /* 0 < digit < 2^w */ in compute_wNAF() 167 if (digit <= -bit || digit >= bit || !(digit & 1)) { in compute_wNAF() 172 window_val -= digit; in compute_wNAF() 182 r[j++] = sign * digit; in compute_wNAF() 393 int digit = wNAF[i][k]; in ec_wNAF_mul() local 396 if (digit) { in ec_wNAF_mul() 397 is_neg = digit < 0; in ec_wNAF_mul() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | DateNumberFormat.java | 221 int digit = ch - digits[0]; in parse() local 222 if (digit < 0 || 9 < digit) { in parse() 223 digit = UCharacter.digit(ch); in parse() 225 if (digit < 0 || 9 < digit) { in parse() 226 for ( digit = 0 ; digit < 10 ; digit++ ) { in parse() 227 if ( ch == digits[digit]) { in parse() 232 if (0 <= digit && digit <= 9 && num < PARSE_THRESHOLD) { in parse() 234 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/icu/icu4c/source/common/ |
D | ustrfmt.c | 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()
|
D | punycode.cpp | 95 digitToBasic(int32_t digit, UBool uppercase) { in digitToBasic() argument 98 if(digit<26) { in digitToBasic() 100 return (char)(_CAPITAL_A+digit); in digitToBasic() 102 return (char)(_SMALL_A+digit); in digitToBasic() 105 return (char)((_ZERO_-26)+digit); in digitToBasic() 381 int32_t n, destLength, i, bias, basicLength, j, in, oldi, w, k, digit, t, in u_strFromPunycode() local 458 digit=basicToDigit[(uint8_t)src[in++]]; in u_strFromPunycode() 459 if(digit<0) { in u_strFromPunycode() 463 if(digit>(0x7fffffff-i)/w) { in u_strFromPunycode() 469 i+=digit*w; in u_strFromPunycode() [all …]
|
/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()
|
D | WNafUtil.java | 42 int digit = k.testBit(i) ? -1 : 1; in generateCompactNaf() local 43 naf[length++] = (digit << 16) | zeroes; in generateCompactNaf() 98 int digit = k.intValue() & mask; in generateCompactWindowNaf() local 101 ++digit; in generateCompactWindowNaf() 104 carry = (digit & sign) != 0; in generateCompactWindowNaf() 107 digit -= pow2; in generateCompactWindowNaf() 111 wnaf[length++] = (digit << 16) | zeroes; in generateCompactWindowNaf() 261 int digit = k.intValue() & mask; in generateWindowNaf() local 264 ++digit; in generateWindowNaf() 267 carry = (digit & sign) != 0; in generateWindowNaf() [all …]
|
/external/smali/util/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/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/ |
D | is_many.pass.cpp | 46 assert(!(m[0] & F::digit)); in main() 60 assert(!(m[1] & F::digit)); in main() 74 assert(!(m[2] & F::digit)); in main() 88 assert(!(m[3] & F::digit)); in main() 102 assert(!(m[4] & F::digit)); in main() 116 assert(!(m[5] & F::digit)); in main() 130 assert( (m[6] & F::digit)); in main() 155 assert(!(m[0] & F::digit)); in main() 169 assert(!(m[1] & F::digit)); in main() 183 assert(!(m[2] & F::digit)); in main() [all …]
|
/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; }
|
/external/v8/src/ |
D | bignum-dtoa.cc | 158 uint16_t digit; in GenerateShortestDigits() local 159 digit = numerator->DivideModuloIntBignum(*denominator); in GenerateShortestDigits() 160 DCHECK(digit <= 9); // digit is a uint16_t and therefore always positive. in GenerateShortestDigits() 163 buffer[(*length)++] = digit + '0'; in GenerateShortestDigits() 250 uint16_t digit; in GenerateCountedDigits() local 251 digit = numerator->DivideModuloIntBignum(*denominator); in GenerateCountedDigits() 252 DCHECK(digit <= 9); // digit is a uint16_t and therefore always positive. in GenerateCountedDigits() 255 buffer[i] = digit + '0'; in GenerateCountedDigits() 260 uint16_t digit; in GenerateCountedDigits() local 261 digit = numerator->DivideModuloIntBignum(*denominator); in GenerateCountedDigits() [all …]
|
/external/syslinux/core/lwip/src/core/ |
D | memp.c | 225 char digit[] = "0"; in memp_overflow_check_element_overflow() local 227 digit[0] = '0' + (memp_type/10); in memp_overflow_check_element_overflow() 228 strcat(errstr, digit); in memp_overflow_check_element_overflow() 230 digit[0] = '0' + (memp_type%10); in memp_overflow_check_element_overflow() 231 strcat(errstr, digit); in memp_overflow_check_element_overflow() 258 char digit[] = "0"; in memp_overflow_check_element_underflow() local 260 digit[0] = '0' + (memp_type/10); in memp_overflow_check_element_underflow() 261 strcat(errstr, digit); in memp_overflow_check_element_underflow() 263 digit[0] = '0' + (memp_type%10); in memp_overflow_check_element_underflow() 264 strcat(errstr, digit); in memp_overflow_check_element_underflow()
|
/external/valgrind/coregrind/ |
D | m_libcbase.c | 81 static Bool is_dec_digit(HChar c, Long* digit) in is_dec_digit() argument 83 if (c >= '0' && c <= '9') { *digit = (Long)(c - '0'); return True; } in is_dec_digit() 87 static Bool is_hex_digit(HChar c, Long* digit) in is_hex_digit() argument 89 if (c >= '0' && c <= '9') { *digit = (Long)(c - '0'); return True; } in is_hex_digit() 90 if (c >= 'A' && c <= 'F') { *digit = (Long)((c - 'A') + 10); return True; } in is_hex_digit() 91 if (c >= 'a' && c <= 'f') { *digit = (Long)((c - 'a') + 10); return True; } in is_hex_digit() 98 Long n = 0, digit = 0; in VG_() local 108 while (is_dec_digit(*str, &digit)) { in VG_() 110 n = 10*n + digit; in VG_() 125 Long digit = 0; in VG_() local [all …]
|
/external/strace/ |
D | mpers.awk | 175 match(ARCH_FLAG, /[[:digit:]]+/, temparray) 187 if (!match($0, /\(DW_OP_plus_uconst:[[:space:]]+([[:digit:]]+)\)/, temparray)) 188 match($0, /([[:digit:]]+)/, temparray) 197 match($0, /[[:digit:]]+/, temparray) 201 match($0, /[[:digit:]]+/, temparray) 209 match($0, /[[:digit:]]+/, temparray) 213 match($0, /[[:digit:]]+/, temparray)
|
/external/protobuf/src/google/protobuf/io/ |
D | tokenizer.cc | 154 inline int DigitValue(char digit) { in DigitValue() argument 155 if ('0' <= digit && digit <= '9') return digit - '0'; in DigitValue() 156 if ('a' <= digit && digit <= 'z') return digit - 'a' + 10; in DigitValue() 157 if ('A' <= digit && digit <= 'Z') return digit - 'A' + 10; in DigitValue() 883 int digit = DigitValue(*ptr); in ParseInteger() local 884 if (digit < 0 || digit >= base) { in ParseInteger() 889 if (digit > max_value || result > (max_value - digit) / base) { in ParseInteger() 893 result = result * base + digit; in ParseInteger()
|
/external/llvm/test/MC/AsmParser/ |
D | floating-literals.s | 60 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one exponent digit 63 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one exponent digit 66 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one exponent digit 69 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one significand digit 72 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one significand digit
|
/external/guava/guava/src/com/google/common/primitives/ |
D | Ints.java | 652 private static int digit(char c) { in digit() method in Ints 718 int digit = digit(string.charAt(index++)); in tryParse() local 719 if (digit < 0 || digit >= radix) { in tryParse() 722 int accum = -digit; in tryParse() 727 digit = digit(string.charAt(index++)); in tryParse() 728 if (digit < 0 || digit >= radix || accum < cap) { in tryParse() 732 if (accum < Integer.MIN_VALUE + digit) { in tryParse() 735 accum -= digit; in tryParse()
|
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | Ints.java | 600 private static int digit(char c) { in digit() method in Ints 666 int digit = digit(string.charAt(index++)); in tryParse() local 667 if (digit < 0 || digit >= radix) { in tryParse() 670 int accum = -digit; in tryParse() 675 digit = digit(string.charAt(index++)); in tryParse() 676 if (digit < 0 || digit >= radix || accum < cap) { in tryParse() 680 if (accum < Integer.MIN_VALUE + digit) { in tryParse() 683 accum -= digit; in tryParse()
|