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

123456789

/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));
H A Dpunycode.c90 digitToBasic(int32_t digit, UBool uppercase) { argument
93 if(digit<26) {
95 return (char)(_CAPITAL_A+digit);
97 return (char)(_SMALL_A+digit);
100 return (char)((_ZERO_-26)+digit);
376 int32_t n, destLength, i, bias, basicLength, j, in, oldi, w, k, digit, t, local
452 digit=basicToDigit[(uint8_t)src[in++]];
453 if(digit<0) {
457 if(digit>(0x7fffffff-i)/w) {
463 i+=digit*
[all...]
/external/icu4c/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/chromium/third_party/libjingle/source/talk/base/
H A Durlencode.cc37 int digit = *pch++; local
38 if (digit >= '0' && digit <= '9') {
39 value += digit - '0';
41 else if (digit >= 'A' && digit <= 'F') {
42 value += digit - 'A' + 10;
44 else if (digit >= 'a' && digit <= 'f') {
45 value += digit
[all...]
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Durlencode.cc37 int digit = *pch++; local
38 if (digit >= '0' && digit <= '9') {
39 value += digit - '0';
41 else if (digit >= 'A' && digit <= 'F') {
42 value += digit - 'A' + 10;
44 else if (digit >= 'a' && digit <= 'f') {
45 value += digit
[all...]
H A Dlinuxfdwalk.c49 int digit = *s++ - '0'; local
50 val = val * 10 + digit;
/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/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/v8/src/extensions/i18n/
H A Dlocale.js161 var digit = '[0-9]'; variable
162 var alphanum = '(' + alpha + '|' + digit + ')';
171 var singleton = '(' + digit + '|[A-WY-Za-wy-z])';
176 var variant = '(' + alphanum + '{5,8}|(' + digit + alphanum + '{3}))';
179 var region = '(' + alpha + '{2}|' + digit + '{3})';
/external/smali/util/src/main/java/org/jf/util/
H A DIndentingWriter.java164 int digit = (int)(value & 15);
165 if (digit < 10) {
166 buffer[bufferIndex++] = (char)(digit + '0');
168 buffer[bufferIndex++] = (char)((digit - 10) + 'a');
188 int digit = value % 10;
189 buffer[bufferIndex++] = (char)(digit + '0');
/external/apache-http/src/org/apache/commons/codec/binary/
H A DHex.java79 * @param ch A character to convert to an integer digit
85 int digit = Character.digit(ch, 16);
86 if (digit == -1) {
89 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/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/icu4c/tools/genrb/
H A Drbutil.c72 int digit; local
82 digit = (int)(i % radix);
83 buffer[length++]= digits[digit];
/external/icu4c/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/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...]
/external/chromium_org/v8/src/
H A Dbignum-dtoa.cc170 // If 1 <= (numerator+delta_plus) / denominator < 10 then no leading 0 digit
183 uint16_t digit; local
184 digit = numerator->DivideModuloIntBignum(*denominator);
185 ASSERT(digit <= 9); // digit is a uint16_t and therefore always positive.
186 // digit = numerator / denominator (integer division).
188 buffer[(*length)++] = digit + '0';
221 // If yes, then the next digit would be < 5 and we can round down.
227 // Note that the last digit could not be a '9' as otherwise the whole
252 // Note again that the last digit coul
275 uint16_t digit; local
285 uint16_t digit; local
[all...]
/external/llvm/lib/MC/
H A DMCInstPrinter.cpp55 // For asm-style hex (e.g. 0ffh) the first digit always has to be a number.
60 uint64_t digit = (Value >> 60) & 0xf; local
61 if (digit != 0)
62 return (digit >= 0xa);
/external/v8/src/
H A Dbignum-dtoa.cc170 // If 1 <= (numerator+delta_plus) / denominator < 10 then no leading 0 digit
183 uint16_t digit; local
184 digit = numerator->DivideModuloIntBignum(*denominator);
185 ASSERT(digit <= 9); // digit is a uint16_t and therefore always positive.
186 // digit = numerator / denominator (integer division).
188 buffer[(*length)++] = digit + '0';
221 // If yes, then the next digit would be < 5 and we can round down.
227 // Note that the last digit could not be a '9' as otherwise the whole
252 // Note again that the last digit coul
275 uint16_t digit; local
285 uint16_t digit; local
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/bin/tests/multisect/
H A Dmultisect2.asm23 rol ax, 4 ; rotate one digit into position
25 and dl, 0Fh ; mask off a single (hex) digit

Completed in 584 milliseconds

123456789