Home
last modified time | relevance | path

Searched refs:step (Results 1 – 25 of 2908) sorted by relevance

12345678910>>...117

/external/libvpx/libvpx/vpx_dsp/
Dfwd_txfm.c30 tran_high_t step[4]; // canbe16 in vpx_fdct4x4_c() local
52 step[0] = in_high[0] + in_high[3]; in vpx_fdct4x4_c()
53 step[1] = in_high[1] + in_high[2]; in vpx_fdct4x4_c()
54 step[2] = in_high[1] - in_high[2]; in vpx_fdct4x4_c()
55 step[3] = in_high[0] - in_high[3]; in vpx_fdct4x4_c()
56 temp1 = (step[0] + step[1]) * cospi_16_64; in vpx_fdct4x4_c()
57 temp2 = (step[0] - step[1]) * cospi_16_64; in vpx_fdct4x4_c()
60 temp1 = step[2] * cospi_24_64 + step[3] * cospi_8_64; in vpx_fdct4x4_c()
61 temp2 = -step[2] * cospi_8_64 + step[3] * cospi_24_64; in vpx_fdct4x4_c()
386 tran_high_t step[32]; in vpx_fdct32() local
[all …]
/external/oj-libjdwp/src/share/back/
DstepControl.c166 initState(JNIEnv *env, jthread thread, StepRequest *step) in initState() argument
173 step->fromLine = -1; in initState()
174 step->fromNative = JNI_FALSE; in initState()
175 step->frameExited = JNI_FALSE; in initState()
176 step->fromStackDepth = getFrameCount(thread); in initState()
178 if (step->fromStackDepth <= 0) { in initState()
185 step->fromNative = JNI_TRUE; in initState()
199 step->fromNative = JNI_TRUE; in initState()
209 LOG_STEP(("initState(): frame=%d", step->fromStackDepth)); in initState()
217 if (step->granularity == JDWP_STEP_SIZE(LINE) ) { in initState()
[all …]
/external/python/cpython2/Objects/
Dsliceobject.c61 PySlice_New(PyObject *start, PyObject *stop, PyObject *step) in PySlice_New() argument
68 if (step == NULL) step = Py_None; in PySlice_New()
69 Py_INCREF(step); in PySlice_New()
75 obj->step = step; in PySlice_New()
104 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step) in PySlice_GetIndices() argument
107 if (r->step == Py_None) { in PySlice_GetIndices()
108 *step = 1; in PySlice_GetIndices()
110 if (!_PyAnyInt_Check(r->step)) return -1; in PySlice_GetIndices()
111 *step = PyInt_AsSsize_t(r->step); in PySlice_GetIndices()
114 *start = *step < 0 ? length-1 : 0; in PySlice_GetIndices()
[all …]
Drangeobject.c8 long step; member
16 get_len_of_range(long lo, long hi, long step) in get_len_of_range() argument
31 assert(step != 0); in get_len_of_range()
32 if (step > 0 && lo < hi) in get_len_of_range()
33 return 1UL + (hi - 1UL - lo) / step; in get_len_of_range()
34 else if (step < 0 && lo > hi) in get_len_of_range()
35 return 1UL + (lo - 1UL - hi) / (0UL - step); in get_len_of_range()
57 last = (long)(r->start + (unsigned long)(r->len - 1) * r->step); in get_stop_for_range()
58 if (r->step > 0) in get_stop_for_range()
59 return last > LONG_MAX - r->step ? LONG_MAX : last + r->step; in get_stop_for_range()
[all …]
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Dlegacy_learning_rate_decay_test.py37 step = 5
38 decayed_lr = learning_rate_decay.exponential_decay(0.05, step, 10, 0.96)
44 step = variables.Variable(0)
47 .1, step, 3, 0.96, staircase=True)
51 self.evaluate(step.assign(1))
55 self.evaluate(step.assign(2))
60 self.evaluate(step.assign(100))
64 step = variables.VariableV1(1)
67 .1, step, 3, 0.96, staircase=True)
70 assign_1 = step.assign(1)
[all …]
Dlearning_rate_schedule_test.py52 step = 5
56 self.assertAllClose(self.evaluate(decayed_lr(step)), expected, 1e-6)
60 step = variables.Variable(0)
68 self.evaluate(step.assign(1))
69 self.assertAllClose(self.evaluate(decayed_lr(step)), expected, 1e-6)
72 self.evaluate(step.assign(2))
73 self.assertAllClose(self.evaluate(decayed_lr(step)), expected, 1e-6)
77 self.evaluate(step.assign(100))
78 self.assertAllClose(self.evaluate(decayed_lr(step)), expected, 1e-6)
83 step = variables.Variable(1)
[all …]
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/
DBaseTween.java19 private int step; field in BaseTween
48 step = -2; in reset()
293 return step; in getStep()
360 protected void updateOverride(int step, int lastStep, boolean isIterationStep, float delta) { in updateOverride() argument
365 step = -1; in forceToStart()
373 step = repeatCnt*2 + 1; in forceToEnd()
383 protected boolean isReverse(int step) { in isReverse() argument
384 return isYoyo && Math.abs(step%4) == 2; in isReverse()
387 protected boolean isValid(int step) { in isValid() argument
388 return (step >= 0 && step <= repeatCnt*2) || repeatCnt < 0; in isValid()
[all …]
/external/python/cpython3/Objects/
Dsliceobject.c117 PySlice_New(PyObject *start, PyObject *stop, PyObject *step) in PySlice_New() argument
130 if (step == NULL) step = Py_None; in PySlice_New()
131 Py_INCREF(step); in PySlice_New()
137 obj->step = step; in PySlice_New()
166 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step) in PySlice_GetIndices() argument
170 if (r->step == Py_None) { in PySlice_GetIndices()
171 *step = 1; in PySlice_GetIndices()
173 if (!PyLong_Check(r->step)) return -1; in PySlice_GetIndices()
174 *step = PyLong_AsSsize_t(r->step); in PySlice_GetIndices()
177 *start = *step < 0 ? length-1 : 0; in PySlice_GetIndices()
[all …]
Drangeobject.c19 PyObject *step; member
29 validate_step(PyObject *step) in validate_step() argument
32 if (!step) in validate_step()
35 step = PyNumber_Index(step); in validate_step()
36 if (step && _PyLong_Sign(step) == 0) { in validate_step()
39 Py_CLEAR(step); in validate_step()
42 return step; in validate_step()
46 compute_range_length(PyObject *start, PyObject *stop, PyObject *step);
50 PyObject *stop, PyObject *step) in make_range_object() argument
54 length = compute_range_length(start, stop, step); in make_range_object()
[all …]
/external/llvm-project/debuginfo-tests/dexter/dex/dextIR/
DDextIR.py16 def _step_kind_func(context, step): argument
17 if (step.current_location.path is None or
18 not os.path.exists(step.current_location.path)):
21 if any(os.path.samefile(step.current_location.path, f)
61 for step in self.steps:
62 if step.step_kind in (StepKind.FUNC, StepKind.FUNC_EXTERNAL,
67 st += '<{}>{}</>\n'.format(color, step)
76 def _get_prev_step_in_this_frame(self, step): argument
83 if s.current_function == step.current_function
84 and s.num_frames == step.num_frames), None)
[all …]
/external/libgav1/libgav1/src/dsp/
Dloop_filter.cc69 inline bool NeedsFilter4(const Pixel* p, ptrdiff_t step, int outer_thresh, in NeedsFilter4() argument
71 const int p1 = p[-2 * step], p0 = p[-step]; in NeedsFilter4()
72 const int q0 = p[0], q1 = p[step]; in NeedsFilter4()
80 inline bool Hev(const Pixel* p, ptrdiff_t step, int thresh) { in Hev() argument
81 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; in Hev()
88 inline void Filter2_C(Pixel* p, ptrdiff_t step) { in Filter2_C() argument
89 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; in Filter2_C()
100 p[-step] = Clip3(p0 + a2, 0, max_unsigned_val); in Filter2_C()
107 inline void Filter4_C(Pixel* p, ptrdiff_t step) { in Filter4_C() argument
108 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; in Filter4_C()
[all …]
/external/llvm-project/clang/test/CodeGen/aarch64-sve-intrinsics/
Dacle_sve_index.c10 svint8_t test_svindex_s8(int8_t base, int8_t step) in test_svindex_s8() argument
15 return svindex_s8(base, step); in test_svindex_s8()
18 svint16_t test_svindex_s16(int16_t base, int16_t step) in test_svindex_s16() argument
23 return svindex_s16(base, step); in test_svindex_s16()
26 svint32_t test_svindex_s32(int32_t base, int32_t step) in test_svindex_s32() argument
31 return svindex_s32(base, step); in test_svindex_s32()
34 svint64_t test_svindex_s64(int64_t base, int64_t step) in test_svindex_s64() argument
39 return svindex_s64(base, step); in test_svindex_s64()
42 svuint8_t test_svindex_u8(uint8_t base, uint8_t step) in test_svindex_u8() argument
47 return svindex_u8(base, step); in test_svindex_u8()
[all …]
/external/libvpx/libvpx/test/
Ddct16x16_test.cc53 double step[16]; in butterfly_16x16_dct_1d() local
58 step[0] = input[0] + input[15]; in butterfly_16x16_dct_1d()
59 step[1] = input[1] + input[14]; in butterfly_16x16_dct_1d()
60 step[2] = input[2] + input[13]; in butterfly_16x16_dct_1d()
61 step[3] = input[3] + input[12]; in butterfly_16x16_dct_1d()
62 step[4] = input[4] + input[11]; in butterfly_16x16_dct_1d()
63 step[5] = input[5] + input[10]; in butterfly_16x16_dct_1d()
64 step[6] = input[6] + input[9]; in butterfly_16x16_dct_1d()
65 step[7] = input[7] + input[8]; in butterfly_16x16_dct_1d()
66 step[8] = input[7] - input[8]; in butterfly_16x16_dct_1d()
[all …]
/external/FXdiv/test/
Dquotient.cc37 const uint32_t step = UINT32_C(487); in TEST() local
38 for (uint32_t n = 0; n <= UINT32_MAX - step + 1; n += step) { in TEST()
44 const uint32_t step = UINT32_C(491); in TEST() local
45 for (uint32_t d = 1; d <= UINT32_MAX - step + 1; d += step) { in TEST()
53 const uint32_t step = UINT32_C(523); in TEST() local
54 for (uint32_t n = 3; n <= UINT32_MAX - step + 1; n += step) { in TEST()
62 const uint32_t step = UINT32_C(25183); in TEST() local
66 for (uint32_t n = 0; n <= UINT32_MAX - step + 1; n += step) { in TEST()
73 const uint32_t step = UINT32_C(25183); in TEST() local
77 for (uint32_t n = 0; n <= UINT32_MAX - step + 1; n += step) { in TEST()
[all …]
/external/rust/crates/crossbeam-utils/src/
Dbackoff.rs81 step: Cell<u32>, field
96 Backoff { step: Cell::new(0) } in new()
111 self.step.set(0); in reset()
147 for _ in 0..1 << self.step.get().min(SPIN_LIMIT) { in spin()
154 if self.step.get() <= SPIN_LIMIT { in spin()
155 self.step.set(self.step.get() + 1); in spin()
209 if self.step.get() <= SPIN_LIMIT { in snooze()
210 for _ in 0..1 << self.step.get() { in snooze()
218 for _ in 0..1 << self.step.get() { in snooze()
229 if self.step.get() <= YIELD_LIMIT { in snooze()
[all …]
/external/libvpx/libvpx/vpx_dsp/ppc/
Dinv_txfm_vsx.h25 #define LOAD_INPUT16(load, source, offset, step, in) \ argument
27 in[1] = load((step) + (offset), source); \
28 in[2] = load(2 * (step) + (offset), source); \
29 in[3] = load(3 * (step) + (offset), source); \
30 in[4] = load(4 * (step) + (offset), source); \
31 in[5] = load(5 * (step) + (offset), source); \
32 in[6] = load(6 * (step) + (offset), source); \
33 in[7] = load(7 * (step) + (offset), source); \
34 in[8] = load(8 * (step) + (offset), source); \
35 in[9] = load(9 * (step) + (offset), source); \
[all …]
/external/libldac/src/
Dbitalloc_ldac.c229 int step = limit - grad_os_l; in decrease_offset_low_ldac() local
236 if (step > 1) { in decrease_offset_low_ldac()
237 step = (step+1)/2; in decrease_offset_low_ldac()
241 grad_os_l -= step; in decrease_offset_low_ldac()
243 grad_os_l += step; in decrease_offset_low_ldac()
247 grad_os_l += step; in decrease_offset_low_ldac()
252 grad_os_l += step; in decrease_offset_low_ldac()
254 grad_os_l -= step; in decrease_offset_low_ldac()
258 grad_os_l -= step; in decrease_offset_low_ldac()
293 int step = LDAC_MAXGRADOS - grad_os_h; in decrease_offset_high_ldac() local
[all …]
/external/libvpx/libvpx/vpx_dsp/x86/
Dhighbd_idct4x4_add_sse2.c30 __m128i temp1[4], temp2[4], step[4]; in highbd_idct4_small_sse2() local
47 step[0] = dct_const_round_shift_4_sse2(temp1[0], temp1[1]); in highbd_idct4_small_sse2()
48 step[1] = dct_const_round_shift_4_sse2(temp2[0], temp2[1]); in highbd_idct4_small_sse2()
64 step[2] = dct_const_round_shift_4_sse2(temp1[0], temp1[1]); in highbd_idct4_small_sse2()
65 step[3] = dct_const_round_shift_4_sse2(temp2[0], temp2[1]); in highbd_idct4_small_sse2()
68 io[0] = _mm_add_epi32(step[0], step[3]); // step[0] + step[3] in highbd_idct4_small_sse2()
69 io[1] = _mm_add_epi32(step[1], step[2]); // step[1] + step[2] in highbd_idct4_small_sse2()
70 io[2] = _mm_sub_epi32(step[1], step[2]); // step[1] - step[2] in highbd_idct4_small_sse2()
71 io[3] = _mm_sub_epi32(step[0], step[3]); // step[0] - step[3] in highbd_idct4_small_sse2()
75 __m128i step[4]; in highbd_idct4_large_sse2() local
[all …]
/external/llvm-project/mlir/test/Transforms/
Dparametric-tiling.mlir10 // (upper - lower + step - 1) / step
11 // where step is known to be %c1.
20 // New outer step (original is %c1).
21 // COMMON-NEXT: %[[step:.*]] = muli %c1, %[[size]]
24 // (upper - lower + step - 1) / step
25 // where step is known to be %c2.
34 // New inner step (original is %c2).
38 // COMMON: scf.for %[[i:.*]] = %c2 to %c44 step %[[step]]
39 // TILE_74:scf.for %[[j:.*]] = %c1 to %c44 step %[[step2]]
40 scf.for %i = %c2 to %c44 step %c1 {
[all …]
Dparametric-mapping.mlir4 // CHECK: (%[[lb:.*]]: index, %[[ub:.*]]: index, %[[step:.*]]: index) {
5 func @map1d(%lb: index, %ub: index, %step: index) {
9 // CHECK: %[[thread_offset:.*]] = muli %[[step]], %[[threads]]#0
11 // CHECK: %[[new_step:.*]] = muli %[[step]], %[[threads]]#1
12 // CHECK: scf.for %{{.*}} = %[[new_lb]] to %[[ub]] step %[[new_step]] {
13 scf.for %i = %lb to %ub step %step {}
18 // CHECK: (%[[lb:.*]]: index, %[[ub:.*]]: index, %[[step:.*]]: index) {
19 func @map2d(%lb : index, %ub : index, %step : index) {
32 // thread_offset = step * (threadIdx.x + blockIdx.x * blockDim.x)
33 // CHECK: %[[thread_offset:.*]] = muli %[[step]], %[[tidxpbidxXbdimx]] : index
[all …]
/external/rust/crates/rayon/src/iter/
Dstep_by.rs19 step: usize, field
27 pub(super) fn new(base: I, step: usize) -> Self { in new()
28 StepBy { base, step } in new()
59 div_round_up(self.base.len(), self.step) in len()
69 step: self.step, in with_producer()
75 step: usize, in with_producer() field
90 step: self.step, in with_producer()
104 step: usize, field
116 self.base.into_iter().step_by(self.step) in into_iter()
120 let elem_index = min(index * self.step, self.len); in split_at()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dsummary_ops_test.py56 output = summary_ops.write('tag', 42, step=12)
60 self.assertEqual(12, events[1].step)
72 return summary_ops.write('tag', 42, step=12)
77 self.assertEqual(12, events[1].step)
101 output = summary_ops.write('tag', 42, step=12, name='anonymous')
109 summary_ops.write('tag', [[1, 2], [3, 4]], step=12)
119 summary_ops.write('tag', t, step=12)
132 summary_ops.write('tag', t, step=12)
144 summary_ops.write('tag', [b'foo', b'bar'], step=12)
156 step = constant_op.constant(12, dtype=dtypes.int64)
[all …]
/external/webp/src/dsp/
Ddec_mips32.c30 static WEBP_INLINE void do_filter2(uint8_t* p, int step) { in do_filter2() argument
31 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; in do_filter2()
35 p[-step] = VP8kclip1[p0 + a2]; in do_filter2()
40 static WEBP_INLINE void do_filter4(uint8_t* p, int step) { in do_filter4() argument
41 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; in do_filter4()
46 p[-2 * step] = VP8kclip1[p1 + a3]; in do_filter4()
47 p[- step] = VP8kclip1[p0 + a2]; in do_filter4()
49 p[ step] = VP8kclip1[q1 - a3]; in do_filter4()
53 static WEBP_INLINE void do_filter6(uint8_t* p, int step) { in do_filter6() argument
54 const int p2 = p[-3 * step], p1 = p[-2 * step], p0 = p[-step]; in do_filter6()
[all …]
/external/wpa_supplicant_8/
DCleanSpec.mk50 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES/wpa_supplicant_intermediates/*)
51 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES/wpa_cli_intermediates/*)
52 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES/wpa_supplicant_intermediates)
53 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES/wpa_supplicant_intermediates/*)
54 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES/wpa_cli_intermediates/*)
55 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES/wpa_supplicant_intermediates/*)
56 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES/hostapd_intermediates/*)
57 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES/wpa_cli_intermediates/*)
58 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES/wpa_supplicant_intermediates/*)
59 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES/hostapd_intermediates/*)
[all …]
/external/mesa3d/
DCleanSpec.mk1 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libmesa_*_intermediates)
2 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/i9*5_dri_intermediates)
3 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libglapi_intermediates)
4 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libGLES_mesa_intermediates)
5 $(call add-clean-step, rm -rf $(OUT_DIR)/host/$(HOST_OS)-$(HOST_ARCH)/obj/EXECUTABLES/mesa_*_interm…
6 $(call add-clean-step, rm -rf $(OUT_DIR)/host/$(HOST_OS)-$(HOST_ARCH)/obj/EXECUTABLES/glsl_compiler…
7 $(call add-clean-step, rm -rf $(OUT_DIR)/host/$(HOST_OS)-$(HOST_ARCH)/obj/STATIC_LIBRARIES/libmesa_…
9 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/*/STATIC_LIBRARIES/libmesa_*_intermediates)
10 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/*/SHARED_LIBRARIES/i9?5_dri_intermediates)
11 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/*/SHARED_LIBRARIES/libglapi_intermediates)
[all …]

12345678910>>...117