/third_party/glfw/examples/ |
H A D | splitview.c | 153 static void drawGrid(float scale, int steps) in drawGrid() argument 183 x = scale * 0.5f * (float) (steps - 1); in drawGrid() 184 y = -scale * 0.5f * (float) (steps - 1); in drawGrid() 185 for (i = 0; i < steps; i++) in drawGrid() 193 x = -scale * 0.5f * (float) (steps - 1); in drawGrid() 194 y = scale * 0.5f * (float) (steps - 1); in drawGrid() 195 for (i = 0; i < steps; i++) in drawGrid()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | lpc32xx_slc.c | 531 for (i = 0; i < chip->ecc.steps; i++) { in lpc32xx_xfer() 535 mtd->writesize / chip->ecc.steps, dir); in lpc32xx_xfer() 540 if (i == chip->ecc.steps - 1) in lpc32xx_xfer() 572 host->ecc_buf[chip->ecc.steps - 1] = in lpc32xx_xfer() 615 status = lpc32xx_xfer(mtd, buf, chip->ecc.steps, 1); in lpc32xx_nand_read_page_syndrome() 621 lpc32xx_slc_ecc_copy(tmpecc, (uint32_t *) host->ecc_buf, chip->ecc.steps); in lpc32xx_nand_read_page_syndrome() 630 for (i = 0; i < chip->ecc.steps; i++) { in lpc32xx_nand_read_page_syndrome() 659 chip->legacy.read_buf(chip, buf, chip->ecc.size * chip->ecc.steps); in lpc32xx_nand_read_page_raw_syndrome() 682 error = lpc32xx_xfer(mtd, (uint8_t *)buf, chip->ecc.steps, 0); in lpc32xx_nand_write_page_syndrome() 695 lpc32xx_slc_ecc_copy(pb, (uint32_t *)host->ecc_buf, chip->ecc.steps); in lpc32xx_nand_write_page_syndrome() [all...] |
H A D | arasan-nand-controller.c | 117 * @steps: Number of "packets" to read/write 128 int steps; member 252 static int anfc_pkt_len_config(unsigned int len, unsigned int *steps, in anfc_pkt_len_config() argument 266 if (steps) in anfc_pkt_len_config() 267 *steps = nb; in anfc_pkt_len_config() 341 PKT_STEPS(chip->ecc.steps), in anfc_read_page_hw_ecc() 388 for (step = 0; step < chip->ecc.steps; step++) { in anfc_read_page_hw_ecc() 459 PKT_STEPS(chip->ecc.steps), in anfc_write_page_hw_ecc() 584 ret = anfc_pkt_len_config(nfc_op->len, &nfc_op->steps, in anfc_parse_instructions() 604 PKT_STEPS(nfc_op->steps); in anfc_parse_instructions() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | lpc32xx_slc.c | 529 for (i = 0; i < chip->ecc.steps; i++) { in lpc32xx_xfer() 533 mtd->writesize / chip->ecc.steps, dir); in lpc32xx_xfer() 538 if (i == chip->ecc.steps - 1) in lpc32xx_xfer() 570 host->ecc_buf[chip->ecc.steps - 1] = in lpc32xx_xfer() 613 status = lpc32xx_xfer(mtd, buf, chip->ecc.steps, 1); in lpc32xx_nand_read_page_syndrome() 619 lpc32xx_slc_ecc_copy(tmpecc, (uint32_t *) host->ecc_buf, chip->ecc.steps); in lpc32xx_nand_read_page_syndrome() 628 for (i = 0; i < chip->ecc.steps; i++) { in lpc32xx_nand_read_page_syndrome() 657 chip->legacy.read_buf(chip, buf, chip->ecc.size * chip->ecc.steps); in lpc32xx_nand_read_page_raw_syndrome() 680 error = lpc32xx_xfer(mtd, (uint8_t *)buf, chip->ecc.steps, 0); in lpc32xx_nand_write_page_syndrome() 693 lpc32xx_slc_ecc_copy(pb, (uint32_t *)host->ecc_buf, chip->ecc.steps); in lpc32xx_nand_write_page_syndrome() [all...] |
H A D | arasan-nand-controller.c | 130 * @steps: Number of "packets" to read/write 142 int steps; member 281 static int anfc_pkt_len_config(unsigned int len, unsigned int *steps, in anfc_pkt_len_config() argument 295 if (steps) in anfc_pkt_len_config() 296 *steps = nb; in anfc_pkt_len_config() 405 PKT_STEPS(chip->ecc.steps), in anfc_read_page_hw_ecc() 452 for (step = 0; step < chip->ecc.steps; step++) { in anfc_read_page_hw_ecc() 523 PKT_STEPS(chip->ecc.steps), in anfc_write_page_hw_ecc() 649 ret = anfc_pkt_len_config(nfc_op->len, &nfc_op->steps, in anfc_parse_instructions() 669 PKT_STEPS(nfc_op->steps); in anfc_parse_instructions() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawMultipleClearsWithinRenderPass.cpp | 181 vector<ClearStep> steps; member 231 const VkDeviceSize totalDataSize = m_params.steps.size() * dataSize; in MultipleClearsTest() 234 for(size_t i = 0; i < m_params.steps.size(); ++i) in MultipleClearsTest() 239 m_vertices[start + j][2] = m_params.steps[i].depth; in MultipleClearsTest() 403 if (!m_params.steps.empty() && m_params.steps[0].clearOp == ClearOp::LOAD) in beginLegacyRender() 404 beginRenderPass(vk, cmdBuffer, *m_renderPass, *m_framebuffer, renderArea, m_params.steps[0].color, m_params.steps[0].depth, 0); in beginLegacyRender() 421 for (size_t stepIndex = 0; stepIndex < m_params.steps.size(); ++stepIndex) in drawCommands() 423 const auto& step = m_params.steps[stepInde in drawCommands() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawMultipleClearsWithinRenderPass.cpp | 181 vector<ClearStep> steps; member 231 const VkDeviceSize totalDataSize = m_params.steps.size() * dataSize; in MultipleClearsTest() 234 for(size_t i = 0; i < m_params.steps.size(); ++i) in MultipleClearsTest() 239 m_vertices[start + j][2] = m_params.steps[i].depth; in MultipleClearsTest() 403 if (!m_params.steps.empty() && m_params.steps[0].clearOp == ClearOp::LOAD) in beginLegacyRender() 404 beginRenderPass(vk, cmdBuffer, *m_renderPass, *m_framebuffer, renderArea, m_params.steps[0].color, m_params.steps[0].depth, 0); in beginLegacyRender() 421 for (size_t stepIndex = 0; stepIndex < m_params.steps.size(); ++stepIndex) in drawCommands() 423 const auto& step = m_params.steps[stepInde in drawCommands() [all...] |
/third_party/libdrm/tests/modetest/ |
H A D | cursor.c | 64 * Timer driven program loops through these steps to move/enable/disable 125 static const struct cursor_step steps[] = { variable 144 const struct cursor_step *step = &steps[indx % ARRAY_SIZE(steps)]; in cursor_thread_func()
|
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | perf_test_runner.py | 154 # Calibrate the number of steps 155 steps = get_results("steps_to_run", ["--calibration"] + extra_args)[0] 156 print("running with %d steps." % steps) 161 ["--steps-per-trial", str(steps)] + extra_args)
|
/third_party/skia/tests/ |
H A D | NonlinearBlendingTest.cpp | 39 SkColorSpaceXformSteps steps(srgb.get(), kUnpremul_SkAlphaType, in DEF_TEST() 47 steps.apply(via_steps); in DEF_TEST()
|
/test/testfwk/xdevice/plugins/devicetest/core/suite/ |
H A D | test_suite.py | 163 steps = self.cur_case.get_steps_info() 182 "steps": steps 193 steps.clear() 368 steps = self.cur_case.get_steps_info() 381 "steps": steps 394 steps.clear()
|
/third_party/selinux/libsepol/cil/src/ |
H A D | cil_verify.c | 770 int steps = 0; in __cil_verify_user_pre_eval() local 781 if (steps == limit) { in __cil_verify_user_pre_eval() 782 steps = 0; in __cil_verify_user_pre_eval() 788 steps++; in __cil_verify_user_pre_eval() 821 int steps = 0; in __cil_verify_role() local 832 if (steps == limit) { in __cil_verify_role() 833 steps = 0; in __cil_verify_role() 839 steps++; in __cil_verify_role() 852 int steps = 0; in __cil_verify_type() local 863 if (steps in __cil_verify_type() 1703 __cil_verify_classperms(struct cil_list *classperms, struct cil_symtab_datum *orig, struct cil_symtab_datum *parent, struct cil_symtab_datum *cur, enum cil_flavor flavor, unsigned steps, unsigned limit) __cil_verify_classperms() argument [all...] |
/third_party/ffmpeg/libavfilter/x86/ |
H A D | vf_gblur.asm | 429 ; void ff_horiz_slice(float *ptr, int width, int height, int steps, 435 cglobal horiz_slice, 5, 12, mmnum, 0-mmsize*4, buffer, width, height, steps, \ 438 cglobal horiz_slice, 4, 9, 9, ptr, width, height, steps, x, y, step, stride, remain 442 cglobal horiz_slice, 5, 12, mmnum, 0-mmsize*4, buffer, width, height, steps, nu, bscale, \ 445 cglobal horiz_slice, 4, 9, 9, ptr, width, height, steps, nu, bscale, x, y, step, stride, remain 456 DEFINE_ARGS buffer, width, height, steps, \ 463 MOVSXDIFNIDN width, height, steps 636 DEFINE_ARGS ptr, width, height, steps, x, y, step, stride, remain 847 ; int column_end, int steps, float nu, float bscale); 852 steps, [all...] |
/kernel/linux/linux-6.6/drivers/input/keyboard/ |
H A D | lm8323.c | 99 * Take t clock scales (up to 63) per step, for n steps (up to 126). 444 int div512, perstep, steps, hz, up, kill; in lm8323_pwm_work() local 461 steps = abs(pwm->desired_brightness - pwm->brightness); in lm8323_pwm_work() 467 if ((pwm->fade_time / steps) > (32768 / 512)) { in lm8323_pwm_work() 475 perstep = (hz * pwm->fade_time) / (steps * 1000); in lm8323_pwm_work() 482 while (steps) { in lm8323_pwm_work() 485 s = min(126, steps); in lm8323_pwm_work() 487 steps -= s; in lm8323_pwm_work()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_rating.cpp | 126 auto steps = info[0]->ToNumber<double>(); in SetStepSize() local 127 if (LessNotEqual(steps, stepSizeMin)) { in SetStepSize() 128 steps = STEPS_DEFAULT; in SetStepSize() 130 RatingModel::GetInstance()->SetStepSize(steps); in SetStepSize()
|
/foundation/arkui/ui_lite/test/autotest/src/ |
H A D | tcp_socket_manager.cpp | 98 void TcpSocketClientManager::OnGetTestSetps(QJsonArray array, std::vector<TestSteps>& steps) in OnGetTestSetps() argument 120 steps.push_back(testSteps); in OnGetTestSetps() 236 OnGetTestSetps(array, msgInfo->steps); in OnGetTestInfo() 250 for (auto it3: it->steps) { in OnPrintTestInfo() 251 printf("steps---viewID=[%s], eventID=[%d]", it3.viewID.c_str(), it3.eventID); in OnPrintTestInfo() 253 printf("steps---eventValue=[%d]", it4); in OnPrintTestInfo() 255 printf("steps---saveCheckPoint=[%d]--------\n", it3.saveCheckPoint); in OnPrintTestInfo()
|
H A D | ui_auto_test.cpp | 163 OnTestBySteps(info->steps, info->className); in OnTest() 166 void UIAutoTest::OnTestBySteps(std::vector<TestSteps> steps, std::string className) in OnTestBySteps() argument 168 if (steps.empty()) { in OnTestBySteps() 173 for (auto it: steps) { in OnTestBySteps()
|
/third_party/python/Lib/test/ |
H A D | test_pipes.py | 97 self.assertEqual(repr(t), "<Template instance, steps=[]>") 100 "<Template instance, steps=[('tr a-z A-Z', '--')]>") 200 self.assertEqual(t.steps, u.steps) 201 self.assertNotEqual(id(t.steps), id(u.steps))
|
/third_party/ffmpeg/libavcodec/ |
H A D | mpegaudiodec_template.c | 116 SCALE_GEN(4.0 / 3.0), /* 3 steps */ 117 SCALE_GEN(4.0 / 5.0), /* 5 steps */ 118 SCALE_GEN(4.0 / 9.0), /* 9 steps */ 205 static inline int l2_unscale_group(int steps, int mant, int scale_factor) in l2_unscale_group() argument 213 val = (mant - (steps >> 1)) * scale_factor_mult2[steps >> 2][mod]; in l2_unscale_group() 470 int scale, qindex, bits, steps, k, l, m, b; in mp_decode_layer2() local 567 steps = ff_mpa_quant_steps[qindex]; in mp_decode_layer2() 570 l2_unscale_group(steps, v2 & 15, scale); in mp_decode_layer2() 572 l2_unscale_group(steps, (v in mp_decode_layer2() [all...] |
H A D | mpegaudioenc_template.c | 683 int qindex, steps, m, sample, bits; in encode_frame() local 686 steps = ff_mpa_quant_steps[qindex]; in encode_frame() 694 q[m] = (int)((a + 1.0) * steps * 0.5); in encode_frame() 712 q[m] = (q1 * (unsigned)steps) >> (P + 1); in encode_frame() 715 if (q[m] >= steps) in encode_frame() 716 q[m] = steps - 1; in encode_frame() 717 av_assert2(q[m] >= 0 && q[m] < steps); in encode_frame() 723 q[0] + steps * (q[1] + steps * q[2])); in encode_frame()
|
/third_party/node/deps/v8/src/heap/ |
H A D | gc-tracer-inl.h | 16 : duration(0), longest_step(0), steps(0) {} in IncrementalMarkingInfos() 19 steps++; in Update() 29 steps = 0; in ResetCurrentCycle()
|
/third_party/skia/src/gpu/ |
H A D | GrColorSpaceXform.cpp | 18 SkColorSpaceXformSteps steps(src, srcAT, dst, dstAT); in Make() 19 return steps.flags.mask() == 0 ? nullptr /* Noop transform */ in Make() 20 : sk_make_sp<GrColorSpaceXform>(steps); in Make()
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | sp887x.c | 443 int steps = (sync0x200 >> 4) & 0x00f; in sp887x_read_status() local 444 if (steps & 0x008) in sp887x_read_status() 445 steps = -steps; in sp887x_read_status() 446 dprintk("sp887x: implement tuner adjustment (%+i steps)!!\n", in sp887x_read_status() 447 steps); in sp887x_read_status()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | ti_am335x_tsc.c | 203 /* The steps end ... end - readouts * 2 + 2 and bit 0 for TS_Charge */ in titsc_step_config() 490 u32 steps; in titsc_remove() local 496 /* total steps followed by the enable mask */ in titsc_remove() 497 steps = 2 * ts_dev->coordinate_readouts + 2; in titsc_remove() 498 steps = (1 << steps) - 1; in titsc_remove() 499 am335x_tsc_se_clr(ts_dev->mfd_tscadc, steps); in titsc_remove()
|
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | sp887x.c | 441 int steps = (sync0x200 >> 4) & 0x00f; in sp887x_read_status() local 442 if (steps & 0x008) in sp887x_read_status() 443 steps = -steps; in sp887x_read_status() 444 dprintk("sp887x: implement tuner adjustment (%+i steps)!!\n", in sp887x_read_status() 445 steps); in sp887x_read_status()
|