Home
last modified time | relevance | path

Searched refs:rawField (Results 1 – 6 of 6) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DFormattedValueStringBuilderImpl.java61 java.text.Format.Field rawField = fp.getFieldAttribute(); in nextFieldPosition() local
63 if (rawField == null) { in nextFieldPosition()
66 rawField = NumberFormat.Field.INTEGER; in nextFieldPosition()
68 rawField = NumberFormat.Field.FRACTION; in nextFieldPosition()
75 if (!(rawField instanceof NumberFormat.Field)) { in nextFieldPosition()
78 + rawField.getClass().toString()); in nextFieldPosition()
82 cfpos.constrainField(rawField); in nextFieldPosition()
83 cfpos.setState(rawField, null, fp.getBeginIndex(), fp.getEndIndex()); in nextFieldPosition()
91 if (rawField == NumberFormat.Field.FRACTION && fp.getEndIndex() == 0) { in nextFieldPosition()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DFormattedValueStringBuilderImpl.java87 java.text.Format.Field rawField = fp.getFieldAttribute(); in nextFieldPosition() local
89 if (rawField == null) { in nextFieldPosition()
92 rawField = NumberFormat.Field.INTEGER; in nextFieldPosition()
94 rawField = NumberFormat.Field.FRACTION; in nextFieldPosition()
101 if (!(rawField instanceof NumberFormat.Field)) { in nextFieldPosition()
104 + rawField.getClass().toString()); in nextFieldPosition()
108 cfpos.constrainField(rawField); in nextFieldPosition()
109 cfpos.setState(rawField, null, fp.getBeginIndex(), fp.getEndIndex()); in nextFieldPosition()
117 if (rawField == NumberFormat.Field.FRACTION && fp.getEndIndex() == 0) { in nextFieldPosition()
/third_party/node/deps/icu-small/source/i18n/
Dformattedval_sbimpl.cpp53 int32_t rawField = fp.getField(); in nextFieldPosition() local
55 if (rawField == FieldPosition::DONT_CARE) { in nextFieldPosition()
59 if (rawField < 0 || rawField >= UNUM_FIELD_COUNT) { in nextFieldPosition()
65 cfpos.constrainField(UFIELD_CATEGORY_NUMBER, rawField); in nextFieldPosition()
66 cfpos.setState(UFIELD_CATEGORY_NUMBER, rawField, fp.getBeginIndex(), fp.getEndIndex()); in nextFieldPosition()
74 if (rawField == UNUM_FRACTION_FIELD && fp.getEndIndex() == 0) { in nextFieldPosition()
/third_party/skia/third_party/externals/icu/source/i18n/
Dformattedval_sbimpl.cpp53 int32_t rawField = fp.getField(); in nextFieldPosition() local
55 if (rawField == FieldPosition::DONT_CARE) { in nextFieldPosition()
59 if (rawField < 0 || rawField >= UNUM_FIELD_COUNT) { in nextFieldPosition()
65 cfpos.constrainField(UFIELD_CATEGORY_NUMBER, rawField); in nextFieldPosition()
66 cfpos.setState(UFIELD_CATEGORY_NUMBER, rawField, fp.getBeginIndex(), fp.getEndIndex()); in nextFieldPosition()
74 if (rawField == UNUM_FRACTION_FIELD && fp.getEndIndex() == 0) { in nextFieldPosition()
/third_party/icu/icu4c/source/i18n/
Dformattedval_sbimpl.cpp53 int32_t rawField = fp.getField(); in nextFieldPosition() local
55 if (rawField == FieldPosition::DONT_CARE) { in nextFieldPosition()
59 if (rawField < 0 || rawField >= UNUM_FIELD_COUNT) { in nextFieldPosition()
65 cfpos.constrainField(UFIELD_CATEGORY_NUMBER, rawField); in nextFieldPosition()
66 cfpos.setState(UFIELD_CATEGORY_NUMBER, rawField, fp.getBeginIndex(), fp.getEndIndex()); in nextFieldPosition()
74 if (rawField == UNUM_FRACTION_FIELD && fp.getEndIndex() == 0) { in nextFieldPosition()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_stringbuilder.cpp419 int32_t rawField = fp.getField(); in nextFieldPosition() local
421 if (rawField == FieldPosition::DONT_CARE) { in nextFieldPosition()
425 if (rawField < 0 || rawField >= UNUM_FIELD_COUNT) { in nextFieldPosition()
430 auto field = static_cast<Field>(rawField); in nextFieldPosition()