Searched refs:fieldAt (Results 1 – 10 of 10) sorted by relevance
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | CurrencySpacingEnabledModifier.java | 40 … if (prefix.length() > 0 && prefix.fieldAt(prefix.length() - 1) == NumberFormat.Field.CURRENCY) { in CurrencySpacingEnabledModifier() 55 if (suffix.length() > 0 && suffix.fieldAt(0) == NumberFormat.Field.CURRENCY) { in CurrencySpacingEnabledModifier() 125 NumberFormat.Field affixField = (affix == PREFIX) ? output.fieldAt(index - 1) in applyCurrencySpacingAffix() 126 : output.fieldAt(index); in applyCurrencySpacingAffix()
|
D | NumberStringBuilder.java | 73 public Field fieldAt(int index) { 262 this.fields[position + i] = other.fieldAt(i); 467 if (charAt(i) != other.charAt(i) || fieldAt(i) != other.fieldAt(i)) {
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | CurrencySpacingEnabledModifier.java | 42 … if (prefix.length() > 0 && prefix.fieldAt(prefix.length() - 1) == NumberFormat.Field.CURRENCY) { in CurrencySpacingEnabledModifier() 57 if (suffix.length() > 0 && suffix.fieldAt(0) == NumberFormat.Field.CURRENCY) { in CurrencySpacingEnabledModifier() 127 NumberFormat.Field affixField = (affix == PREFIX) ? output.fieldAt(index - 1) in applyCurrencySpacingAffix() 128 : output.fieldAt(index); in applyCurrencySpacingAffix()
|
D | NumberStringBuilder.java | 75 public Field fieldAt(int index) { 264 this.fields[position + i] = other.fieldAt(i); 469 if (charAt(i) != other.charAt(i) || fieldAt(i) != other.fieldAt(i)) {
|
/external/icu/icu4c/source/i18n/ |
D | number_stringbuilder.cpp | 238 getFieldPtr()[position + i] = other.fieldAt(i); in insert() 353 if (fieldAt(i) == UNUM_FIELD_COUNT) { in toDebugString() 357 switch (fieldAt(i)) { in toDebugString() 411 if (charAt(i) != other.charAt(i) || fieldAt(i) != other.fieldAt(i)) { in contentEquals() 471 Field field = fieldAt(i); in getAllFieldPositions() 493 if (field == fieldAt(i)) { in containsField()
|
D | number_modifiers.cpp | 347 if (prefix.length() > 0 && prefix.fieldAt(prefix.length() - 1) == UNUM_CURRENCY_FIELD) { in CurrencySpacingEnabledModifier() 362 if (suffix.length() > 0 && suffix.fieldAt(0) == UNUM_CURRENCY_FIELD) { in CurrencySpacingEnabledModifier() 426 Field affixField = (affix == PREFIX) ? output.fieldAt(index - 1) : output.fieldAt(index); in applyCurrencySpacingAffix()
|
D | number_stringbuilder.h | 54 inline Field fieldAt(int32_t index) const { in fieldAt() function
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_stringbuilder.cpp | 187 assertEquals("Null field first", UNUM_FIELD_COUNT, sb.fieldAt(i)); in testFields() 188 … assertEquals("Currency field second", UNUM_CURRENCY_FIELD, sb.fieldAt(i + str.length())); in testFields() 203 assertEquals("Integer field", UNUM_INTEGER_FIELD, sb.fieldAt(2)); in testFields() 213 UNumberFormatFields field = sb.fieldAt(i); in testFields() 214 … assertEquals("Field should equal location in old", old.fieldAt(i % old.length()), field); in testFields()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberStringBuilderTest.java | 165 assertEquals(null, sb.fieldAt(i)); in testFields() 167 assertEquals(NumberFormat.Field.CURRENCY, sb.fieldAt(i + str.length())); in testFields()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberStringBuilderTest.java | 168 assertEquals(null, sb.fieldAt(i)); in testFields() 170 assertEquals(NumberFormat.Field.CURRENCY, sb.fieldAt(i + str.length())); in testFields()
|