Searched refs:digits (Results 1 - 25 of 220) sorted by relevance

123456789

/external/stlport/test/unit/
H A Dcomplete_digits.h8 complete_digits(std::string &digits) argument
10 complete_digits(string &digits)
13 while (digits.size() < 2)
15 digits.insert(digits.begin(), '0');
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
H A DJavaScriptTarget.java65 private void writeHexWithPadding(StringBuffer buf, String digits) { argument
66 digits = digits.toUpperCase();
67 int padding = 8 - digits.length();
72 buf.append(digits);
/external/chromium_org/third_party/libxslt/libxslt/
H A Dextra.c175 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/libcxx/test/language.support/support.limits/limits/numeric.limits.members/
H A Ddigits.pass.cpp12 // digits
21 static_assert(std::numeric_limits<T>::digits == expected, "digits test 1");
22 static_assert(std::numeric_limits<const T>::digits == expected, "digits test 2");
23 static_assert(std::numeric_limits<volatile T>::digits == expected, "digits test 3");
24 static_assert(std::numeric_limits<const volatile T>::digits == expected, "digits test 4");
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLFontElement.cpp92 StringBuilder digits;
93 digits.reserveCapacity(16);
97 digits.append(*position++);
101 if (digits.isEmpty())
107 if (digits.is8Bit())
108 value = charactersToIntStrict(digits.characters8(), digits.length());
110 value = charactersToIntStrict(digits.characters16(), digits.length());
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/common/xmlpool/
H A Dgen_xmlpool.py48 digits = 0
61 digits = digits + 1
63 digits = 2
64 if digits >= 2:
71 digits = digits + 1
73 digits = 3
74 if digits >= 3:
86 digits
[all...]
/external/mesa3d/src/mesa/drivers/dri/common/xmlpool/
H A Dgen_xmlpool.py48 digits = 0
61 digits = digits + 1
63 digits = 2
64 if digits >= 2:
71 digits = digits + 1
73 digits = 3
74 if digits >= 3:
86 digits
[all...]
/external/stlport/src/
H A Dnum_get.cpp78 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/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DFixASCIIControlsReader.java40 /** 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/chromium_org/third_party/icu/source/i18n/
H A Ddigitlst.cpp50 * This is the zero digit. The base for the digits returned by getDigit()
75 fContext.digits = fStorage.getCapacity();
112 // Always reset the fContext.digits, even if fDecNumber was not reallocated,
114 fContext.digits = fStorage.getCapacity();
146 c.digits = 1;
162 int32_t savedDigits = fContext.digits;
163 fContext.digits = 1;
165 fContext.digits = savedDigits;
179 // Reduce - remove trailing zero digits.
187 // trim - remove trailing fraction zero digits
[all...]
H A DdecNumber.c60 /* 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 */
216 /* round-for-reround digits */
6725 decShiftToMost(Unit *uar, Int digits, Int shift) argument
7810 Int digits=(len-1)*DECDPUN+1; /* possible digits excluding msu */ local
8000 Int ae, d, digits; /* .. */ local
[all...]
/external/icu/icu4c/source/i18n/
H A Ddigitlst.cpp50 * This is the zero digit. The base for the digits returned by getDigit()
71 fContext.digits = fStorage.getCapacity();
108 // Always reset the fContext.digits, even if fDecNumber was not reallocated,
110 fContext.digits = fStorage.getCapacity();
142 c.digits = 1;
158 int32_t savedDigits = fContext.digits;
159 fContext.digits = 1;
161 fContext.digits = savedDigits;
175 // Reduce - remove trailing zero digits.
183 // trim - remove trailing fraction zero digits
[all...]
H A DdecNumber.c60 /* 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 */
216 /* round-for-reround digits */
6727 decShiftToMost(Unit *uar, Int digits, Int shift) argument
7812 Int digits=(len-1)*DECDPUN+1; /* possible digits excluding msu */ local
8002 Int ae, d, digits; /* .. */ local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
H A DHTMLParserIdioms.cpp175 StringBuilder digits;
179 digits.append(*position++);
184 if (digits.is8Bit())
185 value = sign * charactersToIntStrict(digits.characters8(), digits.length(), &ok);
187 value = sign * charactersToIntStrict(digits.characters16(), digits.length(), &ok);
235 StringBuilder digits;
239 digits.append(*position++);
244 if (digits
[all...]
/external/arduino/hardware/arduino/cores/arduino/
H A DPrint.cpp99 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/fonttools/Lib/fontTools/misc/
H A DfixedTools.py31 digits = (precisionBits + 2) // 3
32 fmt = "%%.%df" % digits
/external/fonttools/Tools/fontTools/misc/
H A DfixedTools.py31 digits = (precisionBits + 2) // 3
32 fmt = "%%.%df" % digits
/external/chromium_org/third_party/skia/src/utils/
H A DSkFloatUtils.h36 static const int digits = 0; member in struct:SkNumericLimits
41 static const int digits = DBL_MANT_DIG; member in struct:SkNumericLimits
46 static const int digits = FLT_MANT_DIG; member in struct:SkNumericLimits
64 static const size_t kFractionBitCount = SkNumericLimits<RawType>::digits - 1;
/external/libcxx/test/utilities/time/
H A Dhours.pass.cpp25 static_assert(std::numeric_limits<Rep>::digits >= 22, "");
H A Dmicroseconds.pass.cpp25 static_assert(std::numeric_limits<Rep>::digits >= 54, "");
H A Dmilliseconds.pass.cpp25 static_assert(std::numeric_limits<Rep>::digits >= 44, "");
H A Dminutes.pass.cpp25 static_assert(std::numeric_limits<Rep>::digits >= 28, "");
H A Dnanoseconds.pass.cpp25 static_assert(std::numeric_limits<Rep>::digits >= 63, "");
H A Dseconds.pass.cpp25 static_assert(std::numeric_limits<Rep>::digits >= 34, "");
/external/skia/src/utils/
H A DSkFloatUtils.h36 static const int digits = 0; member in struct:SkNumericLimits
41 static const int digits = DBL_MANT_DIG; member in struct:SkNumericLimits
46 static const int digits = FLT_MANT_DIG; member in struct:SkNumericLimits
64 static const size_t kFractionBitCount = SkNumericLimits<RawType>::digits - 1;

Completed in 1972 milliseconds

123456789