/libcore/luni/src/main/native/ |
java_lang_RealToString.cpp | 171 static jfieldID digitsFid = env->GetFieldID(JniConstants::realToStringClass, "digits", "[I"); 173 ScopedIntArrayRW digits(env, javaDigits.get()); 174 if (digits.get() == NULL) { 216 digits[digitCount++] = U; 222 digits[digitCount++] = U; 224 digits[digitCount++] = U + 1; 226 digits[digitCount++] = U; 228 digits[digitCount++] = U + 1;
|
/external/icu4c/samples/numfmt/ |
util.cpp | 33 int8_t digits, 36 while (digits > 0) { 37 digit = (number >> ((--digits) * 4)) & 0xF;
|
/external/chromium/base/ |
rand_util.cc | 32 static const int kBits = std::numeric_limits<double>::digits;
|
/external/tcpdump/missing/ |
inet_ntop.c | 66 const char digits[] = "0123456789"; local 81 *dst++ = digits[n / 100]; 86 *dst++ = digits[n / 10]; 90 *dst++ = digits[n];
|
/external/webkit/Source/WebCore/html/parser/ |
HTMLParserIdioms.cpp | 210 Vector<UChar, 16> digits; 214 digits.append(*position++); 218 value = sign * charactersToIntStrict(digits.data(), digits.size());
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
RuimRecords.java | 196 private int adjstMinDigits (int digits) { 198 digits += 111; 199 digits = (digits % 10 == 0)?(digits - 10):digits; 200 digits = ((digits / 10) % 10 == 0)?(digits - 100):digits; [all...] |
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
DialpadFragment.java | 131 /** Remembers if we need to clear digits field when the screen is completely gone. */ 230 * tel: URI passed by some other app. It will be set to false when all digits are cleared. 274 // A special sequence was entered, clear the digits 318 mDigits = (EditText) fragmentView.findViewById(R.id.digits); 502 * Sets formatted digits to digits field. 510 Editable digits = mDigits.getText(); local 511 digits.replace(0, digits.length(), dialString); 512 // for some reason this isn't getting called in the digits.replace call above. 730 final CharSequence digits = mDigits.getText(); local 934 final Editable digits = mDigits.getText(); local 1544 Editable digits = mDigits.getText(); local 1696 final String digits = SmartDialNameMatcher.normalizeNumber(mDigits.getText().toString()); local [all...] |
/external/bison/lib/ |
vasnprintf.c | 479 /* Allocate room for a_len+2 digits. 480 (Need a_len+1 digits for the real division and 1 more digit for the 842 Return the allocated memory - containing the decimal digits in low-to-high 871 /* Store the remainder as 9 decimal digits. */ 1085 char *digits; local 3657 char *digits; local 3712 char *digits; local 3847 char *digits; local 4122 char *digits; local 4174 char *digits; local 4321 char *digits; local [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
urlencode.cc | 112 static const char *digits = "0123456789ABCDEF"; local 129 *dest++ = digits[(ch >> 4) & 0x0F]; 130 *dest++ = digits[ ch & 0x0F];
|
/external/replicaisland/src/com/replica/replicaisland/ |
HudSystem.java | 191 public void setDigitDrawables(DrawableBitmap[] digits, DrawableBitmap xMark) { 193 for (int x = 0; x < mDigitDrawables.length && x < digits.length; x++) { 194 mDigitDrawables[x] = digits[x]; 474 private void drawNumber(Vector2 location, int[] digits, boolean drawX) { 500 for (int x = 0; x < digits.length && digits[x] != -1; x++) { 501 int index = digits[x]; 515 public int intToDigitArray(int value, int[] digits) { 530 digits[characterCount - 1 - count] = index; 532 } while (remainingValue > 0 && count < digits.length) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
CdmaSmsAddress.java | 29 * the address digits are 4-bit DTMF codes or 8-bit codes. (See 69 * This field shall be set to the number of address digits 118 int digits = address.length(); local 119 byte[] result = new byte[digits]; 120 for (int i = 0; i < digits; i++) {
|
/ndk/sources/cxx-stl/llvm-libc++/src/ |
string.cpp | 524 const size_t n = (numeric_limits<int>::digits / 3) 525 + ((numeric_limits<int>::digits % 3) != 0) 545 const size_t n = (numeric_limits<unsigned>::digits / 3) 546 + ((numeric_limits<unsigned>::digits % 3) != 0) 566 const size_t n = (numeric_limits<long>::digits / 3) 567 + ((numeric_limits<long>::digits % 3) != 0) 587 const size_t n = (numeric_limits<unsigned long>::digits / 3) 588 + ((numeric_limits<unsigned long>::digits % 3) != 0) 608 const size_t n = (numeric_limits<long long>::digits / 3) 609 + ((numeric_limits<long long>::digits % 3) != 0 [all...] |
/external/icu4c/i18n/ |
digitlst.h | 36 // Decimal digits in a 64-bit int 96 * precision to represent all digits of a long. 99 * which are the digits radix 10, from '0' to '9'. It also has a radix 102 * derived by placing all the digits of the list to the right of the 109 * DigitList stores digits with the most significant first. 110 * decNumber stores digits with the least significant first. 120 * digitList, digits are platform invariant chars, '0' - '9' 121 * decNumber, digits are binary, one per byte, 0 - 9. 123 * (decNumber library is configurable in how digits are stored, ICU has configured 158 * Clears out the digits 310 int32_t digits() const {return fDecNumber->digits;} function in class:DigitList [all...] |
decContext.c | 65 context->digits=9; /* 9 digits */ 80 context->digits=7; /* digits */ 91 context->digits=16; /* digits */ 102 context->digits=34; /* digits */
|
/external/stlport/stlport/stl/ |
_limits.h | 65 _STLP_STATIC_CONSTANT(int, digits = 0); 124 _STLP_STATIC_CONSTANT(int, digits = (__idigits < 0) ? ((int)((sizeof(_Int) * (CHAR_BIT))) - ((__imin == 0) ? 0 : 1)) : (__idigits)); 125 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 146 _STLP_STATIC_CONSTANT(int, digits = __Digits); 303 _STLP_STATIC_CONSTANT(int, digits = ((int)((sizeof(_STLP_LONG_LONG) * (CHAR_BIT))) - 1)); 304 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 322 _STLP_STATIC_CONSTANT(int, digits = ((int)((sizeof(unsigned _STLP_LONG_LONG) * (CHAR_BIT))))); 323 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 402 FLT_MANT_DIG, // Binary digits of precision 403 FLT_DIG, // Decimal digits of precisio [all...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_limits.h | 65 _STLP_STATIC_CONSTANT(int, digits = 0); 124 _STLP_STATIC_CONSTANT(int, digits = (__idigits < 0) ? ((int)((sizeof(_Int) * (CHAR_BIT))) - ((__imin == 0) ? 0 : 1)) : (__idigits)); 125 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 146 _STLP_STATIC_CONSTANT(int, digits = __Digits); 303 _STLP_STATIC_CONSTANT(int, digits = ((int)((sizeof(_STLP_LONG_LONG) * (CHAR_BIT))) - 1)); 304 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 322 _STLP_STATIC_CONSTANT(int, digits = ((int)((sizeof(unsigned _STLP_LONG_LONG) * (CHAR_BIT))))); 323 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 402 FLT_MANT_DIG, // Binary digits of precision 403 FLT_DIG, // Decimal digits of precisio [all...] |
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
_limits.h | 65 _STLP_STATIC_CONSTANT(int, digits = 0); 124 _STLP_STATIC_CONSTANT(int, digits = (__idigits < 0) ? ((int)((sizeof(_Int) * (CHAR_BIT))) - ((__imin == 0) ? 0 : 1)) : (__idigits)); 125 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 146 _STLP_STATIC_CONSTANT(int, digits = __Digits); 303 _STLP_STATIC_CONSTANT(int, digits = ((int)((sizeof(_STLP_LONG_LONG) * (CHAR_BIT))) - 1)); 304 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 322 _STLP_STATIC_CONSTANT(int, digits = ((int)((sizeof(unsigned _STLP_LONG_LONG) * (CHAR_BIT))))); 323 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 402 FLT_MANT_DIG, // Binary digits of precision 403 FLT_DIG, // Decimal digits of precisio [all...] |
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/ |
_limits.h | 65 _STLP_STATIC_CONSTANT(int, digits = 0); 124 _STLP_STATIC_CONSTANT(int, digits = (__idigits < 0) ? ((int)((sizeof(_Int) * (CHAR_BIT))) - ((__imin == 0) ? 0 : 1)) : (__idigits)); 125 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 146 _STLP_STATIC_CONSTANT(int, digits = __Digits); 303 _STLP_STATIC_CONSTANT(int, digits = ((int)((sizeof(_STLP_LONG_LONG) * (CHAR_BIT))) - 1)); 304 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 322 _STLP_STATIC_CONSTANT(int, digits = ((int)((sizeof(unsigned _STLP_LONG_LONG) * (CHAR_BIT))))); 323 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 402 FLT_MANT_DIG, // Binary digits of precision 403 FLT_DIG, // Decimal digits of precisio [all...] |
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/ |
_limits.h | 65 _STLP_STATIC_CONSTANT(int, digits = 0); 124 _STLP_STATIC_CONSTANT(int, digits = (__idigits < 0) ? ((int)((sizeof(_Int) * (CHAR_BIT))) - ((__imin == 0) ? 0 : 1)) : (__idigits)); 125 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 146 _STLP_STATIC_CONSTANT(int, digits = __Digits); 303 _STLP_STATIC_CONSTANT(int, digits = ((int)((sizeof(_STLP_LONG_LONG) * (CHAR_BIT))) - 1)); 304 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 322 _STLP_STATIC_CONSTANT(int, digits = ((int)((sizeof(unsigned _STLP_LONG_LONG) * (CHAR_BIT))))); 323 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 402 FLT_MANT_DIG, // Binary digits of precision 403 FLT_DIG, // Decimal digits of precisio [all...] |
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/ |
_limits.h | 65 _STLP_STATIC_CONSTANT(int, digits = 0); 124 _STLP_STATIC_CONSTANT(int, digits = (__idigits < 0) ? ((int)((sizeof(_Int) * (CHAR_BIT))) - ((__imin == 0) ? 0 : 1)) : (__idigits)); 125 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 146 _STLP_STATIC_CONSTANT(int, digits = __Digits); 303 _STLP_STATIC_CONSTANT(int, digits = ((int)((sizeof(_STLP_LONG_LONG) * (CHAR_BIT))) - 1)); 304 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 322 _STLP_STATIC_CONSTANT(int, digits = ((int)((sizeof(unsigned _STLP_LONG_LONG) * (CHAR_BIT))))); 323 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 402 FLT_MANT_DIG, // Binary digits of precision 403 FLT_DIG, // Decimal digits of precisio [all...] |
/external/icu4c/test/intltest/ |
intltest.h | 300 // digits=-1 determines the number of digits automatically 301 static UnicodeString &appendHex(uint32_t number, int32_t digits, UnicodeString &target); 302 static UnicodeString toHex(uint32_t number, int32_t digits=-1); 303 static inline UnicodeString toHex(int32_t number, int32_t digits=-1) { 304 return toHex((uint32_t)number, digits);
|
/external/v8/src/ |
safepoint-table.cc | 111 void SafepointTable::PrintBits(uint8_t byte, int digits) { 112 ASSERT(digits >= 0 && digits <= kBitsPerByte); 113 for (int i = 0; i < digits; i++) {
|
/bionic/libc/netbsd/nameser/ |
ns_name.c | 56 static const char digits[] = "0123456789"; variable 167 *dn++ = digits[c / 100]; 168 *dn++ = digits[(c % 100) / 10]; 169 *dn++ = digits[c % 10]; 240 else if ((cp = strchr(digits, c)) != NULL) { 241 n = (cp - digits) * 100; 243 (cp = strchr(digits, c)) == NULL) { 247 n += (cp - digits) * 10; 249 (cp = strchr(digits, c)) == NULL) { 253 n += (cp - digits); [all...] |
/external/smack/src/org/xbill/DNS/ |
Name.java | 222 int digits = 0; local 228 if (b >= '0' && b <= '9' && digits < 3) { 229 digits++; 234 if (digits < 3) 238 else if (digits > 0 && digits < 3) 247 digits = 0; 264 if (digits > 0 && digits < 3)
|
Record.java | 358 int digits = 0; local 363 if (b >= '0' && b <= '9' && digits < 3) { 364 digits++; 370 if (digits < 3) 374 else if (digits > 0 && digits < 3) 381 digits = 0; 387 if (digits > 0 && digits < 3)
|