Searched refs:digit (Results 1 - 25 of 230) 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/chromium_org/third_party/icu/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/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;
78 int digit = wi >> 16, zeroes = wi & 0xFFFF;
80 int n = Math.abs(digit);
81 ECPoint[] table = digit < 0 ? preCompNeg : preComp;
H A DWNafUtil.java33 int digit = kBit ? -1 : 1;
34 naf[length++] = (digit << 16) | zeroes;
83 int digit = k.intValue() & mask;
86 ++digit;
89 carry = (digit & sign) != 0;
92 digit -= pow2;
96 wnaf[length++] = (digit << 16) | zeroes;
227 int digit = k.intValue() & mask;
230 ++digit;
233 carry = (digit
[all...]
/external/stressapptest/src/
H A Dsattypes.h132 int digit = 0, last_non_zero_size = 1; local
135 digit |= 1 << (i & 3);
138 format += char(digit <= 9 ? '0' + digit: 'A' + digit - 10);
139 if (digit) {
141 digit = 0;
145 if (digit) {
146 format += char(digit <= 9 ? '0' + digit
[all...]
/external/guava/guava/src/com/google/common/primitives/
H A DAndroidInteger.java64 int digit = Character.digit(string.charAt(offset++), radix);
65 if (digit == -1) {
71 int next = result * radix - digit;
/external/chromium_org/third_party/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/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/re/re.traits/
H A Dlookup_classname.pass.cpp34 test("d", std::ctype_base::digit);
35 test("D", std::ctype_base::digit);
36 test("d", std::ctype_base::digit, true);
37 test("D", std::ctype_base::digit, true);
73 test("digit", std::ctype_base::digit);
74 test("Digit", std::ctype_base::digit);
75 test("digit", std::ctype_base::digit, true);
76 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/chromium_org/courgette/
H A Dstreams.cc57 // For each byte, we mask out the digit and 'or' it into the right place in the
60 // The digit loop is unrolled for performance. It usually exits after the first
65 uint32 digit, result; local
68 digit = *(source++);
69 result = digit & 127;
70 if (digit < 128) {
77 digit = *(source++);
78 result |= (digit & 127) << 7;
79 if (digit < 128) {
86 digit
[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/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/chromium_org/rlz/lib/
H A Dstring_utils.cc52 int digit = 0; local
54 if (!GetHexValue(text[idx], &digit)) {
63 number = (number << 4) | digit;
85 string->at(2 * index) = kHex[data[index] >> 4]; // high digit
86 string->at(2 * index + 1) = kHex[data[index] & 0x0F]; // low digit
/external/chromium_org/third_party/icu/source/tools/genrb/
H A Drbutil.c72 int digit; local
82 digit = (int)(i % radix);
83 buffer[length++]= digits[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/chromium_org/third_party/icu/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/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/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/chromium_org/third_party/WebKit/Source/wtf/dtoa/
H A Dbignum-dtoa.cc169 // If 1 <= (numerator+delta_plus) / denominator < 10 then no leading 0 digit
182 uint16_t digit; local
183 digit = numerator->DivideModuloIntBignum(*denominator);
184 ASSERT(digit <= 9); // digit is a uint16_t and therefore always positive.
185 // digit = numerator / denominator (integer division).
187 buffer[(*length)++] = digit + '0';
220 // If yes, then the next digit would be < 5 and we can round down.
226 // Note that the last digit could not be a '9' as otherwise the whole
251 // Note again that the last digit coul
274 uint16_t digit; local
284 uint16_t digit; local
[all...]

Completed in 585 milliseconds

12345678910