/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/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/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 | 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/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
|
/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/chromium/third_party/libjingle/source/talk/base/ |
H A D | urlencode.cc | 112 static const char *digits = "0123456789ABCDEF"; local 129 *dest++ = digits[(ch >> 4) & 0x0F]; 130 *dest++ = digits[ ch & 0x0F];
|
/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/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];
|
/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/i18n/ |
H A D | decNumber.h | 60 /* DECNUMDIGITS is the default number of digits that can be held in */ 69 /* number of digits it will hold. */ 82 int32_t digits; /* Count of digits in the coefficient; >0 */ member in struct:__anon6463 91 /* 1. If digits is > DECDPUN then there will one or more */ 93 /* These contain the remaining (more significant) digits of the */ 100 /* contains DECDPUN digits (e.g., a value in the range 0 through */ 103 /* 2. A decNumber converted to a string may need up to digits+14 */ 192 && (dn)->digits==1 \
|
H A D | digitlst.h | 36 // Decimal digits in a 64-bit int 92 * precision to represent all digits of a long. 95 * which are the digits radix 10, from '0' to '9'. It also has a radix 98 * derived by placing all the digits of the list to the right of the 105 * DigitList stores digits with the most significant first. 106 * decNumber stores digits with the least significant first. 116 * digitList, digits are platform invariant chars, '0' - '9' 117 * decNumber, digits are binary, one per byte, 0 - 9. 119 * (decNumber library is configurable in how digits are stored, ICU has configured 154 * Clears out the digits 296 int32_t digits() const {return fDecNumber->digits;} function in class:DigitList [all...] |
H A D | rbt_set.cpp | 76 int32_t digits, 82 while (digits--) { 83 target += digitString[(number >> (digits*4)) & 0xF]; 75 _appendHex(uint32_t number, int32_t digits, UnicodeString& target) argument
|
/external/icu4c/samples/numfmt/ |
H A D | util.cpp | 33 int8_t digits, 36 while (digits > 0) { 37 digit = (number >> ((--digits) * 4)) & 0xF; 32 appendHex(uint32_t number, int8_t digits, UnicodeString& target) argument
|
/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/markdown/markdown/extensions/ |
H A D | headerid.py | 71 from string import ascii_lowercase, digits, punctuation namespace 73 ID_CHARS = ascii_lowercase + digits + '-_'
|
/external/tcpdump/missing/ |
H A D | inet_ntop.c | 66 const char digits[] = "0123456789"; local 81 *dst++ = digits[n / 100]; 86 *dst++ = digits[n / 10]; 90 *dst++ = digits[n];
|
/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/webkit/Source/JavaScriptCore/runtime/ |
H A D | NumberPrototype.cpp | 194 // demands a minimum of (exponent + 1) digits to represent a number, for example 195 // 1234 (1.234e+3) requires 4 digits. (See ECMA-262 15.7.4.7.10.c) 222 static const char* const digits = "0123456789abcdefghijklmnopqrstuvwxyz"; local 230 return JSValue::encode(globalData->smallStrings.singleCharacterString(globalData, digits[x])); 259 *--p = digits[remainderDigit]; 277 *p++ = digits[digit];
|
/external/chromium/base/json/ |
H A D | json_reader.cc | 30 // Read in more digits 47 // A helper method for ParseStringToken. It reads |digits| hex digits from the 48 // token. If the sequence if digits is not valid (contains other characters), 50 bool ReadHexDigits(JSONReader::Token& token, int digits) { argument 51 for (int i = 1; i <= digits; ++i) { 61 token.length += digits;
|
/external/eigen/unsupported/test/mpreal/ |
H A D | mpreal.cpp | 441 int digits;
local 443 digits = n > 0 ? n : bits2digits(mpfr_get_prec(mp));
445 sprintf(format,"%%.%dRNg",digits); // Default format
|