Home
last modified time | relevance | path

Searched refs:mult (Results 1 – 25 of 253) 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/ffmpeg/libavfilter/
Daf_crystalizer.c29 float mult; member
39 { "i", "set intensity", OFFSET(mult), AV_OPT_TYPE_FLOAT, {.dbl=2.0},-10, 10, A },
82 float mult; member
94 const float mult = td->mult; in filter_flt() local
107 dst[c] = current + (current - prv[c]) * mult; in filter_flt()
129 double 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 const double 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/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/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/iptables/extensions/
Dlibxt_limit.c52 uint32_t mult = 1; /* Seconds by default. */ in parse_rate() local
60 mult = 1; in parse_rate()
62 mult = 60; in parse_rate()
64 mult = 60*60; in parse_rate()
66 mult = 24*60*60; in parse_rate()
74 *val = XT_LIMIT_SCALE * mult / r; in parse_rate()
119 uint32_t mult; member
135 if (period > rates[i].mult in print_rate()
136 || rates[i].mult/period < rates[i].mult%period) in print_rate()
139 printf(" %u/%s", rates[i-1].mult / period, rates[i-1].name); in print_rate()
[all …]
/third_party/benchmark/src/
Dbenchmark_register.h16 int mult) { in AddPowers() argument
19 BM_CHECK_GE(mult, 2); in AddPowers()
26 for (T i = static_cast<T>(1); i <= hi; i *= mult) { in AddPowers()
32 if (i > kmax / mult) break; in AddPowers()
39 void AddNegatedPowers(std::vector<T>* dst, T lo, T hi, int mult) { in AddNegatedPowers() argument
52 const auto it = AddPowers(dst, hi_complement, lo_complement, mult); in AddNegatedPowers()
59 void AddRange(std::vector<T>* dst, T lo, T hi, int mult) { in AddRange() argument
64 BM_CHECK_GE(mult, 2); in AddRange()
86 AddNegatedPowers(dst, lo_inner, std::min(hi_inner, T{-1}), mult); in AddRange()
96 AddPowers(dst, std::max(lo_inner, T{1}), hi_inner, mult); in AddRange()
/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()
Duniform_int_distribution.hpp91 range_type mult = range_type(1); in generate_uniform_int() local
96 while(mult <= limit) { in generate_uniform_int()
117 …<range_type>(static_cast<range_type>(random::detail::subtract<base_result>()(eng(), bmin)) * mult); in generate_uniform_int()
120 if(mult * range_type(brange) == range - mult + 1) { in generate_uniform_int()
137 mult *= range_type(brange)+range_type(1); in generate_uniform_int()
169 static_cast<range_type>(range/mult), in generate_uniform_int()
171 …ts<range_type>::is_bounded && ((std::numeric_limits<range_type>::max)() / mult < result_increment)… in generate_uniform_int()
175 result_increment *= mult; in generate_uniform_int()
/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/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 …]
Dbessel_yn.hpp82 T mult = 2 * k / x; in bessel_yn() local
83 value = mult * current - prev; in bessel_yn()
87 if((mult > 1) && (fabs(current) > 1)) in bessel_yn()
96 mult = 2 * k / x; in bessel_yn()
97 value = mult * current - prev; in bessel_yn()
/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/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/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/ffmpeg/libavformat/
Ddcstr.c36 int mult; in dcstr_read_header() local
52 mult = avio_rl32(s->pb); in dcstr_read_header()
53 if (st->codecpar->channels <= 0 || mult <= 0 || mult > INT_MAX / st->codecpar->channels) { in dcstr_read_header()
54 … av_log(s, AV_LOG_ERROR, "invalid number of channels %d x %d\n", st->codecpar->channels, mult); in dcstr_read_header()
57 st->codecpar->channels *= mult; in dcstr_read_header()
/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()
/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/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/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_meta_util.c136 int mult = isLeftOrBottom ? 1 : -1; in clip_coordinates() local
140 *src += clipped_src0 * mult; in clip_coordinates()
141 *dst0 += clipped_src0 / scale * mult; in clip_coordinates()
143 *dst0 += clipped_dst0 * mult; in clip_coordinates()
144 *src += clipped_dst0 * scale * mult; in clip_coordinates()
148 *src += clipped_src0 * mult; in clip_coordinates()
149 *dst1 -= clipped_src0 / scale * mult; in clip_coordinates()
151 *dst1 -= clipped_dst1 * mult; in clip_coordinates()
152 *src += clipped_dst1 * scale * mult; in clip_coordinates()
/third_party/ltp/include/
Dtst_fs.h54 unsigned int size, unsigned int mult);
231 unsigned int mult) in tst_fs_has_free() argument
233 return tst_fs_has_free_(NULL, path, size, mult); in tst_fs_has_free()
257 unsigned int size, unsigned int mult) in tst_fs_has_free() argument
259 return tst_fs_has_free_(cleanup, path, size, mult); in tst_fs_has_free()

1234567891011