Lines Matching refs:positive
82 return positive.paddingEndpoints;
86 return positive.prefixEndpoints;
90 return positive.suffixEndpoints;
95 return positive.hasPlusSign;
107 return positive.hasCurrencySign || (fHasNegativeSubpattern && negative.hasCurrencySign);
115 return positive.integerTotal > 0;
119 return positive.hasCurrencyDecimal;
161 currentSubpattern = &positive;
528 const ParsedSubpatternInfo& positive = patternInfo.positive;
534 ignoreRounding = positive.hasCurrencySign;
541 auto grouping1 = static_cast<int16_t> (positive.groupingSizes & 0xffff);
542 auto grouping2 = static_cast<int16_t> ((positive.groupingSizes >> 16) & 0xffff);
543 auto grouping3 = static_cast<int16_t> ((positive.groupingSizes >> 32) & 0xffff);
559 if (positive.integerTotal == 0 && positive.fractionTotal > 0) {
562 minFrac = uprv_max(1, positive.fractionNumerals);
563 } else if (positive.integerNumerals == 0 && positive.fractionNumerals == 0) {
568 minInt = positive.integerNumerals;
569 minFrac = positive.fractionNumerals;
574 if (positive.integerAtSigns > 0) {
578 properties.minimumSignificantDigits = positive.integerAtSigns;
579 properties.maximumSignificantDigits = positive.integerAtSigns + positive.integerTrailingHashSigns;
580 } else if (!positive.rounding.isZeroish()) {
583 properties.maximumFractionDigits = positive.fractionTotal;
584 properties.roundingIncrement = positive.rounding.toDouble();
595 properties.maximumFractionDigits = positive.fractionTotal;
607 if (positive.hasDecimal && positive.fractionTotal == 0) {
614 properties.currencyAsDecimal = positive.hasCurrencyDecimal;
617 if (positive.exponentZeros > 0) {
618 properties.exponentSignAlwaysShown = positive.exponentHasPlusSign;
619 properties.minimumExponentDigits = positive.exponentZeros;
620 if (positive.integerAtSigns == 0) {
622 properties.minimumIntegerDigits = positive.integerNumerals;
623 properties.maximumIntegerDigits = positive.integerTotal;
641 if (positive.hasPadding) {
642 // The width of the positive prefix and suffix templates are included in the padding
643 int paddingWidth = positive.widthExceptAffixes +
659 properties.padPosition = positive.paddingLocation;
682 if (positive.hasPercentSign) {
684 } else if (positive.hasPerMilleSign) {
872 // Copy the positive digit format into the negative.
1068 // (If not, we will use the positive subpattern.)