/external/stlport/test/unit/ |
H A D | complete_digits.h | 8 complete_digits(std::string &digits) argument 10 complete_digits(string &digits) 13 while (digits.size() < 2) 15 digits.insert(digits.begin(), '0');
|
H A D | num_facets_test.cpp | 59 string digits = "7"; local 60 complete_digits(digits); 61 ref += digits; 69 digits = "9"; 70 complete_digits(digits); 71 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits ); 86 digits = "7"; 87 complete_digits(digits); 88 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits );
|
/external/okhttp/src/main/java/libcore/util/ |
H A D | IntegralToString.java | 39 * The digits for every supported radix. 59 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; 63 buf[c++] = digits[(b >> 4) & 0xf]; 64 buf[c++] = digits[b & 0xf];
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
H A D | digit.js | 43 var digits = "1234567890"; variable 45 // be sure all digits are matched by \d 47 "'" + digits + "'.match(new RegExp('\\d+'))", 48 String([digits]), String(digits.match(new RegExp('\\d+')))); 50 // be sure all non-digits are matched by \D 55 // be sure all non-digits are not matched by \d 60 // be sure all digits are not matched by \D 62 "'" + digits + "'.match(new RegExp('\\D'))", 63 null, digits [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
H A D | JavaScriptTarget.java | 65 private void writeHexWithPadding(StringBuffer buf, String digits) { argument 66 digits = digits.toUpperCase(); 67 int padding = 8 - digits.length(); 72 buf.append(digits);
|
H A D | Target.java | 186 // then only take last 4 digits 327 String digits = Long.toHexString(word); 328 digits = digits.toUpperCase(); 329 int padding = numHexDigits - digits.length(); 334 buf.append(digits);
|
H A D | ActionScriptTarget.java | 116 private void writeHexWithPadding(StringBuffer buf, String digits) { argument 117 digits = digits.toUpperCase(); 118 int padding = 8 - digits.length(); 123 buf.append(digits);
|
/external/astl/include/ |
H A D | limits | 47 // Template to return the number of decimal digits in a number 79 // The number of radix digits that be represented without change. For 81 // floating-point types, the number of radix digits in the mantissa. 83 static const int digits = 0; 85 // The number of base 10 digits that can be represented without change. 117 static const int digits = __FLT_MANT_DIG__; 133 static const int digits = __DBL_MANT_DIG__; 149 static const int digits = static_cast<int>(sizeof(int) * CHAR_BIT); 150 static const int digits10 = digits10<int, digits, is_signed>::value; 165 static const int digits [all...] |
/external/dropbear/libtommath/ |
H A D | bn_mp_rand.c | 20 mp_rand (mp_int * a, int digits) argument 26 if (digits <= 0) { 39 while (--digits > 0) {
|
/external/libxslt/libxslt/ |
H A D | extra.c | 175 char digits[5]; local 202 memset(digits, 0, sizeof(digits)); 203 strncpy(digits, str+7, 4); 204 field = strtol(digits, NULL, 10); 207 memset(digits, 0, sizeof(digits)); 208 strncpy(digits, str+12, 2); 209 field = strtol(digits, NULL, 10); 212 memset(digits, [all...] |
/external/v8/src/ |
H A D | utils.cc | 69 int digits = 1; local 70 for (uint32_t factor = 10; digits < 10; digits++, factor *= 10) { 73 position_ += digits; 74 for (int i = 1; i <= digits; i++) {
|
/external/stlport/src/ |
H A D | num_get.cpp | 78 bool _STLP_CALL __get_fdigit(wchar_t& c, const wchar_t* digits) { argument 79 const wchar_t* p = find(digits, digits + 10, c); 80 if (p != digits + 10) { 81 c = (char)('0' + (p - digits)); 89 const wchar_t * digits) { 95 return __get_fdigit(c, digits); 88 __get_fdigit_or_sep(wchar_t& c, wchar_t sep, const wchar_t * digits) argument
|
H A D | num_get_float.cpp | 86 wchar_t* digits) { 92 ct.widen(ndigits + 0, ndigits + 10, digits); 323 // Second argument is number of digits in buffer, 1 <= digits <= 17. 338 * 1) decimal digits as an integer 353 /* Convert the decimal digits to a binary integer. */ 420 if (value == (ULL(1) << (limits::digits - 1))) { /* carry created normal number */ 468 value &= ~(ULL(1) << (limits::digits - 1)); /* hide hidden bit */ 487 /* Convert the decimal digits to a binary integer. */ 530 if ( limits::digits < 6 83 _Initialize_get_float( const ctype<wchar_t>& ct, wchar_t& Plus, wchar_t& Minus, wchar_t& pow_e, wchar_t& pow_E, wchar_t* digits) argument 653 char digits[max_digits]; local 759 char digits[max_digits]; local [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
H A D | FixASCIIControlsReader.java | 40 /** count the digits of the sequence */ 41 private int digits = 0; field in class:FixASCIIControlsReader 138 digits = 0; 144 digits = 1; 157 digits++; 158 if (digits <= 5) 184 digits++; 185 if (digits <= 4)
|
/external/icu4c/i18n/ |
H A D | digitlst.cpp | 53 * This is the zero digit. The base for the digits returned by getDigit() 75 fContext.digits = fStorage.getCapacity(); 113 // Always reset the fContext.digits, even if fDecNumber was not reallocated, 115 fContext.digits = fStorage.getCapacity(); 136 c.digits = 1; 152 int32_t savedDigits = fContext.digits; 153 fContext.digits = 1; 155 fContext.digits = savedDigits; 169 // Reduce - remove trailing zero digits. 177 // trim - remove trailing fraction zero digits [all...] |
H A D | decNumber.c | 60 /* precision (up to 999,999,999 digits) and arbitrary exponent */ 64 /* tightly: digits, emax, and -emin in the context must be <= */ 69 /* be finite, positive, have an exponent of zero, and all digits */ 70 /* must be either 0 or 1. The result will only contain digits */ 150 /* 6. The digits count is allowed to rise to a multiple of DECDPUN */ 152 /* accounting of digits is not needed. The correct digits value */ 154 /* This must be called before any rounding if the number of digits */ 158 /* numbers up to four digits, using appropriate constants. This */ 321 /* complement of digits (wher 6706 decShiftToMost(Unit *uar, Int digits, Int shift) argument 7790 Int digits=(len-1)*DECDPUN+1; /* possible digits excluding msu */ local 7980 Int ae, d, digits; /* .. */ local [all...] |
/external/arduino/hardware/arduino/cores/arduino/ |
H A D | Print.cpp | 99 void Print::print(double n, int digits) argument 101 printFloat(n, digits); 158 void Print::println(double n, int digits) argument 160 print(n, digits); 187 void Print::printFloat(double number, uint8_t digits) argument 198 for (uint8_t i=0; i<digits; ++i) 208 // Print the decimal point, but only if there are digits beyond 209 if (digits > 0) 212 // Extract digits from the remainder one at a time 213 while (digits [all...] |
/external/icu4c/samples/datefmt/ |
H A D | util.cpp | 22 int8_t digits, 25 while (digits > 0) { 26 target += DIGIT_STRING[(number >> ((--digits) * 4)) & 0xF]; 21 appendHex(uint32_t number, int8_t digits, UnicodeString& target) argument
|
/external/icu4c/samples/msgfmt/ |
H A D | util.cpp | 22 int8_t digits, 25 while (digits > 0) { 26 target += DIGIT_STRING[(number >> ((--digits) * 4)) & 0xF]; 21 appendHex(uint32_t number, int8_t digits, UnicodeString& target) argument
|
/external/icu4c/samples/translit/ |
H A D | util.cpp | 22 int8_t digits, 25 while (digits > 0) { 26 target += DIGIT_STRING[(number >> ((--digits) * 4)) & 0xF]; 21 appendHex(uint32_t number, int8_t digits, UnicodeString& target) argument
|
/external/webkit/Source/WebCore/html/ |
H A D | HTMLFontElement.cpp | 92 Vector<UChar, 16> digits; 96 digits.append(*position++); 100 if (digits.isEmpty()) 104 int value = charactersToIntStrict(digits.data(), digits.size());
|
/external/protobuf/src/google/protobuf/stubs/ |
H A D | strutil.cc | 236 // The implementation of \x parses any positive number of hex digits, 296 case '0': case '1': case '2': case '3': // octal digit: 1 to 3 digits 318 while (isxdigit(p[1])) // arbitrarily many hex digits 328 // \uhhhh => convert 4 hex digits to UTF-8 336 << "\\u must be followed by 4 hex digits: \\" 345 // \Uhhhhhhhh => convert 8 hex digits to UTF-8 364 << "\\U must be followed by 8 hex digits: \\" 734 int digits; local 738 // and by outputting two digits at a time rather than one. 743 digits 825 int digits; local [all...] |
/external/jhead/ |
H A D | gpsinfo.c | 212 int den, digits; local 215 digits = 0; 216 while (den > 1 && digits <= 6){ 218 digits += 1; 220 if (digits > 6) digits = 6; 221 FmtString[1+a*7] = (char)('2'+digits+(digits ? 1 : 0)); 222 FmtString[3+a*7] = (char)('0'+digits);
|
/external/astl/tests/ |
H A D | test_limits.cpp | 84 EXPECT_TRUE(std::numeric_limits<long>::digits == 32); 86 EXPECT_TRUE(std::numeric_limits<long long>::digits == 64);
|
/external/icu4c/tools/genrb/ |
H A D | rbutil.c | 68 const char digits[16] = {'0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'}; local 83 buffer[length++]= digits[digit];
|