Home
last modified time | relevance | path

Searched refs:factor (Results 1 – 25 of 1341) sorted by relevance

12345678910>>...54

/third_party/boost/boost/chrono/detail/inlined/mac/
Dprocess_cpu_clocks.hpp31 long factor = 0; in tick_factor() local
32 if (!factor) in tick_factor()
34 if ((factor = ::sysconf(_SC_CLK_TCK)) <= 0) in tick_factor()
35 factor = -1; in tick_factor()
38 BOOST_ASSERT(factor <= 1000000000l); // doesn't handle large ticks in tick_factor()
39 factor = 1000000000l / factor; // compute factor in tick_factor()
40 if (!factor) in tick_factor()
41 factor = -1; in tick_factor()
44 return factor; in tick_factor()
59 long factor = chrono_detail::tick_factor(); in now() local
[all …]
/third_party/skia/third_party/externals/icu/source/data/misc/
Dunits.txt8 factor{"100000"}
12 factor{"ft2_to_m2 * 43560"}
16 factor{"1"}
20 factor{"1/360*60"}
24 factor{"1/360*60*60"}
28 factor{"149597900000"}
32 factor{"101325"}
36 factor{"100000"}
40 factor{"42*gal_to_m3"}
44 factor{"1"}
[all …]
/third_party/icu/icu4c/source/data/misc/
Dunits.txt8 factor{"100000"}
12 factor{"ft2_to_m2 * 43560"}
16 factor{"1"}
20 factor{"1/360*60"}
24 factor{"1/360*60*60"}
28 factor{"149597900000"}
32 factor{"101325"}
36 factor{"100000"}
40 factor{"42*gal_to_m3"}
44 factor{"1"}
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_blend.c198 const double *factor, in compute_blend_ref_term() argument
209 term[0] = factor[0]; /* R */ in compute_blend_ref_term()
210 term[1] = factor[1]; /* G */ in compute_blend_ref_term()
211 term[2] = factor[2]; /* B */ in compute_blend_ref_term()
214 term[0] = factor[0] * src[0]; /* R */ in compute_blend_ref_term()
215 term[1] = factor[1] * src[1]; /* G */ in compute_blend_ref_term()
216 term[2] = factor[2] * src[2]; /* B */ in compute_blend_ref_term()
219 term[0] = factor[0] * src[3]; /* R */ in compute_blend_ref_term()
220 term[1] = factor[1] * src[3]; /* G */ in compute_blend_ref_term()
221 term[2] = factor[2] * src[3]; /* B */ in compute_blend_ref_term()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/gaudieffects/
Dgstexclusion.c97 gint factor);
171 filter->factor = DEFAULT_FACTOR; in gst_exclusion_init()
182 filter->factor = g_value_get_uint (value); in gst_exclusion_set_property()
199 g_value_set_uint (value, filter->factor); in gst_exclusion_get_property()
222 gint video_size, factor; in gst_exclusion_transform_frame() local
243 factor = filter->factor; in gst_exclusion_transform_frame()
248 transform (src, dest, video_size, factor); in gst_exclusion_transform_frame()
257 transform (guint32 * src, guint32 * dest, gint video_area, gint factor) in transform() argument
269 red = factor - in transform()
270 (((factor - red) * (factor - red) / factor) + ((green * red) / factor)); in transform()
[all …]
/third_party/boost/libs/xpressive/perf/
Dregex_comparison.hpp53 double factor; member
64 factor((std::numeric_limits<double>::max)()), in results()
70 if((boost_time >= 0) && (boost_time < factor)) in finalise()
71 factor = boost_time; in finalise()
72 if((greta_time >= 0) && (greta_time < factor)) in finalise()
73 factor = greta_time; in finalise()
74 if((safe_greta_time >= 0) && (safe_greta_time < factor)) in finalise()
75 factor = safe_greta_time; in finalise()
76 if((dynamic_xpressive_time >= 0) && (dynamic_xpressive_time < factor)) in finalise()
77 factor = dynamic_xpressive_time; in finalise()
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_rational.cpp73 void dng_srational::ReduceByFactor (int32 factor) in ReduceByFactor() argument
76 while (n % factor == 0 && in ReduceByFactor()
77 d % factor == 0 && in ReduceByFactor()
78 d >= factor) in ReduceByFactor()
80 n /= factor; in ReduceByFactor()
81 d /= factor; in ReduceByFactor()
137 void dng_urational::ReduceByFactor (uint32 factor) in ReduceByFactor() argument
140 while (n % factor == 0 && in ReduceByFactor()
141 d % factor == 0 && in ReduceByFactor()
142 d >= factor) in ReduceByFactor()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DPixelProcessor.cpp703 factor.textureFactor4[0][0] = textureFactorR; in setTextureFactor()
704 factor.textureFactor4[0][1] = textureFactorR; in setTextureFactor()
705 factor.textureFactor4[0][2] = textureFactorR; in setTextureFactor()
706 factor.textureFactor4[0][3] = textureFactorR; in setTextureFactor()
708 factor.textureFactor4[1][0] = textureFactorG; in setTextureFactor()
709 factor.textureFactor4[1][1] = textureFactorG; in setTextureFactor()
710 factor.textureFactor4[1][2] = textureFactorG; in setTextureFactor()
711 factor.textureFactor4[1][3] = textureFactorG; in setTextureFactor()
713 factor.textureFactor4[2][0] = textureFactorB; in setTextureFactor()
714 factor.textureFactor4[2][1] = textureFactorB; in setTextureFactor()
[all …]
/third_party/boost/libs/spirit/classic/example/fundamental/more_calculators/
Dphoenix_subrule_calc.cpp64 factor[term.val = arg1] in definition()
65 >> *( ('*' >> factor[term.val *= arg1]) in definition()
66 | ('/' >> factor[term.val /= arg1]) in definition()
70 factor in definition()
71 = ureal_p[factor.val = arg1] in definition()
72 | '(' >> expression[factor.val = arg1] >> ')' in definition()
73 | ('-' >> factor[factor.val = -arg1]) in definition()
74 | ('+' >> factor[factor.val = arg1]) in definition()
80 BOOST_SPIRIT_DEBUG_NODE(factor); in definition()
85 subrule<2, calc_closure::context_t> factor; member
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/
DRangeTreeFactorizerTest.java23 import static com.google.i18n.phonenumbers.metadata.RangeTreeFactorizer.factor;
35 assertThat(factor(empty(), REQUIRE_EQUAL_EDGES)).isEmpty(); in testEmpty()
36 assertThat(factor(empty(), ALLOW_EDGE_SPLITTING)).isEmpty(); in testEmpty()
42 assertThat(factor(t, REQUIRE_EQUAL_EDGES)).containsExactly(t); in testSimplePrefix()
43 assertThat(factor(t, ALLOW_EDGE_SPLITTING)).containsExactly(t); in testSimplePrefix()
49 assertThat(factor(t, REQUIRE_EQUAL_EDGES)).containsExactly(t); in testDisjointBranchesNotFactored()
50 assertThat(factor(t, ALLOW_EDGE_SPLITTING)).containsExactly(t); in testDisjointBranchesNotFactored()
56 assertThat(factor(t, REQUIRE_EQUAL_EDGES)) in testOverlappingBranchesAreFactored()
59 assertThat(factor(t, ALLOW_EDGE_SPLITTING)) in testOverlappingBranchesAreFactored()
73 assertThat(factor(splittable, REQUIRE_EQUAL_EDGES)) in testStrategyDifference()
[all …]
/third_party/boost/libs/spirit/classic/example/fundamental/
Dphoenix_calc.cpp61 = factor[term.val = arg1] in definition()
62 >> *( ('*' >> factor[term.val *= arg1]) in definition()
63 | ('/' >> factor[term.val /= arg1]) in definition()
67 factor in definition()
68 = ureal_p[factor.val = arg1] in definition()
69 | '(' >> expression[factor.val = arg1] >> ')' in definition()
70 | ('-' >> factor[factor.val = -arg1]) in definition()
71 | ('+' >> factor[factor.val = arg1]) in definition()
76 rule_t expression, term, factor; member
Dsubrule_calc.cpp69 factor in definition()
70 >> *( ('*' >> factor)[&do_mult] in definition()
71 | ('/' >> factor)[&do_div] in definition()
75 factor in definition()
78 | ('-' >> factor)[&do_neg] in definition()
79 | ('+' >> factor) in definition()
85 BOOST_SPIRIT_DEBUG_NODE(factor); in definition()
90 subrule<2> factor; member
Dtree_calc_grammar.hpp43 factor = integer in definition()
45 | (root_node_d[ch_p('-')] >> factor); in definition()
47 term = factor >> in definition()
48 *( (root_node_d[ch_p('*')] >> factor) in definition()
49 | (root_node_d[ch_p('/')] >> factor) in definition()
60 BOOST_SPIRIT_DEBUG_RULE(factor); in definition()
67 rule<ScannerT, parser_context<>, parser_tag<factorID> > factor; member
/third_party/boost/libs/spirit/example/x3/calc/calc4c/
Dgrammar.cpp34 x3::rule<class factor, ast::operand> const factor("factor"); variable
44 factor
45 >> *( (char_('*') >> factor)
46 | (char_('/') >> factor)
53 | (char_('-') >> factor)
54 | (char_('+') >> factor)
60 , factor
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_blend.h14 util_blend_dst_alpha_to_one(int factor) in util_blend_dst_alpha_to_one() argument
16 switch (factor) { in util_blend_dst_alpha_to_one()
22 return factor; in util_blend_dst_alpha_to_one()
50 util_blend_factor_to_shader(enum pipe_blendfactor factor) in util_blend_factor_to_shader() argument
52 switch (factor) { in util_blend_factor_to_shader()
98 util_blend_factor_is_inverted(enum pipe_blendfactor factor) in util_blend_factor_is_inverted() argument
100 switch (factor) { in util_blend_factor_is_inverted()
120 util_blend_factor_uses_dest(enum pipe_blendfactor factor, bool alpha) in util_blend_factor_uses_dest() argument
122 switch (factor) { in util_blend_factor_uses_dest()
/third_party/boost/libs/spirit/classic/example/techniques/no_rules_with_typeof/
Drule_parser_2_2.cpp71 (1,(factor)),
75 factor
76 >> *( ('*' >> factor)[ &do_mul ]
77 | ('/' >> factor)[ &do_div ]
85 BOOST_SPIRIT_RULE_PARSER(factor,
88 (1,( ((parser_reference<factor_t>),factor,(*this)) )),
92 | ('-' >> factor)[&do_neg]
93 | ('+' >> factor)
109 sr_factor = factor(sr_expression)
/third_party/flutter/skia/src/gpu/effects/
DGrBlurredEdgeFragmentProcessor.fp16 half factor = 1.0 - sk_InColor.a;
19 factor = half(exp(-factor * factor * 4.0) - 0.018);
22 factor = smoothstep(1.0, 0.0, factor);
25 sk_OutColor = half4(factor);
/third_party/boost/boost/chrono/detail/inlined/posix/
Dprocess_cpu_clocks.hpp28 long factor = 0; in tick_factor() local
29 if ( !factor ) in tick_factor()
31 if ( (factor = ::sysconf( _SC_CLK_TCK )) <= 0 ) in tick_factor()
32 factor = -1; in tick_factor()
35 BOOST_ASSERT( factor <= 1000000000l ); // doesn't handle large ticks in tick_factor()
36 factor = 1000000000l / factor; // compute factor in tick_factor()
37 if ( !factor ) factor = -1; in tick_factor()
40 return factor; in tick_factor()
284 nanoseconds::rep factor = chrono_detail::tick_factor(); in now() local
285 if ( factor != -1 ) in now()
[all …]
/third_party/boost/libs/spirit/example/x3/calc/calc7/
Dexpression_def.hpp31 factor_type const factor = "factor"; variable
41 factor
42 >> *( (char_('*') > factor)
43 | (char_('/') > factor)
50 | (char_('-') > factor)
51 | (char_('+') > factor)
57 , factor
/third_party/boost/libs/spirit/example/x3/calc/
Dcalc1.cpp43 x3::rule<class factor> const factor("factor"); variable
53 factor
54 >> *( ('*' >> factor)
55 | ('/' >> factor)
62 | ('-' >> factor)
63 | ('+' >> factor)
69 , factor
/third_party/libinput/src/
Dfilter-touchpad-x230.c113 double factor; in calculate_acceleration() local
117 factor = acceleration_profile(accel, data, velocity, time); in calculate_acceleration()
118 factor += acceleration_profile(accel, data, last_velocity, time); in calculate_acceleration()
119 factor += 4.0 * in calculate_acceleration()
124 factor = factor / 6.0; in calculate_acceleration()
126 return factor; /* unitless factor */ in calculate_acceleration()
176 const double factor = in accelerator_filter_constant_x230() local
180 normalized.x = factor * normalized.x; in accelerator_filter_constant_x230()
181 normalized.y = factor * normalized.y; in accelerator_filter_constant_x230()
259 double factor; /* unitless */ in touchpad_lenovo_x230_accel_profile() local
[all …]
/third_party/skia/src/core/
DSkGaussFilter.cpp54 auto factor = 1.0; in calculate_bessel_factors() local
58 while(factor > 1.0/1000000.0) { in calculate_bessel_factors()
59 factor *= tSquaredOver4 / (k * k); in calculate_bessel_factors()
60 sum += factor; in calculate_bessel_factors()
69 auto factor = sum; in calculate_bessel_factors() local
71 while (factor > 1.0/1000000.0) { in calculate_bessel_factors()
72 factor *= tSquaredOver4 / (k * (k + 1)); in calculate_bessel_factors()
73 sum += factor; in calculate_bessel_factors()
/third_party/flutter/skia/src/core/
DSkGaussFilter.cpp54 auto factor = 1.0; in calculate_bessel_factors() local
58 while(factor > 1.0/1000000.0) { in calculate_bessel_factors()
59 factor *= tSquaredOver4 / (k * k); in calculate_bessel_factors()
60 sum += factor; in calculate_bessel_factors()
69 auto factor = sum; in calculate_bessel_factors() local
71 while (factor > 1.0/1000000.0) { in calculate_bessel_factors()
72 factor *= tSquaredOver4 / (k * (k + 1)); in calculate_bessel_factors()
73 sum += factor; in calculate_bessel_factors()
/third_party/boost/boost/math/special_functions/detail/
Dbessel_yn.hpp27 T value, factor, current, prev; in bessel_yn() local
48 factor = static_cast<T>((n & 0x1) ? -1 : 1); // Y_{-n}(z) = (-1)^n Y_n(z) in bessel_yn()
53 factor = 1; in bessel_yn()
65 value = factor * asymptotic_bessel_y_large_x_2(static_cast<T>(abs(n)), x); in bessel_yn()
73 value = factor * bessel_y1(x, pol); in bessel_yn()
90 factor /= current; in bessel_yn()
102 if(fabs(tools::max_value<T>() * factor) < fabs(value)) in bessel_yn()
103 return sign(value) * sign(factor) * policies::raise_overflow_error<T>(function, 0, pol); in bessel_yn()
104 value /= factor; in bessel_yn()
/third_party/ffmpeg/libavutil/
Dlls.c50 double (*factor)[MAX_VARS_ALIGN] = (void *) &m->covariance[1][0]; in avpriv_solve_lls() local
60 sum -= factor[i][k] * factor[j][k]; in avpriv_solve_lls()
65 factor[i][i] = sqrt(sum); in avpriv_solve_lls()
67 factor[j][i] = sum / factor[i][i]; in avpriv_solve_lls()
76 sum -= factor[i][k] * m->coeff[0][k]; in avpriv_solve_lls()
78 m->coeff[0][i] = sum / factor[i][i]; in avpriv_solve_lls()
86 sum -= factor[k][i] * m->coeff[j][k]; in avpriv_solve_lls()
88 m->coeff[j][i] = sum / factor[i][i]; in avpriv_solve_lls()

12345678910>>...54