Home
last modified time | relevance | path

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

12345678910>>...88

/third_party/ffmpeg/libavcodec/
Dmss34dsp.c64 #define DCT_TEMPLATE(blk, step, SOP, shift) \ argument
65 const unsigned t0 =-39409U * blk[7 * step] - 58980U * blk[1 * step]; \
66 const unsigned t1 = 39410U * blk[1 * step] - 58980U * blk[7 * step]; \
67 const unsigned t2 =-33410U * blk[5 * step] -167963U * blk[3 * step]; \
68 const unsigned t3 = 33410U * blk[3 * step] -167963U * blk[5 * step]; \
69 const unsigned t4 = blk[3 * step] + blk[7 * step]; \
70 const unsigned t5 = blk[1 * step] + blk[5 * step]; \
73 const unsigned t8 = 35470U * blk[2 * step] - 85623U * blk[6 * step]; \
74 const unsigned t9 = 35470U * blk[6 * step] + 85623U * blk[2 * step]; \
75 const unsigned tA = SOP(blk[0 * step] - blk[4 * step]); \
[all …]
Drv40dsp.c319 const ptrdiff_t step = C ? stride : 1;\
321 OP(dst[0], (A*src[0] + E*src[step+0] + bias));\
322 OP(dst[1], (A*src[1] + E*src[step+1] + bias));\
323 OP(dst[2], (A*src[2] + E*src[step+2] + bias));\
324 OP(dst[3], (A*src[3] + E*src[step+3] + bias));\
359 const ptrdiff_t step = C ? stride : 1;\
361 OP(dst[0], (A*src[0] + E*src[step+0] + bias));\
362 OP(dst[1], (A*src[1] + E*src[step+1] + bias));\
363 OP(dst[2], (A*src[2] + E*src[step+2] + bias));\
364 OP(dst[3], (A*src[3] + E*src[step+3] + bias));\
[all …]
/third_party/python/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 …]
/third_party/ejdb/src/jbi/
Djbi_dup_scanner.c9 int64_t step = 1; in _jbi_consume_eq() local
29 if (step > 0) { in _jbi_consume_eq()
30 --step; in _jbi_consume_eq()
31 } else if (step < 0) { in _jbi_consume_eq()
32 ++step; in _jbi_consume_eq()
34 if (!step) { in _jbi_consume_eq()
41 step = 1; in _jbi_consume_eq()
42 rc = consumer(ctx, 0, id, &step, &matched, 0); in _jbi_consume_eq()
45 } while (step && !(rc = iwkv_cursor_to(cur, step > 0 ? midx->cursor_step : cursor_reverse_step))); in _jbi_consume_eq()
72 int64_t step = 1; in _jbi_consume_in_node() local
[all …]
Djbi_uniq_scanner.c8 int64_t step; in _jbi_consume_eq() local
27 rc = consumer(ctx, 0, id, &step, &matched, 0); in _jbi_consume_eq()
39 int64_t step = 1; in _jbi_consume_in_node() local
62 if (step > 0) { in _jbi_consume_in_node()
63 --step; in _jbi_consume_in_node()
64 } else if (step < 0) { in _jbi_consume_in_node()
65 ++step; in _jbi_consume_in_node()
67 if (!step) { in _jbi_consume_in_node()
69 step = 1; in _jbi_consume_in_node()
70 rc = consumer(ctx, 0, id, &step, &matched, 0); in _jbi_consume_in_node()
[all …]
Djbi_pk_scanner.c6 int64_t id, step; in jbi_pk_scanner() local
21 step = 1; in jbi_pk_scanner()
25 if (step > 0) { in jbi_pk_scanner()
26 --step; in jbi_pk_scanner()
27 } else if (step < 0) { in jbi_pk_scanner()
28 ++step; in jbi_pk_scanner()
30 if (!step) { in jbi_pk_scanner()
31 step = 1; in jbi_pk_scanner()
32 rc = consumer(ctx, 0, id, &step, &matched, 0); in jbi_pk_scanner()
36 } while (step && (step > 0 ? (nv = nv->next) : (nv = nv->prev))); in jbi_pk_scanner()
[all …]
Djbi_full_scanner.c6 int64_t step = 1; in jbi_full_scanner() local
13 while (step && !(rc = iwkv_cursor_to(cur, step > 0 ? ctx->cursor_step : cursor_reverse_step))) { in jbi_full_scanner()
14 if (step > 0) { in jbi_full_scanner()
15 --step; in jbi_full_scanner()
16 } else if (step < 0) { in jbi_full_scanner()
17 ++step; // -V547 in jbi_full_scanner()
19 if (!step) { in jbi_full_scanner()
29 step = 1; in jbi_full_scanner()
31 rc = consumer(ctx, cur, id, &step, &matched, 0); in jbi_full_scanner()
/third_party/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 …]
/third_party/ffmpeg/libpostproc/
Dpostprocess.c403 static av_always_inline void do_a_deblock_C(uint8_t *src, int step, in do_a_deblock_C() argument
411 src+= step*4; // src points to begin of the 8x8 Block in do_a_deblock_C()
415 numEq += ((unsigned)(src[-1*step] - src[0*step] + dcOffset)) < dcThreshold; in do_a_deblock_C()
416 numEq += ((unsigned)(src[ 0*step] - src[1*step] + dcOffset)) < dcThreshold; in do_a_deblock_C()
417 numEq += ((unsigned)(src[ 1*step] - src[2*step] + dcOffset)) < dcThreshold; in do_a_deblock_C()
418 numEq += ((unsigned)(src[ 2*step] - src[3*step] + dcOffset)) < dcThreshold; in do_a_deblock_C()
419 numEq += ((unsigned)(src[ 3*step] - src[4*step] + dcOffset)) < dcThreshold; in do_a_deblock_C()
420 numEq += ((unsigned)(src[ 4*step] - src[5*step] + dcOffset)) < dcThreshold; in do_a_deblock_C()
421 numEq += ((unsigned)(src[ 5*step] - src[6*step] + dcOffset)) < dcThreshold; in do_a_deblock_C()
422 numEq += ((unsigned)(src[ 6*step] - src[7*step] + dcOffset)) < dcThreshold; in do_a_deblock_C()
[all …]
/third_party/uboot/u-boot-2020.01/drivers/ram/stm32mp1/
Dstm32mp1_interactive.c137 static bool stm32mp1_check_step(enum stm32mp1_ddr_interact_step step, in stm32mp1_check_step() argument
140 if (step != expected) { in stm32mp1_check_step()
142 step, step_str[step], in stm32mp1_check_step()
152 enum stm32mp1_ddr_interact_step step, in stm32mp1_do_info() argument
159 printf("step = %d : %s\n", step, step_str[step]); in stm32mp1_do_info()
236 static void stm32mp1_do_param(enum stm32mp1_ddr_interact_step step, in stm32mp1_do_param() argument
250 if (!stm32mp1_check_step(step, STEP_DDR_RESET)) in stm32mp1_do_param()
272 static int stm32mp1_do_step(enum stm32mp1_ddr_interact_step step, in stm32mp1_do_step() argument
294 value <= step) { in stm32mp1_do_step()
297 step, step_str[step]); in stm32mp1_do_step()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/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 …]
/third_party/skia/third_party/externals/libwebp/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 …]
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
DHuffman.java22 int step = 1 << (len - 1); in getNextKey() local
23 while ((key & step) != 0) { in getNextKey()
24 step >>= 1; in getNextKey()
26 return (key & (step - 1)) + step; in getNextKey()
34 private static void replicateValue(int[] table, int offset, int step, int end, int item) { in replicateValue() argument
36 end -= step; in replicateValue()
107 for (int len = 1, step = 2; len <= rootBits; len++, step <<= 1) { in buildHuffmanTable()
109 replicateValue(tableGroup, tableOffset + key, step, tableSize, in buildHuffmanTable()
119 for (int len = rootBits + 1, step = 2; len <= MAX_LENGTH; len++, step <<= 1) { in buildHuffmanTable()
130 replicateValue(tableGroup, currentOffset + (key >> rootBits), step, tableSize, in buildHuffmanTable()
/third_party/skia/third_party/externals/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()
/third_party/boost/boost/gil/
Dstep_iterator.hpp52 difference_type step() const { return _step_fn.step(); } in step() function in boost::gil::detail::step_iterator_adaptor
69 return p1.step()>0 ? p1.base()> p2.base() : p1.base()< p2.base(); in operator >()
74 return p1.step()>0 ? p1.base()< p2.base() : p1.base()> p2.base(); in operator <()
79 return p1.step()>0 ? p1.base()>=p2.base() : p1.base()<=p2.base(); in operator >=()
84 return p1.step()>0 ? p1.base()<=p2.base() : p1.base()>=p2.base(); in operator <=()
125 memunit_step_fn(difference_type step=memunit_step(Iterator())) : _step(step) {} in memunit_step_fn()
129 difference_type step() const { return _step; } in step() function
131 void set_step(std::ptrdiff_t step) { _step=step; } in set_step()
155 : parent_t(it.base(), memunit_step_fn<Iterator>(it.step())) {} in memory_based_step_iterator()
218 inline std::ptrdiff_t memunit_step(const memory_based_step_iterator<Iterator>& p) { return p.step()… in memunit_step()
[all …]
/third_party/boost/libs/math/test/
Dcardinal_cubic_b_spline_test.cpp79 Real step = 0.01; in test_interpolation_condition() local
81 boost::math::interpolators::cardinal_cubic_b_spline<Real> spline(v.data(), v.size(), a, step); in test_interpolation_condition()
85 Real y = spline(i*step + a); in test_interpolation_condition()
105 Real step = 0.02; in test_constant_function() local
107 boost::math::interpolators::cardinal_cubic_b_spline<Real> spline(v.data(), v.size(), a, step); in test_constant_function()
112 Real y = spline(i*step + a + 0.001); in test_constant_function()
114 Real y_prime = spline.prime(i*step + a + 0.002); in test_constant_function()
116 Real y_double_prime = spline.double_prime(i*step + a + 0.002); in test_constant_function()
122 …spline = boost::math::interpolators::cardinal_cubic_b_spline<Real>(v.data(), v.size(), a, step, 0,… in test_constant_function()
126 Real y = spline(i*step + a + 0.002); in test_constant_function()
[all …]
/third_party/mbedtls/tests/suites/
Dtest_suite_md.data264 generic multi step mbedtls_md2 Test vector RFC1319 #1
268 generic multi step mbedtls_md2 Test vector RFC1319 #2
272 generic multi step mbedtls_md2 Test vector RFC1319 #3
276 generic multi step mbedtls_md2 Test vector RFC1319 #4
280 generic multi step mbedtls_md2 Test vector RFC1319 #5
284 generic multi step mbedtls_md2 Test vector RFC1319 #6
288 generic multi step mbedtls_md2 Test vector RFC1319 #7
292 generic multi step mbedtls_md4 Test vector RFC1320 #1
296 generic multi step mbedtls_md4 Test vector RFC1320 #2
300 generic multi step mbedtls_md4 Test vector RFC1320 #3
[all …]
/third_party/boost/libs/hana/benchmark/fold_left/
Dcompile.erb.json2 hana = (0...50).step(5).to_a + (50..400).step(25).to_a
3 fusion = (0..50).step(5)
5 mpl11 = (0...50).step(5).to_a + (50..500).step(25).to_a
6 meta = (0...50).step(5).to_a + (50..200).step(25).to_a
7 cexpr = (0...50).step(5).to_a + (50..200).step(25).to_a
/third_party/flutter/skia/src/effects/
DSkCornerPathEffect.cpp25 SkPoint* step) { in ComputeStep() argument
28 *step = b - a; in ComputeStep()
30 *step *= SK_ScalarHalf; in ComputeStep()
33 *step *= radius / dist; in ComputeStep()
50 SkVector firstStep, step; in onFilterPath() local
54 step.set(0, 0); in onFilterPath()
76 bool drawSegment = ComputeStep(pts[0], pts[1], fRadius, &step); in onFilterPath()
79 dst->moveTo(moveTo + step); in onFilterPath()
82 dst->quadTo(pts[0].fX, pts[0].fY, pts[0].fX + step.fX, in onFilterPath()
83 pts[0].fY + step.fY); in onFilterPath()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/
Dhuffman_utils.c44 uint32_t step = 1 << (len - 1); in GetNextKey() local
45 while (key & step) { in GetNextKey()
46 step >>= 1; in GetNextKey()
48 return step ? (key & (step - 1)) + step : key; in GetNextKey()
54 int step, int end, in ReplicateValue() argument
56 assert(end % step == 0); in ReplicateValue()
58 end -= step; in ReplicateValue()
144 int step; // step size to replicate values in current table in BuildHuffmanTable() local
154 for (len = 1, step = 2; len <= root_bits; ++len, step <<= 1) { in BuildHuffmanTable()
166 ReplicateValue(&table[key], step, table_size, code); in BuildHuffmanTable()
[all …]
/third_party/skia/third_party/externals/libwebp/src/utils/
Dhuffman_utils.c44 uint32_t step = 1 << (len - 1); in GetNextKey() local
45 while (key & step) { in GetNextKey()
46 step >>= 1; in GetNextKey()
48 return step ? (key & (step - 1)) + step : key; in GetNextKey()
54 int step, int end, in ReplicateValue() argument
56 assert(end % step == 0); in ReplicateValue()
58 end -= step; in ReplicateValue()
144 int step; // step size to replicate values in current table in BuildHuffmanTable() local
154 for (len = 1, step = 2; len <= root_bits; ++len, step <<= 1) { in BuildHuffmanTable()
166 ReplicateValue(&table[key], step, table_size, code); in BuildHuffmanTable()
[all …]
/third_party/boost/boost/python/
Dslice.hpp36 object step() const;
108 typename iterator_difference<RandomAccessIterator>::type step; member
126 object slice_step = this->step(); in get_indices()
130 ret.step = 1; in get_indices()
133 ret.step = extract<long>( slice_step); in get_indices()
134 if (ret.step == 0) { in get_indices()
142 if (ret.step < 0) { in get_indices()
151 if (i >= max_dist && ret.step > 0) in get_indices()
159 if (i < -max_dist && ret.step < 0) in get_indices()
170 if (ret.step < 0) { in get_indices()
[all …]
/third_party/flutter/skia/infra/bots/recipe_modules/run/examples/
Dfull.py18 api.run(api.step, 'run %d' % i, cmd=['echo', str(i)])
24 api.run(api.step, 'fail', cmd=['false'])
25 except api.step.StepFailure:
27 api.run(api.step, 'fail again', cmd=['false'], abort_on_failure=False)
28 api.run(api.step, 'do a thing', cmd=['echo', 'do the thing'])
43 api.run(api.step, 'env', cmd=['env'])
46 api.run(api.step, 'between_attempts #%d' % attempt,
51 api.run.with_retry(api.step, 'retry fail', 5, cmd=['false'],
53 except api.step.StepFailure:
57 api.run.with_retry(api.step, 'retry success', 3, cmd=['false'],
/third_party/skia/infra/bots/recipe_modules/run/examples/
Dfull.py19 api.run(api.step, 'run %d' % i, cmd=['echo', str(i)])
25 api.run(api.step, 'fail', cmd=['false'])
26 except api.step.StepFailure:
28 api.run(api.step, 'fail again', cmd=['false'], abort_on_failure=False)
29 api.run(api.step, 'do a thing', cmd=['echo', 'do the thing'])
44 api.run(api.step, 'env', cmd=['env'])
47 api.run(api.step, 'between_attempts #%d' % attempt,
52 api.run.with_retry(api.step, 'retry fail', 5, cmd=['false'],
54 except api.step.StepFailure:
58 api.run.with_retry(api.step, 'retry success', 3, cmd=['false'],

12345678910>>...88