/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
D | PropertiesAffixPatternProvider.java | 10 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, type) || AffixUtils.containsType(posSuffix, type) in containsSymbolType() 161 + posPrefix in toString()
|
D | PatternStringParser.java | 658 String posPrefix = patternInfo.getString(AffixPatternProvider.Flags.PREFIX); in patternInfoToProperties() local 665 + AffixUtils.estimateLength(posPrefix) in patternInfoToProperties() 691 properties.setPositivePrefixPattern(posPrefix); in patternInfoToProperties()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | PropertiesAffixPatternProvider.java | 6 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, type) || AffixUtils.containsType(posSuffix, type) in containsSymbolType() 166 + posPrefix in toString()
|
D | PatternStringParser.java | 704 String posPrefix = patternInfo.getString(AffixPatternProvider.Flags.PREFIX); in patternInfoToProperties() local 711 + AffixUtils.estimateLength(posPrefix) in patternInfoToProperties() 737 properties.setPositivePrefixPattern(posPrefix); in patternInfoToProperties()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | number_mapper.cpp | 342 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()
|
D | numparse_affixes.cpp | 279 AffixPatternMatcher* posPrefix = nullptr; in createAffixMatchers() local 315 posPrefix = prefix; in createAffixMatchers() 317 } else if (equals(prefix, posPrefix) && equals(suffix, posSuffix)) { in createAffixMatchers() 330 if (type == PATTERN_SIGN_TYPE_POS || !equals(prefix, posPrefix)) { in createAffixMatchers()
|
D | number_mapper.h | 60 UnicodeString posPrefix;
|
D | number_patternstring.cpp | 589 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/node/deps/icu-small/source/i18n/ |
D | number_mapper.cpp | 346 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()
|
D | numparse_affixes.cpp | 283 AffixPatternMatcher* posPrefix = nullptr; in createAffixMatchers() local 329 posPrefix = prefix; in createAffixMatchers() 331 } else if (equals(prefix, posPrefix) && equals(suffix, posSuffix)) { in createAffixMatchers() 344 if (type == PATTERN_SIGN_TYPE_POS || !equals(prefix, posPrefix)) { in createAffixMatchers()
|
D | number_mapper.h | 62 UnicodeString posPrefix;
|
D | number_patternstring.cpp | 637 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/icu/icu4c/source/i18n/ |
D | number_mapper.cpp | 346 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()
|
D | numparse_affixes.cpp | 283 AffixPatternMatcher* posPrefix = nullptr; in createAffixMatchers() local 329 posPrefix = prefix; in createAffixMatchers() 331 } else if (equals(prefix, posPrefix) && equals(suffix, posSuffix)) { in createAffixMatchers() 344 if (type == PATTERN_SIGN_TYPE_POS || !equals(prefix, posPrefix)) { in createAffixMatchers()
|
D | number_mapper.h | 62 UnicodeString posPrefix;
|
D | number_patternstring.cpp | 637 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
D | AffixMatcher.java | 94 AffixPatternMatcher posPrefix = null; in createMatchers() local 135 posPrefix = prefix; in createMatchers() 137 } else if (Objects.equals(prefix, posPrefix) && Objects.equals(suffix, posSuffix)) { 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/ |
D | AffixMatcher.java | 96 AffixPatternMatcher posPrefix = null; in createMatchers() local 133 posPrefix = prefix; in createMatchers() 135 } else if (Objects.equals(prefix, posPrefix) && Objects.equals(suffix, posSuffix)) { in createMatchers() 148 if (type == PatternSignType.POS || !Objects.equals(prefix, posPrefix)) { in createMatchers()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | IntlTestDecimalFormatAPI.java | 193 String posPrefix; in TestAPI() local 195 posPrefix = pat.getPositivePrefix(); in TestAPI() 196 logln("Positive prefix (should be +): " + posPrefix); in TestAPI() 197 assertEquals("ERROR: setPositivePrefix() failed", "+", posPrefix); in TestAPI()
|
D | IntlTestDecimalFormatAPIC.java | 152 String posPrefix; in TestAPI() local 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/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | IntlTestDecimalFormatAPI.java | 190 String posPrefix; in TestAPI() local 192 posPrefix = pat.getPositivePrefix(); in TestAPI() 193 logln("Positive prefix (should be +): " + posPrefix); in TestAPI() 194 assertEquals("ERROR: setPositivePrefix() failed", "+", posPrefix); in TestAPI()
|
D | IntlTestDecimalFormatAPIC.java | 149 String posPrefix; in TestAPI() local 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/icu4c/source/test/intltest/ |
D | dcfmapts.cpp | 288 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()
|
D | loctest.cpp | 1197 UnicodeString posPrefix(u"\u0E3F"); in TestThaiCurrencyFormat() local 1205 if (thaiCurrency->getPositivePrefix(temp) != posPrefix) in TestThaiCurrencyFormat()
|