Home
last modified time | relevance | path

Searched refs:fieldAt (Results 1 – 19 of 19) sorted by relevance

/third_party/node/deps/icu-small/source/i18n/
Dformatted_string_builder.cpp239 getFieldPtr()[position + i] = other.fieldAt(i); in insert()
371 if (fieldAt(i) == kUndefinedField) { in toDebugString()
373 } else if (fieldAt(i).getCategory() == UFIELD_CATEGORY_NUMBER) { in toDebugString()
375 switch (fieldAt(i).getField()) { in toDebugString()
410 c = u'0' + fieldAt(i).getField(); in toDebugString()
415 sb.append(u'0' + fieldAt(i).getCategory()); in toDebugString()
431 if (charAt(i) != other.charAt(i) || fieldAt(i) != other.fieldAt(i)) { in contentEquals()
440 if (field == fieldAt(i)) { in containsField()
Dnumber_modifiers.cpp345 …if (prefix.length() > 0 && prefix.fieldAt(prefix.length() - 1) == Field(UFIELD_CATEGORY_NUMBER, UN… in CurrencySpacingEnabledModifier()
360 …if (suffix.length() > 0 && suffix.fieldAt(0) == Field(UFIELD_CATEGORY_NUMBER, UNUM_CURRENCY_FIELD)… in CurrencySpacingEnabledModifier()
432 Field affixField = (affix == PREFIX) ? output.fieldAt(index - 1) : output.fieldAt(index); in applyCurrencySpacingAffix()
Dformatted_string_builder.h85 inline Field fieldAt(int32_t index) const { in fieldAt() function
/third_party/icu/icu4c/source/i18n/
Dformatted_string_builder.cpp239 getFieldPtr()[position + i] = other.fieldAt(i); in insert()
371 if (fieldAt(i) == kUndefinedField) { in toDebugString()
373 } else if (fieldAt(i).getCategory() == UFIELD_CATEGORY_NUMBER) { in toDebugString()
375 switch (fieldAt(i).getField()) { in toDebugString()
410 c = u'0' + fieldAt(i).getField(); in toDebugString()
415 sb.append(u'0' + fieldAt(i).getCategory()); in toDebugString()
431 if (charAt(i) != other.charAt(i) || fieldAt(i) != other.fieldAt(i)) { in contentEquals()
440 if (field == fieldAt(i)) { in containsField()
Dnumber_modifiers.cpp345 …if (prefix.length() > 0 && prefix.fieldAt(prefix.length() - 1) == Field(UFIELD_CATEGORY_NUMBER, UN… in CurrencySpacingEnabledModifier()
360 …if (suffix.length() > 0 && suffix.fieldAt(0) == Field(UFIELD_CATEGORY_NUMBER, UNUM_CURRENCY_FIELD)… in CurrencySpacingEnabledModifier()
432 Field affixField = (affix == PREFIX) ? output.fieldAt(index - 1) : output.fieldAt(index); in applyCurrencySpacingAffix()
Dformatted_string_builder.h85 inline Field fieldAt(int32_t index) const { in fieldAt() function
/third_party/skia/third_party/externals/icu/source/i18n/
Dformatted_string_builder.cpp239 getFieldPtr()[position + i] = other.fieldAt(i); in insert()
371 if (fieldAt(i) == kUndefinedField) { in toDebugString()
373 } else if (fieldAt(i).getCategory() == UFIELD_CATEGORY_NUMBER) { in toDebugString()
375 switch (fieldAt(i).getField()) { in toDebugString()
410 c = u'0' + fieldAt(i).getField(); in toDebugString()
415 sb.append(u'0' + fieldAt(i).getCategory()); in toDebugString()
431 if (charAt(i) != other.charAt(i) || fieldAt(i) != other.fieldAt(i)) { in contentEquals()
440 if (field == fieldAt(i)) { in containsField()
Dnumber_modifiers.cpp345 …if (prefix.length() > 0 && prefix.fieldAt(prefix.length() - 1) == Field(UFIELD_CATEGORY_NUMBER, UN… in CurrencySpacingEnabledModifier()
360 …if (suffix.length() > 0 && suffix.fieldAt(0) == Field(UFIELD_CATEGORY_NUMBER, UNUM_CURRENCY_FIELD)… in CurrencySpacingEnabledModifier()
432 Field affixField = (affix == PREFIX) ? output.fieldAt(index - 1) : output.fieldAt(index); in applyCurrencySpacingAffix()
Dformatted_string_builder.h85 inline Field fieldAt(int32_t index) const { in fieldAt() function
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DCurrencySpacingEnabledModifier.java43 … if (prefix.length() > 0 && prefix.fieldAt(prefix.length() - 1) == NumberFormat.Field.CURRENCY) { in CurrencySpacingEnabledModifier()
58 if (suffix.length() > 0 && suffix.fieldAt(0) == NumberFormat.Field.CURRENCY) { in CurrencySpacingEnabledModifier()
128 Object affixField = (affix == PREFIX) ? output.fieldAt(index - 1) in applyCurrencySpacingAffix()
129 : output.fieldAt(index); in applyCurrencySpacingAffix()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DCurrencySpacingEnabledModifier.java41 … if (prefix.length() > 0 && prefix.fieldAt(prefix.length() - 1) == NumberFormat.Field.CURRENCY) { in CurrencySpacingEnabledModifier()
56 if (suffix.length() > 0 && suffix.fieldAt(0) == NumberFormat.Field.CURRENCY) { in CurrencySpacingEnabledModifier()
126 Object affixField = (affix == PREFIX) ? output.fieldAt(index - 1) in applyCurrencySpacingAffix()
127 : output.fieldAt(index); in applyCurrencySpacingAffix()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_stringbuilder.cpp238 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()
Dnumber_modifiers.cpp347 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()
Dnumber_stringbuilder.h54 inline Field fieldAt(int32_t index) const { in fieldAt() function
/third_party/icu/icu4c/source/test/intltest/
Dformatted_string_builder_test.cpp222 kUndefinedField.bits, sb.fieldAt(i).bits); in testFields()
225 sb.fieldAt(i + str.length()).bits); in testFields()
242 sb.fieldAt(2).bits); in testFields()
252 auto field = sb.fieldAt(i); in testFields()
254 old.fieldAt(i % old.length()).bits, field.bits); in testFields()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DFormattedStringBuilder.java82 public Object fieldAt(int index) {
292 this.fields[position + i] = other.fieldAt(i);
556 if (charAt(i) != other.charAt(i) || fieldAt(i) != other.fieldAt(i)) {
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DFormattedStringBuilder.java96 public Object fieldAt(int index) {
306 this.fields[position + i] = other.fieldAt(i);
575 if (unwrapField(fieldAt(i)) != unwrapField(other.fieldAt(i))) {
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DFormattedStringBuilderTest.java179 assertEquals(null, sb.fieldAt(i)); in testFields()
181 assertEquals(NumberFormat.Field.CURRENCY, sb.fieldAt(i + str.length())); in testFields()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DFormattedStringBuilderTest.java176 assertEquals(null, sb.fieldAt(i)); in testFields()
178 assertEquals(NumberFormat.Field.CURRENCY, sb.fieldAt(i + str.length())); in testFields()