Home
last modified time | relevance | path

Searched refs:step (Results 1 - 25 of 1096) sorted by relevance

12345678910>>...44

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dperformance_analysis.cpp63 bool PerformanceAnalysis::IsStepValid(uint32_t step) const in IsStepValid()
65 return (stepNum_ < MAX_TIMERECORD_STEP_NUM && step < stepNum_); in IsStepValid()
83 bool PerformanceAnalysis::InsertTimeRecord(const TimePair &timePair, uint32_t step) in InsertTimeRecord() argument
85 if (!IsStepValid(step)) { // LCOV_EXCL_BR_LINE in InsertTimeRecord()
88 timeRecordData_.timeInfo[step] = timePair; in InsertTimeRecord()
92 bool PerformanceAnalysis::GetTimeRecord(uint32_t step, TimePair &timePair) const in GetTimeRecord() argument
94 if (!IsStepValid(step)) { // LCOV_EXCL_BR_LINE in GetTimeRecord()
97 timePair = timeRecordData_.timeInfo[step]; in GetTimeRecord()
117 void PerformanceAnalysis::StepTimeRecordStart(uint32_t step) in StepTimeRecordStart() argument
122 if (!IsStepValid(step)) { // LCOV_EXCL_BR_LIN in StepTimeRecordStart()
137 StepTimeRecordEnd(uint32_t step) StepTimeRecordEnd() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/radix-tree/
H A Dbenchmark.c53 unsigned long size, unsigned long step) in benchmark_insert()
61 for (index = 0 ; index < size ; index += step) in benchmark_insert()
69 printv(2, "Size: %8ld, step: %8ld, insertion: %15lld ns\n", in benchmark_insert()
70 size, step, nsec); in benchmark_insert()
74 unsigned long size, unsigned long step) in benchmark_tagging()
82 for (index = 0 ; index < size ; index += step) in benchmark_tagging()
90 printv(2, "Size: %8ld, step: %8ld, tagging: %17lld ns\n", in benchmark_tagging()
91 size, step, nsec); in benchmark_tagging()
95 unsigned long size, unsigned long step) in benchmark_delete()
103 for (index = 0 ; index < size ; index += step) in benchmark_delete()
52 benchmark_insert(struct radix_tree_root *root, unsigned long size, unsigned long step) benchmark_insert() argument
73 benchmark_tagging(struct radix_tree_root *root, unsigned long size, unsigned long step) benchmark_tagging() argument
94 benchmark_delete(struct radix_tree_root *root, unsigned long size, unsigned long step) benchmark_delete() argument
115 benchmark_size(unsigned long size, unsigned long step) benchmark_size() argument
140 unsigned long step[] = {1, 2, 7, 15, 63, 64, 65, benchmark() local
[all...]
/kernel/linux/linux-6.6/tools/testing/radix-tree/
H A Dbenchmark.c53 unsigned long size, unsigned long step) in benchmark_insert()
61 for (index = 0 ; index < size ; index += step) in benchmark_insert()
69 printv(2, "Size: %8ld, step: %8ld, insertion: %15lld ns\n", in benchmark_insert()
70 size, step, nsec); in benchmark_insert()
74 unsigned long size, unsigned long step) in benchmark_tagging()
82 for (index = 0 ; index < size ; index += step) in benchmark_tagging()
90 printv(2, "Size: %8ld, step: %8ld, tagging: %17lld ns\n", in benchmark_tagging()
91 size, step, nsec); in benchmark_tagging()
95 unsigned long size, unsigned long step) in benchmark_delete()
103 for (index = 0 ; index < size ; index += step) in benchmark_delete()
52 benchmark_insert(struct radix_tree_root *root, unsigned long size, unsigned long step) benchmark_insert() argument
73 benchmark_tagging(struct radix_tree_root *root, unsigned long size, unsigned long step) benchmark_tagging() argument
94 benchmark_delete(struct radix_tree_root *root, unsigned long size, unsigned long step) benchmark_delete() argument
115 benchmark_size(unsigned long size, unsigned long step) benchmark_size() argument
140 unsigned long step[] = {1, 2, 7, 15, 63, 64, 65, benchmark() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/
H A Dsmp_hci_event.c243 SMP_StepFunc GetPairTable(uint16_t step) in GetPairTable() argument
245 if (step >= SMP_LEGACY_PAIR_MASTER_STEP_1 && step <= SMP_LEGACY_PAIR_MASTER_STEP_18) { in GetPairTable()
246 return g_masLegacy[step - SMP_LEGACY_PAIR_MASTER_STEP_1]; in GetPairTable()
247 } else if (step >= SMP_LEGACY_PAIR_SLAVE_STEP_1 && step <= SMP_LEGACY_PAIR_SLAVE_STEP_20) { in GetPairTable()
248 return g_slaLegacy[step - SMP_LEGACY_PAIR_SLAVE_STEP_1]; in GetPairTable()
249 } else if (step >= SMP_SC_PAIR_JUSTWORKORNUMERIC_MASTER_STEP_1 && in GetPairTable()
250 step <= SMP_SC_PAIR_JUSTWORKORNUMERIC_MASTER_STEP_14) { in GetPairTable()
251 return g_masScjw[step in GetPairTable()
276 SMP_ExecuteStepFunc(uint16_t step, const SMP_StepParam *param) SMP_ExecuteStepFunc() argument
622 SMP_OnReadLocalPubKeyCompStepDistribution(uint16_t step, const SMP_StepParam *param) SMP_OnReadLocalPubKeyCompStepDistribution() argument
691 SMP_OnGenDhKeyCompStepDistribution(uint16_t step, const SMP_StepParam *param) SMP_OnGenDhKeyCompStepDistribution() argument
[all...]
H A Dsmp_receive.c60 static void SMP_RecvPairCfmStepDistribution(uint16_t step, const SMP_StepParam *param);
61 static void SMP_RecvPairRandStepDistribution(uint16_t step, const SMP_StepParam *param);
62 static void SMP_RecvPairPubKeyStepDistribution(uint16_t step, const SMP_StepParam *param);
216 SMP_GetPairMng()->step = SMP_LEGACY_PAIR_SLAVE_STEP_1; in SMP_ReceivePairingRequest()
298 if (SMP_GetPairMng()->step != SMP_LEGACY_PAIR_MASTER_STEP_1) { in SMP_RecvPairRspJudgeException()
333 SMP_RecvPairCfmStepDistribution(SMP_GetPairMng()->step, &param); in SMP_ReceivePairingConfirm()
336 static void SMP_RecvPairCfmStepDistribution(uint16_t step, const SMP_StepParam *param) in SMP_RecvPairCfmStepDistribution() argument
338 switch (step) { in SMP_RecvPairCfmStepDistribution()
365 LOG_ERROR("It's invalid step:%hu.", step); in SMP_RecvPairCfmStepDistribution()
388 SMP_RecvPairRandStepDistribution(uint16_t step, const SMP_StepParam *param) SMP_RecvPairRandStepDistribution() argument
577 SMP_RecvPairPubKeyStepDistribution(uint16_t step, const SMP_StepParam *param) SMP_RecvPairPubKeyStepDistribution() argument
[all...]
/kernel/linux/linux-5.10/lib/
H A Dtest_bitmap.c312 #define step (sizeof(u64) / sizeof(unsigned long)) macro
315 {0, "1", &exp1[1 * step], 8, 0},
316 {0, "0-15", &exp1[2 * step], 32, 0},
317 {0, "16-31", &exp1[3 * step], 32, 0},
318 {0, "0-31:1/2", &exp1[4 * step], 32, 0},
319 {0, "1-31:1/2", &exp1[5 * step], 32, 0},
320 {0, "0-31:1/4", &exp1[6 * step], 32, 0},
321 {0, "1-31:1/4", &exp1[7 * step], 32, 0},
322 {0, "0-31:4/4", &exp1[8 * step], 32, 0},
323 {0, "1-31:4/4", &exp1[9 * step], 3
430 #undef step global() macro
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb_accel.c71 static void mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit1() argument
97 (GDC_CMD_BITMAP << 16) | (2 + (step * height)); in mb86290fb_imageblit1()
102 memcpy(&cmd[9 + i * step], line, step << 2); in mb86290fb_imageblit1()
106 for (k = 0; k < step; k++) in mb86290fb_imageblit1()
107 cmd[9 + i * step + k] = in mb86290fb_imageblit1()
108 cpu_to_be32(cmd[9 + i * step + k]); in mb86290fb_imageblit1()
120 static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit8() argument
130 (GDC_CMD_BLT_DRAW << 16) | (2 + (height * step)); in mb86290fb_imageblit8()
140 for (j = 0; j < step; in mb86290fb_imageblit8()
159 mb86290fb_imageblit16(u32 *cmd, u16 step, u16 dx, u16 dy, u16 width, u16 height, u32 fgcolor, u32 bgcolor, const struct fb_image *image, struct fb_info *info) mb86290fb_imageblit16() argument
192 u16 step; mb86290fb_imageblit() local
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb_accel.c69 static void mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit1() argument
95 (GDC_CMD_BITMAP << 16) | (2 + (step * height)); in mb86290fb_imageblit1()
100 memcpy(&cmd[9 + i * step], line, step << 2); in mb86290fb_imageblit1()
104 for (k = 0; k < step; k++) in mb86290fb_imageblit1()
105 cmd[9 + i * step + k] = in mb86290fb_imageblit1()
106 cpu_to_be32(cmd[9 + i * step + k]); in mb86290fb_imageblit1()
118 static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit8() argument
128 (GDC_CMD_BLT_DRAW << 16) | (2 + (height * step)); in mb86290fb_imageblit8()
138 for (j = 0; j < step; in mb86290fb_imageblit8()
157 mb86290fb_imageblit16(u32 *cmd, u16 step, u16 dx, u16 dy, u16 width, u16 height, u32 fgcolor, u32 bgcolor, const struct fb_image *image, struct fb_info *info) mb86290fb_imageblit16() argument
190 u16 step; mb86290fb_imageblit() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Dintel_step.c145 u8 step = gmd->step + STEP_A0; in gmd_to_intel_step() local
147 if (step >= STEP_FUTURE) { in gmd_to_intel_step()
152 return step; in gmd_to_intel_step()
162 struct intel_step_info step = {}; in intel_step_init() local
165 step.graphics_step = gmd_to_intel_step(i915, in intel_step_init()
167 step.media_step = gmd_to_intel_step(i915, in intel_step_init()
169 step.display_step = STEP_A0 + DISPLAY_RUNTIME_INFO(i915)->ip.step; in intel_step_init()
170 if (step in intel_step_init()
346 intel_step_name(enum intel_step step) intel_step_name() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
H A Dselftest_ring.c52 static int check_ring_step(struct intel_ring *ring, u32 x, u32 step) in check_ring_step() argument
54 u32 prev = x, next = intel_ring_wrap(ring, x + step); in check_ring_step()
65 static int check_ring_offset(struct intel_ring *ring, u32 x, u32 step) in check_ring_offset() argument
69 err |= check_ring_step(ring, x, step); in check_ring_offset()
70 err |= check_ring_step(ring, intel_ring_wrap(ring, x + 1), step); in check_ring_offset()
71 err |= check_ring_step(ring, intel_ring_wrap(ring, x - 1), step); in check_ring_offset()
80 int step, err = 0; in igt_ring_direction() local
89 for (step = 1; step < half; step << in igt_ring_direction()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dselftest_ring.c52 static int check_ring_step(struct intel_ring *ring, u32 x, u32 step) in check_ring_step() argument
54 u32 prev = x, next = intel_ring_wrap(ring, x + step); in check_ring_step()
65 static int check_ring_offset(struct intel_ring *ring, u32 x, u32 step) in check_ring_offset() argument
69 err |= check_ring_step(ring, x, step); in check_ring_offset()
70 err |= check_ring_step(ring, intel_ring_wrap(ring, x + 1), step); in check_ring_offset()
71 err |= check_ring_step(ring, intel_ring_wrap(ring, x - 1), step); in check_ring_offset()
80 int step, err = 0; in igt_ring_direction() local
89 for (step = 1; step < half; step << in igt_ring_direction()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/
H A Decc-mxic.c372 /* Trigger each step manually */ in mxic_ecc_init_ctx_external()
484 int step; in mxic_ecc_extract_status_bytes() local
487 for (step = 0; step < ctx->steps; step++) { in mxic_ecc_extract_status_bytes()
489 ((STAT_BYTES + ctx->oob_step_sz) * step); in mxic_ecc_extract_status_bytes()
491 ctx->status[step] = buf[next_stat_pos]; in mxic_ecc_extract_status_bytes()
498 int step; in mxic_ecc_reconstruct_oobbuf() local
501 for (step = 0; step < ct in mxic_ecc_reconstruct_oobbuf()
510 int step; mxic_ecc_add_room_in_oobbuf() local
527 int step; mxic_ecc_count_biterrs() local
558 int offset, nents, step, ret; mxic_ecc_prepare_io_req_external() local
617 int nents, step, ret; mxic_ecc_finish_io_req_external() local
[all...]
/kernel/linux/linux-5.10/include/trace/events/
H A Dwbt.h81 * wbt_step - trace wb event step
83 * @step: the current scale step count
92 int step, unsigned long window, unsigned int bg,
95 TP_ARGS(bdi, msg, step, window, bg, normal, max),
100 __field(int, step)
111 __entry->step = step;
118 TP_printk("%s: %s: step=%d, window=%luus, background=%u, normal=%u, max=%u",
119 __entry->name, __entry->msg, __entry->step, __entr
[all...]
/kernel/linux/linux-6.6/include/trace/events/
H A Dwbt.h81 * wbt_step - trace wb event step
83 * @step: the current scale step count
92 int step, unsigned long window, unsigned int bg,
95 TP_ARGS(bdi, msg, step, window, bg, normal, max),
100 __field(int, step)
111 __entry->step = step;
118 TP_printk("%s: %s: step=%d, window=%luus, background=%u, normal=%u, max=%u",
119 __entry->name, __entry->msg, __entry->step, __entr
[all...]
/kernel/linux/linux-6.6/lib/
H A Dtest_bitmap.c372 #define step (sizeof(u64) / sizeof(unsigned long)) macro
375 {0, "1", &exp1[1 * step], 8, 0},
376 {0, "0-15", &exp1[2 * step], 32, 0},
377 {0, "16-31", &exp1[3 * step], 32, 0},
378 {0, "0-31:1/2", &exp1[4 * step], 32, 0},
379 {0, "1-31:1/2", &exp1[5 * step], 32, 0},
380 {0, "0-31:1/4", &exp1[6 * step], 32, 0},
381 {0, "1-31:1/4", &exp1[7 * step], 32, 0},
382 {0, "0-31:4/4", &exp1[8 * step], 32, 0},
383 {0, "1-31:4/4", &exp1[9 * step], 3
569 #undef step global() macro
[all...]
H A Dlinear_ranges.c22 * be all equal - range with selectors 0,...,2 with step 0 still contains
41 * be all equal - range with selectors 0,...,2 with step 0 still contains
72 return r->min + (r->max_sel - r->min_sel) * r->step; in linear_range_get_max_value()
93 *val = r->min + (selector - r->min_sel) * r->step; in linear_range_get_value()
154 if (r->step == 0) in linear_range_get_selector_low()
157 *selector = (val - r->min) / r->step + r->min_sel; in linear_range_get_selector_low()
235 if (r->step == 0) in linear_range_get_selector_high()
238 *selector = DIV_ROUND_UP(val - r->min, r->step) + r->min_sel; in linear_range_get_selector_high()
268 if (r->step == 0) in linear_range_get_selector_within()
271 *selector = (val - r->min) / r->step in linear_range_get_selector_within()
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/modifiers/
H A Dreverse.cpp30 bool Reverse::ProcessOnStep(StepData& step) const in ProcessOnStep()
32 step.progress = 1.f - step.progress; in ProcessOnStep()
33 step.reverse = !step.reverse; in ProcessOnStep()
H A Dspeed.cpp37 bool SpeedImpl::ProcessOnStep(StepData& step) const in ProcessOnStep()
41 step.progress = 1.f - step.progress; in ProcessOnStep()
42 step.reverse = !step.reverse; in ProcessOnStep()
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_enc.c118 .step = 1,
134 .step = 1,
142 .step = 1,
150 .step = 1,
159 .step = 1,
168 .step = 1,
176 .step = 1,
184 .step = 1,
193 .step = 1,
210 .step
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_enc.c118 .step = 1,
134 .step = 1,
142 .step = 1,
150 .step = 1,
159 .step = 1,
168 .step = 1,
176 .step = 1,
184 .step = 1,
193 .step = 1,
210 .step
[all...]
/test/testfwk/arkxtest/uitest/test/
H A Dui_action_test.cpp144 uint32_t step = 0; in TEST_F() local
147 // check the TouchEvent of each step in TEST_F()
151 uint32_t expectedTimeOffset = (totalCostMs * step) / steps; in TEST_F()
155 if (step == 0) { in TEST_F()
158 } else if (step == events.GetSize() - 1) { in TEST_F()
165 step++; in TEST_F()
191 uint32_t step = 0; in TEST_F() local
194 // check the TouchEvent of each step in TEST_F()
198 uint32_t expectedTimeOffset = (totalCostMs * step) / steps; in TEST_F()
202 if (step in TEST_F()
232 uint32_t step = 0; TEST_F() local
278 const uint32_t step = 4; TEST_F() local
315 const uint32_t step = 4; TEST_F() local
372 uint32_t step = 0; TEST_F() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/include/media/
H A Dlm3554.h36 .step = (_step), \
48 .step = 1, \
96 #define LM3554_VALUE_TO_PERCENT(v, step) (((((unsigned long)(v)) * (step)) + 50) / 100)
97 #define LM3554_PERCENT_TO_VALUE(p, step) (((((unsigned long)(p)) * 100) + (step >> 1)) / (step))
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/include/media/
H A Dlm3554.h36 .step = (_step), \
48 .step = 1, \
96 #define LM3554_VALUE_TO_PERCENT(v, step) (((((unsigned long)(v)) * (step)) + 50) / 100)
97 #define LM3554_PERCENT_TO_VALUE(p, step) (((((unsigned long)(p)) * 100) + (step >> 1)) / (step))
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dhtab_mem_bench.c14 unsigned int step; member
32 ctx->from += ctx->step; in write_htab()
50 ctx->from += ctx->step; in del_htab()
61 update.step = nr_thread; in overwrite()
73 update.step = nr_thread; in batch_add_batch_del()
89 update.step = nr_thread / 2; in add_only()
101 update.step = nr_thread / 2; in del_only()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Dperformance_analysis.h81 void StepTimeRecordStart(uint32_t step);
83 void StepTimeRecordEnd(uint32_t step);
94 explicit PerformanceAnalysis(uint32_t step);
98 bool IsStepValid(uint32_t step) const;
102 bool InsertTimeRecord(const TimePair &timePair, uint32_t step);
104 bool GetTimeRecord(uint32_t step, TimePair &timePair) const;

Completed in 12 milliseconds

12345678910>>...44