Home
last modified time | relevance | path

Searched refs:power (Results 1 - 25 of 179) sorted by relevance

12345678

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
H A DUnitsConverter.java286 /** Multiplies the Factor instance by value^power. */
287 private void multiply(BigDecimal value, int power) { in multiply() argument
288 if (power == 0) return; in multiply()
290 BigDecimal absPoweredValue = value.pow(Math.abs(power), DECIMAL128); in multiply()
291 if (power > 0) { in multiply()
306 int power = unitPrefix.getPower(); in applyPrefix()
308 BigDecimal.valueOf(base).pow(Math.abs(power), DECIMAL128); in applyPrefix()
310 if (power < 0) { in applyPrefix()
319 public Factor power(int power) { in power() argument
403 addEntity(String entity, int power) addEntity() argument
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dunits_converter.cpp52 void U_I18N_API Factor::power(int32_t power) { in power() argument
53 // multiply all the constant by the power. in power()
55 constantExponents[i] *= power; in power()
58 bool shouldFlip = power < 0; // This means that after applying the absolute power, we should flip in power()
61 factorNum = std::pow(factorNum, std::abs(power)); in power()
62 factorDen = std::pow(factorDen, std::abs(power)); in power()
152 int32_t power =
153 1; // In case the power i
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_boxblur.c46 int power[4]; member
105 s->power[Y] = s->luma_param.power; in config_input()
106 s->power[U] = s->power[V] = s->chroma_param.power; in config_input()
107 s->power[A] = s->alpha_param.power; in config_input()
168 int len, int radius, int power, uint8_t *temp[2], int pixsize) in blur_power()
172 if (radius && power) { in blur_power()
167 blur_power(uint8_t *dst, int dst_step, const uint8_t *src, int src_step, int len, int radius, int power, uint8_t *temp[2], int pixsize) blur_power() argument
201 hblur(uint8_t *dst, int dst_linesize, const uint8_t *src, int src_linesize, int w, int h, int radius, int power, uint8_t *temp[2], int pixsize) hblur() argument
214 vblur(uint8_t *dst, int dst_linesize, const uint8_t *src, int src_linesize, int w, int h, int radius, int power, uint8_t *temp[2], int pixsize) vblur() argument
[all...]
H A Dboxblur.c70 if (chroma_param->power < 0) in ff_boxblur_eval_filter_params()
71 chroma_param->power = luma_param->power; in ff_boxblur_eval_filter_params()
78 if (alpha_param->power < 0) in ff_boxblur_eval_filter_params()
79 alpha_param->power = luma_param->power; in ff_boxblur_eval_filter_params()
108 luma_param ->radius, luma_param ->power, in ff_boxblur_eval_filter_params()
109 chroma_param->radius, chroma_param->power, in ff_boxblur_eval_filter_params()
110 alpha_param ->radius, alpha_param ->power, in ff_boxblur_eval_filter_params()
H A Dvf_avgblur_opencl.c51 int power[4]; member
105 s->power[i] = 1; in avgblur_opencl_make_filter_params()
132 s->power[Y] = s->luma_param.power; in boxblur_opencl_make_filter_params()
133 s->power[U] = s->power[V] = s->chroma_param.power; in boxblur_opencl_make_filter_params()
134 s->power[A] = s->alpha_param.power; in boxblur_opencl_make_filter_params()
137 if (s->power[ in boxblur_opencl_make_filter_params()
[all...]
H A Daf_volumedetect.c73 uint64_t nb_samples = 0, power = 0, nb_samples_shift = 0, sum = 0; in print_stats() local
89 power += (i - 0x8000) * (i - 0x8000) * (vd->histogram[i] >> shift); in print_stats()
93 power = (power + nb_samples_shift / 2) / nb_samples_shift; in print_stats()
94 av_assert0(power <= 0x8000 * 0x8000); in print_stats()
95 av_log(ctx, AV_LOG_INFO, "mean_volume: %.1f dB\n", -logdb(power)); in print_stats()
H A Dpreserve_color.h45 static inline float power(float r, float g, float b, float max) in power() function
81 *icolor = power(ir, ig, ib, max); in preserve_color()
82 *ocolor = power( r, g, b, max); in preserve_color()
/third_party/icu/icu4c/source/i18n/
H A Dunits_converter.cpp52 void U_I18N_API Factor::power(int32_t power) { in power() argument
53 // multiply all the constant by the power. in power()
55 constantExponents[i] *= power; in power()
58 bool shouldFlip = power < 0; // This means that after applying the absolute power, we should flip in power()
61 factorNum = std::pow(factorNum, std::abs(power)); in power()
62 factorDen = std::pow(factorDen, std::abs(power)); in power()
152 int32_t power =
153 1; // In case the power i
[all...]
H A Dunits_converter.h78 // Apply the power to the factor.
79 void power(int32_t power);
100 void U_I18N_API addSingleFactorConstant(StringPiece baseStr, int32_t power, Signum sigNum,
/third_party/node/deps/v8/src/base/numbers/
H A Dfast-dtoa.cc19 // exponent, where 'w' is the result of multiplying the input by a cached power
186 // the power (the kappa) is increased. in RoundWeedCounted()
203 // Returns the biggest power of ten that is less than or equal than the given
208 static void BiggestPowerTen(uint32_t number, int number_bits, uint32_t* power, in BiggestPowerTen() argument
215 *power = kTen9; in BiggestPowerTen()
224 *power = kTen8; in BiggestPowerTen()
233 *power = kTen7; in BiggestPowerTen()
243 *power = kTen6; in BiggestPowerTen()
252 *power = kTen5; in BiggestPowerTen()
261 *power in BiggestPowerTen()
[all...]
H A Dfixed-dtoa.cc62 // Modifies *this to *this MOD (2^power).
63 // Returns *this DIV (2^power).
64 int DivModPowerOf2(int power) { in DivModPowerOf2() argument
65 if (power >= 64) { in DivModPowerOf2()
66 int result = static_cast<int>(high_bits_ >> (power - 64)); in DivModPowerOf2()
67 high_bits_ -= static_cast<uint64_t>(result) << (power - 64); in DivModPowerOf2()
70 uint64_t part_low = low_bits_ >> power; in DivModPowerOf2()
71 uint64_t part_high = high_bits_ << (64 - power); in DivModPowerOf2()
74 low_bits_ -= part_low << power; in DivModPowerOf2()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dunits_converter.cpp51 void U_I18N_API Factor::power(int32_t power) { in power() argument
52 // multiply all the constant by the power. in power()
54 constantExponents[i] *= power; in power()
57 bool shouldFlip = power < 0; // This means that after applying the absolute power, we should flip in power()
60 factorNum = std::pow(factorNum, std::abs(power)); in power()
61 factorDen = std::pow(factorDen, std::abs(power)); in power()
151 int32_t power =
152 1; // In case the power i
[all...]
H A Dunits_converter.h72 // Apply the power to the factor.
73 void power(int32_t power);
94 void U_I18N_API addSingleFactorConstant(StringPiece baseStr, int32_t power, Signum sigNum,
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
H A DScale.java88 public static Scale powerOfTen(int power) { in powerOfTen() argument
89 if (power == 0) { in powerOfTen()
91 } else if (power == 2) { in powerOfTen()
93 } else if (power == 3) { in powerOfTen()
96 return new Scale(power, null); in powerOfTen()
143 * Multiply a number by both a power of ten and by an arbitrary double value before formatting.
149 public static Scale byDoubleAndPowerOfTen(double multiplicand, int power) { in byDoubleAndPowerOfTen() argument
150 return new Scale(power, BigDecimal.valueOf(multiplicand)); in byDoubleAndPowerOfTen()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
H A DScale.java87 public static Scale powerOfTen(int power) { in powerOfTen() argument
88 if (power == 0) { in powerOfTen()
90 } else if (power == 2) { in powerOfTen()
92 } else if (power == 3) { in powerOfTen()
95 return new Scale(power, null); in powerOfTen()
140 * Multiply a number by both a power of ten and by an arbitrary double value before formatting.
145 public static Scale byDoubleAndPowerOfTen(double multiplicand, int power) { in byDoubleAndPowerOfTen() argument
146 return new Scale(power, BigDecimal.valueOf(multiplicand)); in byDoubleAndPowerOfTen()
/third_party/ffmpeg/libavcodec/
H A Dcelp_math.c48 int ff_exp2(uint16_t power) in ff_exp2() argument
50 unsigned int result= exp2a[power>>10] + 0x10000; in ff_exp2()
52 av_assert2(power <= 0x7fff); in ff_exp2()
54 result= (result<<3) + ((result*exp2b[(power>>5)&31])>>17); in ff_exp2()
55 return result + ((result*(power&31)*89)>>22); in ff_exp2()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-random/
H A Du64-pow2.rs18 let power: u64 = 1 << exp; in main()
19 validate(&power.to_string()); in main()
21 validate(&(power + offset).to_string()); in main()
22 validate(&(power - offset).to_string()); in main()
/third_party/python/Lib/lib2to3/fixes/
H A Dfix_filter.py27 filter_lambda=power<
43 power<
49 power<
76 new = Node(syms.power, [new] + trailers, prefix="")
83 new = Node(syms.power, [new] + trailers, prefix="")
90 new = Node(syms.power, [Name("filter"), args], prefix="")
91 new = Node(syms.power, [Name("list"), ArgList([new])] + trailers)
H A Dfix_has_key.py42 anchor=power<
57 anchor=power<
93 before = pytree.Node(syms.power, before)
102 new = pytree.Node(syms.power, (new,) + tuple(after))
106 syms.factor, syms.power):
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dpow10_helper_test.cc29 int power; // Testing Pow10(power) member
111 EXPECT_EQ(Pow10(test_case.power), in TEST()
113 << absl::StrFormat("Failure for Pow10(%d): %a vs %a", test_case.power, in TEST()
114 Pow10(test_case.power), in TEST()
/third_party/libunwind/libunwind/src/mi/
H A DGset_cache_size.c32 size_t power = 1; in unw_set_cache_size() local
47 /* Round up to next power of two, slowly but portably */ in unw_set_cache_size()
48 while(power < size) in unw_set_cache_size()
50 power *= 2; in unw_set_cache_size()
/third_party/icu/vendor/double-conversion/upstream/double-conversion/
H A Dfixed-dtoa.cc80 // Modifies *this to *this MOD (2^power).
81 // Returns *this DIV (2^power).
82 int DivModPowerOf2(int power) { in DivModPowerOf2() argument
83 if (power >= 64) { in DivModPowerOf2()
84 int result = static_cast<int>(high_bits_ >> (power - 64)); in DivModPowerOf2()
85 high_bits_ -= static_cast<uint64_t>(result) << (power - 64); in DivModPowerOf2()
88 uint64_t part_low = low_bits_ >> power; in DivModPowerOf2()
89 uint64_t part_high = high_bits_ << (64 - power); in DivModPowerOf2()
92 low_bits_ -= part_low << power; in DivModPowerOf2()
/third_party/skia/src/utils/
H A DSkFloatToDecimal.cpp122 double power = pow10(-decimalShift);
123 SkASSERT(value * power <= (double)INT_MAX);
124 int d = static_cast<int>(value * power + 0.5);
130 // SkASSERT(power * 0.1 = pow10(-decimalShift));
132 d = static_cast<int>(value * (power * 0.1) + 0.5);
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
H A DTaggedRecord.java57 int power = 1 << log2; in search()
58 int extra = count - power; in search()
59 int probe = power; in search()
/third_party/icu/icu4c/source/layoutex/
H A DLXUtilities.cpp57 le_int32 power = 1 << highBit(count); in search() local
58 le_int32 extra = count - power; in search()
59 le_int32 probe = power; in search()

Completed in 10 milliseconds

12345678