Home
last modified time | relevance | path

Searched refs:steps (Results 1 - 25 of 291) sorted by relevance

12345678910>>...12

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_steps_interpolator.cpp25 RSStepsInterpolator::RSStepsInterpolator(int32_t steps, StepsCurvePosition position) in RSStepsInterpolator() argument
26 : steps_(steps <= 0 ? 1 : steps), position_(position) in RSStepsInterpolator()
29 RSStepsInterpolator::RSStepsInterpolator(uint64_t id, int32_t steps, StepsCurvePosition position) in RSStepsInterpolator() argument
30 : RSInterpolator(id), steps_(steps <= 0 ? 1 : steps), position_(position) in RSStepsInterpolator()
53 int32_t steps = 0; in Unmarshalling() local
55 if (!(parcel.ReadInt32(steps) && parcel.ReadInt32(position))) { in Unmarshalling()
59 return new RSStepsInterpolator(id, steps, static_cast<StepsCurvePosition>(position)); in Unmarshalling()
73 ROSEN_LOGE("RSStepsInterpolator::Interpolate, steps numbe in InterpolateImpl()
[all...]
/third_party/python/Lib/
H A Dpipes.py8 conversion involves several steps (e.g. piping it through compress or
9 uuencode). Some of the conversion steps may require that their input
15 more conversion steps together. It will take care of creating and
22 different conversion steps and store them in a dictionary, for
95 return '<Template instance, steps=%r>' % (self.steps,)
99 self.steps = []
105 t.steps = self.steps[:]
121 if self.steps an
[all...]
/third_party/node/deps/npm/node_modules/@npmcli/package-json/lib/
H A Dnormalize.js91 const normalize = async (pkg, { strict, steps, root, changes, allowLegacyCase }) => {
100 if (steps.includes('fixNameField') || steps.includes('normalizeData')) {
126 if (steps.includes('fixVersionField') || steps.includes('normalizeData')) {
144 if (steps.includes('_attributes')) {
154 if (steps.includes('_id')) {
163 if (steps.includes('bundledDependencies')) {
171 if (steps.includes('bundleDependencies')) {
173 if (bd === false && !steps
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
H A Dautogain_functions.c23 int i, steps, retval = 0; in gspca_expo_autogain() local
31 /* If we are of a multiple of deadzone, do multiple steps to reach the in gspca_expo_autogain()
33 steps = abs(desired_avg_lum - avg_lum) / deadzone; in gspca_expo_autogain()
35 gspca_dbg(gspca_dev, D_FRAM, "autogain: lum: %d, desired: %d, steps: %d\n", in gspca_expo_autogain()
36 avg_lum, desired_avg_lum, steps); in gspca_expo_autogain()
38 for (i = 0; i < steps; i++) { in gspca_expo_autogain()
103 int steps, retval = 0; in gspca_coarse_grained_expo_autogain() local
116 /* If we are of a multiple of deadzone, do multiple steps to reach the in gspca_coarse_grained_expo_autogain()
118 steps = (desired_avg_lum - avg_lum) / deadzone; in gspca_coarse_grained_expo_autogain()
120 gspca_dbg(gspca_dev, D_FRAM, "autogain: lum: %d, desired: %d, steps in gspca_coarse_grained_expo_autogain()
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/gspca/
H A Dautogain_functions.c23 int i, steps, retval = 0; in gspca_expo_autogain() local
31 /* If we are of a multiple of deadzone, do multiple steps to reach the in gspca_expo_autogain()
33 steps = abs(desired_avg_lum - avg_lum) / deadzone; in gspca_expo_autogain()
35 gspca_dbg(gspca_dev, D_FRAM, "autogain: lum: %d, desired: %d, steps: %d\n", in gspca_expo_autogain()
36 avg_lum, desired_avg_lum, steps); in gspca_expo_autogain()
38 for (i = 0; i < steps; i++) { in gspca_expo_autogain()
103 int steps, retval = 0; in gspca_coarse_grained_expo_autogain() local
116 /* If we are of a multiple of deadzone, do multiple steps to reach the in gspca_coarse_grained_expo_autogain()
118 steps = (desired_avg_lum - avg_lum) / deadzone; in gspca_coarse_grained_expo_autogain()
120 gspca_dbg(gspca_dev, D_FRAM, "autogain: lum: %d, desired: %d, steps in gspca_coarse_grained_expo_autogain()
[all...]
/third_party/skia/src/gpu/
H A DGrColorSpaceXform.h24 GrColorSpaceXform(const SkColorSpaceXformSteps& steps) : fSteps(steps) {} in GrColorSpaceXform() argument
31 const SkColorSpaceXformSteps& steps() const { return fSteps; } in steps() function in GrColorSpaceXform
38 // Code generation depends on which steps we apply, in XformKey()
42 const SkColorSpaceXformSteps& steps(xform->fSteps); in XformKey()
43 uint32_t key = steps.flags.mask(); in XformKey()
44 if (steps.flags.linearize) { in XformKey()
45 key |= classify_transfer_fn(steps.srcTF) << 8; in XformKey()
47 if (steps.flags.encode) { in XformKey()
48 key |= classify_transfer_fn(steps in XformKey()
[all...]
/third_party/ffmpeg/tests/checkasm/
H A Dvf_gblur.c39 int steps = 2; in check_horiz_slice() local
43 declare_func(void, float *dst, int w, int h, int steps, float nu, float bscale, float *localbuf); in check_horiz_slice()
44 call_ref(dst_ref, WIDTH, HEIGHT, steps, nu, bscale, localbuf); in check_horiz_slice()
45 call_new(dst_new, WIDTH, HEIGHT, steps, nu, bscale, localbuf); in check_horiz_slice()
54 int steps = 2; in check_verti_slice() local
59 int column_end, int steps, float nu, float bscale); in check_verti_slice()
60 call_ref(dst_ref, WIDTH, HEIGHT, 0, WIDTH, steps, nu, bscale); in check_verti_slice()
61 call_new(dst_new, WIDTH, HEIGHT, 0, WIDTH, steps, nu, bscale); in check_verti_slice()
/third_party/skia/src/core/
H A DSkConvertPixels.cpp19 const SkColorSpaceXformSteps& steps) { in rect_memcpy()
25 && steps.flags.mask() != 0b00000) { in rect_memcpy()
36 const SkColorSpaceXformSteps& steps) { in swizzle_or_premul()
42 steps.flags.linearize || in swizzle_or_premul()
43 steps.flags.gamut_transform || in swizzle_or_premul()
44 steps.flags.unpremul || in swizzle_or_premul()
45 steps.flags.encode) { in swizzle_or_premul()
53 if (steps.flags.premul) { in swizzle_or_premul()
208 const SkColorSpaceXformSteps& steps) { in convert_with_pipeline()
214 steps in convert_with_pipeline()
17 rect_memcpy(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, const SkColorSpaceXformSteps& steps) rect_memcpy() argument
34 swizzle_or_premul(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, const SkColorSpaceXformSteps& steps) swizzle_or_premul() argument
206 convert_with_pipeline(const SkImageInfo& dstInfo, void* dstRow, int dstStride, const SkImageInfo& srcInfo, const void* srcRow, int srcStride, const SkColorSpaceXformSteps& steps) convert_with_pipeline() argument
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_gblur_init.h45 static void horiz_slice_c(float *buffer, int width, int height, int steps, in horiz_slice_c() argument
50 for (int step = 0; step < steps; step++) { in horiz_slice_c()
67 int column_begin, int column_end, int steps, in do_vertical_columns()
73 for (int step = 0; step < steps; step++) { in do_vertical_columns()
100 int slice_start, int slice_end, int steps, in verti_slice_c()
106 steps, nu, boundaryscale, 8); in verti_slice_c()
109 steps, nu, boundaryscale, 1); in verti_slice_c()
66 do_vertical_columns(float *buffer, int width, int height, int column_begin, int column_end, int steps, float nu, float boundaryscale, int column_step) do_vertical_columns() argument
99 verti_slice_c(float *buffer, int width, int height, int slice_start, int slice_end, int steps, float nu, float boundaryscale) verti_slice_c() argument
H A Dvf_gblur.c45 { "steps", "set number of steps", OFFSET(steps), AV_OPT_TYPE_INT, {.i64=1}, 1, 6, FLAGS },
67 const int steps = s->steps; in filter_horizontally() local
76 steps, nu, boundaryscale, localbuf); in filter_horizontally()
90 const int steps = s->steps; in filter_vertically() local
95 steps, nu, boundaryscale); in filter_vertically()
128 if (s->sigma <= 0 || s->steps < in gaussianiir2d()
201 set_params(float sigma, int steps, float *postscale, float *boundaryscale, float *nu) set_params() argument
[all...]
H A Dgblur.h37 int steps; member
54 void (*horiz_slice)(float *buffer, int width, int height, int steps, float nu, float bscale, float *localbuf);
55 void (*verti_slice)(float *buffer, int width, int height, int slice_start, int slice_end, int steps,
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/
H A DTdcResults.py18 self.steps = []
52 self.steps.extend(newstep)
54 self.steps.append(step)
59 return self.steps
100 if len(t.steps) > 0:
102 for step in t.steps:
118 if len(t.steps) > 0:
120 for step in t.steps:
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/
H A DTdcResults.py18 self.steps = []
52 self.steps.extend(newstep)
54 self.steps.append(step)
59 return self.steps
100 if len(t.steps) > 0:
102 for step in t.steps:
118 if len(t.steps) > 0:
120 for step in t.steps:
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Dusbduxfast.c115 * min delay steps for more than one channel
118 * steps at 30MHz in the FX2
123 * max number of 1/30MHz delay steps
355 unsigned int steps; in usbduxfast_ai_cmdtest() local
397 * for 1 channel the timing in 30MHz "steps" is: in usbduxfast_ai_cmdtest()
398 * steps <= MAX_SAMPLING_PERIOD in usbduxfast_ai_cmdtest()
400 * MIN_SAMPLING_PERIOD <= steps <= MAX_SAMPLING_PERIOD in usbduxfast_ai_cmdtest()
402 steps = (cmd->convert_arg * 30) / 1000; in usbduxfast_ai_cmdtest()
404 err2 |= comedi_check_trigger_arg_min(&steps, in usbduxfast_ai_cmdtest()
407 err2 |= comedi_check_trigger_arg_min(&steps, in usbduxfast_ai_cmdtest()
471 long steps, steps_tmp; usbduxfast_ai_cmd() local
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/
H A Decc-mxic.c104 int steps; member
140 if (section < 0 || section >= ctx->steps) in mxic_ecc_ooblayout_ecc()
155 if (section < 0 || section >= ctx->steps) in mxic_ecc_ooblayout_free()
226 int step_size = 0, strength = 0, desired_correction = 0, steps, idx; in mxic_ecc_init_ctx() local
261 steps = mtd->writesize / step_size; in mxic_ecc_init_ctx()
262 desired_correction = steps * strength; in mxic_ecc_init_ctx()
267 steps = mtd->writesize / conf->step_size; in mxic_ecc_init_ctx()
269 ctx->status = devm_kzalloc(dev, steps * sizeof(u8), GFP_KERNEL); in mxic_ecc_init_ctx()
274 strength = desired_correction / steps; in mxic_ecc_init_ctx()
289 if (spare_size[idx] * steps < in mxic_ecc_init_ctx()
[all...]
/kernel/linux/linux-6.6/drivers/comedi/drivers/
H A Dusbduxfast.c115 * min delay steps for more than one channel
118 * steps at 30MHz in the FX2
123 * max number of 1/30MHz delay steps
355 unsigned int steps; in usbduxfast_ai_cmdtest() local
397 * for 1 channel the timing in 30MHz "steps" is: in usbduxfast_ai_cmdtest()
398 * steps <= MAX_SAMPLING_PERIOD in usbduxfast_ai_cmdtest()
400 * MIN_SAMPLING_PERIOD <= steps <= MAX_SAMPLING_PERIOD in usbduxfast_ai_cmdtest()
402 steps = (cmd->convert_arg * 30) / 1000; in usbduxfast_ai_cmdtest()
404 err2 |= comedi_check_trigger_arg_min(&steps, in usbduxfast_ai_cmdtest()
407 err2 |= comedi_check_trigger_arg_min(&steps, in usbduxfast_ai_cmdtest()
471 long steps, steps_tmp; usbduxfast_ai_cmd() local
[all...]
/test/testfwk/arkxtest/uitest/core/
H A Dui_action.cpp26 constexpr uint32_t steps = 2; in DecomposeClick() local
27 PointerMatrix pointer(fingers, steps); in DecomposeClick()
37 constexpr uint32_t steps = 2; in DecomposeLongClick() local
38 PointerMatrix pointer(fingers, steps); in DecomposeLongClick()
48 constexpr uint32_t steps = 4; in DecomposeDoubleClick() local
49 PointerMatrix pointer(fingers, steps); in DecomposeDoubleClick()
69 uint32_t steps = options.swipeStepsCounts_; in DecomposeComputeSwipe() local
70 uint32_t intervalMs = timeCostMs / steps + 1; in DecomposeComputeSwipe()
74 steps = timeCostMs / intervalMsInSwipe; in DecomposeComputeSwipe()
77 PointerMatrix pointer(fingers, steps in DecomposeComputeSwipe()
341 auto steps = abs(scrollValue_); Decompose() local
363 constexpr uint32_t steps = 1; Decompose() local
[all...]
/third_party/ffmpeg/libavfilter/x86/
H A Dvf_gblur_init.c27 void ff_horiz_slice_sse4(float *ptr, int width, int height, int steps, float nu, float bscale, float *localbuf);
28 void ff_horiz_slice_avx2(float *ptr, int width, int height, int steps, float nu, float bscale, float *localbuf);
29 void ff_horiz_slice_avx512(float *ptr, int width, int height, int steps, float nu, float bscale, float *localbuf);
36 int steps, float nu, float bscale);
38 int steps, float nu, float bscale);
/third_party/libunwind/libunwind/tests/
H A DLtest-mem-validate.c52 (steps > 5) before touching the forbidden region in the stack, in do_backtrace()
62 int steps = 0; in do_backtrace() local
79 steps ++; in do_backtrace()
83 if (steps < 5) in do_backtrace()
85 printf("not enough steps: %d, need 5\n", steps); in do_backtrace()
88 printf("success, steps: %d\n", steps); in do_backtrace()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcCompressedFormatTests.cpp448 vector<ApiCaseStep> steps; member
521 { // vector<ApiCaseStep> steps;
552 { // vector<ApiCaseStep> steps;
561 [](deqp::Context&, vector<ApiCaseStep>& steps) // ApiCaseStepGeneratorFn stepsGenerator;
563 steps.push_back(
573 steps.push_back(
581 steps.push_back(
610 { // vector<ApiCaseStep> steps;
634 {}, // vector<ApiCaseStep> steps;
635 [](deqp::Context& testContext, vector<ApiCaseStep>& steps) // ApiCaseStepGeneratorF
[all...]
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/animat/
H A Drs_steps_interpolator_animat_test.cpp43 int32_t steps = 4; in HWTEST_F() local
44 float stepValue = 1.0f / steps; in HWTEST_F()
45 RSStepsInterpolator stepsCurveEnd(steps, StepsCurvePosition::END); in HWTEST_F()
47 * @tc.steps: step1. set the testValue of time to test steps Curve. in HWTEST_F()
54 * @tc.steps: step2. set the targetValue of time to test steps Curve. in HWTEST_F()
61 * @tc.steps: step3. verify the result of steps Curve. in HWTEST_F()
76 int32_t steps in HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/
H A Drs_steps_interpolator_test.cpp43 int32_t steps = 4; in HWTEST_F() local
44 float stepValue = 1.0f / steps; in HWTEST_F()
45 RSStepsInterpolator stepsCurveStart(steps, StepsCurvePosition::START); in HWTEST_F()
47 * @tc.steps: step1. set the testValue of time to test steps Curve. in HWTEST_F()
54 * @tc.steps: step2. set the targetValue of time to test steps Curve. in HWTEST_F()
61 * @tc.steps: step3. verify the result of steps Curve. in HWTEST_F()
76 int32_t steps in HWTEST_F() local
[all...]
/third_party/vk-gl-cts/scripts/
H A Dcheck_build_sanity.py133 def runSteps (steps):
134 for step in steps:
230 for name, steps in recipes:
231 allSteps += steps
239 for curName, steps in recipes:
241 return (curName, steps)
286 for name, steps in RECIPES:
287 for step in steps:
292 name, steps = getAllRecipe(RECIPES) if args.recipe == "all" \
297 allSteps = (PREREQUISITES if (args.skipPrerequisites == False) else []) + steps
[all...]
/test/testfwk/arkxtest/uitest/test/
H A Dui_action_test.cpp136 const uint32_t steps = events.GetSize() - 1; in TEST_F() local
142 ASSERT_EQ(steps, totalCostMs / intervalMsInSwipe); in TEST_F()
145 float stepLengthX = static_cast<double>(disX) / static_cast<double>(steps); in TEST_F()
146 float stepLengthY = static_cast<double>(disY) / static_cast<double>(steps); in TEST_F()
148 for (uint32_t event = 0; event < steps; event++) { in TEST_F()
151 uint32_t expectedTimeOffset = (totalCostMs * step) / steps; in TEST_F()
187 const uint32_t steps = opt.swipeStepsCounts_; in TEST_F() local
188 ASSERT_TRUE(steps > 1); in TEST_F()
189 ASSERT_EQ(steps, 141); in TEST_F()
192 float stepLengthX = static_cast<double>(disX) / static_cast<double>(steps); in TEST_F()
226 const int32_t steps = events.GetSteps() - 1; TEST_F() local
366 const int32_t steps = events.GetSteps() - 1; TEST_F() local
[all...]
/third_party/rust/crates/regex/tests/
H A Dsearcher.rs5 ($name:ident, $re:expr, $haystack:expr, $($steps:expr,)*) => (
6 searcher!($name, $re, $haystack, vec vec![$($steps),*]);
8 ($name:ident, $re:expr, $haystack:expr, $($steps:expr),*) => (
9 searcher!($name, $re, $haystack, vec vec![$($steps),*]);

Completed in 12 milliseconds

12345678910>>...12