/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 45 posPrefix = ppo; in PropertiesAffixPatternProvider() 47 posPrefix = ppp; in PropertiesAffixPatternProvider() 50 posPrefix = ""; in PropertiesAffixPatternProvider() 107 return posPrefix; in getString() 117 return AffixUtils.containsType(posPrefix, AffixUtils.TYPE_PLUS_SIGN) in positiveHasPlusSign() 125 negPrefix.length() != posPrefix.length() + 1 || in hasNegativeSubpattern() 126 !negPrefix.regionMatches(1, posPrefix, 0, posPrefix.length()) || in hasNegativeSubpattern() 144 return AffixUtils.containsType(posPrefix, type) || AffixUtils.containsType(posSuffix, type) in containsSymbolType() 157 + posPrefix in toString()
|
D | PatternStringParser.java | 652 String posPrefix = patternInfo.getString(AffixPatternProvider.Flags.PREFIX); in patternInfoToProperties() local 659 + AffixUtils.estimateLength(posPrefix) in patternInfoToProperties() 685 properties.setPositivePrefixPattern(posPrefix); in patternInfoToProperties()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | number_mapper.cpp | 347 posPrefix = ppo; in setTo() 349 posPrefix = ppp; in setTo() 352 posPrefix = u""; in setTo() 402 return posPrefix; in getStringInternal() 413 return AffixUtils::containsType(posPrefix, TYPE_PLUS_SIGN, localStatus) || in positiveHasPlusSign() 430 return AffixUtils::hasCurrencySymbols(posPrefix, localStatus) || in hasCurrencySign() 437 return AffixUtils::containsType(posPrefix, type, status) || in containsSymbolType()
|
D | numparse_affixes.cpp | 312 AffixPatternMatcher* posPrefix = nullptr; in createAffixMatchers() local 336 posPrefix = prefix; in createAffixMatchers() 338 } else if (equals(prefix, posPrefix) && equals(suffix, posSuffix)) { in createAffixMatchers() 351 if (signum == 1 || !equals(prefix, posPrefix)) { in createAffixMatchers()
|
D | number_mapper.h | 62 UnicodeString posPrefix;
|
D | number_patternstring.cpp | 588 UnicodeString posPrefix = patternInfo.getString(AffixPatternProvider::AFFIX_PREFIX); in patternInfoToProperties() local 595 AffixUtils::estimateLength(posPrefix, status) + in patternInfoToProperties() 620 properties.positivePrefixPattern = 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/icu/icu4c/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;
|
/third_party/node/deps/icu-small/source/i18n/ |
D | number_mapper.cpp | 342 posPrefix = ppo; in setTo() 344 posPrefix = ppp; in setTo() 347 posPrefix = u""; in setTo() 408 return posPrefix; in getStringInternal() 419 return AffixUtils::containsType(posPrefix, TYPE_PLUS_SIGN, localStatus) || in positiveHasPlusSign() 426 negPrefix.tempSubString(1) != posPrefix || in hasNegativeSubpattern() 442 return AffixUtils::containsType(posPrefix, type, status) || in containsSymbolType()
|
D | numparse_affixes.cpp | 279 AffixPatternMatcher* posPrefix = nullptr; in createAffixMatchers() local 317 posPrefix = prefix; in createAffixMatchers() 319 } else if (equals(prefix, posPrefix) && equals(suffix, posSuffix)) { in createAffixMatchers() 332 if (type == PATTERN_SIGN_TYPE_POS || !equals(prefix, posPrefix)) { in createAffixMatchers()
|
D | number_mapper.h | 62 UnicodeString posPrefix;
|
/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/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
D | AffixMatcher.java | 94 AffixPatternMatcher posPrefix = null; in createMatchers() local 131 posPrefix = prefix; in createMatchers() 133 } else if (Objects.equals(prefix, posPrefix) && Objects.equals(suffix, posSuffix)) { in createMatchers() 146 if (type == PatternSignType.POS || !Objects.equals(prefix, posPrefix)) { in createMatchers()
|
/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/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/icu4c/source/test/intltest/ |
D | dcfmapts.cpp | 283 UnicodeString posPrefix; in testAPI() local 285 posPrefix = pat.getPositivePrefix(posPrefix); in testAPI() 286 logln((UnicodeString)"Positive prefix (should be +): " + posPrefix); in testAPI() 287 if(posPrefix != "+") { in testAPI()
|