Home
last modified time | relevance | path

Searched refs:steps (Results 26 - 50 of 291) sorted by relevance

12345678910>>...12

/third_party/libwebsockets/lib/drivers/led/
H A Dled-seq.c156 int steps; in lws_led_set_chs_seq() local
167 * 65536 phase steps (one cycle) in 2000ms at 30Hz timer rate means we in lws_led_set_chs_seq()
172 steps = def->ms / LWS_LED_SEQUENCER_UPDATE_INTERVAL_MS; in lws_led_set_chs_seq()
174 def->ledphase_total : LWS_LED_FUNC_PHASE) / (steps ? steps : 1); in lws_led_set_chs_seq()
182 return steps; in lws_led_set_chs_seq()
/third_party/skia/tests/
H A DSkColorSpaceXformStepsTest.cpp67 // As in the general case, when we change the alpha type unpremul and premul steps drop out. in DEF_TEST()
135 SkColorSpaceXformSteps steps{t.src.get(), t.srcAT, in DEF_TEST()
137 REPORTER_ASSERT(r, steps.flags.unpremul == t.unpremul); in DEF_TEST()
138 REPORTER_ASSERT(r, steps.flags.linearize == t.linearize); in DEF_TEST()
139 REPORTER_ASSERT(r, steps.flags.gamut_transform == t.gamut_transform); in DEF_TEST()
140 REPORTER_ASSERT(r, steps.flags.encode == t.encode); in DEF_TEST()
141 REPORTER_ASSERT(r, steps.flags.premul == t.premul); in DEF_TEST()
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-rs5c372.c591 long steps = LONG_MIN; in rs5c372_set_offset() local
608 steps = DIV_ROUND_CLOSEST(offset, 1017); in rs5c372_set_offset()
609 if (steps >= -0x3E && steps <= 0x3E) { in rs5c372_set_offset()
619 steps = LONG_MIN; in rs5c372_set_offset()
626 if (steps == LONG_MIN) { in rs5c372_set_offset()
627 steps = DIV_ROUND_CLOSEST(offset, ppb_per_step); in rs5c372_set_offset()
628 if (steps > 0x3E || steps < -0x3E) in rs5c372_set_offset()
632 if (steps > in rs5c372_set_offset()
[all...]
H A Drtc-rzn1.c273 int stepsh, stepsl, steps; in rzn1_rtc_set_offset() local
289 steps = stepsh; in rzn1_rtc_set_offset()
293 steps = stepsl; in rzn1_rtc_set_offset()
298 if (!steps) in rzn1_rtc_set_offset()
301 if (steps > 0) { in rzn1_rtc_set_offset()
302 subu |= steps + 1; in rzn1_rtc_set_offset()
305 subu |= (~(-steps - 1)) & 0x3F; in rzn1_rtc_set_offset()
/third_party/libunwind/libunwind/tests/
H A DLtest-init-local-signal.c13 int steps = 0; in stepper() local
21 steps++; in stepper()
23 return steps; in stepper()
44 printf("unw_getcontext steps was %i, ucontext steps was %i, should be %i\n", in handler()
/third_party/skia/samplecode/
H A DSamplePathEffects.cpp82 int steps = 20; variable
88 for (int i = 0; i < steps; i++) {
89 x += dist/steps;
91 if (i == steps/2) {
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec/
H A Dsec_algs.c549 int *steps, gfp_t gfp) in sec_alg_alloc_and_calc_split_sizes()
555 *steps = roundup(length, SEC_REQ_LIMIT) / SEC_REQ_LIMIT; in sec_alg_alloc_and_calc_split_sizes()
556 sizes = kcalloc(*steps, sizeof(*sizes), gfp); in sec_alg_alloc_and_calc_split_sizes()
560 for (i = 0; i < *steps - 1; i++) in sec_alg_alloc_and_calc_split_sizes()
562 sizes[*steps - 1] = length - SEC_REQ_LIMIT * (*steps - 1); in sec_alg_alloc_and_calc_split_sizes()
569 int steps, struct scatterlist ***splits, in sec_map_and_split_sg()
580 *splits = kcalloc(steps, sizeof(struct scatterlist *), gfp); in sec_map_and_split_sg()
585 *splits_nents = kcalloc(steps, sizeof(int), gfp); in sec_map_and_split_sg()
592 ret = sg_split(sgl, count, 0, steps, split_size in sec_map_and_split_sg()
548 sec_alg_alloc_and_calc_split_sizes(int length, size_t **split_sizes, int *steps, gfp_t gfp) sec_alg_alloc_and_calc_split_sizes() argument
568 sec_map_and_split_sg(struct scatterlist *sgl, size_t *split_sizes, int steps, struct scatterlist ***splits, int **splits_nents, int sgl_len_in, struct device *dev, gfp_t gfp) sec_map_and_split_sg() argument
615 sec_unmap_sg_on_err(struct scatterlist *sgl, int steps, struct scatterlist **splits, int *splits_nents, int sgl_len_in, struct device *dev) sec_unmap_sg_on_err() argument
716 int i, ret, steps; sec_alg_skcipher_crypto() local
[all...]
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/sec/
H A Dsec_algs.c549 int *steps, gfp_t gfp) in sec_alg_alloc_and_calc_split_sizes()
555 *steps = roundup(length, SEC_REQ_LIMIT) / SEC_REQ_LIMIT; in sec_alg_alloc_and_calc_split_sizes()
556 sizes = kcalloc(*steps, sizeof(*sizes), gfp); in sec_alg_alloc_and_calc_split_sizes()
560 for (i = 0; i < *steps - 1; i++) in sec_alg_alloc_and_calc_split_sizes()
562 sizes[*steps - 1] = length - SEC_REQ_LIMIT * (*steps - 1); in sec_alg_alloc_and_calc_split_sizes()
569 int steps, struct scatterlist ***splits, in sec_map_and_split_sg()
580 *splits = kcalloc(steps, sizeof(struct scatterlist *), gfp); in sec_map_and_split_sg()
585 *splits_nents = kcalloc(steps, sizeof(int), gfp); in sec_map_and_split_sg()
592 ret = sg_split(sgl, count, 0, steps, split_size in sec_map_and_split_sg()
548 sec_alg_alloc_and_calc_split_sizes(int length, size_t **split_sizes, int *steps, gfp_t gfp) sec_alg_alloc_and_calc_split_sizes() argument
568 sec_map_and_split_sg(struct scatterlist *sgl, size_t *split_sizes, int steps, struct scatterlist ***splits, int **splits_nents, int sgl_len_in, struct device *dev, gfp_t gfp) sec_map_and_split_sg() argument
615 sec_unmap_sg_on_err(struct scatterlist *sgl, int steps, struct scatterlist **splits, int *splits_nents, int sgl_len_in, struct device *dev) sec_unmap_sg_on_err() argument
716 int i, ret, steps; sec_alg_skcipher_crypto() local
[all...]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dqcom_nandc.c168 * the largest page size we support is 8K, this will have 16 steps/codewords
677 * @num_cw: number of steps for the read/write operation
1395 num_cw = command == NAND_CMD_PAGEPROG ? ecc->steps : 1; in parse_erase_write_errors()
1476 update_rw_regs(host, ecc->steps, true); in qcom_nandc_command()
1603 data_size1 = mtd->writesize - host->cw_size * (ecc->steps - 1); in qcom_nandc_read_cw_raw()
1606 if (cw == (ecc->steps - 1)) { in qcom_nandc_read_cw_raw()
1608 ((ecc->steps - 1) * 4); in qcom_nandc_read_cw_raw()
1609 oob_size2 = (ecc->steps * 4) + host->ecc_bytes_hw + in qcom_nandc_read_cw_raw()
1686 for_each_set_bit(cw, &uncorrectable_cws, ecc->steps) { in check_for_erased_page()
1687 if (cw == (ecc->steps in check_for_erased_page()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dopusenc_psy.c78 /* Populate metrics without taking into consideration neighbouring steps */
82 OpusPsyStep *st = s->steps[index]; in step_collect_psy_metrics()
173 c_change += s->steps[i]->total_change; in search_for_change_points()
189 if (!s->steps[silent_frames]->silence) in flush_silent_frames()
216 if (s->steps[0]->silence && flush_silent_frames(s)) in psy_output_groups()
239 total_energy_change += s->steps[i]->total_change; in ff_opus_psy_process()
266 silence &= s->steps[index*(1 << f->size) + i]->silence; in ff_opus_psy_celt_frame_init()
458 OpusPsyStep **start = &s->steps[index * (1 << s->p.framesize)]; in ff_opus_psy_celt_frame_process()
487 memset(s->steps[i], 0, sizeof(OpusPsyStep)); in ff_opus_psy_postencode_update()
490 tmp[i] = s->steps[ in ff_opus_psy_postencode_update()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dqcom_nandc.c178 * the largest page size we support is 8K, this will have 16 steps/codewords
767 return cw == (ecc->steps - 1); in qcom_nandc_is_last_cw()
807 * @num_cw: number of steps for the read/write operation
1480 raw_cw = ecc->steps - 1; in qcom_nandc_read_cw_raw()
1487 data_size1 = mtd->writesize - host->cw_size * (ecc->steps - 1); in qcom_nandc_read_cw_raw()
1492 ((ecc->steps - 1) * 4); in qcom_nandc_read_cw_raw()
1493 oob_size2 = (ecc->steps * 4) + host->ecc_bytes_hw + in qcom_nandc_read_cw_raw()
1569 for_each_set_bit(cw, &uncorrectable_cws, ecc->steps) { in check_for_erased_page()
1571 data_size = ecc->size - ((ecc->steps - 1) * 4); in check_for_erased_page()
1572 oob_size = (ecc->steps * in check_for_erased_page()
[all...]
H A Drockchip-nand-controller.c529 for (i = 0; i < ecc->steps; i++) { in rk_nfc_write_page_raw()
571 rk_nfc_buf_to_oob_ptr(chip, ecc->steps - 1), in rk_nfc_write_page_raw()
643 for (i = 0; i < ecc->steps; i++) { in rk_nfc_write_page_hwecc()
645 oob = chip->oob_poi + (ecc->steps - 1) * NFC_SYS_DATA_SIZE; in rk_nfc_write_page_hwecc()
660 ecc->steps * oob_step, in rk_nfc_write_page_hwecc()
666 rk_nfc_xfer_start(nfc, NFC_WRITE, ecc->steps, dma_data, in rk_nfc_write_page_hwecc()
681 dma_unmap_single(nfc->dev, dma_oob, ecc->steps * oob_step, in rk_nfc_write_page_hwecc()
722 for (i = 0; i < ecc->steps; i++) { in rk_nfc_read_page_raw()
731 memcpy(rk_nfc_buf_to_oob_ptr(chip, ecc->steps - 1), in rk_nfc_read_page_raw()
776 ecc->steps * oob_ste in rk_nfc_read_page_hwecc()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/fuzztest/rsanimationbase_fuzzer/
H A Drsanimationbase_fuzzer.cpp291 int32_t steps = GetData<int32_t>(); in RSStepsInterpolatorFuzzerTest() local
296 auto animation = std::make_shared<RSStepsInterpolator>(steps, position); in RSStepsInterpolatorFuzzerTest()
310 int32_t steps = GetData<int32_t>(); in RSRenderCurveAnimationFuzzerTest() local
321 auto interpolator = std::make_shared<RSStepsInterpolator>(steps, position); in RSRenderCurveAnimationFuzzerTest()
387 int32_t steps = GetData<int32_t>(); in RSRenderKeyframeAnimationFuzzerTest() local
402 auto interpolator = std::make_shared<RSStepsInterpolator>(steps, position); in RSRenderKeyframeAnimationFuzzerTest()
419 int32_t steps = GetData<int32_t>(); in RSRenderPathAnimationFuzzerTest() local
434 auto interpolator = std::make_shared<RSStepsInterpolator>(steps, position); in RSRenderPathAnimationFuzzerTest()
456 int32_t steps = GetData<int32_t>(); in RSCurveValueEstimatorFuzzerTest() local
469 auto interpolator = std::make_shared<RSStepsInterpolator>(steps, positio in RSCurveValueEstimatorFuzzerTest()
479 int32_t steps = GetData<int32_t>(); RSKeyframeValueEstimatorFuzzerTest() local
570 int32_t steps = GetData<int32_t>(); RSRenderTransitionFuzzerTest() local
[all...]
/third_party/backends/backend/genesys/
H A Dmotor.cpp33 // first two steps are always equal to the initial speed in get_table_step_shifted()
44 float compute_acceleration_for_steps(unsigned initial_w, unsigned max_w, unsigned steps) in compute_acceleration_for_steps() argument
48 return (max_speed_v * max_speed_v - initial_speed_v * initial_speed_v) / (2 * steps); in compute_acceleration_for_steps()
53 unsigned steps) in create_from_steps()
58 slope.acceleration = compute_acceleration_for_steps(initial_w, max_w, steps); in create_from_steps()
65 throw SaneException("Invalid steps count"); in slice_steps()
52 create_from_steps(unsigned initial_w, unsigned max_w, unsigned steps) create_from_steps() argument
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcFramebufferCompleteness.cpp274 /* Tests are defined as ordered series of steps that each expect a specific current framebuffer status
275 after being executed. A new TestContext instance (parameter) is created for each test but all steps
277 between steps. */
604 [](vector<TestStep>& steps, TestContext& testContext) // StepsGeneratorFn stepsGenerator
610 steps.reserve(steps.size() + 2 * maxColorAttachmentsCount);
613 steps.push_back(
622 steps.push_back(
642 [](vector<TestStep>& steps, TestContext& testContext) // StepsGeneratorFn stepsGenerator
648 steps
1357 auto steps = vector<TestStep>(m_params.initialSteps); iterate() local
[all...]
/third_party/vk-gl-cts/scripts/android/
H A Dbuild_apk.py393 def executeSteps (config, steps):
394 for step in steps:
857 steps = []
863 steps += [BuildNativeLibrary(abi)]
868 steps.append(GenResourcesSrc(library))
869 steps.append(BuildJavaSource(library))
873 steps.append(GenResourcesSrc(package))
874 steps.append(BuildJavaSource(package, libraries))
875 steps.append(BuildDex(package, libraries))
878 steps
[all...]
/kernel/linux/linux-5.10/drivers/input/misc/
H A Drotary_encoder.c38 u32 steps; member
85 pos += encoder->steps; in rotary_encoder_report_event()
90 if (encoder->rollover || pos < encoder->steps) in rotary_encoder_report_event()
95 pos %= encoder->steps; in rotary_encoder_report_event()
201 device_property_read_u32(dev, "rotary-encoder,steps", &encoder->steps); in rotary_encoder_probe()
203 err = device_property_read_u32(dev, "rotary-encoder,steps-per-period", in rotary_encoder_probe()
208 * use 'steps-per-period' and set an appropriate value, but in rotary_encoder_probe()
264 encoder->axis, 0, encoder->steps, 0, 1); in rotary_encoder_probe()
279 dev_err(dev, "'%d' is not a valid steps in rotary_encoder_probe()
[all...]
/kernel/linux/linux-6.6/drivers/input/misc/
H A Drotary_encoder.c38 u32 steps; member
85 pos += encoder->steps; in rotary_encoder_report_event()
90 if (encoder->rollover || pos < encoder->steps) in rotary_encoder_report_event()
95 pos %= encoder->steps; in rotary_encoder_report_event()
201 device_property_read_u32(dev, "rotary-encoder,steps", &encoder->steps); in rotary_encoder_probe()
203 err = device_property_read_u32(dev, "rotary-encoder,steps-per-period", in rotary_encoder_probe()
208 * use 'steps-per-period' and set an appropriate value, but in rotary_encoder_probe()
259 encoder->axis, 0, encoder->steps, 0, 1); in rotary_encoder_probe()
274 dev_err(dev, "'%d' is not a valid steps in rotary_encoder_probe()
[all...]
/foundation/arkui/ace_engine/frameworks/component_test/core/
H A Daction.cpp28 constexpr uint32_t steps = 2; in DecomposeTap() local
29 EventMatrix pointerEventMatrix(fingers, steps); in DecomposeTap()
38 constexpr uint32_t steps = 4; in DecomposeDoubleTap() local
39 EventMatrix pointerEventMatrix(fingers, steps); in DecomposeDoubleTap()
51 constexpr uint32_t steps = 2; in DecomposePress() local
52 EventMatrix pointerEventMatrix(fingers, steps); in DecomposePress()
167 constexpr uint32_t steps = 50; in Decompose() local
170 constexpr uint32_t actions = steps + 2; in Decompose()
188 float intervalMs = distance * 1000 / speed / steps; in Decompose()
193 for (uint16_t step = 1; step <= steps; ste in Decompose()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_steps_interpolator.h31 RSStepsInterpolator(int32_t steps, StepsCurvePosition position = StepsCurvePosition::START);
40 RSStepsInterpolator(uint64_t id, int32_t steps, StepsCurvePosition position = StepsCurvePosition::START);
/third_party/skia/third_party/externals/dawn/scripts/
H A Dperf_test_runner.py131 # Calibrate the number of steps
132 steps = get_results("steps", ["--calibration"])[0] variable
133 print("running with %d steps." % steps)
137 experiment_scores = get_results(metric, ["--override-steps", str(steps)])
/third_party/skia/experimental/graphite/src/
H A DDrawList.cpp94 return fRenderer.steps()[renderStep]->requiredVertexSpace(fShape); in requiredVertexSpace()
99 return fRenderer.steps()[renderStep]->requiredIndexSpace(fShape); in requiredIndexSpace()
106 fRenderer.steps()[renderStep]->writeVertices(std::move(vertexWriter), in writeVertices()
H A DRenderer.h50 // - Does Renderer make RenderStepFactories that create steps for each DrawList::Draw?
53 // - Does each DrawList::Draw have extra space (e.g. 8 bytes) that steps can cache data in?
69 * determination of the DisjointStencilIndex for each draw so that stencil steps are not corrupted
71 * for each draw to ensure steps are not re-arranged in a way that violates the original draw order.
75 * possible for certain types of steps, e.g. a bounding box cover, to be re-used across different
76 * Renderers even if the preceeding steps were different.
90 // The maximum number of render steps that any Renderer is allowed to have.
93 SkSpan<const RenderStep* const> steps() const { in steps() function in skgpu::Renderer
103 // max render steps is 4, so just spell the options out for now...
118 Renderer(const char* name, std::array<const RenderStep*, N> steps) in Renderer() argument
[all...]
/kernel/linux/linux-5.10/drivers/cpufreq/
H A Dloongson1-cpufreq.c84 int steps, i; in ls1x_cpufreq_init() local
88 steps = 1 << DIV_CPU_WIDTH; in ls1x_cpufreq_init()
89 freq_tbl = kcalloc(steps, sizeof(*freq_tbl), GFP_KERNEL); in ls1x_cpufreq_init()
93 for (i = 0; i < (steps - 1); i++) { in ls1x_cpufreq_init()
/third_party/libsnd/src/
H A Dima_oki_adpcm.c60 state->steps = ima_steps ; in ima_oki_adpcm_init()
65 state->steps = oki_steps ; in ima_oki_adpcm_init()
77 s = ((state->steps [state->step_index] * s) >> 3) & state->mask ; in adpcm_decode()
86 grace = (state->steps [state->step_index] >> 3) & state->mask ; in adpcm_decode()
112 code = 4 * delta / state->steps [state->step_index] ; in adpcm_encode()

Completed in 27 milliseconds

12345678910>>...12