Home
last modified time | relevance | path

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

12345678910>>...37

/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{"meters_per_AU"}
32 factor{"101325"}
36 factor{"100000"}
40 factor{"42*gal_to_m3"}
44 factor{"1"}
[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/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/node/deps/v8/src/heap/
Dheap-controller.cc18 const double factor = in GrowingFactor() local
24 Trait::kName, factor, Trait::kTargetMutatorUtilization, in GrowingFactor()
27 return factor; in GrowingFactor()
49 double factor = (max_size - Trait::kMinSize) * in MaxGrowingFactor() local
53 return factor; in MaxGrowingFactor()
110 double factor = (a < b * max_factor) ? a / b : max_factor; in DynamicGrowingFactor() local
111 factor = std::min(factor, max_factor); in DynamicGrowingFactor()
112 factor = std::max({factor, Trait::kMinGrowingFactor}); in DynamicGrowingFactor()
113 return factor; in DynamicGrowingFactor()
130 size_t new_space_capacity, double factor, in CalculateAllocationLimit() argument
[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/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/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/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()
Du_dual_blend.h6 static inline boolean util_blend_factor_is_dual_src(int factor) in util_blend_factor_is_dual_src() argument
8 return (factor == PIPE_BLENDFACTOR_SRC1_COLOR) || in util_blend_factor_is_dual_src()
9 (factor == PIPE_BLENDFACTOR_SRC1_ALPHA) || in util_blend_factor_is_dual_src()
10 (factor == PIPE_BLENDFACTOR_INV_SRC1_COLOR) || in util_blend_factor_is_dual_src()
11 (factor == PIPE_BLENDFACTOR_INV_SRC1_ALPHA); in util_blend_factor_is_dual_src()
/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 …]
Dfilter-flat.c40 double factor; member
51 double factor; /* unitless factor */ in accelerator_filter_flat() local
56 factor = accel_filter->factor; in accelerator_filter_flat()
57 accelerated.x = factor * unaccelerated->x; in accelerator_filter_flat()
58 accelerated.y = factor * unaccelerated->y; in accelerator_filter_flat()
88 accel_filter->factor = max(0.005, 1 + speed_adjustment); in accelerator_set_speed_flat()
Dfilter-touchpad-flat.c43 double factor; member
54 double factor; /* unitless factor */ in accelerator_filter_touchpad_flat() local
59 factor = accel_filter->factor; in accelerator_filter_touchpad_flat()
60 accelerated.x = TP_MAGIC_SLOWDOWN_FLAT * factor * unaccelerated->x; in accelerator_filter_touchpad_flat()
61 accelerated.y = TP_MAGIC_SLOWDOWN_FLAT * factor * unaccelerated->y; in accelerator_filter_touchpad_flat()
91 accel_filter->factor = max(0.005, 1 + speed_adjustment); in accelerator_set_speed_touchpad_flat()
Dfilter-tablet.c40 double factor; member
64 accelerated.x *= filter->factor; in tablet_accelerator_filter_flat_mouse()
65 accelerated.y *= filter->factor; in tablet_accelerator_filter_flat_mouse()
89 accelerated.x = mm.x * filter->factor * DPI_CONVERSION; in tablet_accelerator_filter_flat_pen()
90 accelerated.y = mm.y * filter->factor * DPI_CONVERSION; in tablet_accelerator_filter_flat_pen()
132 accel_filter->factor = speed_adjustment + 1.0; in tablet_accelerator_set_speed()
161 filter->factor = 1.0; in create_tablet_filter_flat()
/third_party/node/deps/npm/node_modules/promise-retry/test/
Dtest.js22 }, { factor: 1 }) property
46 }, { factor: 1 }) property
124 }, { retries: 2, factor: 1 }) property
146 }, { retries: 1, factor: 1 }) property
157 }, { factor: 1 }) property
168 }, { retries: 1, factor: 1 }) property
179 }, { retries: 1, factor: 1 }) property
188 }, { retries: 1, factor: 1 }); property
211 }, { factor: 1 }) property
233 }, { retries: 1, factor: 1 }) property
[all …]
/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()
/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/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/
DRangeTreeFactorizer.java66 public static ImmutableList<RangeTree> factor(RangeTree ranges, MergeStrategy strategy) { in factor() method in RangeTreeFactorizer
101 private RangeTree factor; field in RangeTreeFactorizer
104 RangeTreeFactorizer(RangeTree factor, MergeStrategy strategy) { in RangeTreeFactorizer() argument
105 this.factor = checkNotNull(factor); in RangeTreeFactorizer()
110 recursivelyMerge(ranges.getInitial(), factor.getInitial(), RangeSpecification.empty()); in mergeFrom()
111 return factor; in mergeFrom()
116 factor = factor.union(RangeTree.from(path)); in recursivelyMerge()
183 factor = factor.union(RangeTree.from(newPath)); in recurse()
/third_party/ffmpeg/libavcodec/
Djpegls.c67 int factor; in ff_jpegls_reset_coding_parameters() local
73 factor = FFMIN(s->maxval, 4095) + 128 >> 8; in ff_jpegls_reset_coding_parameters()
76 s->T1 = iso_clip(factor * (basic_t1 - 2) + 2 + 3 * s->near, in ff_jpegls_reset_coding_parameters()
79 s->T2 = iso_clip(factor * (basic_t2 - 3) + 3 + 5 * s->near, in ff_jpegls_reset_coding_parameters()
82 s->T3 = iso_clip(factor * (basic_t3 - 4) + 4 + 7 * s->near, in ff_jpegls_reset_coding_parameters()
85 factor = 256 / (s->maxval + 1); in ff_jpegls_reset_coding_parameters()
88 s->T1 = iso_clip(FFMAX(2, basic_t1 / factor + 3 * s->near), in ff_jpegls_reset_coding_parameters()
91 s->T2 = iso_clip(FFMAX(3, basic_t2 / factor + 5 * s->near), in ff_jpegls_reset_coding_parameters()
94 s->T3 = iso_clip(FFMAX(4, basic_t3 / factor + 7 * s->near), in ff_jpegls_reset_coding_parameters()
/third_party/icu/icu4c/source/i18n/
Dunits_converter.cpp149 void addFactorElement(Factor &factor, StringPiece elementStr, Signum signum, UErrorCode &status) { in addFactorElement() argument
174 addSingleFactorConstant(baseStr, power, signum, factor, status); in addFactorElement()
212 Factor result = extractFactorConversions(conversionUnit->factor.toStringPiece(), status); in loadSingleFactor()
366 Factor &factor, UErrorCode &status) { in addSingleFactorConstant() argument
368 factor.constantExponents[CONSTANT_FT2M] += power * signum; in addSingleFactorConstant()
370 factor.constantExponents[CONSTANT_FT2M] += 2 * power * signum; in addSingleFactorConstant()
372 factor.constantExponents[CONSTANT_FT2M] += 3 * power * signum; in addSingleFactorConstant()
374 factor.constantExponents[CONSTANT_FT2M] += 3 * power * signum; in addSingleFactorConstant()
375 factor.factorDen *= 12 * 12 * 12; in addSingleFactorConstant()
377 factor.factorNum *= 231; in addSingleFactorConstant()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dunits_converter.cpp149 void addFactorElement(Factor &factor, StringPiece elementStr, Signum signum, UErrorCode &status) { in addFactorElement() argument
174 addSingleFactorConstant(baseStr, power, signum, factor, status); in addFactorElement()
212 Factor result = extractFactorConversions(conversionUnit->factor.toStringPiece(), status); in loadSingleFactor()
366 Factor &factor, UErrorCode &status) { in addSingleFactorConstant() argument
368 factor.constantExponents[CONSTANT_FT2M] += power * signum; in addSingleFactorConstant()
370 factor.constantExponents[CONSTANT_FT2M] += 2 * power * signum; in addSingleFactorConstant()
372 factor.constantExponents[CONSTANT_FT2M] += 3 * power * signum; in addSingleFactorConstant()
374 factor.constantExponents[CONSTANT_FT2M] += 3 * power * signum; in addSingleFactorConstant()
375 factor.factorDen *= 12 * 12 * 12; in addSingleFactorConstant()
377 factor.factorNum *= 231; in addSingleFactorConstant()
[all …]
/third_party/libinput/doc/user/
Dpointer-acceleration.rst25 is simply a constant factor applied to all device deltas, regardless of the
49 An extra time limit prevents events that are too old to factor into the
54 The velocity is then used to calculate the acceleration factor
56 .. _ptraccel-factor:
59 Acceleration factor
62 The acceleration factor is the final outcome of the pointer acceleration
63 calculations. It is a unitless factor that is applied to the current delta,
64 a factor of 2 doubles the delta (i.e. speeds up the movement), a factor of
67 Any factor less than 1 requires the user to move the device further to move
70 deceleration factor is 0.3 (i.e. slow down to 30% of the pointer speed).
[all …]
/third_party/ffmpeg/libavfilter/
Daf_asoftclip.c122 float factor = 1.f / threshold; in filter_flt() local
132 dst[n] = av_clipf(src[n] * factor, -1.f, 1.f); in filter_flt()
138 dst[n] = tanhf(src[n] * factor * param); in filter_flt()
144 dst[n] = 2.f / M_PI * atanf(src[n] * factor * param); in filter_flt()
150 float sample = src[n] * factor; in filter_flt()
161 dst[n] = 2.f / (1.f + expf(-2.f * src[n] * factor)) - 1.; in filter_flt()
167 float sample = src[n] * factor; in filter_flt()
175 float sample = src[n] * factor; in filter_flt()
186 float sample = src[n] * factor; in filter_flt()
197 dst[n] = erff(src[n] * factor); in filter_flt()
[all …]
/third_party/rust/crates/nom/tests/
Darithmetic.rs25 fn factor(i: &str) -> IResult<&str, i64> { in factor() function
36 let (i, init) = factor(i)?; in term()
39 pair(alt((char('*'), char('/'))), factor), in term()
69 assert_eq!(factor("3"), Ok(("", 3))); in factor_test()
70 assert_eq!(factor(" 12"), Ok(("", 12))); in factor_test()
71 assert_eq!(factor("537 "), Ok(("", 537))); in factor_test()
72 assert_eq!(factor(" 24 "), Ok(("", 24))); in factor_test()
/third_party/skia/third_party/externals/icu/source/i18n/
Dunits_converter.cpp148 void addFactorElement(Factor &factor, StringPiece elementStr, Signum signum, UErrorCode &status) { in addFactorElement() argument
173 addSingleFactorConstant(baseStr, power, signum, factor, status); in addFactorElement()
211 Factor result = extractFactorConversions(conversionUnit->factor.toStringPiece(), status); in loadSingleFactor()
365 Factor &factor, UErrorCode &status) { in addSingleFactorConstant() argument
367 factor.constantExponents[CONSTANT_FT2M] += power * signum; in addSingleFactorConstant()
369 factor.constantExponents[CONSTANT_FT2M] += 2 * power * signum; in addSingleFactorConstant()
371 factor.constantExponents[CONSTANT_FT2M] += 3 * power * signum; in addSingleFactorConstant()
373 factor.constantExponents[CONSTANT_FT2M] += 3 * power * signum; in addSingleFactorConstant()
374 factor.factorDen *= 12 * 12 * 12; in addSingleFactorConstant()
376 factor.factorNum *= 231; in addSingleFactorConstant()
[all …]

12345678910>>...37