Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DPropertiesAffixPatternProvider.java12 private final String negPrefix; field in PropertiesAffixPatternProvider
67 negPrefix = npo; in PropertiesAffixPatternProvider()
69 negPrefix = npp; in PropertiesAffixPatternProvider()
73 negPrefix = ppp == null ? "-" : "-" + ppp; in PropertiesAffixPatternProvider()
109 return negPrefix; in getString()
129 negPrefix.length() != posPrefix.length() + 1 || in hasNegativeSubpattern()
130 !negPrefix.regionMatches(1, posPrefix, 0, posPrefix.length()) || in hasNegativeSubpattern()
131 negPrefix.charAt(0) != '-' in hasNegativeSubpattern()
137 return AffixUtils.containsType(negPrefix, AffixUtils.TYPE_MINUS_SIGN) in negativeHasMinusSign()
149 … || AffixUtils.containsType(negPrefix, type) || AffixUtils.containsType(negSuffix, type); in containsSymbolType()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPropertiesAffixPatternProvider.java8 private final String negPrefix; field in PropertiesAffixPatternProvider
63 negPrefix = npo; in PropertiesAffixPatternProvider()
65 negPrefix = npp; in PropertiesAffixPatternProvider()
69 negPrefix = ppp == null ? "-" : "-" + ppp; in PropertiesAffixPatternProvider()
105 return negPrefix; in getString()
125 negPrefix.length() != posPrefix.length() + 1 || in hasNegativeSubpattern()
126 !negPrefix.regionMatches(1, posPrefix, 0, posPrefix.length()) || in hasNegativeSubpattern()
127 negPrefix.charAt(0) != '-' in hasNegativeSubpattern()
133 return AffixUtils.containsType(negPrefix, AffixUtils.TYPE_MINUS_SIGN) in negativeHasMinusSign()
145 … || AffixUtils.containsType(negPrefix, type) || AffixUtils.containsType(negSuffix, type); in containsSymbolType()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_mapper.cpp360 negPrefix = npo; in setTo()
362 negPrefix = npp; in setTo()
366 negPrefix = ppp.isBogus() ? u"-" : u"-" + ppp; in setTo()
403 return negPrefix; in getStringInternal()
423 negPrefix.tempSubString(1) != posPrefix || in hasNegativeSubpattern()
424 negPrefix.charAt(0) != u'-' in hasNegativeSubpattern()
430 return AffixUtils::containsType(negPrefix, TYPE_MINUS_SIGN, localStatus) || in negativeHasMinusSign()
441 AffixUtils::containsType(negPrefix, type, status) || in containsSymbolType()
Dnumber_mapper.h62 UnicodeString negPrefix; variable
/third_party/icu/icu4c/source/i18n/
Dnumber_mapper.cpp360 negPrefix = npo; in setTo()
362 negPrefix = npp; in setTo()
366 negPrefix = ppp.isBogus() ? u"-" : u"-" + ppp; in setTo()
403 return negPrefix; in getStringInternal()
423 negPrefix.tempSubString(1) != posPrefix || in hasNegativeSubpattern()
424 negPrefix.charAt(0) != u'-' in hasNegativeSubpattern()
430 return AffixUtils::containsType(negPrefix, TYPE_MINUS_SIGN, localStatus) || in negativeHasMinusSign()
441 AffixUtils::containsType(negPrefix, type, status) || in containsSymbolType()
Dnumber_mapper.h62 UnicodeString negPrefix; variable
/third_party/node/deps/icu-small/source/i18n/
Dnumber_mapper.cpp360 negPrefix = npo; in setTo()
362 negPrefix = npp; in setTo()
366 negPrefix = ppp.isBogus() ? u"-" : u"-" + ppp; in setTo()
406 return negPrefix; in getStringInternal()
426 negPrefix.tempSubString(1) != posPrefix || in hasNegativeSubpattern()
427 negPrefix.charAt(0) != u'-' in hasNegativeSubpattern()
433 return AffixUtils::containsType(negPrefix, TYPE_MINUS_SIGN, localStatus) || in negativeHasMinusSign()
444 AffixUtils::containsType(negPrefix, type, status) || in containsSymbolType()
Dnumber_mapper.h64 UnicodeString negPrefix; variable
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_mapper.cpp365 negPrefix = npo; in setTo()
367 negPrefix = npp; in setTo()
371 negPrefix = ppp.isBogus() ? u"-" : u"-" + ppp; in setTo()
400 return negPrefix; in getStringInternal()
424 return AffixUtils::containsType(negPrefix, TYPE_MINUS_SIGN, localStatus) || in negativeHasMinusSign()
432 AffixUtils::hasCurrencySymbols(negPrefix, localStatus) || in hasCurrencySign()
439 AffixUtils::containsType(negPrefix, type, status) || in containsSymbolType()
Dnumber_mapper.h64 UnicodeString negPrefix; variable
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java196 String negPrefix; in TestAPI() local
198 negPrefix = pat.getNegativePrefix(); in TestAPI()
199 logln("Negative prefix (should be -): " + negPrefix); in TestAPI()
200 assertEquals("ERROR: setNegativePrefix() failed", "-", negPrefix); in TestAPI()
DIntlTestDecimalFormatAPIC.java155 String negPrefix; in TestAPI() local
157 negPrefix = pat.getNegativePrefix(); in TestAPI()
158 logln("Negative prefix (should be -): " + negPrefix); in TestAPI()
159 assertEquals("ERROR: setNegativePrefix() failed", "-", negPrefix); in TestAPI()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java199 String negPrefix; in TestAPI() local
201 negPrefix = pat.getNegativePrefix(); in TestAPI()
202 logln("Negative prefix (should be -): " + negPrefix); in TestAPI()
203 assertEquals("ERROR: setNegativePrefix() failed", "-", negPrefix); in TestAPI()
DIntlTestDecimalFormatAPIC.java158 String negPrefix; in TestAPI() local
160 negPrefix = pat.getNegativePrefix(); in TestAPI()
161 logln("Negative prefix (should be -): " + negPrefix); in TestAPI()
162 assertEquals("ERROR: setNegativePrefix() failed", "-", negPrefix); in TestAPI()
/third_party/icu/icu4c/source/test/intltest/
Ddcfmapts.cpp291 UnicodeString negPrefix; in testAPI() local
293 negPrefix = pat.getNegativePrefix(negPrefix); in testAPI()
294 logln((UnicodeString)"Negative prefix (should be -): " + negPrefix); in testAPI()
295 if(negPrefix != "-") { in testAPI()