/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
D | UnitsRouter.java | 88 Precision rounder = micros == null ? null : micros.rounder; in route() local 101 if (rounder != null && rounder instanceof Precision.BogusRounder) { in route() 102 Precision.BogusRounder bogus = (Precision.BogusRounder)rounder; in route() 104 rounder = bogus.into(parseSkeletonToPrecision(converterPreference.precision)); in route() 109 rounder = bogus.into(Precision.integer().withMinDigits(2)); in route() 114 micros.rounder = rounder; in route() 117 converterPreference.converter.convert(quantity, rounder), in route()
|
D | ComplexUnitsConverter.java | 169 public ComplexConverterResult convert(BigDecimal quantity, Precision rounder) { in convert() argument 207 quantity = applyRounder(intValues, quantity, rounder); in convert() 238 …ivate BigDecimal applyRounder(List<BigInteger> intValues, BigDecimal quantity, Precision rounder) { in applyRounder() argument 239 if (rounder == null) { in applyRounder() 244 rounder.apply(quantityBCD); in applyRounder()
|
/third_party/ffmpeg/libavcodec/ |
D | mpegvideodsp.c | 25 int x16, int y16, int rounder) in gmc1_c() argument 34 … dst[0] = (A * src[0] + B * src[1] + C * src[stride + 0] + D * src[stride + 1] + rounder) >> 8; in gmc1_c() 35 … dst[1] = (A * src[1] + B * src[2] + C * src[stride + 1] + D * src[stride + 2] + rounder) >> 8; in gmc1_c() 36 … dst[2] = (A * src[2] + B * src[3] + C * src[stride + 2] + D * src[stride + 3] + rounder) >> 8; in gmc1_c() 37 … dst[3] = (A * src[3] + B * src[4] + C * src[stride + 3] + D * src[stride + 4] + rounder) >> 8; in gmc1_c() 38 … dst[4] = (A * src[4] + B * src[5] + C * src[stride + 4] + D * src[stride + 5] + rounder) >> 8; in gmc1_c() 39 … dst[5] = (A * src[5] + B * src[6] + C * src[stride + 5] + D * src[stride + 6] + rounder) >> 8; in gmc1_c() 40 … dst[6] = (A * src[6] + B * src[7] + C * src[stride + 6] + D * src[stride + 7] + rounder) >> 8; in gmc1_c() 41 … dst[7] = (A * src[7] + B * src[8] + C * src[stride + 7] + D * src[stride + 8] + rounder) >> 8; in gmc1_c()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | units_router.cpp | 112 RouteResult UnitsRouter::route(double quantity, icu::number::impl::RoundingImpl *rounder, UErrorCod… in route() argument 125 if (rounder != nullptr && rounder->fPrecision.isBogus()) { in route() 127 rounder->fPrecision = parseSkeletonToPrecision(converterPreference->precision, status); in route() 132 rounder->fPrecision = Precision::integer().withMinDigits(2); in route() 136 return RouteResult(converterPreference->converter.convert(quantity, rounder, status), in route()
|
D | number_scientific.cpp | 135 if (fSettings.fRequireMinInt && micros.rounder.isSignificantDigits()) { in processQuantity() 137 micros.rounder.apply(quantity, fSettings.fEngineeringInterval, status); in processQuantity() 140 micros.rounder.apply(quantity, status); in processQuantity() 144 exponent = -micros.rounder.chooseMultiplierAndApply(quantity, *this, status); in processQuantity() 158 micros.rounder = RoundingImpl::passThrough(); in processQuantity()
|
D | units_complexconverter.cpp | 141 icu::number::impl::RoundingImpl *rounder, in convert() argument 191 applyRounder(intValues, quantity, rounder, status); in convert() 226 icu::number::impl::RoundingImpl *rounder, in applyRounder() argument 234 if (rounder == nullptr) { in applyRounder() 241 rounder->apply(decimalQuantity, status); in applyRounder()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | units_router.cpp | 115 RouteResult UnitsRouter::route(double quantity, icu::number::impl::RoundingImpl *rounder, UErrorCod… in route() argument 128 if (rounder != nullptr && rounder->fPrecision.isBogus()) { in route() 130 rounder->fPrecision = parseSkeletonToPrecision(converterPreference->precision, status); in route() 135 rounder->fPrecision = Precision::integer().withMinDigits(2); in route() 139 return RouteResult(converterPreference->converter.convert(quantity, rounder, status), in route()
|
D | number_scientific.cpp | 135 if (fSettings.fRequireMinInt && micros.rounder.isSignificantDigits()) { in processQuantity() 137 micros.rounder.apply(quantity, fSettings.fEngineeringInterval, status); in processQuantity() 140 micros.rounder.apply(quantity, status); in processQuantity() 144 exponent = -micros.rounder.chooseMultiplierAndApply(quantity, *this, status); in processQuantity() 158 micros.rounder = RoundingImpl::passThrough(); in processQuantity()
|
D | units_complexconverter.cpp | 141 icu::number::impl::RoundingImpl *rounder, in convert() argument 189 applyRounder(intValues, quantity, rounder, status); in convert() 225 icu::number::impl::RoundingImpl *rounder, in applyRounder() argument 227 if (rounder == nullptr) { in applyRounder() 234 rounder->apply(decimalQuantity, status); in applyRounder()
|
D | units_complexconverter.h | 109 convert(double quantity, icu::number::impl::RoundingImpl *rounder, UErrorCode &status) const; 126 icu::number::impl::RoundingImpl *rounder, UErrorCode &status) const;
|
/third_party/icu/icu4c/source/i18n/ |
D | units_router.cpp | 112 RouteResult UnitsRouter::route(double quantity, icu::number::impl::RoundingImpl *rounder, UErrorCod… in route() argument 125 if (rounder != nullptr && rounder->fPrecision.isBogus()) { in route() 127 rounder->fPrecision = parseSkeletonToPrecision(converterPreference->precision, status); in route() 132 rounder->fPrecision = Precision::integer().withMinDigits(2); in route() 136 return RouteResult(converterPreference->converter.convert(quantity, rounder, status), in route()
|
D | number_scientific.cpp | 135 if (fSettings.fRequireMinInt && micros.rounder.isSignificantDigits()) { in processQuantity() 137 micros.rounder.apply(quantity, fSettings.fEngineeringInterval, status); in processQuantity() 140 micros.rounder.apply(quantity, status); in processQuantity() 144 exponent = -micros.rounder.chooseMultiplierAndApply(quantity, *this, status); in processQuantity() 158 micros.rounder = RoundingImpl::passThrough(); in processQuantity()
|
D | units_complexconverter.cpp | 141 icu::number::impl::RoundingImpl *rounder, in convert() argument 189 applyRounder(intValues, quantity, rounder, status); in convert() 224 icu::number::impl::RoundingImpl *rounder, in applyRounder() argument 232 if (rounder == nullptr) { in applyRounder() 239 rounder->apply(decimalQuantity, status); in applyRounder()
|
D | number_utils.h | 90 const RoundingImpl& rounder, in getPluralSafe() argument 96 rounder.apply(copy, status); in getPluralSafe()
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
D | rescaler_sse2.c | 119 const __m128i rounder = _mm_set_epi32(0, ROUNDER, 0, ROUNDER); in RescalerImportRowShrink_SSE2() local 155 const __m128i E1 = _mm_add_epi64(D1, rounder); in RescalerImportRowShrink_SSE2() 156 const __m128i E2 = _mm_add_epi64(D2, rounder); in RescalerImportRowShrink_SSE2() 200 const __m128i rounder = _mm_set_epi32(0, ROUNDER, 0, ROUNDER); in ProcessRow_SSE2() local 206 const __m128i C0 = _mm_add_epi64(B0, rounder); in ProcessRow_SSE2() 207 const __m128i C1 = _mm_add_epi64(B1, rounder); in ProcessRow_SSE2() 208 const __m128i C2 = _mm_add_epi64(B2, rounder); in ProcessRow_SSE2() 209 const __m128i C3 = _mm_add_epi64(B3, rounder); in ProcessRow_SSE2() 255 const __m128i rounder = _mm_set_epi32(0, ROUNDER, 0, ROUNDER); in RescalerExportRowExpand_SSE2() local 265 const __m128i D0 = _mm_add_epi64(C0, rounder); in RescalerExportRowExpand_SSE2() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | ScientificNotation.java | 158 assert micros.rounder != null; in processQuantity() 169 if (notation.requireMinInt && micros.rounder instanceof SignificantRounderImpl) { in processQuantity() 171 ((SignificantRounderImpl) micros.rounder).apply(quantity, in processQuantity() 175 micros.rounder.apply(quantity); in processQuantity() 179 exponent = -micros.rounder.chooseMultiplierAndApply(quantity, this); in processQuantity() 201 micros.rounder = null; in processQuantity()
|
D | CompactNotation.java | 126 assert micros.rounder != null; in processQuantity() 133 micros.rounder.apply(quantity); in processQuantity() 135 multiplier = micros.rounder.chooseMultiplierAndApply(quantity, data); in processQuantity() 164 micros.rounder = null; in processQuantity()
|
D | NumberFormatterImpl.java | 293 micros.rounder = macros.precision; in macrosToMicroGenerator() 295 micros.rounder = Precision.COMPACT_STRATEGY; in macrosToMicroGenerator() 297 micros.rounder = Precision.MONETARY_STANDARD; in macrosToMicroGenerator() 300 micros.rounder = Precision.BOGUS_PRECISION; in macrosToMicroGenerator() 302 micros.rounder = Precision.DEFAULT_MAX_FRAC_6; in macrosToMicroGenerator() 305 micros.rounder = micros.rounder.withMode( in macrosToMicroGenerator() 308 micros.rounder = micros.rounder.withLocaleData(currency); in macrosToMicroGenerator()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/ |
D | ScientificNotation.java | 157 assert micros.rounder != null; in processQuantity() 168 if (notation.requireMinInt && micros.rounder instanceof SignificantRounderImpl) { in processQuantity() 170 ((SignificantRounderImpl) micros.rounder).apply(quantity, in processQuantity() 174 micros.rounder.apply(quantity); in processQuantity() 178 exponent = -micros.rounder.chooseMultiplierAndApply(quantity, this); in processQuantity() 200 micros.rounder = null; in processQuantity()
|
D | CompactNotation.java | 128 assert micros.rounder != null; in processQuantity() 135 micros.rounder.apply(quantity); in processQuantity() 137 multiplier = micros.rounder.chooseMultiplierAndApply(quantity, data); in processQuantity() 167 micros.rounder = null; in processQuantity()
|
D | NumberFormatterImpl.java | 257 micros.rounder = macros.precision; in macrosToMicroGenerator() 259 micros.rounder = Precision.COMPACT_STRATEGY; in macrosToMicroGenerator() 261 micros.rounder = Precision.MONETARY_STANDARD; in macrosToMicroGenerator() 263 micros.rounder = Precision.DEFAULT_MAX_FRAC_6; in macrosToMicroGenerator() 266 micros.rounder = micros.rounder.withMode( in macrosToMicroGenerator() 269 micros.rounder = micros.rounder.withLocaleData(currency); in macrosToMicroGenerator()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
D | MutablePatternModifier.java | 239 if (micros.rounder != null) { in processQuantity() 240 micros.rounder.apply(quantity); in processQuantity() 253 … StandardPlural pluralForm = RoundingUtils.getPluralSafe(micros.rounder, rules, quantity); in applyToMicros() 279 if (micros.rounder != null) { in processQuantity() 280 micros.rounder.apply(fq); in processQuantity() 286 StandardPlural pluralForm = RoundingUtils.getPluralSafe(micros.rounder, rules, fq); in processQuantity()
|
D | RoundingUtils.java | 232 Precision rounder, PluralRules rules, DecimalQuantity dq) { in getPluralSafe() argument 233 if (rounder == null) { in getPluralSafe() 238 rounder.apply(copy); in getPluralSafe()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | MutablePatternModifier.java | 238 if (micros.rounder != null) { in processQuantity() 239 micros.rounder.apply(quantity); in processQuantity() 252 … StandardPlural pluralForm = RoundingUtils.getPluralSafe(micros.rounder, rules, quantity); in applyToMicros() 278 if (micros.rounder != null) { in processQuantity() 279 micros.rounder.apply(fq); in processQuantity() 285 StandardPlural pluralForm = RoundingUtils.getPluralSafe(micros.rounder, rules, fq); in processQuantity()
|
D | RoundingUtils.java | 230 Precision rounder, PluralRules rules, DecimalQuantity dq) { in getPluralSafe() argument 231 if (rounder == null) { in getPluralSafe() 236 rounder.apply(copy); in getPluralSafe()
|