Home
last modified time | relevance | path

Searched refs:posSuffix (Results 1 – 25 of 27) sorted by relevance

12

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DPropertiesAffixPatternProvider.java11 private final String posSuffix; field in PropertiesAffixPatternProvider
58 posSuffix = pso; in PropertiesAffixPatternProvider()
60 posSuffix = psp; in PropertiesAffixPatternProvider()
63 posSuffix = ""; in PropertiesAffixPatternProvider()
115 return posSuffix; in getString()
122 || AffixUtils.containsType(posSuffix, AffixUtils.TYPE_PLUS_SIGN); in positiveHasPlusSign()
128 negSuffix != posSuffix || in hasNegativeSubpattern()
148 return AffixUtils.containsType(posPrefix, type) || AffixUtils.containsType(posSuffix, type) in containsSymbolType()
163 + posSuffix in toString()
DPatternStringParser.java659 String posSuffix = patternInfo.getString(0); in patternInfoToProperties() local
666 + AffixUtils.estimateLength(posSuffix); in patternInfoToProperties()
692 properties.setPositiveSuffixPattern(posSuffix); in patternInfoToProperties()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPropertiesAffixPatternProvider.java7 private final String posSuffix; field in PropertiesAffixPatternProvider
54 posSuffix = pso; in PropertiesAffixPatternProvider()
56 posSuffix = psp; in PropertiesAffixPatternProvider()
59 posSuffix = ""; in PropertiesAffixPatternProvider()
111 return posSuffix; in getString()
118 || AffixUtils.containsType(posSuffix, AffixUtils.TYPE_PLUS_SIGN); in positiveHasPlusSign()
124 negSuffix != posSuffix || in hasNegativeSubpattern()
144 return AffixUtils.containsType(posPrefix, type) || AffixUtils.containsType(posSuffix, type) in containsSymbolType()
159 + posSuffix in toString()
DPatternStringParser.java653 String posSuffix = patternInfo.getString(0); in patternInfoToProperties() local
660 + AffixUtils.estimateLength(posSuffix); in patternInfoToProperties()
686 properties.setPositiveSuffixPattern(posSuffix); in patternInfoToProperties()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_mapper.cpp356 posSuffix = pso; in setTo()
358 posSuffix = psp; in setTo()
361 posSuffix = u""; in setTo()
406 return posSuffix; in getStringInternal()
414 AffixUtils::containsType(posSuffix, TYPE_PLUS_SIGN, localStatus); in positiveHasPlusSign()
431 AffixUtils::hasCurrencySymbols(posSuffix, localStatus) || in hasCurrencySign()
438 AffixUtils::containsType(posSuffix, type, status) || in containsSymbolType()
Dnumparse_affixes.cpp313 AffixPatternMatcher* posSuffix = nullptr; in createAffixMatchers() local
337 posSuffix = suffix; in createAffixMatchers()
338 } else if (equals(prefix, posPrefix) && equals(suffix, posSuffix)) { in createAffixMatchers()
354 if (signum == 1 || !equals(suffix, posSuffix)) { in createAffixMatchers()
Dnumber_mapper.h63 UnicodeString posSuffix; variable
Dnumber_patternstring.cpp589 UnicodeString posSuffix = patternInfo.getString(0); in patternInfoToProperties() local
596 AffixUtils::estimateLength(posSuffix, status); in patternInfoToProperties()
621 properties.positiveSuffixPattern = posSuffix; in patternInfoToProperties()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_mapper.cpp351 posSuffix = pso; in setTo()
353 posSuffix = psp; in setTo()
356 posSuffix = u""; in setTo()
409 return posSuffix; in getStringInternal()
417 AffixUtils::containsType(posSuffix, TYPE_PLUS_SIGN, localStatus); in positiveHasPlusSign()
422 (negSuffix != posSuffix) || in hasNegativeSubpattern()
440 AffixUtils::containsType(posSuffix, type, status) || in containsSymbolType()
Dnumparse_affixes.cpp280 AffixPatternMatcher* posSuffix = nullptr; in createAffixMatchers() local
316 posSuffix = suffix; in createAffixMatchers()
317 } else if (equals(prefix, posPrefix) && equals(suffix, posSuffix)) { in createAffixMatchers()
333 if (type == PATTERN_SIGN_TYPE_POS || !equals(suffix, posSuffix)) { in createAffixMatchers()
Dnumber_mapper.h61 UnicodeString posSuffix; variable
Dnumber_patternstring.cpp590 UnicodeString posSuffix = patternInfo.getString(0); in patternInfoToProperties() local
597 AffixUtils::estimateLength(posSuffix, status); in patternInfoToProperties()
622 properties.positiveSuffixPattern = posSuffix; in patternInfoToProperties()
/third_party/icu/icu4c/source/i18n/
Dnumber_mapper.cpp351 posSuffix = pso; in setTo()
353 posSuffix = psp; in setTo()
356 posSuffix = u""; in setTo()
409 return posSuffix; in getStringInternal()
417 AffixUtils::containsType(posSuffix, TYPE_PLUS_SIGN, localStatus); in positiveHasPlusSign()
422 (negSuffix != posSuffix) || in hasNegativeSubpattern()
440 AffixUtils::containsType(posSuffix, type, status) || in containsSymbolType()
Dnumparse_affixes.cpp280 AffixPatternMatcher* posSuffix = nullptr; in createAffixMatchers() local
316 posSuffix = suffix; in createAffixMatchers()
317 } else if (equals(prefix, posPrefix) && equals(suffix, posSuffix)) { in createAffixMatchers()
333 if (type == PATTERN_SIGN_TYPE_POS || !equals(suffix, posSuffix)) { in createAffixMatchers()
Dnumber_mapper.h61 UnicodeString posSuffix; variable
/third_party/node/deps/icu-small/source/i18n/
Dnumber_mapper.cpp351 posSuffix = pso; in setTo()
353 posSuffix = psp; in setTo()
356 posSuffix = u""; in setTo()
412 return posSuffix; in getStringInternal()
420 AffixUtils::containsType(posSuffix, TYPE_PLUS_SIGN, localStatus); in positiveHasPlusSign()
425 (negSuffix != posSuffix) || in hasNegativeSubpattern()
443 AffixUtils::containsType(posSuffix, type, status) || in containsSymbolType()
Dnumparse_affixes.cpp280 AffixPatternMatcher* posSuffix = nullptr; in createAffixMatchers() local
318 posSuffix = suffix; in createAffixMatchers()
319 } else if (equals(prefix, posPrefix) && equals(suffix, posSuffix)) { in createAffixMatchers()
335 if (type == PATTERN_SIGN_TYPE_POS || !equals(suffix, posSuffix)) { in createAffixMatchers()
Dnumber_mapper.h63 UnicodeString posSuffix; variable
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/
DAffixMatcher.java97 AffixPatternMatcher posSuffix = null; in createMatchers() local
134 posSuffix = suffix; in createMatchers()
135 } else if (Objects.equals(prefix, posPrefix) && Objects.equals(suffix, posSuffix)) { in createMatchers()
151 if (type == PatternSignType.POS || !Objects.equals(suffix, posSuffix)) { in createMatchers()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DAffixMatcher.java95 AffixPatternMatcher posSuffix = null; in createMatchers() local
132 posSuffix = suffix; in createMatchers()
133 } else if (Objects.equals(prefix, posPrefix) && Objects.equals(suffix, posSuffix)) { in createMatchers()
149 if (type == PatternSignType.POS || !Objects.equals(suffix, posSuffix)) { in createMatchers()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java202 String posSuffix; in TestAPI() local
204 posSuffix = pat.getPositiveSuffix(); in TestAPI()
205 logln("Positive suffix (should be _): " + posSuffix); in TestAPI()
206 assertEquals("ERROR: setPositiveSuffix() failed", "_", posSuffix); in TestAPI()
DIntlTestDecimalFormatAPIC.java161 String posSuffix; in TestAPI() local
163 posSuffix = pat.getPositiveSuffix(); in TestAPI()
164 logln("Positive suffix (should be _): " + posSuffix); in TestAPI()
165 assertEquals("ERROR: setPositiveSuffix() failed", "_", posSuffix); in TestAPI()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java205 String posSuffix; in TestAPI() local
207 posSuffix = pat.getPositiveSuffix(); in TestAPI()
208 logln("Positive suffix (should be _): " + posSuffix); in TestAPI()
209 assertEquals("ERROR: setPositiveSuffix() failed", "_", posSuffix); in TestAPI()
DIntlTestDecimalFormatAPIC.java164 String posSuffix; in TestAPI() local
166 posSuffix = pat.getPositiveSuffix(); in TestAPI()
167 logln("Positive suffix (should be _): " + posSuffix); in TestAPI()
168 assertEquals("ERROR: setPositiveSuffix() failed", "_", posSuffix); in TestAPI()
/third_party/icu/icu4c/source/test/intltest/
Ddcfmapts.cpp299 UnicodeString posSuffix; in testAPI() local
301 posSuffix = pat.getPositiveSuffix(posSuffix); in testAPI()
302 logln((UnicodeString)"Positive suffix (should be _): " + posSuffix); in testAPI()
303 if(posSuffix != "_") { in testAPI()

12