/external/libxslt/libxslt/ |
D | extra.c | 175 char digits[5]; in xsltFunctionLocalTime() local 202 memset(digits, 0, sizeof(digits)); in xsltFunctionLocalTime() 203 strncpy(digits, str+7, 4); in xsltFunctionLocalTime() 204 field = strtol(digits, NULL, 10); in xsltFunctionLocalTime() 207 memset(digits, 0, sizeof(digits)); in xsltFunctionLocalTime() 208 strncpy(digits, str+12, 2); in xsltFunctionLocalTime() 209 field = strtol(digits, NULL, 10); in xsltFunctionLocalTime() 212 memset(digits, 0, sizeof(digits)); in xsltFunctionLocalTime() 213 strncpy(digits, str+15, 2); in xsltFunctionLocalTime() 214 field = strtol(digits, NULL, 10); in xsltFunctionLocalTime() [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
D | digit.js | 43 var digits = "1234567890"; variable 47 "'" + digits + "'.match(new RegExp('\\d+'))", 48 String([digits]), String(digits.match(new RegExp('\\d+')))); 62 "'" + digits + "'.match(new RegExp('\\D'))", 63 null, digits.match(new RegExp('\\D'))); 65 var s = non_digits + digits; 70 String([digits]), String(s.match(new RegExp('\\d+')))); 72 var s = digits + non_digits; 82 for (i = 0; i < digits.length; ++i) 84 s = 'ab' + digits[i] + 'cd'; [all …]
|
/external/icu4c/i18n/ |
D | decNumber.c | 372 dn->digits=decGetDigits(dn->lsu, up-dn->lsu); in uprv_decNumberFromUInt32() 392 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0) ; /* bad */ in uprv_decNumberToInt32() 405 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in uprv_decNumberToInt32() 427 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0 in uprv_decNumberToUInt32() 441 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in uprv_decNumberToUInt32() 586 if (d>set->digits-1) { in uprv_decNumberFromString() 590 if (d>set->digits) break; in uprv_decNumberFromString() 657 if (d<=set->digits) res=dn->lsu; /* fits into supplied decNumber */ in uprv_decNumberFromString() 700 dn->digits=d; in uprv_decNumberFromString() 703 if (d>set->digits) { in uprv_decNumberFromString() [all …]
|
D | digitlst.cpp | 75 fContext.digits = fStorage.getCapacity(); in DigitList() 115 fContext.digits = fStorage.getCapacity(); in operator =() 136 c.digits = 1; in operator ==() 152 int32_t savedDigits = fContext.digits; in compare() 153 fContext.digits = 1; in compare() 155 fContext.digits = savedDigits; in compare() 288 int32_t adjustedDigits = fDecNumber->digits; in setDecimalAt() 303 return fDecNumber->exponent + fDecNumber->digits; in getDecimalAt() 308 U_ASSERT(c <= fContext.digits); in setCount() 315 fDecNumber->digits = c; in setCount() [all …]
|
/external/protobuf/src/google/protobuf/stubs/ |
D | strutil.cc | 734 int digits; in FastUInt32ToBufferLeft() local 743 digits = u / 100000000; // 100,000,000 in FastUInt32ToBufferLeft() 744 ASCII_digits = two_ASCII_digits[digits]; in FastUInt32ToBufferLeft() 749 u -= digits * 100000000; // 100,000,000 in FastUInt32ToBufferLeft() 751 digits = u / 1000000; // 1,000,000 in FastUInt32ToBufferLeft() 752 ASCII_digits = two_ASCII_digits[digits]; in FastUInt32ToBufferLeft() 757 u -= digits * 1000000; // 1,000,000 in FastUInt32ToBufferLeft() 759 digits = u / 10000; // 10,000 in FastUInt32ToBufferLeft() 760 ASCII_digits = two_ASCII_digits[digits]; in FastUInt32ToBufferLeft() 765 u -= digits * 10000; // 10,000 in FastUInt32ToBufferLeft() [all …]
|
/external/stlport/src/ |
D | num_get.cpp | 78 bool _STLP_CALL __get_fdigit(wchar_t& c, const wchar_t* digits) { in __get_fdigit() argument 79 const wchar_t* p = find(digits, digits + 10, c); in __get_fdigit() 80 if (p != digits + 10) { in __get_fdigit() 81 c = (char)('0' + (p - digits)); in __get_fdigit() 89 const wchar_t * digits) { in __get_fdigit_or_sep() argument 95 return __get_fdigit(c, digits); in __get_fdigit_or_sep()
|
D | num_get_float.cpp | 86 wchar_t* digits) { in _Initialize_get_float() argument 92 ct.widen(ndigits + 0, ndigits + 10, digits); in _Initialize_get_float() 420 if (value == (ULL(1) << (limits::digits - 1))) { /* carry created normal number */ in _Stl_atod() 468 value &= ~(ULL(1) << (limits::digits - 1)); /* hide hidden bit */ in _Stl_atod() 530 if ( limits::digits < 64 ) { in _Stl_atodT() 532 uint64_t rest = vv.i64 & ((~ULL(0) / ULL(2)) >> (limits::digits - 1)); in _Stl_atodT() 548 …if ( (vv.i64 >> (limits::digits < 64 ? limits::digits : 0)) != 0 ) { /* carry all the way across */ in _Stl_atodT() 555 vv.i64 &= ~(ULL(1) << (limits::digits - 1)); /* hide hidden bit */ in _Stl_atodT() 589 if (bexp < -limits::digits) { /* guaranteed underflow */ in _Stl_atodT() 621 if (vv.i64 == (ULL(1) << (limits::digits - 1))) { /* carry created normal number */ in _Stl_atodT() [all …]
|
/external/stlport/test/unit/ |
D | complete_digits.h | 8 complete_digits(std::string &digits) in complete_digits() argument 10 complete_digits(string &digits) in complete_digits() 13 while (digits.size() < 2) in complete_digits() 15 digits.insert(digits.begin(), '0'); in complete_digits()
|
D | num_facets_test.cpp | 59 string digits = "7"; in _num_put_get() local 60 complete_digits(digits); in _num_put_get() 61 ref += digits; in _num_put_get() 69 digits = "9"; in _num_put_get() 70 complete_digits(digits); in _num_put_get() 71 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits ); in _num_put_get() 86 digits = "7"; in _num_put_get() 87 complete_digits(digits); in _num_put_get() 88 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits ); in _num_put_get()
|
/external/arduino/hardware/arduino/cores/arduino/ |
D | Print.cpp | 99 void Print::print(double n, int digits) in print() argument 101 printFloat(n, digits); in print() 158 void Print::println(double n, int digits) in println() argument 160 print(n, digits); in println() 187 void Print::printFloat(double number, uint8_t digits) in printFloat() argument 198 for (uint8_t i=0; i<digits; ++i) in printFloat() 209 if (digits > 0) in printFloat() 213 while (digits-- > 0) in printFloat()
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
D | JavaScriptTarget.java | 65 private void writeHexWithPadding(StringBuffer buf, String digits) { in writeHexWithPadding() argument 66 digits = digits.toUpperCase(); in writeHexWithPadding() 67 int padding = 8 - digits.length(); in writeHexWithPadding() 72 buf.append(digits); in writeHexWithPadding()
|
D | ActionScriptTarget.java | 116 private void writeHexWithPadding(StringBuffer buf, String digits) { in writeHexWithPadding() argument 117 digits = digits.toUpperCase(); in writeHexWithPadding() 118 int padding = 8 - digits.length(); in writeHexWithPadding() 123 buf.append(digits); in writeHexWithPadding()
|
D | DelphiTarget.java | 134 String digits = Long.toHexString(word); in getTarget64BitStringFromValue() local 135 digits = digits.toUpperCase(); in getTarget64BitStringFromValue() 136 int padding = numHexDigits - digits.length(); in getTarget64BitStringFromValue() 141 buf.append(digits); in getTarget64BitStringFromValue()
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | FixASCIIControlsReader.java | 41 private int digits = 0; field in FixASCIIControlsReader 138 digits = 0; in processChar() 144 digits = 1; in processChar() 157 digits++; in processChar() 158 if (digits <= 5) in processChar() 184 digits++; in processChar() 185 if (digits <= 4) in processChar()
|
D | ISO8601Converter.java | 205 int digits = input.pos(); in parse() local 212 digits = input.pos() - digits; in parse() 213 for (; digits > 9; --digits) in parse() 217 for (; digits < 9; ++digits) in parse()
|
/external/astl/include/ |
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 = static_cast<int>(sizeof(unsigned int) * CHAR_BIT); [all …]
|
/external/v8/src/ |
D | utils.cc | 69 int digits = 1; in AddDecimalInteger() local 70 for (uint32_t factor = 10; digits < 10; digits++, factor *= 10) { in AddDecimalInteger() 73 position_ += digits; in AddDecimalInteger() 74 for (int i = 1; i <= digits; i++) { in AddDecimalInteger()
|
/external/jhead/ |
D | gpsinfo.c | 212 int den, digits; in ProcessGpsInfo() local 215 digits = 0; in ProcessGpsInfo() 216 while (den > 1 && digits <= 6){ in ProcessGpsInfo() 218 digits += 1; in ProcessGpsInfo() 220 if (digits > 6) digits = 6; in ProcessGpsInfo() 221 FmtString[1+a*7] = (char)('2'+digits+(digits ? 1 : 0)); in ProcessGpsInfo() 222 FmtString[3+a*7] = (char)('0'+digits); in ProcessGpsInfo()
|
/external/webkit/Source/WebCore/html/ |
D | HTMLFontElement.cpp | 92 Vector<UChar, 16> digits; in parseFontSize() local 96 digits.append(*position++); in parseFontSize() 100 if (digits.isEmpty()) in parseFontSize() 104 int value = charactersToIntStrict(digits.data(), digits.size()); in parseFontSize()
|
/external/okhttp/src/main/java/libcore/util/ |
D | IntegralToString.java | 59 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; in bytesToHexString() local 63 buf[c++] = digits[(b >> 4) & 0xf]; in bytesToHexString() 64 buf[c++] = digits[b & 0xf]; in bytesToHexString()
|
/external/dropbear/libtommath/ |
D | bn_mp_rand.c | 20 mp_rand (mp_int * a, int digits) in mp_rand() argument 26 if (digits <= 0) { in mp_rand() 39 while (--digits > 0) { in mp_rand()
|
/external/dropbear/libtommath/tombc/ |
D | grammar.txt | 28 identifier := identifer digits | identifier alpha | alpha 30 integer := hexnumber | digits 34 digits := digits digit | digit
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | HudSystem.java | 191 public void setDigitDrawables(DrawableBitmap[] digits, DrawableBitmap xMark) { in setDigitDrawables() argument 193 for (int x = 0; x < mDigitDrawables.length && x < digits.length; x++) { in setDigitDrawables() 194 mDigitDrawables[x] = digits[x]; in setDigitDrawables() 474 private void drawNumber(Vector2 location, int[] digits, boolean drawX) { in drawNumber() argument 500 for (int x = 0; x < digits.length && digits[x] != -1; x++) { in drawNumber() 501 int index = digits[x]; in drawNumber() 515 public int intToDigitArray(int value, int[] digits) { in intToDigitArray() argument 530 digits[characterCount - 1 - count] = index; in intToDigitArray() 532 } while (remainingValue > 0 && count < digits.length); in intToDigitArray() 534 if (count < digits.length) { in intToDigitArray() [all …]
|
/external/icu4c/samples/translit/ |
D | util.cpp | 22 int8_t digits, in appendHex() argument 25 while (digits > 0) { in appendHex() 26 target += DIGIT_STRING[(number >> ((--digits) * 4)) & 0xF]; in appendHex()
|
/external/icu4c/samples/msgfmt/ |
D | util.cpp | 22 int8_t digits, in appendHex() argument 25 while (digits > 0) { in appendHex() 26 target += DIGIT_STRING[(number >> ((--digits) * 4)) & 0xF]; in appendHex()
|