Home
last modified time | relevance | path

Searched refs:mult (Results 1 – 25 of 268) sorted by relevance

1234567891011

/third_party/boost/libs/hana/test/_include/laws/
Dring.hpp48 hana::mult(x, hana::mult(y, z)), in TestRing()
49 hana::mult(hana::mult(x, y), z) in TestRing()
54 hana::mult(x, hana::plus(y, z)), in TestRing()
55 hana::plus(hana::mult(x, y), hana::mult(x, z)) in TestRing()
61 hana::mult(x, one<R>()), x in TestRing()
66 hana::mult(one<R>(), x), x in TestRing()
82 hana::mult(x, x) in TestRing()
87 hana::mult(hana::mult(x, x), x) in TestRing()
92 hana::mult(hana::mult(hana::mult(x, x), x), x) in TestRing()
97 hana::mult(hana::mult(hana::mult(hana::mult(x, x), x), x), x) in TestRing()
[all …]
/third_party/ltp/lib/
Drandom_range.c45 int mult; member
135 rp->mult = defmult; in parse_ranges()
192 if ((*parse_func) (multstr, &rp->mult) < 0) { in parse_ranges()
250 return ((struct range *)rbuf)[r].mult; in range_mult()
278 long random_range(int min, int max, int mult, char **errp) in random_range() argument
288 if (mult < 1) { in random_range()
302 orig_mult = mult; in random_range()
318 if ((r = min % mult)) /* bump to the next higher 'mult' multiple */ in random_range()
319 min += mult - r; in random_range()
321 if ((r = max % mult)) /* reduce to the next lower 'mult' multiple */ in random_range()
[all …]
/third_party/ltp/testcases/kernel/fs/doio/
Dbytes_by_prefix.c75 char mult, junk; in bytes_by_prefix() local
80 nconv = sscanf(s, "%f%c%c", &num, &mult, &junk); in bytes_by_prefix()
89 switch (mult) { in bytes_by_prefix()
123 char mult, junk; in lbytes_by_prefix() local
128 nconv = sscanf(s, "%f%c%c", &num, &mult, &junk); in lbytes_by_prefix()
137 switch (mult) { in lbytes_by_prefix()
175 char mult, junk; in llbytes_by_prefix() local
180 nconv = sscanf(s, "%lf%c%c", &num, &mult, &junk); in llbytes_by_prefix()
188 switch (mult) { in llbytes_by_prefix()
/third_party/node/benchmark/fixtures/
Dcoverage-many-branches.js22 mult() { method in CoveredClass
29 return mult();
54 function mult(x, y) { function
56 return mt.mult();
83 mult(Math.random() * 10, Math.random() * 10) :
92 let r = mult(Math.random() * 10, Math.random() * 10) > 10 ?
94 mult(Math.random() * 10, Math.random() * 10);
99 if (mult(Math.random() * 10, Math.random() * 10) > 10) {
102 mult(Math.random() * 10, Math.random() * 10);
108 mult(Math.random() * 10, Math.random() * 10);
/third_party/boost/boost/random/
Dgenerate_canonical.hpp38 RealType mult = R; in generate_canonical_impl() local
43 while(mult < limit) { in generate_canonical_impl()
45 S += inc * mult; in generate_canonical_impl()
46 mult *= R; in generate_canonical_impl()
48 return S / mult; in generate_canonical_impl()
62 RealType mult = R; in generate_canonical_impl() local
65 while(mult < limit) { in generate_canonical_impl()
67 S += inc * mult; in generate_canonical_impl()
68 mult *= R; in generate_canonical_impl()
70 return S / mult; in generate_canonical_impl()
/third_party/benchmark/src/
Dbenchmark_register.h15 AddPowers(std::vector<T>* dst, T lo, T hi, int mult) { in AddPowers() argument
18 CHECK_GE(mult, 2); in AddPowers()
25 for (T i = 1; i <= hi; i *= mult) { in AddPowers()
31 if (i > kmax / mult) break; in AddPowers()
38 void AddNegatedPowers(std::vector<T>* dst, T lo, T hi, int mult) { in AddNegatedPowers() argument
51 const auto it = AddPowers(dst, hi_complement, lo_complement, mult); in AddNegatedPowers()
58 void AddRange(std::vector<T>* dst, T lo, T hi, int mult) { in AddRange() argument
63 CHECK_GE(mult, 2); in AddRange()
85 AddNegatedPowers(dst, lo_inner, std::min(hi_inner, T{-1}), mult); in AddRange()
95 AddPowers(dst, std::max(lo_inner, T{1}), hi_inner, mult); in AddRange()
/third_party/boost/libs/random/test/
Dtest_const_mod.cpp28 …BOOST_CHECK_EQUAL((boost::random::const_mod<IntType, 127>::mult(IntType(i), IntType(j))), i * j % … in BOOST_AUTO_TEST_CASE_TEMPLATE()
34 …BOOST_CHECK_EQUAL((boost::random::const_mod<IntType, 0>::mult(IntType(i), IntType(j))), i * j % mo… in BOOST_AUTO_TEST_CASE_TEMPLATE()
86 BOOST_CHECK_EQUAL((boost::random::const_mod<IntType, 127>::mult(IntType(i), inverse)), 1); in BOOST_AUTO_TEST_CASE_TEMPLATE()
91 BOOST_CHECK_EQUAL((boost::random::const_mod<IntType, 0>::mult(IntType(i), inverse)), 1); in BOOST_AUTO_TEST_CASE_TEMPLATE()
101 BOOST_CHECK_EQUAL((boost::random::const_mod<IntType, 2147483563>::mult(0, 0)), IntType(0)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
102 …BOOST_CHECK_EQUAL((boost::random::const_mod<IntType, 2147483563>::mult(0, 2147483562)), IntType(0)… in BOOST_AUTO_TEST_CASE_TEMPLATE()
103 …BOOST_CHECK_EQUAL((boost::random::const_mod<IntType, 2147483563>::mult(2147483562, 0)), IntType(0)… in BOOST_AUTO_TEST_CASE_TEMPLATE()
104 …BOOST_CHECK_EQUAL((boost::random::const_mod<IntType, 2147483563>::mult(2147483562, 2147483562)), I… in BOOST_AUTO_TEST_CASE_TEMPLATE()
105 …BOOST_CHECK_EQUAL((boost::random::const_mod<IntType, 2147483563>::mult(1234567890, 1234657890)), I… in BOOST_AUTO_TEST_CASE_TEMPLATE()
129 …BOOST_CHECK_EQUAL((boost::random::const_mod<IntType, 2147483563>::mult(2147483562, inverse)), IntT… in BOOST_AUTO_TEST_CASE_TEMPLATE()
[all …]
/third_party/ffmpeg/libavfilter/
Daf_crystalizer.c29 float mult; member
39 { "i", "set intensity", OFFSET(mult), AV_OPT_TYPE_FLOAT, {.dbl=2.0}, 0, 10, A },
82 float mult; member
94 float mult = td->mult; in filter_flt() local
107 dst[c] = current + (current - prv[c]) * mult; in filter_flt()
129 float mult = td->mult; in filter_dbl() local
143 dst[c] = current + (current - prv[c]) * mult; in filter_dbl()
165 float mult = td->mult; in filter_fltp() local
179 dst[n] = current + (current - prv[0]) * mult; in filter_fltp()
198 float mult = td->mult; in filter_dblp() local
[all …]
Daf_extrastereo.c29 float mult; member
37 …{ "m", "set the difference coefficient", OFFSET(mult), AV_OPT_TYPE_FLOAT, {.dbl=2.5}, -10, 10, A },
66 const float mult = s->mult; in filter_frame() local
89 left = average + mult * (left - average); in filter_frame()
90 right = average + mult * (right - average); in filter_frame()
/third_party/libwebsockets/plugins/ssh-base/crypto/
Dsmult_curve25519_ref.c60 static void mult(unsigned int out[32],const unsigned int a[32],const unsigned int b[32]) in mult() function
162 mult(b1,a1,a0 + 32); in mainloop()
163 mult(b1 + 32,a1 + 32,a0); in mainloop()
170 mult(xznb,b0,b0 + 32); in mainloop()
171 mult(xznb + 32,s,u); in mainloop()
173 mult(xzn1b + 32,r,work); in mainloop()
197 /* 9 */ mult(z9,t0,z); in recip()
198 /* 11 */ mult(z11,z9,z2); in recip()
200 /* 2^5 - 2^0 = 31 */ mult(z2_5_0,t0,z9); in recip()
207 /* 2^10 - 2^0 */ mult(z2_10_0,t0,z2_5_0); in recip()
[all …]
/third_party/boost/boost/math/special_functions/detail/
Dbessel_jy_derivatives_series.hpp21 : N(0), v(v_), term(1), mult(x / 2) in bessel_j_derivative_small_z_series_term()
23 mult *= -mult; in bessel_j_derivative_small_z_series_term()
39 term *= mult / (N * (N + v)); in iterate()
44 T mult; member
88 mult = x / 2; in bessel_y_derivative_small_z_series_term_a()
89 mult *= -mult; in bessel_y_derivative_small_z_series_term_a()
96 term *= mult / (N * (N - v)); in operator ()()
102 T mult; member
114 mult = x / 2; in bessel_y_derivative_small_z_series_term_b()
115 mult *= -mult; in bessel_y_derivative_small_z_series_term_b()
[all …]
Dbessel_jy_series.hpp24 mult = x / 2; in bessel_j_small_z_series_term() local
25 mult *= -mult; in bessel_j_small_z_series_term()
32 term *= mult / (N * (N + v)); in operator ()()
38 T mult; member
84 mult = x / 2; in bessel_y_small_z_series_term_a() local
85 mult *= -mult; in bessel_y_small_z_series_term_a()
93 term *= mult / (N * (N - v)); in operator ()()
99 T mult; member
112 mult = x / 2; in bessel_y_small_z_series_term_b() local
113 mult *= -mult; in bessel_y_small_z_series_term_b()
[all …]
/third_party/uboot/u-boot-2020.01/drivers/clk/
Dclk-fixed-factor.c26 rate = (unsigned long long int)parent_rate * fix->mult; in clk_factor_recalc_rate()
37 unsigned int mult, unsigned int div) in clk_hw_register_fixed_factor() argument
48 fix->mult = mult; in clk_hw_register_fixed_factor()
64 unsigned int mult, unsigned int div) in clk_register_fixed_factor() argument
68 clk = clk_hw_register_fixed_factor(dev, name, parent_name, flags, mult, in clk_register_fixed_factor()
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Drescaler_sse2.c66 const __m128i mult = _mm_set1_epi32(((x_add - accum) << 16) | accum); in RescalerImportRowExpand_SSE2() local
67 const __m128i out = _mm_madd_epi16(cur_pixels, mult); in RescalerImportRowExpand_SSE2()
85 const __m128i mult = _mm_cvtsi32_si128(((x_add - accum) << 16) | accum); in RescalerImportRowExpand_SSE2() local
86 const __m128i out = _mm_madd_epi16(cur_pixels, mult); in RescalerImportRowExpand_SSE2()
144 const __m128i mult = _mm_set1_epi16(-accum); in RescalerImportRowShrink_SSE2() local
145 const __m128i frac0 = _mm_mullo_epi16(base, mult); // 16b x 16b -> 32b in RescalerImportRowShrink_SSE2()
146 const __m128i frac1 = _mm_mulhi_epu16(base, mult); in RescalerImportRowShrink_SSE2()
172 const __m128i* const mult, in LoadDispatchAndMult_SSE2() argument
181 if (mult != NULL) { in LoadDispatchAndMult_SSE2()
182 *out0 = _mm_mul_epu32(A0, *mult); in LoadDispatchAndMult_SSE2()
[all …]
/third_party/skia/third_party/externals/libwebp/src/dsp/
Drescaler_sse2.c66 const __m128i mult = _mm_set1_epi32(((x_add - accum) << 16) | accum); in RescalerImportRowExpand_SSE2() local
67 const __m128i out = _mm_madd_epi16(cur_pixels, mult); in RescalerImportRowExpand_SSE2()
85 const __m128i mult = _mm_cvtsi32_si128(((x_add - accum) << 16) | accum); in RescalerImportRowExpand_SSE2() local
86 const __m128i out = _mm_madd_epi16(cur_pixels, mult); in RescalerImportRowExpand_SSE2()
144 const __m128i mult = _mm_set1_epi16(-accum); in RescalerImportRowShrink_SSE2() local
145 const __m128i frac0 = _mm_mullo_epi16(base, mult); // 16b x 16b -> 32b in RescalerImportRowShrink_SSE2()
146 const __m128i frac1 = _mm_mulhi_epu16(base, mult); in RescalerImportRowShrink_SSE2()
172 const __m128i* const mult, in LoadDispatchAndMult_SSE2() argument
181 if (mult != NULL) { in LoadDispatchAndMult_SSE2()
182 *out0 = _mm_mul_epu32(A0, *mult); in LoadDispatchAndMult_SSE2()
[all …]
/third_party/boost/libs/core/test/
Deif_lazy.cpp53 mult(const T& x, const U& y) {return x * y;}
66 mult(const T& x, const U& y) {return x * y;} in mult() function
69 double mult(int i, double d) { return (double)i * d; } in mult() function
75 BOOST_TEST(mult(1, 2) == 2); in main()
77 BOOST_TEST(mult(1, 3.0) == 3.0); in main()
/third_party/uboot/u-boot-2020.01/arch/arm/dts/
Dam33xx-clocks.dtsi23 clock-mult = <1>;
31 clock-mult = <1>;
39 clock-mult = <1>;
47 clock-mult = <1>;
55 clock-mult = <1>;
63 clock-mult = <1>;
71 clock-mult = <1>;
79 clock-mult = <1>;
87 clock-mult = <1>;
95 clock-mult = <1>;
[all …]
Domap36xx-omap3430es2plus-clocks.dtsi38 clock-mult = <1>;
54 clock-mult = <1>;
78 clock-mult = <1>;
86 clock-mult = <1>;
94 clock-mult = <1>;
102 clock-mult = <1>;
110 clock-mult = <1>;
118 clock-mult = <1>;
126 clock-mult = <1>;
134 clock-mult = <1>;
[all …]
Dam43xx-clocks.dtsi39 clock-mult = <1>;
47 clock-mult = <1>;
55 clock-mult = <1>;
63 clock-mult = <1>;
71 clock-mult = <1>;
79 clock-mult = <1>;
87 clock-mult = <1>;
95 clock-mult = <1>;
103 clock-mult = <1>;
321 clock-mult = <1>;
[all …]
/third_party/typescript/tests/baselines/reference/
DcastTest.types57 mult(p: Point): Point;
58 >mult : (p: Point) => Point
68 …ion(dx, dy) { return new Point(this.x + dx, this.y + dy); }, mult: function(p) { retu…
69 … this.y + dy); }, mult: function(p) { return p; }}) : { x: number; y: number; add: (dx: numb…
70 …, this.y + dy); }, mult: function(p) { return p; }} : { x: number; y: number; add: (dx: numb…
101 mult: function(p) { return p; }
102 >mult : (p: Point) => Point
/third_party/ffmpeg/libavformat/
Ddcstr.c36 int mult; in dcstr_read_header() local
50 mult = avio_rl32(s->pb); in dcstr_read_header()
51 if (st->codecpar->channels <= 0 || mult <= 0 || mult > INT_MAX / st->codecpar->channels) { in dcstr_read_header()
52 … av_log(s, AV_LOG_ERROR, "invalid number of channels %d x %d\n", st->codecpar->channels, mult); in dcstr_read_header()
55 st->codecpar->channels *= mult; in dcstr_read_header()
/third_party/json/benchmarks/thirdparty/benchmark/src/
Dbenchmark_register.h9 void AddRange(std::vector<T>* dst, T lo, T hi, int mult) { in AddRange() argument
12 CHECK_GE(mult, 2); in AddRange()
20 for (T i = 1; i < kmax / mult; i *= mult) { in AddRange()
/third_party/uboot/u-boot-2020.01/drivers/clk/renesas/
Dclk-rcar-gen3.c163 u32 value, mult, div, prediv, postdiv; in gen3_clk_get_rate64() local
213 mult = (((value >> 24) & 0x7f) + 1) * 2; in gen3_clk_get_rate64()
214 rate = gen3_clk_get_rate64(&parent) * mult; in gen3_clk_get_rate64()
216 __func__, __LINE__, core->parent, mult, rate); in gen3_clk_get_rate64()
230 mult = (((value >> 24) & 0x7f) + 1) * 2; in gen3_clk_get_rate64()
231 rate = gen3_clk_get_rate64(&parent) * mult; in gen3_clk_get_rate64()
233 __func__, __LINE__, core->parent, mult, rate); in gen3_clk_get_rate64()
247 mult = (((value >> 24) & 0x7f) + 1) * 2; in gen3_clk_get_rate64()
248 rate = gen3_clk_get_rate64(&parent) * mult; in gen3_clk_get_rate64()
250 __func__, __LINE__, core->parent, mult, rate); in gen3_clk_get_rate64()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dpcg_engine.h143 auto mult = helper.read(is);
146 if (mult != pcg_engine::params_type::multiplier() ||
163 state_type mult{}, inc{}, tmp{};
164 is >> mult >> inc >> tmp;
165 if (mult != pcg_engine::params_type::multiplier() ||
186 state_type mult = Params::multiplier(); in advance() local
192 m *= mult; in advance()
193 i = i * mult + inc; in advance()
195 inc = (mult + 1) * inc; in advance()
196 mult *= mult; in advance()
/third_party/abseil-cpp/absl/random/internal/
Dpcg_engine.h142 auto mult = helper.read(is);
145 if (mult != pcg_engine::params_type::multiplier() ||
162 state_type mult{}, inc{}, tmp{};
163 is >> mult >> inc >> tmp;
164 if (mult != pcg_engine::params_type::multiplier() ||
185 state_type mult = Params::multiplier(); in advance() local
191 m *= mult; in advance()
192 i = i * mult + inc; in advance()
194 inc = (mult + 1) * inc; in advance()
195 mult *= mult; in advance()

1234567891011