Searched defs:digits (Results 1 - 25 of 93) sorted by relevance

1234

/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);
H A DActionScriptTarget.java116 private void writeHexWithPadding(StringBuffer buf, String digits) { argument
117 digits = digits.toUpperCase();
118 int padding = 8 - digits.length();
123 buf.append(digits);
/external/icu/icu4c/source/samples/datefmt/
H A Dutil.cpp22 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/icu/icu4c/source/samples/msgfmt/
H A Dutil.cpp22 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/icu/icu4c/source/samples/translit/
H A Dutil.cpp22 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/icu/icu4c/source/tools/genrb/
H A Drbutil.c68 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/icu/icu4c/source/i18n/
H A DdecNumber.h60 /* 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:__anon5667
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 Ddigitlst.h36 // 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...]
H A Drbt_set.cpp77 int32_t digits,
83 while (digits--) {
84 target += digitString[(number >> (digits*4)) & 0xF];
76 _appendHex(uint32_t number, int32_t digits, UnicodeString& target) argument
H A Dregexcmp.cpp992 // Init the counter varaiables that will accumulate the values as the digits
1279 // the regular expression, because the number of digits to be consumed
1288 // Loop once per digit, for max allowed number of digits in a back reference.
1568 UnicodeSet digits; local
1570 digits.applyIntPropertyValue(UCHAR_GENERAL_CATEGORY_MASK, U_GC_ND_MASK, *fStatus);
1571 digits.complement();
1572 set->addAll(digits);
4103 // which are \0 followed by 1-3 octal digits.
4106 // Java also has the convention of only consuming 2 octal digits if
4116 // \0 is not followed by any octal digits
[all...]
/external/icu/icu4c/source/samples/numfmt/
H A Dutil.cpp33 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
H A DUtils.java46 * - Sequences of 0 digits and their units are replaced by a single 0 and no unit.
47 * - If there are two such sequences of 0 digits in a level (1000's and 10's), the 1000's 0 is also omitted.
60 return String.valueOf(zh.digits[(int)n]);
65 char[] digits = String.valueOf(n).toCharArray();
67 // first, generate all the digits in place
73 for (int i = digits.length, u = -1, l = -1; --i >= 0;) {
88 int d = digits[i] - '0';
96 buf[--x] = zh.digits[0];
102 buf[--x] = zh.digits[d];
122 if (buf[i] == zh.digits[
187 final char[] digits; field in class:Utils.ChineseDigits
193 ChineseDigits(String digits, String units, String levels, char liang, boolean ko) argument
[all...]
/external/markdown/markdown/extensions/
H A Dheaderid.py71 from string import ascii_lowercase, digits, punctuation namespace
73 ID_CHARS = ascii_lowercase + digits + '-_'
/external/tcpdump/missing/
H A Dinet_ntop.c66 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 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/icu/icu4c/source/test/intltest/
H A Dintltest.h357 // digits=-1 determines the number of digits automatically
358 static UnicodeString &appendHex(uint32_t number, int32_t digits, UnicodeString &target);
359 static UnicodeString toHex(uint32_t number, int32_t digits=-1);
360 static inline UnicodeString toHex(int32_t number, int32_t digits=-1) { argument
361 return toHex((uint32_t)number, digits);
/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;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DDateNumberFormat.java32 private char[] digits; field in class:DateNumberFormat
37 private static final int DECIMAL_BUF_SIZE = 20; // 20 digits is good enough to store Long.MAX_VALUE
84 digits = new char[10];
85 System.arraycopy(elems, 0, digits, 0, 10);
86 zeroDigit = digits[0];
118 if (digits == null) {
119 digits = new char[10];
121 digits[0] = zero;
123 digits[i] = (char)(zero+i);
128 return digits
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
H A DMathContext.java23 /* 1998.06.25 Rename from DecimalContext; allow digits=0 */
43 * <li><code>digits</code>:
44 * the number of digits (precision) to be used for an operation
48 * whether checking for lost digits is enabled
124 public static final int ENGINEERING=2; // 1-3 digits before .
132 * If any of the discarded digits are non-zero then the result
143 * All discarded digits are ignored (truncated). The result is
154 * If any of the discarded digits are non-zero then the result
166 * If the discarded digits represent greater than half (0.5 times)
168 * rounded up (away from zero). Otherwise the discarded digits ar
245 int digits; field in class:MathContext
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DDigitList.java29 * characters, which are the digits radix 10, from '0' to '9'. It also has a
32 * <em>f</em>, where 0 <= <em>f</em> < 1, derived by placing all the digits of
46 * The maximum number of significant digits in an IEEE 754 double, that
47 * is, in a Java double. This must not be increased, or garbage digits
57 * digits[decimalAt]. If decimalAt is < 0, then leading zeros between
59 * is > count, then trailing zeros between the digits[count-1] and the
63 * f is a value 0.1 <= f < 1 arrived at by placing the digits in Digits to
69 * digits present in digits[].
71 * Zero is represented by any DigitList with count == 0 or with each digits[
76 public byte[] digits = new byte[MAX_LONG_DIGITS]; field in class:DigitList
[all...]
/external/jemalloc/src/
H A Dutil.c138 * possible to tell whether any digits are consumed (e.g., " 0" vs.
230 const char *digits = (uppercase) local
236 s[i] = digits[x & 0xf];
241 const char *digits = (uppercase) local
248 s[i] = digits[x % (uint64_t)base];
/external/jhead/
H A Dgpsinfo.c212 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/opencv/cxcore/src/
H A Dcxdxt.cpp223 int digits[34], radix[34]; local
261 digits[nf] = 0;
264 digits[i] = 0;
307 digits[1]++;
318 for( k = 1; ++digits[k] >= factors[k]; k++ )
320 digits[k] = 0;
334 for( k = 0; ++digits[k] >= factors[k]; k++ )
336 digits[k] = 0;
/external/opencv/otherlibs/highgui/
H A Dgrfmt_pxm.cpp87 int digits = 0; local
115 if( ++digits >= maxdigits ) break;
/external/pdfium/core/src/fxcrt/
H A Dfx_basic_gcc.cpp45 int digits = 1; local
48 digits++;
51 for (int d = digits - 1; d > -1; d--) {
55 string[digits + i] = 0;

Completed in 1309 milliseconds

1234