Home
last modified time | relevance | path

Searched refs:stride (Results 1 – 25 of 222) sorted by relevance

123456789

/src/contrib/pnglite/
H A Dpnglite.c382 png_filter_sub(unsigned stride, uint8_t *in, uint8_t *out, unsigned len) in png_filter_sub() argument
388 if (i >= stride) in png_filter_sub()
389 a = out[i - stride]; in png_filter_sub()
396 png_filter_up(unsigned stride __unused, uint8_t *in, uint8_t *out, in png_filter_up()
409 png_filter_average(unsigned stride, uint8_t *in, uint8_t *out, in png_filter_average() argument
421 if (i >= stride) in png_filter_average()
422 a = out[i - stride]; in png_filter_average()
452 png_filter_paeth(unsigned stride, uint8_t *in, uint8_t *out, uint8_t *prev_line, in png_filter_paeth() argument
461 if (prev_line && i >= stride) { in png_filter_paeth()
462 a = out[i - stride]; in png_filter_paeth()
[all …]
/src/crypto/openssl/crypto/sm4/asm/
H A Dsm4-riscv64-zvksed.pl123 my ($ukey,$keys,$fk,$stride)=("a0","a1","t0","t1");
153 li $stride, -4
154 @{[vsse32_v $vk7, $keys, $stride]} # rk[31:28]
156 @{[vsse32_v $vk6, $keys, $stride]} # rk[27:24]
158 @{[vsse32_v $vk5, $keys, $stride]} # rk[23:20]
160 @{[vsse32_v $vk4, $keys, $stride]} # rk[19:16]
162 @{[vsse32_v $vk3, $keys, $stride]} # rk[15:12]
164 @{[vsse32_v $vk2, $keys, $stride]} # rk[11:8]
166 @{[vsse32_v $vk1, $keys, $stride]} # rk[7:4]
168 @{[vsse32_v $vk0, $keys, $stride]} # rk[3:0]
[all …]
/src/contrib/llvm-project/clang/lib/Headers/
H A Damxintrin.h86 #define _tile_loadd(dst, base, stride) \ argument
88 (__SIZE_TYPE__)(stride))
106 #define _tile_stream_loadd(dst, base, stride) \ argument
108 (__SIZE_TYPE__)(stride))
124 #define _tile_stored(dst, base, stride) \ argument
125 __builtin_ia32_tilestored64((dst), ((void *)(base)), (__SIZE_TYPE__)(stride))
239 __SIZE_TYPE__ stride) { in _tile_loadd_internal() argument
241 (__SIZE_TYPE__)(stride)); in _tile_loadd_internal()
247 __SIZE_TYPE__ stride) { in _tile_loaddt1_internal() argument
249 (__SIZE_TYPE__)(stride)); in _tile_loaddt1_internal()
[all …]
/src/crypto/openssl/ssl/rio/
H A Dpoll_immediate.c28 #define ITEM_N(items, stride, n) \ argument
29 (*(SSL_POLL_ITEM *)((char *)(items) + (n) * (stride)))
36 ITEM_N(items, stride, j).revents = 0; \
46 ITEM_N(items, stride, idx_).revents = SSL_POLL_EVENT_F; \
164 size_t stride, in postpoll_translation_cleanup() argument
172 item = &ITEM_N(items, stride, i); in postpoll_translation_cleanup()
200 size_t stride, in poll_translate() argument
217 item = &ITEM_N(items, stride, i); in poll_translate()
275 postpoll_translation_cleanup(items, i, stride, wctx); in poll_translate()
284 size_t stride, in poll_block() argument
[all …]
/src/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dstride_dd.c30 static off_t stride = 1; variable
146 stride = atoi(optarg); in parse_options()
184 if (bsize <= 0 || stride <= 0 || ifile == NULL || ofile == NULL || in parse_options()
216 if (stride > 1) { in read_entire_file()
217 if (lseek(ifd, (stride - 1) * bsize, SEEK_CUR) == -1) { in read_entire_file()
221 if (lseek(ofd, (stride - 1) * bsize, SEEK_CUR) == -1) { in read_entire_file()
262 if (stride > 1) { in read_on_count()
263 if (lseek(ifd, (stride - 1) * bsize, SEEK_CUR) == -1) { in read_on_count()
267 if (lseek(ofd, (stride - 1) * bsize, SEEK_CUR) == -1) { in read_on_count()
/src/usr.sbin/virtual_oss/virtual_oss/
H A Dmul.c54 const size_t stride, const uint8_t toggle) in voss_x3_multiply_sub_double() argument
59 if (stride >= (1UL << VOSS_X3_LOG2_COMBA)) { in voss_x3_multiply_sub_double()
60 const size_t strideh = stride >> 1; in voss_x3_multiply_sub_double()
141 for (x = 0; x != stride; x++) { in voss_x3_multiply_sub_double()
144 for (y = 0; y != (stride - x); y++) { in voss_x3_multiply_sub_double()
148 for (; y != stride; y++) { in voss_x3_multiply_sub_double()
149 ptr_high[x + y - stride] += input[y].b * value; in voss_x3_multiply_sub_double()
/src/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxSliceArray.cpp36 const size_t stride = ptr_sp->GetValueAsUnsigned(0); in LibcxxStdSliceArraySummaryProvider() local
38 stream.Printf("stride=%zu size=%zu", stride, size); in LibcxxStdSliceArraySummaryProvider()
136 ValueObjectSP stride = m_backend.GetChildMemberWithName("__stride_"); in Update() local
138 if (!start || !size || !stride) in Update()
143 m_stride = stride->GetValueAsUnsigned(0); in Update()
/src/crypto/openssh/openbsd-compat/
H A Dbcrypt_pbkdf.c122 size_t i, j, amt, stride; in bcrypt_pbkdf() local
134 stride = (keylen + sizeof(out) - 1) / sizeof(out); in bcrypt_pbkdf()
135 amt = (keylen + stride - 1) / stride; in bcrypt_pbkdf()
168 size_t dest = i * stride + (count - 1); in bcrypt_pbkdf()
/src/crypto/openssl/test/helpers/
H A Dpktsplitbio.c33 static int pkt_split_dgram_sendmmsg(BIO *bio, BIO_MSG *msg, size_t stride, in pkt_split_dgram_sendmmsg() argument
46 return BIO_sendmmsg(next, msg, stride, num_msg, flags, msgs_processed); in pkt_split_dgram_sendmmsg()
49 static int pkt_split_dgram_recvmmsg(BIO *bio, BIO_MSG *msg, size_t stride, in pkt_split_dgram_recvmmsg() argument
75 if (!BIO_recvmmsg(next, msg, stride, num_msg, flags, msgs_processed)) in pkt_split_dgram_recvmmsg()
/src/contrib/llvm-project/llvm/lib/Target/VE/
H A DVVPInstrPatternsVec.td23 // Unmasked (imm stride).
26 (i64 simm7:$stride), (MaskVT true_mask), i32:$avl),
28 (LO7 $stride), $addr, $val, $avl)>;
32 i64:$stride, (MaskVT true_mask), i32:$avl),
34 $stride, $addr, $val, $avl)>;
35 // Masked (imm stride).
38 (i64 simm7:$stride), MaskVT:$mask, i32:$avl),
40 (LO7 $stride), $addr, $val, $mask, $avl)>;
44 i64:$stride, MaskVT:$mask, i32:$avl),
46 $stride, $addr, $val, $mask, $avl)>;
[all …]
/src/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_gsupport.cpp605 long stride; \
624 (kmp_int *)p_ub, (kmp_int *)&stride); \
627 KMP_DEBUG_ASSERT(stride == str); \
645 long stride; \
664 (kmp_int *)p_ub, (kmp_int *)&stride); \
667 KMP_DEBUG_ASSERT(stride == str); \
690 long stride; \
697 (kmp_int *)p_ub, (kmp_int *)&stride); \
699 *p_ub += (stride > 0) ? 1 : -1; \
707 gtid, *p_lb, *p_ub, stride, status)); \
[all …]
/src/sys/dev/vt/hw/simplefb/
H A Dsimplefb.c164 pcell_t height, width, stride; in vt_simplefb_init() local
178 OF_getencprop(node, "stride", &stride, sizeof(stride)) == -1 || in vt_simplefb_init()
185 sc->fb_stride = stride; in vt_simplefb_init()
/src/sys/sys/
H A Dgtaskqueue.h78 struct taskqgroup *taskqgroup_create(const char *name, int cnt, int stride);
99 #define TASKQGROUP_DEFINE(name, cnt, stride) \ argument
106 qgroup_##name = taskqgroup_create(#name, (cnt), (stride)); \
/src/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_resources.c41 void mlx4_en_fill_qp_context(struct mlx4_en_priv *priv, int size, int stride, in mlx4_en_fill_qp_context() argument
53 context->rq_size_stride = ilog2(size) << 3 | (ilog2(stride) - 4); in mlx4_en_fill_qp_context()
55 context->sq_size_stride = ilog2(size) << 3 | (ilog2(stride) - 4); in mlx4_en_fill_qp_context()
/src/sys/dev/bnxt/bnxt_re/
H A Dqplib_res.c224 u32 npages = 0, depth, stride, aux_pages = 0; in bnxt_qplib_alloc_init_hwq() local
241 stride = roundup_pow_of_two(hwq_attr->stride); in bnxt_qplib_alloc_init_hwq()
252 npages = (depth * stride) / pg_size + aux_pages; in bnxt_qplib_alloc_init_hwq()
253 if ((depth * stride) % pg_size) in bnxt_qplib_alloc_init_hwq()
388 hwq->element_size = stride; in bnxt_qplib_alloc_init_hwq()
389 hwq->qe_ppg = (pg_size/stride); in bnxt_qplib_alloc_init_hwq()
443 hwq_attr.stride = sizeof(u64); in bnxt_qplib_alloc_tqm_rings()
451 hwq_attr.stride = 1; in bnxt_qplib_alloc_tqm_rings()
558 hwq_attr.stride = BNXT_QPLIB_MAX_QP_CTX_ENTRY_SIZE; in bnxt_qplib_alloc_hwctx()
567 hwq_attr.stride = BNXT_QPLIB_MAX_MRW_CTX_ENTRY_SIZE; in bnxt_qplib_alloc_hwctx()
[all …]
/src/crypto/openssl/test/
H A Devp_xof_test.c319 size_t i, stride, sz; in shake_absorb_test() local
324 for (stride = 1; stride < total; ++stride) { in shake_absorb_test()
327 sz += stride; in shake_absorb_test()
/src/crypto/openssl/doc/designs/
H A Devp-cipher-pipeline.md147 * @param stride The stride argument must be set to sizeof(EVP_CIPHER_buf)
150 EVP_CIPHER_buf *in, size_t stride);
155 * @param stride The stride argument must be set to sizeof(EVP_CIPHER_buf)
158 EVP_CIPHER_buf *out, size_t stride);
163 * @param bsize stride; sizeof(EVP_CIPHER_buf)
/src/sys/arm/ti/am335x/
H A Dam335x_lcd_syscons.c70 unsigned int stride; member
285 + (row + sc->ymargin)*(sc->stride) in am335x_rend_draw_cursor()
307 addr += sc->stride; in am335x_rend_draw_cursor()
575 if (offset < sc->stride*sc->height) { in am335x_syscons_mmap()
689 + (row + sc->ymargin)*(sc->stride) in am335x_syscons_putc()
726 addr += (sc->stride); in am335x_syscons_putc()
760 va_sc->stride = panel->bpp*panel->panel_width/8; in am335x_lcd_syscons_setup()
/src/sys/dev/vt/
H A Dvt_font.c87 size_t stride; in vtfont_lookup() local
110 stride = howmany(vf->vf_width, 8) * vf->vf_height; in vtfont_lookup()
111 return (&vf->vf_bytes[dst * stride]); in vtfont_lookup()
/src/contrib/llvm-project/libcxx/include/__mdspan/
H A Dlayout_stride.h232 static_cast<index_type>(__other.stride(_Pos))...}; in requires()
241 …return ((static_cast<index_type>(__other.stride(_Pos)) > static_cast<index_type>(0)) && ... && tru…
332 _LIBCPP_HIDE_FROM_ABI constexpr index_type stride(rank_type __r) const noexcept { in stride() function
349 …return ((static_cast<_CommonType>(__lhs.stride(_Pos)) == static_cast<_CommonType>(__rhs.stride(_Po…
H A Dlayout_right.h122 … if (static_cast<_CommonType>(stride(__r)) != static_cast<_CommonType>(__other.stride(__r))) in requires()
171 _LIBCPP_HIDE_FROM_ABI constexpr index_type stride(rank_type __r) const noexcept in stride() function
H A Dlayout_left.h123 … if (static_cast<_CommonType>(stride(__r)) != static_cast<_CommonType>(__other.stride(__r))) in requires()
174 _LIBCPP_HIDE_FROM_ABI constexpr index_type stride(rank_type __r) const noexcept in stride() function
/src/sys/arm/broadcom/bcm2835/
H A Dbcm2835_fb.c101 unsigned int stride; member
168 sc->stride = fb.pitch; in bcm_fb_attach()
368 + (row + sc->ymargin)*(sc->stride) in bcmrend_draw_cursor()
389 addr += sc->stride; in bcmrend_draw_cursor()
665 if (offset < sc->stride*sc->height) { in bcmfb_mmap()
776 + (row + sc->ymargin)*(sc->stride) in bcmfb_putc()
824 addr += (sc->stride); in bcmfb_putc()
/src/sys/dev/vt/hw/ofwfb/
H A Dofwfb.c495 pcell_t depth, height, width, stride; in ofwfb_init() local
563 if (OF_getencprop(node, "linebytes", &stride, sizeof(stride)) != in ofwfb_init()
564 sizeof(stride)) in ofwfb_init()
565 stride = width*depth/8; in ofwfb_init()
570 sc->fb.fb_stride = stride; in ofwfb_init()
/src/contrib/ofed/libmlx5/
H A Dmlx5dv.h114 uint32_t stride; member
119 uint32_t stride; member
141 uint32_t stride; member
151 uint32_t stride; member

123456789