Searched refs:converterPreference (Results 1 – 4 of 4) sorted by relevance
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
D | UnitsRouter.java | 88 ConverterPreference converterPreference = null; in route() local 90 converterPreference = itr; in route() 91 if (converterPreference.converter.greaterThanOrEqual(quantity.abs(), in route() 92 converterPreference.limit)) { in route() 96 assert converterPreference != null; in route() 97 assert converterPreference.precision != null; in route() 102 if (converterPreference.precision.length() > 0) { in route() 103 rounder = bogus.into(parseSkeletonToPrecision(converterPreference.precision)); in route() 116 converterPreference.converter.convert(quantity, rounder), in route() 117 converterPreference.targetUnit in route()
|
/third_party/icu/icu4c/source/i18n/ |
D | units_router.cpp | 117 const ConverterPreference *converterPreference = nullptr; in route() local 119 converterPreference = converterPreferences_[i]; in route() 120 … if (converterPreference->converter.greaterThanOrEqual(std::abs(quantity) * (1 + DBL_EPSILON), in route() 121 converterPreference->limit)) { in route() 125 U_ASSERT(converterPreference != nullptr); in route() 129 if (converterPreference->precision.length() > 0) { in route() 130 rounder->fPrecision = parseSkeletonToPrecision(converterPreference->precision, status); in route() 139 return RouteResult(converterPreference->converter.convert(quantity, rounder, status), in route() 140 converterPreference->targetUnit.copy(status)); in route()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | units_router.cpp | 117 const ConverterPreference *converterPreference = nullptr; in route() local 119 converterPreference = converterPreferences_[i]; in route() 120 … if (converterPreference->converter.greaterThanOrEqual(std::abs(quantity) * (1 + DBL_EPSILON), in route() 121 converterPreference->limit)) { in route() 125 U_ASSERT(converterPreference != nullptr); in route() 129 if (converterPreference->precision.length() > 0) { in route() 130 rounder->fPrecision = parseSkeletonToPrecision(converterPreference->precision, status); in route() 139 return RouteResult(converterPreference->converter.convert(quantity, rounder, status), in route() 140 converterPreference->targetUnit.copy(status)); in route()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | units_router.cpp | 117 const ConverterPreference *converterPreference = nullptr; in route() local 119 converterPreference = converterPreferences_[i]; in route() 120 … if (converterPreference->converter.greaterThanOrEqual(std::abs(quantity) * (1 + DBL_EPSILON), in route() 121 converterPreference->limit)) { in route() 125 U_ASSERT(converterPreference != nullptr); in route() 129 if (converterPreference->precision.length() > 0) { in route() 130 rounder->fPrecision = parseSkeletonToPrecision(converterPreference->precision, status); in route() 139 return RouteResult(converterPreference->converter.convert(quantity, rounder, status), in route() 140 converterPreference->targetUnit.copy(status)); in route()
|