Home
last modified time | relevance | path

Searched refs:negSuffix (Results 1 – 15 of 15) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DPropertiesAffixPatternProvider.java13 private final String negSuffix; field in PropertiesAffixPatternProvider
77 negSuffix = nso; in PropertiesAffixPatternProvider()
79 negSuffix = nsp; in PropertiesAffixPatternProvider()
82 negSuffix = psp == null ? "" : psp; in PropertiesAffixPatternProvider()
113 return negSuffix; in getString()
128 negSuffix != posSuffix || in hasNegativeSubpattern()
138 || AffixUtils.containsType(negSuffix, AffixUtils.TYPE_MINUS_SIGN); in negativeHasMinusSign()
149 … || AffixUtils.containsType(negPrefix, type) || AffixUtils.containsType(negSuffix, type); in containsSymbolType()
167 + negSuffix in toString()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPropertiesAffixPatternProvider.java9 private final String negSuffix; field in PropertiesAffixPatternProvider
73 negSuffix = nso; in PropertiesAffixPatternProvider()
75 negSuffix = nsp; in PropertiesAffixPatternProvider()
78 negSuffix = psp == null ? "" : psp; in PropertiesAffixPatternProvider()
109 return negSuffix; in getString()
124 negSuffix != posSuffix || in hasNegativeSubpattern()
134 || AffixUtils.containsType(negSuffix, AffixUtils.TYPE_MINUS_SIGN); in negativeHasMinusSign()
145 … || AffixUtils.containsType(negPrefix, type) || AffixUtils.containsType(negSuffix, type); in containsSymbolType()
163 + negSuffix in toString()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_mapper.cpp375 negSuffix = nso; in setTo()
377 negSuffix = nsp; in setTo()
380 negSuffix = psp.isBogus() ? u"" : psp; in setTo()
404 return negSuffix; in getStringInternal()
425 AffixUtils::containsType(negSuffix, TYPE_MINUS_SIGN, localStatus); in negativeHasMinusSign()
433 AffixUtils::hasCurrencySymbols(negSuffix, localStatus); in hasCurrencySign()
440 AffixUtils::containsType(negSuffix, type, status); in containsSymbolType()
Dnumber_mapper.h65 UnicodeString negSuffix; variable
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_mapper.cpp370 negSuffix = nso; in setTo()
372 negSuffix = nsp; in setTo()
375 negSuffix = psp.isBogus() ? u"" : psp; in setTo()
407 return negSuffix; in getStringInternal()
422 (negSuffix != posSuffix) || in hasNegativeSubpattern()
431 AffixUtils::containsType(negSuffix, TYPE_MINUS_SIGN, localStatus); in negativeHasMinusSign()
442 AffixUtils::containsType(negSuffix, type, status); in containsSymbolType()
Dnumber_mapper.h63 UnicodeString negSuffix; variable
/third_party/icu/icu4c/source/i18n/
Dnumber_mapper.cpp370 negSuffix = nso; in setTo()
372 negSuffix = nsp; in setTo()
375 negSuffix = psp.isBogus() ? u"" : psp; in setTo()
407 return negSuffix; in getStringInternal()
422 (negSuffix != posSuffix) || in hasNegativeSubpattern()
431 AffixUtils::containsType(negSuffix, TYPE_MINUS_SIGN, localStatus); in negativeHasMinusSign()
442 AffixUtils::containsType(negSuffix, type, status); in containsSymbolType()
Dnumber_mapper.h63 UnicodeString negSuffix; variable
/third_party/node/deps/icu-small/source/i18n/
Dnumber_mapper.cpp370 negSuffix = nso; in setTo()
372 negSuffix = nsp; in setTo()
375 negSuffix = psp.isBogus() ? u"" : psp; in setTo()
410 return negSuffix; in getStringInternal()
425 (negSuffix != posSuffix) || in hasNegativeSubpattern()
434 AffixUtils::containsType(negSuffix, TYPE_MINUS_SIGN, localStatus); in negativeHasMinusSign()
445 AffixUtils::containsType(negSuffix, type, status); in containsSymbolType()
Dnumber_mapper.h65 UnicodeString negSuffix; variable
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java208 String negSuffix; in TestAPI() local
210 negSuffix = pat.getNegativeSuffix(); in TestAPI()
211 logln("Negative suffix (should be ~): " + negSuffix); in TestAPI()
212 assertEquals("ERROR: setNegativeSuffix() failed", "~", negSuffix); in TestAPI()
DIntlTestDecimalFormatAPIC.java167 String negSuffix; in TestAPI() local
169 negSuffix = pat.getNegativeSuffix(); in TestAPI()
170 logln("Negative suffix (should be ~): " + negSuffix); in TestAPI()
171 assertEquals("ERROR: setNegativeSuffix() failed", "~", negSuffix); in TestAPI()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java211 String negSuffix; in TestAPI() local
213 negSuffix = pat.getNegativeSuffix(); in TestAPI()
214 logln("Negative suffix (should be ~): " + negSuffix); in TestAPI()
215 assertEquals("ERROR: setNegativeSuffix() failed", "~", negSuffix); in TestAPI()
DIntlTestDecimalFormatAPIC.java170 String negSuffix; in TestAPI() local
172 negSuffix = pat.getNegativeSuffix(); in TestAPI()
173 logln("Negative suffix (should be ~): " + negSuffix); in TestAPI()
174 assertEquals("ERROR: setNegativeSuffix() failed", "~", negSuffix); in TestAPI()
/third_party/icu/icu4c/source/test/intltest/
Ddcfmapts.cpp307 UnicodeString negSuffix; in testAPI() local
309 negSuffix = pat.getNegativeSuffix(negSuffix); in testAPI()
310 logln((UnicodeString)"Negative suffix (should be ~): " + negSuffix); in testAPI()
311 if(negSuffix != "~") { in testAPI()