• Home
  • Raw
  • Download

Lines Matching refs:positive

82         return positive.paddingEndpoints;  in getEndpoints()
86 return positive.prefixEndpoints; in getEndpoints()
90 return positive.suffixEndpoints; in getEndpoints()
95 return positive.hasPlusSign; in positiveHasPlusSign()
107 return positive.hasCurrencySign || (fHasNegativeSubpattern && negative.hasCurrencySign); in hasCurrencySign()
115 return positive.integerTotal > 0; in hasBody()
119 return positive.hasCurrencyDecimal; in currencyAsDecimal()
161 currentSubpattern = &positive; in consumePattern()
528 const ParsedSubpatternInfo& positive = patternInfo.positive; in patternInfoToProperties() local
534 ignoreRounding = positive.hasCurrencySign; in patternInfoToProperties()
541 auto grouping1 = static_cast<int16_t> (positive.groupingSizes & 0xffff); in patternInfoToProperties()
542 auto grouping2 = static_cast<int16_t> ((positive.groupingSizes >> 16) & 0xffff); in patternInfoToProperties()
543 auto grouping3 = static_cast<int16_t> ((positive.groupingSizes >> 32) & 0xffff); in patternInfoToProperties()
559 if (positive.integerTotal == 0 && positive.fractionTotal > 0) { in patternInfoToProperties()
562 minFrac = uprv_max(1, positive.fractionNumerals); in patternInfoToProperties()
563 } else if (positive.integerNumerals == 0 && positive.fractionNumerals == 0) { in patternInfoToProperties()
568 minInt = positive.integerNumerals; in patternInfoToProperties()
569 minFrac = positive.fractionNumerals; in patternInfoToProperties()
574 if (positive.integerAtSigns > 0) { in patternInfoToProperties()
578 properties.minimumSignificantDigits = positive.integerAtSigns; in patternInfoToProperties()
579 … properties.maximumSignificantDigits = positive.integerAtSigns + positive.integerTrailingHashSigns; in patternInfoToProperties()
580 } else if (!positive.rounding.isZeroish()) { in patternInfoToProperties()
583 properties.maximumFractionDigits = positive.fractionTotal; in patternInfoToProperties()
584 properties.roundingIncrement = positive.rounding.toDouble(); in patternInfoToProperties()
595 properties.maximumFractionDigits = positive.fractionTotal; in patternInfoToProperties()
607 if (positive.hasDecimal && positive.fractionTotal == 0) { in patternInfoToProperties()
614 properties.currencyAsDecimal = positive.hasCurrencyDecimal; in patternInfoToProperties()
617 if (positive.exponentZeros > 0) { in patternInfoToProperties()
618 properties.exponentSignAlwaysShown = positive.exponentHasPlusSign; in patternInfoToProperties()
619 properties.minimumExponentDigits = positive.exponentZeros; in patternInfoToProperties()
620 if (positive.integerAtSigns == 0) { in patternInfoToProperties()
622 properties.minimumIntegerDigits = positive.integerNumerals; in patternInfoToProperties()
623 properties.maximumIntegerDigits = positive.integerTotal; in patternInfoToProperties()
641 if (positive.hasPadding) { in patternInfoToProperties()
643 int paddingWidth = positive.widthExceptAffixes + in patternInfoToProperties()
659 properties.padPosition = positive.paddingLocation; in patternInfoToProperties()
682 if (positive.hasPercentSign) { in patternInfoToProperties()
684 } else if (positive.hasPerMilleSign) { in patternInfoToProperties()