Home
last modified time | relevance | path

Searched refs:posPrefix (Results 1 - 25 of 25) sorted by relevance

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DPropertiesAffixPatternProvider.java6 private final String posPrefix; field in PropertiesAffixPatternProvider
46 posPrefix = ppo; in PropertiesAffixPatternProvider()
48 posPrefix = ppp; in PropertiesAffixPatternProvider()
51 posPrefix = ""; in PropertiesAffixPatternProvider()
111 return posPrefix; in getString()
121 return AffixUtils.containsType(posPrefix, AffixUtils.TYPE_PLUS_SIGN) in positiveHasPlusSign()
129 negPrefix.length() != posPrefix.length() + 1 || in hasNegativeSubpattern()
130 !negPrefix.regionMatches(1, posPrefix, 0, posPrefix.length()) || in hasNegativeSubpattern()
148 return AffixUtils.containsType(posPrefix, typ in containsSymbolType()
[all...]
H A DPatternStringParser.java704 String posPrefix = patternInfo.getString(AffixPatternProvider.Flags.PREFIX); in patternInfoToProperties()
711 + AffixUtils.estimateLength(posPrefix) in patternInfoToProperties()
737 properties.setPositivePrefixPattern(posPrefix); in patternInfoToProperties()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
H A DPropertiesAffixPatternProvider.java10 private final String posPrefix; field in PropertiesAffixPatternProvider
49 posPrefix = ppo; in PropertiesAffixPatternProvider()
51 posPrefix = ppp; in PropertiesAffixPatternProvider()
54 posPrefix = ""; in PropertiesAffixPatternProvider()
111 return posPrefix; in getString()
121 return AffixUtils.containsType(posPrefix, AffixUtils.TYPE_PLUS_SIGN) in positiveHasPlusSign()
129 negPrefix.length() != posPrefix.length() + 1 || in hasNegativeSubpattern()
130 !negPrefix.regionMatches(1, posPrefix, 0, posPrefix.length()) || in hasNegativeSubpattern()
148 return AffixUtils.containsType(posPrefix, typ in containsSymbolType()
[all...]
H A DPatternStringParser.java658 String posPrefix = patternInfo.getString(AffixPatternProvider.Flags.PREFIX); in patternInfoToProperties()
665 + AffixUtils.estimateLength(posPrefix) in patternInfoToProperties()
691 properties.setPositivePrefixPattern(posPrefix); in patternInfoToProperties()
/third_party/icu/icu4c/source/i18n/
H A Dnumber_mapper.cpp346 posPrefix = ppo; in setTo()
348 posPrefix = ppp; in setTo()
351 posPrefix = u""; in setTo()
412 return posPrefix; in getStringInternal()
423 return AffixUtils::containsType(posPrefix, TYPE_PLUS_SIGN, localStatus) || in positiveHasPlusSign()
430 negPrefix.tempSubString(1) != posPrefix || in hasNegativeSubpattern()
446 return AffixUtils::containsType(posPrefix, type, status) || in containsSymbolType()
H A Dnumparse_affixes.cpp283 AffixPatternMatcher* posPrefix = nullptr; in createAffixMatchers() local
329 posPrefix = prefix; in createAffixMatchers()
331 } else if (equals(prefix, posPrefix) && equals(suffix, posSuffix)) { in createAffixMatchers()
339 // Note: it is indeed possible for posPrefix and posSuffix to both be null. in createAffixMatchers()
344 if (type == PATTERN_SIGN_TYPE_POS || !equals(prefix, posPrefix)) { in createAffixMatchers()
H A Dnumber_mapper.h62 UnicodeString posPrefix; member in number::impl::PropertiesAffixPatternProvider
H A Dnumber_patternstring.cpp637 UnicodeString posPrefix = patternInfo.getString(AffixPatternProvider::AFFIX_PREFIX); in patternInfoToProperties() local
644 AffixUtils::estimateLength(posPrefix, status) + in patternInfoToProperties()
669 properties.positivePrefixPattern = posPrefix; in patternInfoToProperties()
/third_party/node/deps/icu-small/source/i18n/
H A Dnumber_mapper.cpp346 posPrefix = ppo; in setTo()
348 posPrefix = ppp; in setTo()
351 posPrefix = u""; in setTo()
412 return posPrefix; in getStringInternal()
423 return AffixUtils::containsType(posPrefix, TYPE_PLUS_SIGN, localStatus) || in positiveHasPlusSign()
430 negPrefix.tempSubString(1) != posPrefix || in hasNegativeSubpattern()
446 return AffixUtils::containsType(posPrefix, type, status) || in containsSymbolType()
H A Dnumparse_affixes.cpp283 AffixPatternMatcher* posPrefix = nullptr; in createAffixMatchers() local
329 posPrefix = prefix; in createAffixMatchers()
331 } else if (equals(prefix, posPrefix) && equals(suffix, posSuffix)) { in createAffixMatchers()
339 // Note: it is indeed possible for posPrefix and posSuffix to both be null. in createAffixMatchers()
344 if (type == PATTERN_SIGN_TYPE_POS || !equals(prefix, posPrefix)) { in createAffixMatchers()
H A Dnumber_mapper.h62 UnicodeString posPrefix; member in number::impl::PropertiesAffixPatternProvider
H A Dnumber_patternstring.cpp637 UnicodeString posPrefix = patternInfo.getString(AffixPatternProvider::AFFIX_PREFIX); in patternInfoToProperties() local
644 AffixUtils::estimateLength(posPrefix, status) + in patternInfoToProperties()
669 properties.positivePrefixPattern = posPrefix; in patternInfoToProperties()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dnumber_mapper.cpp342 posPrefix = ppo; in setTo()
344 posPrefix = ppp; in setTo()
347 posPrefix = u""; in setTo()
405 return posPrefix; in getStringInternal()
416 return AffixUtils::containsType(posPrefix, TYPE_PLUS_SIGN, localStatus) || in positiveHasPlusSign()
423 negPrefix.tempSubString(1) != posPrefix || in hasNegativeSubpattern()
439 return AffixUtils::containsType(posPrefix, type, status) || in containsSymbolType()
H A Dnumparse_affixes.cpp279 AffixPatternMatcher* posPrefix = nullptr; in createAffixMatchers() local
315 posPrefix = prefix; in createAffixMatchers()
317 } else if (equals(prefix, posPrefix) && equals(suffix, posSuffix)) { in createAffixMatchers()
325 // Note: it is indeed possible for posPrefix and posSuffix to both be null. in createAffixMatchers()
330 if (type == PATTERN_SIGN_TYPE_POS || !equals(prefix, posPrefix)) { in createAffixMatchers()
H A Dnumber_mapper.h60 UnicodeString posPrefix; member in number::impl::PropertiesAffixPatternProvider
H A Dnumber_patternstring.cpp589 UnicodeString posPrefix = patternInfo.getString(AffixPatternProvider::AFFIX_PREFIX); in patternInfoToProperties() local
596 AffixUtils::estimateLength(posPrefix, status) + in patternInfoToProperties()
621 properties.positivePrefixPattern = posPrefix; in patternInfoToProperties()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
H A DAffixMatcher.java94 AffixPatternMatcher posPrefix = null; in createMatchers()
135 posPrefix = prefix; in createMatchers()
137 } else if (Objects.equals(prefix, posPrefix) && Objects.equals(suffix, posSuffix)) { in createMatchers()
145 // Note: it is indeed possible for posPrefix and posSuffix to both be null. in createMatchers()
150 if (type == PatternSignType.POS || !Objects.equals(prefix, posPrefix)) { in createMatchers()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/
H A DAffixMatcher.java96 AffixPatternMatcher posPrefix = null; in createMatchers()
133 posPrefix = prefix; in createMatchers()
135 } else if (Objects.equals(prefix, posPrefix) && Objects.equals(suffix, posSuffix)) { in createMatchers()
143 // Note: it is indeed possible for posPrefix and posSuffix to both be null. in createMatchers()
148 if (type == PatternSignType.POS || !Objects.equals(prefix, posPrefix)) { in createMatchers()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DIntlTestDecimalFormatAPI.java190 String posPrefix; in TestAPI()
192 posPrefix = pat.getPositivePrefix(); in TestAPI()
193 logln("Positive prefix (should be +): " + posPrefix); in TestAPI()
194 assertEquals("ERROR: setPositivePrefix() failed", "+", posPrefix); in TestAPI()
H A DIntlTestDecimalFormatAPIC.java149 String posPrefix; in TestAPI()
151 posPrefix = pat.getPositivePrefix(); in TestAPI()
152 logln("Positive prefix (should be +): " + posPrefix); in TestAPI()
153 assertEquals("ERROR: setPositivePrefix() failed", "+", posPrefix); in TestAPI()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DIntlTestDecimalFormatAPI.java193 String posPrefix; in TestAPI()
195 posPrefix = pat.getPositivePrefix(); in TestAPI()
196 logln("Positive prefix (should be +): " + posPrefix); in TestAPI()
197 assertEquals("ERROR: setPositivePrefix() failed", "+", posPrefix); in TestAPI()
H A DIntlTestDecimalFormatAPIC.java152 String posPrefix; in TestAPI()
154 posPrefix = pat.getPositivePrefix(); in TestAPI()
155 logln("Positive prefix (should be +): " + posPrefix); in TestAPI()
156 assertEquals("ERROR: setPositivePrefix() failed", "+", posPrefix); in TestAPI()
/third_party/icu/icu4c/source/test/intltest/
H A Ddcfmapts.cpp288 UnicodeString posPrefix; in testAPI() local
290 posPrefix = pat.getPositivePrefix(posPrefix); in testAPI()
291 logln((UnicodeString)"Positive prefix (should be +): " + posPrefix); in testAPI()
292 if(posPrefix != "+") { in testAPI()
H A Dloctest.cpp1197 UnicodeString posPrefix(u"\u0E3F"); in TestThaiCurrencyFormat()
1205 if (thaiCurrency->getPositivePrefix(temp) != posPrefix) in TestThaiCurrencyFormat()
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Dicu4j-4_8_1_1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ibm/icu/ com/ibm/icu/impl/ ...

Completed in 28 milliseconds