Home
last modified time | relevance | path

Searched refs:dst (Results 3601 - 3625 of 10685) sorted by relevance

1...<<141142143144145146147148149150>>...428

/foundation/multimedia/av_codec/test/fuzztest/encoderconfigure_fuzzer/
H A Dvideoenc_sample.cpp296 uint32_t VEncFuzzSample::ReadOneFrameYUV420SP(uint8_t *dst) in ReadOneFrameYUV420SP() argument
298 uint8_t *start = dst; in ReadOneFrameYUV420SP()
301 inFile_->read(reinterpret_cast<char *>(dst), defaultWidth); in ReadOneFrameYUV420SP()
305 dst += stride_; in ReadOneFrameYUV420SP()
309 inFile_->read(reinterpret_cast<char *>(dst), defaultWidth); in ReadOneFrameYUV420SP()
313 dst += stride_; in ReadOneFrameYUV420SP()
315 return dst - start; in ReadOneFrameYUV420SP()
318 void VEncFuzzSample::ReadOneFrameRGBA8888(uint8_t *dst) in ReadOneFrameRGBA8888() argument
321 inFile_->read(reinterpret_cast<char *>(dst), defaultWidth * RGBA_SIZE); in ReadOneFrameRGBA8888()
322 dst in ReadOneFrameRGBA8888()
[all...]
/foundation/multimedia/image_effect/test/unittest/
H A DTestUtils.cpp371 MemoryData *dst = src; in HWTEST_F() local
372 MemcpyHelper::CopyData(src, dst); in HWTEST_F()
373 EXPECT_EQ(src, dst); in HWTEST_F()
375 dst = new MemoryData(); in HWTEST_F()
376 MemcpyHelper::CopyData(src, dst); in HWTEST_F()
377 EXPECT_NE(src, dst); in HWTEST_F()
380 delete dst; in HWTEST_F()
389 std::shared_ptr<EffectBuffer> dst = src; in HWTEST_F() local
391 MemcpyHelper::CopyData(src.get(), dst.get()); in HWTEST_F()
392 EXPECT_EQ(src.get(), dst in HWTEST_F()
[all...]
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dcrash_dump.c135 int copy_oldmem_kernel(void *dst, void *src, size_t count) in copy_oldmem_kernel() argument
146 rc = memcpy_hsa_kernel(dst, from, len); in copy_oldmem_kernel()
160 if (is_vmalloc_or_module_addr(dst)) { in copy_oldmem_kernel()
161 ra = load_real_addr(dst); in copy_oldmem_kernel()
164 ra = dst; in copy_oldmem_kernel()
169 dst += len; in copy_oldmem_kernel()
179 static int copy_oldmem_user(void __user *dst, void *src, size_t count) in copy_oldmem_user() argument
189 rc = memcpy_hsa_user(dst, from, len); in copy_oldmem_user()
203 rc = copy_to_user_real(dst, (void *) from, count); in copy_oldmem_user()
207 dst in copy_oldmem_user()
[all...]
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-cipher.c43 if (!areq->src || !areq->dst) { in sun4i_ss_opti_poll()
103 sg_miter_start(&mo, areq->dst, sg_nents(areq->dst), in sun4i_ss_opti_poll()
132 scatterwalk_map_and_copy(areq->iv, areq->dst, areq->cryptlen - ivsize, in sun4i_ss_opti_poll()
154 skcipher_request_set_crypt(&ctx->fallback_req, areq->src, areq->dst, in sun4i_ss_cipher_poll_fallback()
172 struct scatterlist *out_sg = areq->dst; in sun4i_ss_cipher_poll()
202 if (!areq->src || !areq->dst) { in sun4i_ss_cipher_poll()
313 sg_miter_start(&mo, areq->dst, sg_nents(areq->dst), in sun4i_ss_cipher_poll()
371 scatterwalk_map_and_copy(areq->iv, areq->dst, are in sun4i_ss_cipher_poll()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/rseq/
H A Drseq-arm64.h196 #define RSEQ_ASM_OP_R_BAD_MEMCPY(dst, src, len) \
202 " strb " RSEQ_ASM_TMP_REG32 ", [%[" __rseq_str(dst) "]" \
569 void *dst, void *src, size_t len, in rseq_cmpeqv_trymemcpy_storev()
590 RSEQ_ASM_OP_R_BAD_MEMCPY(dst, src, len) in rseq_cmpeqv_trymemcpy_storev()
602 [dst] "r" (dst), in rseq_cmpeqv_trymemcpy_storev()
633 void *dst, void *src, size_t len, in rseq_cmpeqv_trymemcpy_storev_release()
654 RSEQ_ASM_OP_R_BAD_MEMCPY(dst, src, len) in rseq_cmpeqv_trymemcpy_storev_release()
666 [dst] "r" (dst), in rseq_cmpeqv_trymemcpy_storev_release()
568 rseq_cmpeqv_trymemcpy_storev(intptr_t *v, intptr_t expect, void *dst, void *src, size_t len, intptr_t newv, int cpu) rseq_cmpeqv_trymemcpy_storev() argument
632 rseq_cmpeqv_trymemcpy_storev_release(intptr_t *v, intptr_t expect, void *dst, void *src, size_t len, intptr_t newv, int cpu) rseq_cmpeqv_trymemcpy_storev_release() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/sti/bdisp/
H A Dbdisp-debug.c444 struct bdisp_frame src, dst; in last_request_show() local
452 dst = request->dst; in last_request_show()
457 bdisp_fmt_to_str(src), bdisp_fmt_to_str(dst)); in last_request_show()
461 dst.crop.width, dst.crop.height, in last_request_show()
462 dst.crop.left, dst.crop.top); in last_request_show()
464 src.width, src.height, dst.width, dst in last_request_show()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
H A Dbfa_msgq.c207 u8 *src, *dst; in __cmd_copy() local
210 dst = (u8 *)cmdq->addr.kva; in __cmd_copy()
211 dst += (cmdq->producer_index * BFI_MSGQ_CMD_ENTRY_SIZE); in __cmd_copy()
216 memcpy(dst, src, to_copy); in __cmd_copy()
220 dst = (u8 *)cmdq->addr.kva; in __cmd_copy()
221 dst += (cmdq->producer_index * BFI_MSGQ_CMD_ENTRY_SIZE); in __cmd_copy()
643 u8 *src, *dst; in bfa_msgq_rsp_copy() local
648 dst = buf; in bfa_msgq_rsp_copy()
653 memcpy(dst, src, to_copy); in bfa_msgq_rsp_copy()
655 dst in bfa_msgq_rsp_copy()
[all...]
/kernel/linux/linux-5.10/security/selinux/ss/
H A Dsidtab.c270 struct sidtab_entry *dst, *dst_convert; in sidtab_context_to_sid() local
304 dst = sidtab_do_lookup(s, count, 1); in sidtab_context_to_sid()
305 if (!dst) in sidtab_context_to_sid()
308 dst->sid = index_to_sid(count); in sidtab_context_to_sid()
309 dst->hash = hash; in sidtab_context_to_sid()
311 rc = context_cpy(&dst->context, context); in sidtab_context_to_sid()
323 context_destroy(&dst->context); in sidtab_context_to_sid()
330 context_destroy(&dst->context); in sidtab_context_to_sid()
349 hash_add_rcu(s->context_to_sid, &dst->list, dst in sidtab_context_to_sid()
[all...]
/kernel/linux/linux-5.10/sound/soc/sof/
H A Dipc.c47 u8 *dst; member
548 struct sof_ipc_ctrl_data *dst, in sof_get_ctrl_copy_params()
555 sparams->dst = (u8 *)dst->chanv; in sof_get_ctrl_copy_params()
560 sparams->dst = (u8 *)dst->compv; in sof_get_ctrl_copy_params()
565 sparams->dst = (u8 *)dst->data->data; in sof_get_ctrl_copy_params()
626 memcpy(sparams->dst, sparams->src + offset, send_bytes); in sof_set_get_large_ctrl_data()
638 memcpy(sparams->dst in sof_set_get_large_ctrl_data()
546 sof_get_ctrl_copy_params(enum sof_ipc_ctrl_type ctrl_type, struct sof_ipc_ctrl_data *src, struct sof_ipc_ctrl_data *dst, struct sof_ipc_ctrl_data_params *sparams) sof_get_ctrl_copy_params() argument
[all...]
/kernel/linux/linux-5.10/net/bluetooth/bnep/
H A Dcore.c48 static struct bnep_session *__bnep_get_session(u8 *dst) in __bnep_get_session() argument
55 if (ether_addr_equal(dst, s->eh.h_source)) in __bnep_get_session()
561 u8 dst[ETH_ALEN], src[ETH_ALEN]; in bnep_add_connection() local
572 baswap((void *) dst, &l2cap_pi(sock->sk)->chan->dst); in bnep_add_connection()
585 ss = __bnep_get_session(dst); in bnep_add_connection()
596 memcpy(s->eh.h_source, &dst, ETH_ALEN); in bnep_add_connection()
663 s = __bnep_get_session(req->dst); in bnep_del_connection()
679 memcpy(ci->dst, s->eh.h_source, ETH_ALEN); in __bnep_copy_ci()
721 s = __bnep_get_session(ci->dst); in bnep_get_conninfo()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/brocade/bna/
H A Dbfa_msgq.c206 u8 *src, *dst; in __cmd_copy() local
209 dst = (u8 *)cmdq->addr.kva; in __cmd_copy()
210 dst += (cmdq->producer_index * BFI_MSGQ_CMD_ENTRY_SIZE); in __cmd_copy()
215 memcpy(dst, src, to_copy); in __cmd_copy()
219 dst = (u8 *)cmdq->addr.kva; in __cmd_copy()
220 dst += (cmdq->producer_index * BFI_MSGQ_CMD_ENTRY_SIZE); in __cmd_copy()
641 u8 *src, *dst; in bfa_msgq_rsp_copy() local
646 dst = buf; in bfa_msgq_rsp_copy()
651 memcpy(dst, src, to_copy); in bfa_msgq_rsp_copy()
653 dst in bfa_msgq_rsp_copy()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-cipher.c44 if (!areq->src || !areq->dst) { in sun4i_ss_opti_poll()
108 sg_miter_start(&mo, areq->dst, sg_nents(areq->dst), in sun4i_ss_opti_poll()
137 scatterwalk_map_and_copy(areq->iv, areq->dst, areq->cryptlen - ivsize, in sun4i_ss_opti_poll()
165 skcipher_request_set_crypt(&ctx->fallback_req, areq->src, areq->dst, in sun4i_ss_cipher_poll_fallback()
183 struct scatterlist *out_sg = areq->dst; in sun4i_ss_cipher_poll()
212 if (!areq->src || !areq->dst) { in sun4i_ss_cipher_poll()
326 sg_miter_start(&mo, areq->dst, sg_nents(areq->dst), in sun4i_ss_cipher_poll()
384 scatterwalk_map_and_copy(areq->iv, areq->dst, are in sun4i_ss_cipher_poll()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/bdisp/
H A Dbdisp-debug.c444 struct bdisp_frame src, dst; in last_request_show() local
452 dst = request->dst; in last_request_show()
457 bdisp_fmt_to_str(src), bdisp_fmt_to_str(dst)); in last_request_show()
461 dst.crop.width, dst.crop.height, in last_request_show()
462 dst.crop.left, dst.crop.top); in last_request_show()
464 src.width, src.height, dst.width, dst in last_request_show()
[all...]
/kernel/linux/linux-6.6/net/netfilter/
H A Dnft_bitwise.c28 static void nft_bitwise_eval_bool(u32 *dst, const u32 *src, in nft_bitwise_eval_bool() argument
34 dst[i] = (src[i] & priv->mask.data[i]) ^ priv->xor.data[i]; in nft_bitwise_eval_bool()
37 static void nft_bitwise_eval_lshift(u32 *dst, const u32 *src, in nft_bitwise_eval_lshift() argument
45 dst[i - 1] = (src[i - 1] << shift) | carry; in nft_bitwise_eval_lshift()
50 static void nft_bitwise_eval_rshift(u32 *dst, const u32 *src, in nft_bitwise_eval_rshift() argument
58 dst[i] = carry | (src[i] >> shift); in nft_bitwise_eval_rshift()
68 u32 *dst = &regs->data[priv->dreg]; in nft_bitwise_eval() local
72 nft_bitwise_eval_bool(dst, src, priv); in nft_bitwise_eval()
75 nft_bitwise_eval_lshift(dst, src, priv); in nft_bitwise_eval()
78 nft_bitwise_eval_rshift(dst, sr in nft_bitwise_eval()
[all...]
H A Dnft_flow_offload.c22 static enum flow_offload_xmit_type nft_xmit_type(struct dst_entry *dst) in nft_xmit_type() argument
24 if (dst_xfrm(dst)) in nft_xmit_type()
35 route->tuple[dir].dst = dst_cache; in nft_default_forward_path()
192 const struct dst_entry *dst = route->tuple[dir].dst; in nft_dev_forward_path() local
198 if (nft_dev_fill_forward_path(route, dst, ct, dir, ha, &stack) >= 0) in nft_dev_forward_path()
312 switch (ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protonum) { in nft_flow_offload_eval()
330 if (tuple->src.u.gre.key || tuple->dst.u.gre.key) in nft_flow_offload_eval()
373 dst_release(route.tuple[dir].dst); in nft_flow_offload_eval()
374 dst_release(route.tuple[!dir].dst); in nft_flow_offload_eval()
[all...]
/kernel/linux/linux-6.6/security/selinux/ss/
H A Dsidtab.c271 struct sidtab_entry *dst, *dst_convert; in sidtab_context_to_sid() local
304 dst = sidtab_do_lookup(s, count, 1); in sidtab_context_to_sid()
305 if (!dst) in sidtab_context_to_sid()
308 dst->sid = index_to_sid(count); in sidtab_context_to_sid()
309 dst->hash = hash; in sidtab_context_to_sid()
311 rc = context_cpy(&dst->context, context); in sidtab_context_to_sid()
326 context_destroy(&dst->context); in sidtab_context_to_sid()
334 context_destroy(&dst->context); in sidtab_context_to_sid()
353 hash_add_rcu(s->context_to_sid, &dst->list, dst in sidtab_context_to_sid()
[all...]
/kernel/linux/linux-6.6/net/bluetooth/bnep/
H A Dcore.c48 static struct bnep_session *__bnep_get_session(u8 *dst) in __bnep_get_session() argument
55 if (ether_addr_equal(dst, s->eh.h_source)) in __bnep_get_session()
561 u8 dst[ETH_ALEN], src[ETH_ALEN]; in bnep_add_connection() local
572 baswap((void *) dst, &l2cap_pi(sock->sk)->chan->dst); in bnep_add_connection()
585 ss = __bnep_get_session(dst); in bnep_add_connection()
596 memcpy(s->eh.h_source, &dst, ETH_ALEN); in bnep_add_connection()
663 s = __bnep_get_session(req->dst); in bnep_del_connection()
679 memcpy(ci->dst, s->eh.h_source, ETH_ALEN); in __bnep_copy_ci()
721 s = __bnep_get_session(ci->dst); in bnep_get_conninfo()
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_perspective.c222 AVFilterContext *ctx = inlink->dst; in config_input()
266 uint8_t *dst; member
279 uint8_t *dst = td->dst; in resample_cubic() local
347 dst[x + y * dst_linesize] = sum; in resample_cubic()
358 uint8_t *dst = td->dst; in resample_linear() local
422 dst[x + y * dst_linesize] = sum; in resample_linear()
442 AVFilterContext *ctx = inlink->dst; in filter_frame()
466 ThreadData td = {.dst in filter_frame()
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_sdma_copy_image.c32 bool si_prepare_for_sdma_copy(struct si_context *sctx, struct si_texture *dst,struct si_texture *src) in si_prepare_for_sdma_copy() argument
34 if (dst->surface.bpe != src->surface.bpe) in si_prepare_for_sdma_copy()
38 if (src->buffer.b.b.nr_samples > 1 || dst->buffer.b.b.nr_samples > 1) in si_prepare_for_sdma_copy()
41 if (dst->buffer.b.b.last_level != 0 || src->buffer.b.b.last_level != 0) in si_prepare_for_sdma_copy()
420 bool si_sdma_copy_image(struct si_context *sctx, struct si_texture *dst, struct si_texture *src) in si_sdma_copy_image() argument
434 if (!si_prepare_for_sdma_copy(sctx, dst, src)) in si_sdma_copy_image()
444 if (vi_dcc_enabled(dst, 0)) in si_sdma_copy_image()
453 if (!cik_sdma_copy_texture(sctx, dst, src)) in si_sdma_copy_image()
459 if (!si_sdma_v4_v5_copy_texture(sctx, dst, src, sctx->gfx_level >= GFX10)) in si_sdma_copy_image()
468 radeon_add_to_buffer_list(sctx, sctx->sdma_cs, &dst in si_sdma_copy_image()
[all...]
/third_party/lwip/src/apps/snmp/
H A Dsnmp_mib2_ip.c417 ip4_addr_t dst; in ip_RouteTable_get_cell_value() local
418 ip4_addr_get_network(&dst, netif_ip4_addr(netif), netif_ip4_netmask(netif)); in ip_RouteTable_get_cell_value()
420 if (ip4_addr_cmp(&dst, &test_ip)) { in ip_RouteTable_get_cell_value()
449 ip4_addr_t dst; in ip_RouteTable_get_next_cell_instance_and_value() local
450 ip4_addr_get_network(&dst, netif_ip4_addr(netif), netif_ip4_netmask(netif)); in ip_RouteTable_get_next_cell_instance_and_value()
453 if (!ip4_addr_isany_val(dst)) { in ip_RouteTable_get_next_cell_instance_and_value()
454 snmp_ip4_to_oid(&dst, &test_oid[0]); in ip_RouteTable_get_next_cell_instance_and_value()
461 ip4_addr_t dst; in ip_RouteTable_get_next_cell_instance_and_value() local
462 snmp_oid_to_ip4(&result_temp[0], &dst); in ip_RouteTable_get_next_cell_instance_and_value()
465 return ip_RouteTable_get_cell_value_core((struct netif *)state.reference, ip4_addr_isany_val(dst), colum in ip_RouteTable_get_next_cell_instance_and_value()
[all...]
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_context.h885 uint32_t *dst);
897 struct pipe_resource *dst,
1019 struct iris_uncompiled_shader **dst, in iris_uncompiled_shader_reference()
1022 if (*dst == src) in iris_uncompiled_shader_reference()
1025 struct iris_uncompiled_shader *old_dst = *dst; in iris_uncompiled_shader_reference()
1029 iris_destroy_shader_state(ctx, *dst); in iris_uncompiled_shader_reference()
1032 *dst = src; in iris_uncompiled_shader_reference()
1036 iris_shader_variant_reference(struct iris_compiled_shader **dst, in iris_shader_variant_reference() argument
1039 struct iris_compiled_shader *old_dst = *dst; in iris_shader_variant_reference()
1044 *dst in iris_shader_variant_reference()
1018 iris_uncompiled_shader_reference(struct pipe_context *ctx, struct iris_uncompiled_shader **dst, struct iris_uncompiled_shader *src) iris_uncompiled_shader_reference() argument
[all...]
/third_party/skia/src/core/
H A DSkDraw_vertices.cpp62 SkPoint src[3], dst[3]; in texture_to_matrix() local
67 dst[0] = verts[state.f0]; in texture_to_matrix()
68 dst[1] = verts[state.f1]; in texture_to_matrix()
69 dst[2] = verts[state.f2]; in texture_to_matrix()
70 return matrix->setPolyToPoly(src, dst, 3); in texture_to_matrix()
190 // - If the pixmap has a dst colorspace, we have to be "color-correct".
191 // Do we map into dst-colorspace before or after we interpolate?
195 // - convert colors into dst colorspace before interpolation (matches gradients)
200 SkPMColor4f* dst = alloc->makeArray<SkPMColor4f>(count); in convert_colors() local
205 SkAssertResult(SkConvertPixels(dstInfo, dst, in convert_colors()
[all...]
/third_party/skia/tests/
H A DEncodeTest.cpp34 static bool encode(SkEncodedImageFormat format, SkWStream* dst, const SkPixmap& src) { in encode() argument
37 return SkJpegEncoder::Encode(dst, src, SkJpegEncoder::Options()); in encode()
39 return SkPngEncoder::Encode(dst, src, SkPngEncoder::Options()); in encode()
45 static std::unique_ptr<SkEncoder> make(SkEncodedImageFormat format, SkWStream* dst, in make() argument
49 return SkJpegEncoder::Make(dst, src, SkJpegEncoder::Options()); in make()
51 return SkPngEncoder::Make(dst, src, SkPngEncoder::Options()); in make()
254 SkDynamicMemoryWStream dst; in testPngComments() local
255 bool success = SkPngEncoder::Encode(&dst, src, options); in testPngComments()
258 std::vector<char> output(dst.bytesWritten()); in testPngComments()
259 dst in testPngComments()
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fLifetimeTests.cpp72 void draw (GLuint vao, GLfloat scale, bool tf, Surface* dst);
126 void ScaleProgram::draw (GLuint vao, GLfloat scale, bool tf, Surface* dst) in draw() argument
149 if (dst != DE_NULL) in draw()
150 readRectangle(m_renderCtx, viewport, *dst); in draw()
294 void drawContainer (GLuint container, Surface& dst);
300 void BufferVAOInputAttacher::drawContainer (GLuint vao, Surface& dst) in drawContainer() argument
302 m_program.draw(vao, 1.0, false, &dst); in drawContainer()
360 void drawAttachment (GLuint attachment, Surface& dst);
366 void BufferTfOutputAttacher::drawAttachment (GLuint buffer, Surface& dst) in drawAttachment() argument
371 m_program.draw(*vao, 1.0, false, &dst); in drawAttachment()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Dsae_pk.c327 u8 *dst, *src, *end; in sae_pk_buf_shift_left_19() local
329 dst = buf; in sae_pk_buf_shift_left_19()
334 *dst++ = (src[0] << 3) | (src[1] >> 5); in sae_pk_buf_shift_left_19()
337 *dst++ = *src << 3; in sae_pk_buf_shift_left_19()
338 *dst++ = 0; in sae_pk_buf_shift_left_19()
339 *dst++ = 0; in sae_pk_buf_shift_left_19()
345 u8 *dst, *src, *end; in sae_pk_buf_shift_left_1() local
347 dst = buf; in sae_pk_buf_shift_left_1()
352 *dst++ = (src[0] << 1) | (src[1] >> 7); in sae_pk_buf_shift_left_1()
355 *dst in sae_pk_buf_shift_left_1()
[all...]

Completed in 29 milliseconds

1...<<141142143144145146147148149150>>...428