Home
last modified time | relevance | path

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

12345678910>>...106

/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.py33 step = 5
34 decayed_lr = learning_rate_decay.exponential_decay(0.05, step, 10, 0.96)
40 step = variables.Variable(0)
43 .1, step, 3, 0.96, staircase=True)
47 self.evaluate(step.assign(1))
51 self.evaluate(step.assign(2))
56 self.evaluate(step.assign(100))
60 step = variables.VariableV1(1)
63 .1, step, 3, 0.96, staircase=True)
66 assign_1 = step.assign(1)
[all …]
Dlearning_rate_schedule_test.py48 step = 5
52 self.assertAllClose(self.evaluate(decayed_lr(step)), expected, 1e-6)
56 step = variables.Variable(0)
64 self.evaluate(step.assign(1))
65 self.assertAllClose(self.evaluate(decayed_lr(step)), expected, 1e-6)
68 self.evaluate(step.assign(2))
69 self.assertAllClose(self.evaluate(decayed_lr(step)), expected, 1e-6)
73 self.evaluate(step.assign(100))
74 self.assertAllClose(self.evaluate(decayed_lr(step)), expected, 1e-6)
79 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.c114 PySlice_New(PyObject *start, PyObject *stop, PyObject *step) in PySlice_New() argument
116 if (step == NULL) { in PySlice_New()
117 step = Py_None; in PySlice_New()
140 Py_INCREF(step); in PySlice_New()
141 obj->step = step; in PySlice_New()
172 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step) in PySlice_GetIndices() argument
176 if (r->step == Py_None) { in PySlice_GetIndices()
177 *step = 1; in PySlice_GetIndices()
179 if (!PyLong_Check(r->step)) return -1; in PySlice_GetIndices()
180 *step = PyLong_AsSsize_t(r->step); in PySlice_GetIndices()
[all …]
Drangeobject.c20 PyObject *step; member
30 validate_step(PyObject *step) in validate_step() argument
33 if (!step) in validate_step()
36 step = PyNumber_Index(step); in validate_step()
37 if (step && _PyLong_Sign(step) == 0) { in validate_step()
40 Py_CLEAR(step); in validate_step()
43 return step; in validate_step()
47 compute_range_length(PyObject *start, PyObject *stop, PyObject *step);
51 PyObject *stop, PyObject *step) in make_range_object() argument
55 length = compute_range_length(start, stop, step); in make_range_object()
[all …]
/external/libgav1/libgav1/src/dsp/
Dloop_filter.cc72 inline bool NeedsFilter4(const Pixel* p, ptrdiff_t step, int outer_thresh, in NeedsFilter4() argument
74 const int p1 = p[-2 * step], p0 = p[-step]; in NeedsFilter4()
75 const int q0 = p[0], q1 = p[step]; in NeedsFilter4()
83 inline bool Hev(const Pixel* p, ptrdiff_t step, int thresh) { in Hev() argument
84 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; in Hev()
91 inline void Filter2_C(Pixel* p, ptrdiff_t step) { in Filter2_C() argument
92 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; in Filter2_C()
103 p[-step] = Clip3(p0 + a2, 0, max_unsigned_val); in Filter2_C()
110 inline void Filter4_C(Pixel* p, ptrdiff_t step) { in Filter4_C() argument
111 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; in Filter4_C()
[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/ComputeLibrary/tests/validation/fixtures/
DRangeFixture.h47 size_t num_of_elements_in_range(float start, float end, float step) in num_of_elements_in_range() argument
49 ARM_COMPUTE_ERROR_ON(step == 0); in num_of_elements_in_range()
50 return size_t(std::ceil((end - start) / step)); in num_of_elements_in_range()
59 …void setup(const DataType data_type0, float start, float step, const QuantizationInfo qinfo0 = Qua…
61 _target = compute_target(data_type0, qinfo0, start, step);
62 _reference = compute_reference(data_type0, qinfo0, start, step);
66 …dom_end(const DataType output_data_type, const QuantizationInfo qinfo_out, float start, float step) in get_random_end() argument
74 end += std::max((uint8_t)1, static_cast<uint8_t>(distribution(gen))) * step; in get_random_end()
77 end += std::max((uint16_t)1, static_cast<uint16_t>(distribution(gen))) * step; in get_random_end()
80 end += std::max((uint32_t)1, static_cast<uint32_t>(distribution(gen))) * step; in get_random_end()
[all …]
/external/skia/resources/sksl/intrinsics/
DStep.sksl10 return (step(0.5, testInputs.x) == expectedA.x &&
11 step(0.5, testInputs.xy) == expectedA.xy &&
12 step(0.5, testInputs.xyz) == expectedA.xyz &&
13 step(0.5, testInputs.xyzw) == expectedA.xyzw &&
14 step(0.5, constVal.x) == expectedA.x &&
15 step(0.5, constVal.xy) == expectedA.xy &&
16 step(0.5, constVal.xyz) == expectedA.xyz &&
17 step(0.5, constVal.xyzw) == expectedA.xyzw &&
18 step(testInputs.x, constGreen.x) == expectedB.x &&
19 step(testInputs.xy, constGreen.xy) == expectedB.xy &&
[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/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/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/XNNPACK/test/
Df32-dwconv.cc75 for (size_t step = 2; step <= 25; step++) { in TEST() local
81 .step(step) in TEST()
178 for (size_t step = 2; step <= 25; step++) { in TEST() local
184 .step(step) in TEST()
281 for (size_t step = 2; step <= 9; step++) { in TEST() local
287 .step(step) in TEST()
384 for (size_t step = 2; step <= 9; step++) { in TEST() local
390 .step(step) in TEST()
487 for (size_t step = 2; step <= 3; step++) { in TEST() local
493 .step(step) in TEST()
[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/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/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.py61 output = summary_ops.write('tag', 42, step=12)
65 self.assertEqual(12, events[1].step)
77 return summary_ops.write('tag', 42, step=12)
82 self.assertEqual(12, events[1].step)
106 output = summary_ops.write('tag', 42, step=12, name='anonymous')
114 summary_ops.write('tag', [[1, 2], [3, 4]], step=12)
124 summary_ops.write('tag', t, step=12)
137 summary_ops.write('tag', t, step=12)
149 summary_ops.write('tag', [b'foo', b'bar'], step=12)
161 step = constant_op.constant(12, dtype=dtypes.int64)
[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 …]
/external/skia/tests/
DSkVMDebugTracePlayerTest.cpp114 player.step(); in DEF_TEST()
124 player.step(); in DEF_TEST()
151 player.step(); in DEF_TEST()
194 player.step(); in DEF_TEST()
213 player.step(); in DEF_TEST()
219 player.step(); in DEF_TEST()
226 player.step(); in DEF_TEST()
234 player.step(); in DEF_TEST()
239 player.step(); in DEF_TEST()
245 player.step(); in DEF_TEST()
[all …]

12345678910>>...106