/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
MacroProps.java | 13 import android.icu.number.Rounder; 24 public Rounder rounder; field in class:MacroProps 46 if (rounder == null) rounder = fallback.rounder; 65 rounder, 87 && Utility.equals(rounder, other.rounder)
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
MacroProps.java | 12 import com.ibm.icu.number.Rounder; 20 public Rounder rounder; field in class:MacroProps 42 if (rounder == null) rounder = fallback.rounder; 61 rounder, 83 && Utility.equals(rounder, other.rounder)
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
pool_allocator_test.cc | 192 Pow2Rounder rounder; local 193 EXPECT_EQ(1, rounder.RoundUp(1)); 194 EXPECT_EQ(2, rounder.RoundUp(2)); 195 EXPECT_EQ(16, rounder.RoundUp(9)); 196 EXPECT_EQ(16, rounder.RoundUp(16)); 197 EXPECT_EQ(65536, rounder.RoundUp(41234)); 198 EXPECT_EQ(65536, rounder.RoundUp(65535)); 199 EXPECT_EQ(65536, rounder.RoundUp(65536));
|
/external/webp/src/dsp/ |
rescaler_sse2.c | 26 #define ROUNDER (WEBP_RESCALER_ONE >> 1) 27 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX) 120 const __m128i rounder = _mm_set_epi32(0, ROUNDER, 0, ROUNDER); local 156 const __m128i E1 = _mm_add_epi64(D1, rounder); 157 const __m128i E2 = _mm_add_epi64(D2, rounder); 201 const __m128i rounder = _mm_set_epi32(0, ROUNDER, 0, ROUNDER); local 257 const __m128i rounder = _mm_set_epi32(0, ROUNDER, 0, ROUNDER); local 303 const __m128i rounder = _mm_set_epi32(0, ROUNDER, 0, ROUNDER); local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
NumberFormatterSettings.java | 151 * Pass this method the return value of one of the factory methods on {@link Rounder}. For example: 154 * NumberFormatter.with().rounding(Rounder.fixedFraction(2)) 159 * <code>Rounder.maxFraction(6)</code>. The exceptions are if compact notation is being used, then the compact 161 * then standard currency rounding is used, which varies from currency to currency (see {@link Rounder#currency} for 164 * @param rounder 167 * @see Rounder 170 public T rounding(Rounder rounder) { 171 return create(KEY_ROUNDER, rounder); 469 if (macros.rounder == null) [all...] |
NumberPropertyMapper.java | 22 import android.icu.number.Rounder.FractionRounderImpl; 23 import android.icu.number.Rounder.IncrementRounderImpl; 24 import android.icu.number.Rounder.SignificantRounderImpl; 128 // NOTE: Increments are handled in "Rounder.constructCurrency()". 157 Rounder rounding = null; 159 rounding = Rounder.constructCurrency(currencyUsage).withCurrency(currency); 161 rounding = Rounder.constructIncrement(roundingIncrement); 167 rounding = Rounder.constructSignificant(minSig, maxSig); 169 rounding = Rounder.constructFraction(minFrac, maxFrac); 171 rounding = Rounder.constructCurrency(currencyUsage) [all...] |
NumberFormatterImpl.java | 164 if (macros.rounder != null) { 165 micros.rounding = macros.rounder; 167 micros.rounding = Rounder.COMPACT_STRATEGY; 169 micros.rounding = Rounder.MONETARY_STANDARD; 171 micros.rounding = Rounder.MAX_FRAC_6;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
NumberFormatterSettings.java | 152 * Pass this method the return value of one of the factory methods on {@link Rounder}. For example: 155 * NumberFormatter.with().rounding(Rounder.fixedFraction(2)) 160 * <code>Rounder.maxFraction(6)</code>. The exceptions are if compact notation is being used, then the compact 162 * then standard currency rounding is used, which varies from currency to currency (see {@link Rounder#currency} for 165 * @param rounder 168 * @see Rounder 172 public T rounding(Rounder rounder) { 173 return create(KEY_ROUNDER, rounder); 477 if (macros.rounder == null) [all...] |
NumberPropertyMapper.java | 21 import com.ibm.icu.number.Rounder.FractionRounderImpl; 22 import com.ibm.icu.number.Rounder.IncrementRounderImpl; 23 import com.ibm.icu.number.Rounder.SignificantRounderImpl; 127 // NOTE: Increments are handled in "Rounder.constructCurrency()". 156 Rounder rounding = null; 158 rounding = Rounder.constructCurrency(currencyUsage).withCurrency(currency); 160 rounding = Rounder.constructIncrement(roundingIncrement); 166 rounding = Rounder.constructSignificant(minSig, maxSig); 168 rounding = Rounder.constructFraction(minFrac, maxFrac); 170 rounding = Rounder.constructCurrency(currencyUsage) [all...] |
NumberFormatterImpl.java | 163 if (macros.rounder != null) { 164 micros.rounding = macros.rounder; 166 micros.rounding = Rounder.COMPACT_STRATEGY; 168 micros.rounding = Rounder.MONETARY_STANDARD; 170 micros.rounding = Rounder.MAX_FRAC_6;
|
/external/icu/icu4c/source/i18n/ |
number_fluent.cpp | 49 Derived NumberFormatterSettings<Derived>::rounding(const Rounder &rounder) const { 52 copy.fMacros.rounder = rounder;
|
number_formatimpl.cpp | 220 if (!macros.rounder.isBogus()) { 221 fMicros.rounding = macros.rounder; 223 fMicros.rounding = Rounder::integer().withMinDigits(2); 225 fMicros.rounding = Rounder::currency(UCURR_USAGE_STANDARD); 227 fMicros.rounding = Rounder::maxFraction(6);
|
/external/icu/icu4c/source/i18n/unicode/ |
numberformatter.h | 38 * .rounding(Rounder::maxDigits(2)) 46 * .rounding(Rounder::fixedFraction(3)); 66 * formatter.rounding(Rounder.maxFraction(2)); // does nothing! 282 class Rounder; 406 * Rounder.integer().withMinDigits(2) 561 typedef Rounder DigitRounder; 567 * To create a Rounder, use one of the factory methods. 571 class U_I18N_API Rounder : public UMemory { 587 * @return A Rounder for chaining or passing to the NumberFormatter rounding() setter. 590 static Rounder unlimited() 1287 Rounder rounder; \/\/ = Rounder(); (bogus) member in struct:number::impl::MacroProps [all...] |
/external/sqlite/dist/orig/ |
sqlite3.c | 26060 double rounder; \/* Used for rounding floating point values *\/ local [all...] |
/external/sqlite/dist/ |
sqlite3.c | 26060 double rounder; \/* Used for rounding floating point values *\/ local [all...] |