/third_party/ffmpeg/libavcodec/ |
H A D | mss34dsp.c | 64 #define DCT_TEMPLATE(blk, step, SOP, shift) \ 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] [all...] |
H A D | rv40dsp.c | 318 const ptrdiff_t step = C ? stride : 1;\ 320 OP(dst[0], (A*src[0] + E*src[step+0] + bias));\ 321 OP(dst[1], (A*src[1] + E*src[step+1] + bias));\ 322 OP(dst[2], (A*src[2] + E*src[step+2] + bias));\ 323 OP(dst[3], (A*src[3] + E*src[step+3] + bias));\ 358 const ptrdiff_t step = C ? stride : 1;\ 360 OP(dst[0], (A*src[0] + E*src[step+0] + bias));\ 361 OP(dst[1], (A*src[1] + E*src[step+1] + bias));\ 362 OP(dst[2], (A*src[2] + E*src[step+2] + bias));\ 363 OP(dst[3], (A*src[3] + E*src[step 429 rv40_weak_loop_filter(uint8_t *src, const int step, const ptrdiff_t stride, const int filter_p1, const int filter_q1, const int alpha, const int beta, const int lim_p0q0, const int lim_q1, const int lim_p1) rv40_weak_loop_filter() argument 497 rv40_strong_loop_filter(uint8_t *src, const int step, const ptrdiff_t stride, const int alpha, const int lims, const int dmode, const int chroma) rv40_strong_loop_filter() argument 569 rv40_loop_filter_strength(uint8_t *src, int step, ptrdiff_t stride, int beta, int beta2, int edge, int *p1, int *q1) rv40_loop_filter_strength() argument [all...] |
/third_party/cups-filters/cupsfilters/ |
H A D | pack.c | 36 const int step) /* I - Step value between pixels */ in cupsPackHorizontal() 51 ipixels += step; in cupsPackHorizontal() 54 ipixels += step; in cupsPackHorizontal() 57 ipixels += step; in cupsPackHorizontal() 60 ipixels += step; in cupsPackHorizontal() 63 ipixels += step; in cupsPackHorizontal() 66 ipixels += step; in cupsPackHorizontal() 69 ipixels += step; in cupsPackHorizontal() 72 ipixels += step; in cupsPackHorizontal() 88 if (ipixels[6 * step]) in cupsPackHorizontal() 32 cupsPackHorizontal(const unsigned char *ipixels, unsigned char *obytes, int width, const unsigned char clearto, const int step) cupsPackHorizontal() argument 119 cupsPackHorizontal2(const unsigned char *ipixels, unsigned char *obytes, int width, const int step) cupsPackHorizontal2() argument 251 cupsPackVertical(const unsigned char *ipixels, unsigned char *obytes, int width, const unsigned char bit, const int step) cupsPackVertical() argument [all...] |
/third_party/python/Objects/ |
H A D | sliceobject.c | 109 /* start, stop, and step are python objects with None indicating no 114 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() 176 if (r->step == Py_None) { in PySlice_GetIndices() 177 *step in PySlice_GetIndices() 171 PySlice_GetIndices(PyObject *_r, Py_ssize_t length, Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step) PySlice_GetIndices() argument 203 PySlice_Unpack(PyObject *_r, Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step) PySlice_Unpack() argument 249 PySlice_AdjustIndices(Py_ssize_t length, Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t step) PySlice_AdjustIndices() argument 293 PySlice_GetIndicesEx(PyObject *_r, Py_ssize_t length, Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step, Py_ssize_t *slicelength) PySlice_GetIndicesEx() argument 306 PyObject *start, *stop, *step; slice_new() local 386 PyObject *start=NULL, *stop=NULL, *step=NULL; _PySlice_GetLongIndices() local 527 PyObject *start, *stop, *step; slice_indices() local [all...] |
H A D | rangeobject.c | 20 PyObject *step; member 24 /* Helper function for validating step. Always returns a new reference or 28 validate_step(PyObject *step) in validate_step() argument 30 /* No step specified, use a step of 1. */ in validate_step() 31 if (!step) in validate_step() 34 step = PyNumber_Index(step); in validate_step() 35 if (step && _PyLong_Sign(step) in validate_step() 48 make_range_object(PyTypeObject *type, PyObject *start, PyObject *stop, PyObject *step) make_range_object() argument 78 PyObject *start = NULL, *stop = NULL, *step = NULL; range_from_array() local 180 compute_range_length(PyObject *start, PyObject *stop, PyObject *step) compute_range_length() argument 345 PyObject *start = NULL, *stop = NULL, *step = NULL; compute_slice() local 769 long step; global() member 796 PyObject *start=NULL, *stop=NULL, *step=NULL; rangeiter_reduce() local 888 get_len_of_range(long lo, long hi, long step) get_len_of_range() argument 916 fast_range_iter(long start, long stop, long step, long len) fast_range_iter() argument 932 PyObject *step; global() member [all...] |
/base/startup/bootstrap_lite/services/source/ |
H A D | bootstrap_service.h | 23 #define APP_NAME(name, step) ".zinitcall.app." #name #step ".init"
24 #define MODULE_NAME(name, step) ".zinitcall." #name #step ".init"
26 #define APP_CALL(name, step) \
28 InitCall *initcall = (InitCall *)(APP_BEGIN(name, step)); \
29 InitCall *initend = (InitCall *)(APP_END(name, step)); \
35 #define MODULE_CALL(name, step) \
37 InitCall *initcall = (InitCall *)(MODULE_BEGIN(name, step)); \
38 InitCall *initend = (InitCall *)(MODULE_END(name, step)); \
[all...] |
H A D | core_main.h | 23 #define SYS_NAME(name, step) ".zinitcall.sys." #name #step ".init"
24 #define MODULE_NAME(name, step) ".zinitcall." #name #step ".init"
26 #define SYS_CALL(name, step) \
28 InitCall *initcall = (InitCall *)(SYS_BEGIN(name, step)); \
29 InitCall *initend = (InitCall *)(SYS_END(name, step)); \
35 #define MODULE_CALL(name, step) \
37 InitCall *initcall = (InitCall *)(MODULE_BEGIN(name, step)); \
38 InitCall *initend = (InitCall *)(MODULE_END(name, step)); \
[all...] |
/kernel/linux/linux-5.10/tools/testing/radix-tree/ |
H A D | benchmark.c | 53 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 D | benchmark.c | 53 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...] |
/third_party/backends/backend/ |
H A D | plustek-pp_scale.c | 68 int step; in ScaleX() local 82 case COLOR_BW : step = 0; break; in ScaleX() 83 case COLOR_HALFTONE: step = 0; break; in ScaleX() 84 case COLOR_256GRAY : step = 1; break; in ScaleX() 85 case COLOR_TRUE24 : step = 3; break; /*NOTE: COLOR_TRUE32 is the same !*/ in ScaleX() 86 case COLOR_TRUE48 : step = 6; break; in ScaleX() 87 default : step = 99; break; in ScaleX() 92 if( 99 == step ) { in ScaleX() 101 if( 0 == step ) { in ScaleX() 128 for( i = 0; i < ps->DataInf.dwPhysBytesPerLine*step; in ScaleX() [all...] |
/third_party/ffmpeg/libpostproc/ |
H A D | postprocess.c | 384 static av_always_inline void do_a_deblock_C(uint8_t *src, int step, in do_a_deblock_C() argument 392 src+= step*4; // src points to begin of the 8x8 Block in do_a_deblock_C() 396 numEq += ((unsigned)(src[-1*step] - src[0*step] + dcOffset)) < dcThreshold; in do_a_deblock_C() 397 numEq += ((unsigned)(src[ 0*step] - src[1*step] + dcOffset)) < dcThreshold; in do_a_deblock_C() 398 numEq += ((unsigned)(src[ 1*step] - src[2*step] + dcOffset)) < dcThreshold; in do_a_deblock_C() 399 numEq += ((unsigned)(src[ 2*step] - src[3*step] in do_a_deblock_C() [all...] |
/third_party/rust/crates/minimal-lexical/etc/ |
H A D | bellerophon_table.py | 32 step: BASE{0}_STEP, 45 def next_fp(fp, base, step = 1): 48 return (fp[0] * (base**step), fp[1]) 51 def prev_fp(fp, base, step = 1): 54 return (fp[0] // (base**step), fp[1]) 81 def generate_large(base, step): 87 bitshift = calculate_bitshift(base, abs(min_exp - step)) 94 for exp in range(-step, min_exp-step, -step) [all...] |
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | dec_mips32.c | 30 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] in do_filter4() 53 do_filter6(uint8_t* p, int step) do_filter6() argument 69 hev(const uint8_t* p, int step, int thresh) hev() argument 74 needs_filter(const uint8_t* p, int step, int t) needs_filter() argument 79 needs_filter2(const uint8_t* p, int step, int t, int it) needs_filter2() argument [all...] |
/third_party/gn/infra/recipes/ |
H A D | gn.py | 19 'recipe_engine/step', 35 lines = api.step( 69 sysroot = '--sysroot=%s' % api.step( 103 with api.step.nest('git'), api.context(infra_steps=True): 104 api.step('init', ['git', 'init', src_dir]) 112 api.step('fetch', ['git', 'fetch', '--tags', repository, ref]) 113 api.step('checkout', ['git', 'checkout', 'FETCH_HEAD']) 114 revision = api.step( 118 api.step('fetch %s/%s' % (change.change, change.patchset), [ 123 api.step('checkou [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_split_draw.c | 28 uint32_t *count, uint32_t *step) in u_split_draw() 31 *step = *count; in u_split_draw() 37 *count = *step = max_verts; in u_split_draw() 40 *count = *step = max_verts - (max_verts % 2); in u_split_draw() 44 *step = max_verts - 1; in u_split_draw() 48 *step = max_verts - 1; in u_split_draw() 54 *count = *step = max_verts - (max_verts % 3); in u_split_draw() 58 *step = max_verts - 2; in u_split_draw() 63 *count = *step = max_verts; in u_split_draw() 27 u_split_draw(const struct pipe_draw_info *info, uint32_t max_verts, uint32_t *count, uint32_t *step) u_split_draw() argument
|
/kernel/linux/linux-5.10/lib/ |
H A D | test_bitmap.c | 312 #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 D | mb862xxfb_accel.c | 71 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 D | mb862xxfb_accel.c | 69 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 D | intel_step.c | 145 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...] |
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/ |
H A D | Huffman.java | 22 int step = 1 << (len - 1); in getNextKey() 23 while ((key & step) != 0) { in getNextKey() 24 step >>= 1; in getNextKey() 26 return (key & (step - 1)) + step; in getNextKey() 30 * Stores {@code item} in {@code table[0], table[step], table[2 * step] .., table[end]}. 32 * <p> Assumes that end is an integer multiple of step. 34 private static void replicateValue(int[] table, int offset, int step, int end, int item) { in replicateValue() argument 36 end -= step; in replicateValue() [all...] |
/third_party/skia/third_party/externals/brotli/csharp/org/brotli/dec/ |
H A D | Huffman.cs | 26 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() 38 /// <c>table[0], table[step], table[2 * step] .., table[end]</c>
40 /// <p> Assumes that end is an integer multiple of step.
42 private static void ReplicateValue(int[] table, int offset, int step, int end, int item)
in ReplicateValue() argument 46 end -= step;
in ReplicateValue() [all...] |
/third_party/skia/infra/bots/recipe_modules/run/examples/ |
H A D | full.py | 12 'recipe_engine/step', 19 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 [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | selftest_ring.c | 52 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 D | selftest_ring.c | 52 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 D | ecc-mxic.c | 372 /* 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...] |