/frameworks/base/core/java/android/widget/ |
DoubleDigitManager.java | 22 * Provides callbacks indicating the steps in two digit pressing within a 35 * @param timeoutInMillis How long after the first digit is pressed does 36 * the user have to press the second digit? 45 * Report to this manager that a digit was pressed. 46 * @param digit 48 public void reportDigit(int digit) { 50 intermediateDigit = digit; 61 if (!mCallBack.singleDigitIntermediate(digit)) { 63 // this wasn't a good candidate for the intermediate digit, 64 // make it the final digit (since there is no opportunity t [all...] |
/external/chromium/third_party/icu/source/common/ |
ustrfmt.c | 32 int digit; local 37 digit = (int)(i % radix); 38 buffer[length++]=(UChar)(digit<=9?(0x0030+digit):(0x0030+digit+7));
|
punycode.c | 90 digitToBasic(int32_t digit, UBool uppercase) { 93 if(digit<26) { 95 return (char)(_CAPITAL_A+digit); 97 return (char)(_SMALL_A+digit); 100 return (char)((_ZERO_-26)+digit); 374 int32_t n, destLength, i, bias, basicLength, j, in, oldi, w, k, digit, t, local 450 digit=basicToDigit[(uint8_t)src[in++]]; 451 if(digit<0) { 455 if(digit>(0x7fffffff-i)/w) { 461 i+=digit*w [all...] |
cstring.c | 148 uint8_t digit; local 163 digit = (uint8_t)(uval % radix); 164 tbuf[--tbx] = (char)(T_CString_itosOffset(digit)); 186 uint8_t digit; local 201 digit = (uint8_t)(uval % radix); 202 tbuf[--tbx] = (char)(T_CString_itosOffset(digit));
|
/external/icu4c/common/ |
ustrfmt.c | 32 int digit; local 37 digit = (int)(i % radix); 38 buffer[length++]=(UChar)(digit<=9?(0x0030+digit):(0x0030+digit+7));
|
punycode.c | 90 digitToBasic(int32_t digit, UBool uppercase) { 93 if(digit<26) { 95 return (char)(_CAPITAL_A+digit); 97 return (char)(_SMALL_A+digit); 100 return (char)((_ZERO_-26)+digit); 374 int32_t n, destLength, i, bias, basicLength, j, in, oldi, w, k, digit, t, local 450 digit=basicToDigit[(uint8_t)src[in++]]; 451 if(digit<0) { 455 if(digit>(0x7fffffff-i)/w) { 461 i+=digit*w [all...] |
/external/ipsec-tools/src/racoon/ |
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; }
|
/libcore/luni/src/main/java/java/math/ |
MathContext.java | 26 * Immutable objects describing settings such as rounding mode and digit 33 * decimal precision format: 34 digit precision and 41 * precision format: 7 digit precision and {@link RoundingMode#HALF_EVEN} 49 * precision format: 16 digit precision and {@link RoundingMode#HALF_EVEN} 158 int digit; // It will contain the digit parsed local 172 digit = Character.digit(charVal[i], 10); 173 if (digit == -1) { 177 this.precision = digit; [all...] |
Logical.java | 74 // Copying the remaining unchanged digit 178 int digit; local 180 digit = -shorter.digits[i] & ~longer.digits[i]; 182 digit = ~shorter.digits[i] & -longer.digits[i]; 184 digit = -shorter.digits[i] & -longer.digits[i]; 186 if (digit == 0) { 187 for (i++; i < shorter.numberLength && (digit = ~(longer.digits[i] | shorter.digits[i])) == 0; i++) 188 ; // digit = ~longer.digits[i] & ~shorter.digits[i] 189 if (digit == 0) { 191 for ( ; i < longer.numberLength && (digit = ~longer.digits[i]) == 0; i++ 303 int digit; local 733 int digit = positive.digits[i] ^ -negative.digits[i]; local [all...] |
BigInteger.java | 180 * {@code Character.digit(char,10)}. 197 * are interpreted as if by {@code Character.digit(char, radix)}. 527 int digit = digits[intCount]; local 534 digit = -digit; 536 digit = ~digit; 539 return ((digit & n) != 0); 615 // (sign != 0) implies that exists some non zero digit 804 for (int digit : digits) [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
SimUnlockScreen.java | 271 private void reportDigit(int digit) { 278 mPinText.append(Integer.toString(digit)); 279 mEnteredPin[mEnteredDigits++] = digit; 370 final int digit = checkDigit(v); local 371 if (digit >= 0) { 373 reportDigit(digit); 378 int digit = -1; local 380 digit = 0; 382 digit = 1; 384 digit = 2 [all...] |
/frameworks/base/core/java/com/google/android/mms/pdu/ |
QuotedPrintable.java | 53 int u = Character.digit((char) bytes[++i], 16); 54 int l = Character.digit((char) bytes[++i], 16);
|
/external/apache-http/src/org/apache/commons/codec/binary/ |
Hex.java | 79 * @param ch A character to convert to an integer digit 85 int digit = Character.digit(ch, 16); local 86 if (digit == -1) { 89 return digit;
|
/external/ipsec-tools/src/libipsec/ |
policy_token.l | 71 digit [0-9] 86 usec {dot}{digit}{1,6} 91 decstring {digit}+
|
/external/chromium/third_party/icu/source/i18n/ |
digitlst.h | 16 * 04/15/97 aliu Changed MAX_COUNT to DBL_DIG. Changed Digit to char. 51 * Digit List utility class. Private to DecimalFormat. Handles the transcoding 113 * @param digit The digit to be appended. 115 inline void append(char digit); 118 * Utility routine to get the value of the digit list 120 * @return the value of the digit list. 125 * Utility routine to get the value of the digit list 128 * @return the value of the digit list, return 0 if it is zero length 133 * Utility routine to get the value of the digit lis [all...] |
/external/chromium/third_party/icu/source/tools/genrb/ |
rbutil.c | 72 int digit; local 82 digit = (int)(i % radix); 83 buffer[length++]= digits[digit];
|
/external/icu4c/tools/genrb/ |
rbutil.c | 72 int digit; local 82 digit = (int)(i % radix); 83 buffer[length++]= digits[digit];
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
NumericSprite.java | 37 String digit = sStrike.substring(i, i+1); local 38 mLabelId[i] = mLabelMaker.add(gl, digit, paint); 73 int digit = c - '0'; local 74 mLabelMaker.draw(gl, x, y, mLabelId[digit]); 75 x += mWidth[digit];
|
/external/icu4c/samples/numfmt/ |
util.cpp | 35 uint32_t digit; local 37 digit = (number >> ((--digits) * 4)) & 0xF; 38 target += (UChar)(digit < 10 ? 0x30 + digit : 0x41 - 10 + digit);
|
/libcore/luni/src/main/java/java/util/ |
Date.java | 412 int digit = Integer.parseInt(buffer.toString()); local 425 zoneOffset = sign == '-' ? -digit : digit; 430 } else if (digit >= 70) { 434 year = digit; 440 hour = digit; 442 minute = digit; 448 month = digit - 1; 450 date = digit; 457 minute = digit; [all...] |
/external/ppp/pppd/plugins/pppoatm/ |
ans.c | 179 int digit; local 183 digit = addr[i] & 0x0F; 184 *(buf++) = digit + (digit >= 10 ? '7' : '0'); 186 digit = ((unsigned char) (addr[i])) >> 4; 187 *(buf++) = digit + (digit >= 10 ? '7' : '0');
|
/libcore/luni/src/main/java/java/text/ |
DecimalFormatSymbols.java | 46 private char digit; field in class:DecimalFormatSymbols 86 this.digit = localeData.digit; 177 digit == obj.digit && 197 ",digit=" + digit + 258 * Returns the character which represents a single digit in a format 261 * @return the digit pattern character. 264 return digit; [all...] |
/external/openssl/crypto/ec/ |
ec_mult.c | 188 * with the exception that the most significant digit may be only 189 * w-1 zeros away from that next non-zero digit. 234 r = OPENSSL_malloc(len + 1); /* modified wNAF may be one digit longer than binary representation 246 int digit = 0; local 256 digit = window_val - next_bit; /* -2^w < digit < 0 */ 263 * so using a positive digit here will decrease 266 digit = window_val & (mask >> 1); /* 0 < digit < 2^w */ 272 digit = window_val; /* 0 < digit < 2^w * 664 int digit = wNAF[i][k]; local [all...] |
/libcore/luni/src/main/java/java/net/ |
URIEncoderDecoder.java | 56 int d1 = Character.digit(s.charAt(i + 1), 16); 57 int d2 = Character.digit(s.charAt(i + 2), 16); 168 *'%' and two following hex digit characters are converted to the 192 int d1 = Character.digit(s.charAt(i + 1), 16); 193 int d2 = Character.digit(s.charAt(i + 2), 16);
|
/external/webkit/JavaScriptCore/runtime/ |
JSGlobalObjectFunctions.cpp | 161 int digit = -1; local 164 digit = c - '0'; 166 digit = c - 'A' + 10; 168 digit = c - 'a' + 10; 170 if (digit >= radix) 172 return digit; 187 int digit = parseDigit(*p, radix); local 188 number += digit * radixMultiplier; 233 int digit = parseDigit(data[p], radix); local 234 if (digit == -1 [all...] |