Home
last modified time | relevance | path

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

12345678910>>...83

/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/training/
Dlearning_rate_decay_test.py37 step = 5
38 decayed_lr = learning_rate_decay.exponential_decay(0.05, step, 10, 0.96)
45 step = resource_variable_ops.ResourceVariable(0)
48 .1, step, 3, 0.96, staircase=True)
52 self.evaluate(step.assign(1))
56 self.evaluate(step.assign(2))
61 self.evaluate(step.assign(100))
66 step = variables.VariableV1(1)
67 assign_1 = step.assign(1)
68 assign_2 = step.assign(2)
[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/tensorflow/tensorflow/python/keras/optimizer_v2/
Dlearning_rate_schedule_test.py49 step = 5
53 self.assertAllClose(self.evaluate(decayed_lr(step)), expected, 1e-6)
58 step = resource_variable_ops.ResourceVariable(0)
66 self.evaluate(step.assign(1))
67 self.assertAllClose(self.evaluate(decayed_lr(step)), expected, 1e-6)
70 self.evaluate(step.assign(2))
71 self.assertAllClose(self.evaluate(decayed_lr(step)), expected, 1e-6)
75 self.evaluate(step.assign(100))
76 self.assertAllClose(self.evaluate(decayed_lr(step)), expected, 1e-6)
80 step = variables.Variable(1)
[all …]
/external/python/cpython3/Objects/
Dsliceobject.c116 PySlice_New(PyObject *start, PyObject *stop, PyObject *step) in PySlice_New() argument
129 if (step == NULL) step = Py_None; in PySlice_New()
130 Py_INCREF(step); in PySlice_New()
136 obj->step = step; in PySlice_New()
165 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step) in PySlice_GetIndices() argument
169 if (r->step == Py_None) { in PySlice_GetIndices()
170 *step = 1; in PySlice_GetIndices()
172 if (!PyLong_Check(r->step)) return -1; in PySlice_GetIndices()
173 *step = PyLong_AsSsize_t(r->step); in PySlice_GetIndices()
176 *start = *step < 0 ? length-1 : 0; in PySlice_GetIndices()
[all …]
Drangeobject.c17 PyObject *step; member
25 validate_step(PyObject *step) in validate_step() argument
28 if (!step) in validate_step()
31 step = PyNumber_Index(step); in validate_step()
32 if (step && _PyLong_Sign(step) == 0) { in validate_step()
35 Py_CLEAR(step); in validate_step()
38 return step; in validate_step()
42 compute_range_length(PyObject *start, PyObject *stop, PyObject *step);
46 PyObject *stop, PyObject *step) in make_range_object() argument
50 length = compute_range_length(start, stop, step); in make_range_object()
[all …]
/external/tensorflow/tensorflow/contrib/opt/python/training/
Dsign_decay_test.py29 def linear_decay(step): argument
30 step = min(step, decay_steps)
31 return float(decay_steps - step) / decay_steps
38 def cosine_decay(step): argument
39 step = min(step, decay_steps)
40 fraction = 2.0 * num_periods * step / float(decay_steps)
50 def restart_decay(step): argument
51 step = min(step, decay_steps)
52 tmp = num_periods * step / float(decay_steps)
54 num_periods * step % decay_steps) / float(decay_steps)
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dmonitors_test.py69 def every_n_step_begin(self, step): argument
70 super(_MyEveryN, self).every_n_step_begin(step)
71 self._steps_begun.append(step)
74 def every_n_step_end(self, step, outputs): argument
75 super(_MyEveryN, self).every_n_step_end(step, outputs)
76 self._steps_ended.append(step)
79 def every_n_post_step(self, step, session): argument
80 super(_MyEveryN, self).every_n_post_step(step, session)
81 self._post_steps.append(step)
115 step = epoch * num_steps_per_epoch
[all …]
Dmonitors.py165 def step_begin(self, step): argument
181 if (step < 0) or ((self._max_steps is not None) and
182 (step > self._max_steps)):
183 raise ValueError("Invalid step %s." % step)
184 self._current_step = step
187 def step_end(self, step, output): # pylint: disable=unused-argument argument
212 if self._current_step != step:
214 step)
218 def post_step(self, step, session): # pylint: disable=unused-argument argument
228 _ = step, session
[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/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/tensorflow/tensorflow/python/kernel_tests/
Dsummary_ops_test.py60 output = summary_ops.write('tag', 42, step=12)
64 self.assertEqual(12, events[1].step)
76 return summary_ops.write('tag', 42, step=12)
81 self.assertEqual(12, events[1].step)
105 output = summary_ops.write('tag', 42, step=12, name='anonymous')
113 summary_ops.write('tag', [[1, 2], [3, 4]], step=12)
123 summary_ops.write('tag', t, step=12)
136 summary_ops.write('tag', t, step=12)
148 summary_ops.write('tag', [b'foo', b'bar'], step=12)
160 step = constant_op.constant(12, dtype=dtypes.int64)
[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/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/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/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/libaom/libaom/av1/encoder/x86/
Dav1_quantize_avx2.c145 const unsigned int step = 16; in av1_quantize_fp_avx2() local
157 coeff_ptr += step; in av1_quantize_fp_avx2()
158 qcoeff_ptr += step; in av1_quantize_fp_avx2()
159 dqcoeff_ptr += step; in av1_quantize_fp_avx2()
160 iscan_ptr += step; in av1_quantize_fp_avx2()
161 n_coeffs -= step; in av1_quantize_fp_avx2()
169 coeff_ptr += step; in av1_quantize_fp_avx2()
170 qcoeff_ptr += step; in av1_quantize_fp_avx2()
171 dqcoeff_ptr += step; in av1_quantize_fp_avx2()
172 iscan_ptr += step; in av1_quantize_fp_avx2()
[all …]
/external/deqp-deps/glslang/Test/
Dhlsl.init2.frag24 const float step = 1.f;
27 normalize(float3(1, 1, 1)) * (n += step),
28 normalize(float3(-1, -1, -1)) * (n += step),
29 normalize(float3(-1, -1, 1)) * (n += step),
30 normalize(float3(-1, 1, -1)) * (n += step),
31 normalize(float3(-1, 1, 1)) * (n += step),
32 normalize(float3(1, -1, -1)) * (n += step),
33 normalize(float3(1, -1, 1)) * (n += step),
34 normalize(float3(1, 1, -1)) * (n += step) };
36 const struct one { float3 a; } oneNonConst = { normalize(float3(-1, 1, 1)) * (n += step) };
[all …]
/external/llvm/test/Analysis/ScalarEvolution/
Dincreasing-or-decreasing-iv.ll7 %step = select i1 %c, i32 -1, i32 1
14 ; CHECK-NEXT: --> {%start,+,%step}<%loop> U: [0,128) S: [0,128)
15 %iv.next = add i32 %iv, %step
28 %step = select i1 %c, i32 -8, i32 8
36 ; CHECK-NEXT: --> {(1 + %start)<nuw><nsw>,+,%step}<%loop> U: [1,122) S: [1,122)
38 ; CHECK-NEXT: --> {(2 + %start)<nuw><nsw>,+,%step}<%loop> U: [2,123) S: [2,123)
40 ; CHECK-NEXT: --> {(3 + %start)<nuw><nsw>,+,%step}<%loop> U: [3,124) S: [3,124)
42 ; CHECK-NEXT: --> {(4 + %start)<nuw><nsw>,+,%step}<%loop> U: [4,125) S: [4,125)
44 ; CHECK-NEXT: --> {(5 + %start)<nuw><nsw>,+,%step}<%loop> U: [5,126) S: [5,126)
46 ; CHECK-NEXT: --> {(6 + %start)<nuw><nsw>,+,%step}<%loop> U: [6,127) S: [6,127)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ScalarEvolution/
Dincreasing-or-decreasing-iv.ll7 %step = select i1 %c, i32 -1, i32 1
14 ; CHECK-NEXT: --> {%start,+,%step}<%loop> U: [0,128) S: [0,128)
15 %iv.next = add i32 %iv, %step
28 %step = select i1 %c, i32 -8, i32 8
36 ; CHECK-NEXT: --> {(1 + %start)<nuw><nsw>,+,%step}<%loop> U: [1,122) S: [1,122)
38 ; CHECK-NEXT: --> {(2 + %start)<nuw><nsw>,+,%step}<%loop> U: [2,123) S: [2,123)
40 ; CHECK-NEXT: --> {(3 + %start)<nuw><nsw>,+,%step}<%loop> U: [3,124) S: [3,124)
42 ; CHECK-NEXT: --> {(4 + %start)<nuw><nsw>,+,%step}<%loop> U: [4,125) S: [4,125)
44 ; CHECK-NEXT: --> {(5 + %start)<nuw><nsw>,+,%step}<%loop> U: [5,126) S: [5,126)
46 ; CHECK-NEXT: --> {(6 + %start)<nuw><nsw>,+,%step}<%loop> U: [6,127) S: [6,127)
[all …]
/external/brotli/csharp/org/brotli/dec/
DHuffman.cs26 int step = 1 << (len - 1); in GetNextKey()
27 while ((key & step) != 0) in GetNextKey()
29 step >>= 1; in GetNextKey()
31 return (key & (step - 1)) + step; in GetNextKey()
42 private static void ReplicateValue(int[] table, int offset, int step, int end, int item) in ReplicateValue() argument
46 end -= step; in ReplicateValue()
118 for (int len = 1, step = 2; len <= rootBits; len++, step <<= 1) in BuildHuffmanTable()
122 ReplicateValue(rootTable, tableOffset + key, step, tableSize, len << 16 | sorted[symbol++]); in BuildHuffmanTable()
130 for (int len = rootBits + 1, step = 2; len <= MaxLength; len++, step <<= 1) in BuildHuffmanTable()
143 …ReplicateValue(rootTable, currentOffset + (key >> rootBits), step, tableSize, (len - rootBits) << … in BuildHuffmanTable()

12345678910>>...83