Home
last modified time | relevance | path

Searched refs:UNUM_INTEGER_FIELD (Results 1 – 13 of 13) sorted by relevance

/external/icu/icu4c/source/i18n/
Ddigitformatter.cpp35 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()
Dnumber_stringbuilder.cpp317 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()
Dnumber_formatimpl.cpp392 UNUM_INTEGER_FIELD, in writeNumber()
399 UNUM_INTEGER_FIELD, in writeNumber()
446 0, getDigitFromSymbols(nextDigit, *micros.symbols), UNUM_INTEGER_FIELD, status); in writeIntegerDigits()
Dnfrule.cpp1475 FieldPosition position(UNUM_INTEGER_FIELD); in findText()
Dmeasfmt.cpp1053 FieldPosition intFieldPosition(UNUM_INTEGER_FIELD); in formatNumeric()
/external/icu/icu4c/source/test/intltest/
Dnumberformat2test.cpp680 {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 …]
Dnumbertest_stringbuilder.cpp150 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()
Dcompactdecimalformattest.cpp255 FieldPosition fp(UNUM_INTEGER_FIELD); in TestFieldPosition()
312 pos.setField(UNUM_INTEGER_FIELD); in TestAPIVariants()
Dnumbertest_modifiers.cpp122 sb.append("123", UNUM_INTEGER_FIELD, status); in testCurrencySpacingEnabledModifier()
Dnumfmtst.cpp6810 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/
Dnumfmt.h220 kIntegerField = UNUM_INTEGER_FIELD,
247 INTEGER_FIELD = UNUM_INTEGER_FIELD,
Dunum.h353 UNUM_INTEGER_FIELD, enumerator
/external/icu/icu4c/source/test/cintltst/
Dcnumtst.c264 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 },