Searched refs:digit (Results 1 - 25 of 235) sorted by relevance

12345678910

/external/clang/test/CodeGenCXX/
H A Dtemplate-dependent-bind-temporary.cpp16 T digit; local
17 char((digit < 10 ? '0' : 'a') + digit) + result;
/external/icu/icu4c/source/common/
H A Dustrfmt.c32 int digit; local
37 digit = (int)(i % radix);
38 buffer[length++]=(UChar)(digit<=9?(0x0030+digit):(0x0030+digit+7));
/external/ipsec-tools/src/racoon/
H A Dprsa_tok.l49 digit [0-9]
50 octet (([01]?{digit}?{digit})|((2([0-4]{digit}))|(25[0-5])))
82 {digit}+ { prsalval.num = atol(prsatext); return NUMBER; }
/external/smali/smali/src/main/java/org/jf/smali/
H A DLiteralTools.java67 } else if (Character.digit(byteChars[position], 8) >= 0) {
74 int digit;
78 digit = Character.digit(byteChars[position], radix);
79 if (digit < 0) {
80 throw new NumberFormatException("The string contains invalid an digit - '" + byteChars[position] + "'");
86 if (shiftedResult < 0 && shiftedResult >= -digit) {
89 result = (byte)(shiftedResult + digit);
137 } else if (Character.digit(shortChars[position], 8) >= 0) {
144 int digit;
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DWNafL2RMultiplier.java40 int digit = wi >> 16, zeroes = wi & 0xFFFF;
42 int n = Math.abs(digit);
43 ECPoint[] table = digit < 0 ? preCompNeg : preComp;
73 int digit = wi >> 16, zeroes = wi & 0xFFFF;
75 int n = Math.abs(digit);
76 ECPoint[] table = digit < 0 ? preCompNeg : preComp;
/external/selinux/libsepol/cil/src/
H A Dcil_lexer.l46 digit [0-9]
49 symbol ({digit}|{alpha}|{spec_char})+
/external/webrtc/webrtc/base/
H A Durlencode.cc20 int digit = *pch; local
21 if (digit >= '0' && digit <= '9') {
22 value += digit - '0';
24 else if (digit >= 'A' && digit <= 'F') {
25 value += digit - 'A' + 10;
27 else if (digit >= 'a' && digit <= 'f') {
28 value += digit
[all...]
H A Dlinuxfdwalk.c32 int digit = *s++ - '0'; local
33 val = val * 10 + digit;
/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A DDateNumberFormat.java213 int digit = ch - digits[0];
214 if (digit < 0 || 9 < digit) {
215 digit = UCharacter.digit(ch);
217 if (digit < 0 || 9 < digit) {
218 for ( digit = 0 ; digit < 10 ; digit
[all...]
H A DPunycode.java110 private static char digitToBasic(int digit, boolean uppercase) { argument
113 if(digit<26) {
115 return (char)(CAPITAL_A+digit);
117 return (char)(SMALL_A+digit);
120 return (char)((ZERO-26)+digit);
276 int n, i, bias, basicLength, j, in, oldi, w, k, digit, t,
333 digit=basicToDigit[src.charAt(in++) & 0xFF];
334 if(digit<0) {
337 if(digit>(0x7fffffff-i)/w) {
342 i+=digit*
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DDateNumberFormat.java209 int digit = ch - digits[0];
210 if (digit < 0 || 9 < digit) {
211 digit = UCharacter.digit(ch);
213 if (digit < 0 || 9 < digit) {
214 for ( digit = 0 ; digit < 10 ; digit
[all...]
/external/libunwind/src/
H A Dos-linux.h114 unsigned long num_digits = 0, digit, val = 0; local
122 digit = *cp;
123 if ((digit - '0') <= 9)
124 digit -= '0';
125 else if ((digit - 'a') < 6)
126 digit -= 'a' - 10;
127 else if ((digit - 'A') < 6)
128 digit -= 'A' - 10;
131 val = (val << 4) | digit;
144 unsigned long num_digits = 0, digit, va local
[all...]
/external/libcxx/test/std/re/re.traits/
H A Dlookup_classname.pass.cpp36 test("d", std::ctype_base::digit);
37 test("D", std::ctype_base::digit);
38 test("d", std::ctype_base::digit, true);
39 test("D", std::ctype_base::digit, true);
75 test("digit", std::ctype_base::digit);
76 test("Digit", std::ctype_base::digit);
77 test("digit", std::ctype_base::digit, true);
78 test("Digit", std::ctype_base::digit, tru
[all...]
/external/smali/util/src/main/java/org/jf/util/
H A DIndentingWriter.java180 int digit = (int)(value & 15);
181 if (digit < 10) {
182 buffer[bufferIndex--] = (char)(digit + '0');
184 buffer[bufferIndex--] = (char)((digit - 10) + 'a');
204 long digit = value % 10;
205 buffer[bufferIndex--] = (char)(digit + '0');
224 int digit = value % 10;
225 buffer[bufferIndex--] = (char)(digit + '0');
/external/apache-http/src/org/apache/commons/codec/binary/
H A DHex.java84 * @param ch A character to convert to an integer digit
90 int digit = Character.digit(ch, 16);
91 if (digit == -1) {
94 return digit;
/external/boringssl/src/crypto/ec/
H A Dwnaf.c90 * with the exception that the most significant digit may be only
91 * w-1 zeros away from that next non-zero digit.
134 1); /* modified wNAF may be one digit longer than binary representation
146 int digit = 0; local
154 digit = window_val - next_bit; /* -2^w < digit < 0 */
160 * so using a positive digit here will decrease
163 digit = window_val & (mask >> 1); /* 0 < digit < 2^w */
167 digit
382 int digit = wNAF[i][k]; local
[all...]
/external/ipsec-tools/src/libipsec/
H A Dpolicy_token.l71 digit [0-9]
86 usec {dot}{digit}{1,6}
91 decstring {digit}+
/external/libcxx/test/std/localization/locale.categories/category.ctype/
H A Dctype_base.pass.cpp29 // static const mask digit = 1 << 6;
32 // static const mask alnum = alpha | digit;
50 assert(std::ctype_base::digit);
60 & std::ctype_base::digit
63 assert(std::ctype_base::alnum == (std::ctype_base::alpha | std::ctype_base::digit));
72 test(std::ctype_base::digit);
/external/icu/icu4c/source/tools/genrb/
H A Drbutil.c72 int digit; local
82 digit = (int)(i % radix);
83 buffer[length++]= digits[digit];
/external/icu/icu4c/source/samples/numfmt/
H A Dutil.cpp35 uint32_t digit; local
37 digit = (number >> ((--digits) * 4)) & 0xF;
38 target += (UChar)(digit < 10 ? 0x30 + digit : 0x41 - 10 + digit);
/external/toybox/toys/other/
H A Dtaskset.c79 unsigned long digit = *(--s) - '0'; local
81 if (digit > 9) digit = 10 + tolower(*s)-'a';
82 if (digit > 15) error_exit("bad mask '%s'", *toys.optargs);
83 mask[j/(2*sizeof(long))] |= digit << 4*(j&((2*sizeof(long))-1));
/external/vboot_reference/futility/
H A Dcmd_pcr.c45 int digit; local
47 for (digit = 0; digit < 2; digit++) {
58 if (!digit)
/external/llvm/test/MC/AsmParser/
H A Dfloating-literals.s60 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one exponent digit
64 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one exponent digit
68 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one exponent digit
72 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one significand digit
76 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one significand digit
/external/llvm/lib/MC/
H A DMCInstPrinter.cpp68 // For asm-style hex (e.g. 0ffh) the first digit always has to be a number.
73 uint64_t digit = (Value >> 60) & 0xf; local
74 if (digit != 0)
75 return (digit >= 0xa);
/external/v8/src/
H A Dbignum-dtoa.cc145 // If 1 <= (numerator+delta_plus) / denominator < 10 then no leading 0 digit
158 uint16_t digit; local
159 digit = numerator->DivideModuloIntBignum(*denominator);
160 DCHECK(digit <= 9); // digit is a uint16_t and therefore always positive.
161 // digit = numerator / denominator (integer division).
163 buffer[(*length)++] = digit + '0';
196 // If yes, then the next digit would be < 5 and we can round down.
202 // Note that the last digit could not be a '9' as otherwise the whole
227 // Note again that the last digit coul
250 uint16_t digit; local
260 uint16_t digit; local
[all...]

Completed in 893 milliseconds

12345678910