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 | 89 ConverterPreference converterPreference = null; in route() local 91 converterPreference = itr; in route() 92 if (converterPreference.converter.greaterThanOrEqual(quantity.abs(), in route() 93 converterPreference.limit)) { in route() 97 assert converterPreference != null; in route() 98 assert converterPreference.precision != null; in route() 103 if (converterPreference.precision.length() > 0) { in route() 104 rounder = bogus.into(parseSkeletonToPrecision(converterPreference.precision)); in route() 117 converterPreference.converter.convert(quantity, rounder), in route() 118 converterPreference.targetUnit in route()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | units_router.cpp | 114 const ConverterPreference *converterPreference = nullptr; in route() local 116 converterPreference = converterPreferences_[i]; in route() 117 … if (converterPreference->converter.greaterThanOrEqual(std::abs(quantity) * (1 + DBL_EPSILON), in route() 118 converterPreference->limit)) { in route() 122 U_ASSERT(converterPreference != nullptr); in route() 126 if (converterPreference->precision.length() > 0) { in route() 127 rounder->fPrecision = parseSkeletonToPrecision(converterPreference->precision, status); in route() 136 return RouteResult(converterPreference->converter.convert(quantity, rounder, status), in route() 137 converterPreference->targetUnit.copy(status)); in route()
|
/third_party/icu/icu4c/source/i18n/ |
D | units_router.cpp | 114 const ConverterPreference *converterPreference = nullptr; in route() local 116 converterPreference = converterPreferences_[i]; in route() 117 … if (converterPreference->converter.greaterThanOrEqual(std::abs(quantity) * (1 + DBL_EPSILON), in route() 118 converterPreference->limit)) { in route() 122 U_ASSERT(converterPreference != nullptr); in route() 126 if (converterPreference->precision.length() > 0) { in route() 127 rounder->fPrecision = parseSkeletonToPrecision(converterPreference->precision, status); in route() 136 return RouteResult(converterPreference->converter.convert(quantity, rounder, status), in route() 137 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()
|