/external/icu/icu4c/source/i18n/ |
D | digitformatter.cpp | 35 fInfinity.setTo(UnicodeString("Inf", -1, US_INV), UNUM_INTEGER_FIELD); in DigitFormatter() 36 fNan.setTo(UnicodeString("Nan", -1, US_INV), UNUM_INTEGER_FIELD); in DigitFormatter() 59 …fInfinity.setTo(symbols.getConstSymbol(DecimalFormatSymbols::kInfinitySymbol), UNUM_INTEGER_FIELD); in setOtherDecimalFormatSymbols() 60 fNan.setTo(symbols.getConstSymbol(DecimalFormatSymbols::kNaNSymbol), UNUM_INTEGER_FIELD); in setOtherDecimalFormatSymbols() 185 handler.addAttribute(UNUM_INTEGER_FIELD, intBegin, appendTo.length()); in format() 220 handler.addAttribute(UNUM_INTEGER_FIELD, intBegin, appendTo.length()); in format() 367 handler.addAttribute(UNUM_INTEGER_FIELD, begin, appendTo.length()); in formatPositiveInt32() 376 UNUM_INTEGER_FIELD, in formatPositiveInt32()
|
D | number_stringbuilder.cpp | 317 case UNUM_INTEGER_FIELD: in toDebugString() 397 if (field == UNUM_INTEGER_FIELD && _field == UNUM_GROUPING_SEPARATOR_FIELD) { in populateFieldPosition() 406 if (_field == UNUM_INTEGER_FIELD || _field == UNUM_DECIMAL_SEPARATOR_FIELD) { in populateFieldPosition() 429 if (current == UNUM_INTEGER_FIELD && field == UNUM_GROUPING_SEPARATOR_FIELD) { in populateFieldPositionIterator()
|
D | number_formatimpl.cpp | 392 UNUM_INTEGER_FIELD, in writeNumber() 399 UNUM_INTEGER_FIELD, in writeNumber() 446 0, getDigitFromSymbols(nextDigit, *micros.symbols), UNUM_INTEGER_FIELD, status); in writeIntegerDigits()
|
D | nfrule.cpp | 1475 FieldPosition position(UNUM_INTEGER_FIELD); in findText()
|
D | measfmt.cpp | 1053 FieldPosition intFieldPosition(UNUM_INTEGER_FIELD); in formatNumeric()
|
/external/icu/icu4c/source/test/intltest/ |
D | numberformat2test.cpp | 680 {UNUM_INTEGER_FIELD, 0, 4}, in TestPositiveIntDigitFormatter() 692 {UNUM_INTEGER_FIELD, 0, 5}, in TestPositiveIntDigitFormatter() 704 {UNUM_INTEGER_FIELD, 0, 5}, in TestPositiveIntDigitFormatter() 716 {UNUM_INTEGER_FIELD, 0, 3}, in TestPositiveIntDigitFormatter() 728 {UNUM_INTEGER_FIELD, 0, 10}, in TestPositiveIntDigitFormatter() 740 {UNUM_INTEGER_FIELD, 0, 12}, in TestPositiveIntDigitFormatter() 754 {UNUM_INTEGER_FIELD, 0, 40}, in TestPositiveIntDigitFormatter() 766 {UNUM_INTEGER_FIELD, 0, 4}, in TestPositiveIntDigitFormatter() 778 {UNUM_INTEGER_FIELD, 0, 1}, in TestPositiveIntDigitFormatter() 790 {UNUM_INTEGER_FIELD, 0, 1}, in TestPositiveIntDigitFormatter() [all …]
|
D | numbertest_stringbuilder.cpp | 150 sb.insertCodePoint(2, 100, UNUM_INTEGER_FIELD, status); in testFields() 153 assertEquals("Integer field", UNUM_INTEGER_FIELD, sb.fieldAt(2)); in testFields() 169 } else if (field == UNUM_INTEGER_FIELD) { in testFields()
|
D | compactdecimalformattest.cpp | 255 FieldPosition fp(UNUM_INTEGER_FIELD); in TestFieldPosition() 312 pos.setField(UNUM_INTEGER_FIELD); in TestAPIVariants()
|
D | numbertest_modifiers.cpp | 122 sb.append("123", UNUM_INTEGER_FIELD, status); in testCurrencySpacingEnabledModifier()
|
D | numfmtst.cpp | 6810 UNUM_INTEGER_FIELD, 1, 7, in TestFormatAttributes() 6822 FieldPosition fp(UNUM_INTEGER_FIELD); in TestFormatAttributes() 6825 expectPosition(fp, UNUM_INTEGER_FIELD, 1, 7, result); in TestFormatAttributes() 6840 UNUM_INTEGER_FIELD, 1, 2, in TestFormatAttributes() 6855 FieldPosition fp(UNUM_INTEGER_FIELD); in TestFormatAttributes() 6858 expectPosition(fp, UNUM_INTEGER_FIELD, 1, 2, result); in TestFormatAttributes() 6873 case UNUM_INTEGER_FIELD: return "integer"; in attrString() 8595 {UNUM_INTEGER_FIELD, 0, 2}, in Test11868() 8618 {UNUM_INTEGER_FIELD, 1, 6}, in Test11868() 8699 {UNUM_INTEGER_FIELD, 1, 2}, in Test11475_signRecognition() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | numfmt.h | 220 kIntegerField = UNUM_INTEGER_FIELD, 247 INTEGER_FIELD = UNUM_INTEGER_FIELD,
|
D | unum.h | 353 UNUM_INTEGER_FIELD, enumerator
|
/external/icu/icu4c/source/test/cintltst/ |
D | cnumtst.c | 264 pos1.field = UNUM_INTEGER_FIELD; in TestNumberFormat() 354 pos2.field = UNUM_INTEGER_FIELD; in TestNumberFormat() 2963 { UNUM_INTEGER_FIELD /*0*/, 1, 8 }, 2971 { UNUM_INTEGER_FIELD /*0*/, 1, 3 }, 2978 { UNUM_INTEGER_FIELD /*0*/, 0, 7 }, 2986 { UNUM_INTEGER_FIELD /*0*/, 1, 3 },
|