/third_party/vk-gl-cts/framework/delibs/debase/ |
H A D | deMemory.h | 66 * \param src Source buffer 70 DE_INLINE void* deMemcpy (void* dst, const void* src, size_t numBytes) in deMemcpy() argument 72 return memcpy(dst, src, numBytes); in deMemcpy() 75 DE_INLINE void* deMemmove (void* dst, const void* src, size_t numBytes) in deMemmove() argument 77 return memmove(dst, src, numBytes); in deMemmove()
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_reflink.c | 948 * Now we can iteratively remap the range of extents (and holes) in src to the 950 * logical blocks in dest and src touched by the reflink operation. 953 * - Read src's bmbt at the start of srange ("imap") 973 * ----SSSSSSS-SSSSS----SSSSSS (src file) 980 * '-' means a hole, and 'S' and 'D' are written blocks in the src and dest. 1023 struct xfs_inode *src, in xfs_reflink_set_inode_flag() 1026 struct xfs_mount *mp = src->i_mount; in xfs_reflink_set_inode_flag() 1030 if (xfs_is_reflink_inode(src) && xfs_is_reflink_inode(dest)) in xfs_reflink_set_inode_flag() 1038 if (src->i_ino == dest->i_ino) in xfs_reflink_set_inode_flag() 1039 xfs_ilock(src, XFS_ILOCK_EXC in xfs_reflink_set_inode_flag() 1022 xfs_reflink_set_inode_flag( struct xfs_inode *src, struct xfs_inode *dest) xfs_reflink_set_inode_flag() argument 1351 xfs_reflink_remap_blocks( struct xfs_inode *src, loff_t pos_in, struct xfs_inode *dest, loff_t pos_out, loff_t remap_len, loff_t *remapped) xfs_reflink_remap_blocks() argument 1483 struct xfs_inode *src = XFS_I(inode_in); xfs_reflink_remap_prep() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_atomic_plane.c | 144 unsigned int intel_adjusted_rate(const struct drm_rect *src, in intel_adjusted_rate() argument 150 src_w = drm_rect_width(src) >> 16; in intel_adjusted_rate() 151 src_h = drm_rect_height(src) >> 16; in intel_adjusted_rate() 170 * That depends on the src/dst rectangles being in intel_plane_pixel_rate() 178 return intel_adjusted_rate(&plane_state->uapi.src, in intel_plane_pixel_rate() 236 width = drm_rect_width(&plane_state->uapi.src) >> 16; in intel_plane_relative_data_rate() 237 height = drm_rect_height(&plane_state->uapi.src) >> 16; in intel_plane_relative_data_rate() 247 return intel_adjusted_rate(&plane_state->uapi.src, in intel_plane_relative_data_rate() 346 plane_state->uapi.src = drm_plane_state_src(&from_plane_state->uapi); in intel_plane_copy_uapi_to_hw_state() 394 drm_rect_width(&new->uapi.src) ! in intel_wm_need_update() 904 struct drm_rect *src = &plane_state->uapi.src; intel_atomic_plane_check_clipping() local 953 struct drm_rect *src = &plane_state->uapi.src; intel_plane_check_src_coordinates() local [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_compute_blit.c | 114 struct pipe_resource *src, unsigned *flags) in si_improve_sync_flags() 116 if (dst->target != PIPE_BUFFER || (src && src->target != PIPE_BUFFER)) in si_improve_sync_flags() 120 (!src || si_is_buffer_idle(sctx, si_resource(src), RADEON_USAGE_WRITE))) { in si_improve_sync_flags() 138 (src ? si_resource(src)->bind_history : 0); in si_improve_sync_flags() 168 /* sL0 is never invalidated, because src resources don't use it. */ in si_launch_grid_internal() 343 unsigned dst_offset, struct pipe_resource *src, in si_compute_do_clear_or_copy() 353 assert(!src || src_offse in si_compute_do_clear_or_copy() 113 si_improve_sync_flags(struct si_context *sctx, struct pipe_resource *dst, struct pipe_resource *src, unsigned *flags) si_improve_sync_flags() argument 342 si_compute_do_clear_or_copy(struct si_context *sctx, struct pipe_resource *dst, unsigned dst_offset, struct pipe_resource *src, unsigned src_offset, unsigned size, const uint32_t *clear_value, unsigned clear_value_size, unsigned flags, enum si_coherency coher) si_compute_do_clear_or_copy() argument 507 si_copy_buffer(struct si_context *sctx, struct pipe_resource *dst, struct pipe_resource *src, uint64_t dst_offset, uint64_t src_offset, unsigned size, unsigned flags) si_copy_buffer() argument 607 si_compute_copy_image(struct si_context *sctx, struct pipe_resource *dst, unsigned dst_level, struct pipe_resource *src, unsigned src_level, unsigned dstx, unsigned dsty, unsigned dstz, const struct pipe_box *src_box, unsigned flags) si_compute_copy_image() argument [all...] |
/third_party/openssl/ssl/ |
H A D | ssl_sess.c | 171 * Create a new SSL_SESSION and duplicate the contents of |src| into it. If 174 static SSL_SESSION *ssl_session_dup_intern(const SSL_SESSION *src, int ticket) in ssl_session_dup_intern() argument 182 memcpy(dest, src, sizeof(*dest)); in ssl_session_dup_intern() 217 if (src->peer != NULL) { in ssl_session_dup_intern() 218 if (!X509_up_ref(src->peer)) in ssl_session_dup_intern() 220 dest->peer = src->peer; in ssl_session_dup_intern() 223 if (src->peer_chain != NULL) { in ssl_session_dup_intern() 224 dest->peer_chain = X509_chain_up_ref(src->peer_chain); in ssl_session_dup_intern() 229 if (src->psk_identity_hint) { in ssl_session_dup_intern() 230 dest->psk_identity_hint = OPENSSL_strdup(src in ssl_session_dup_intern() 295 SSL_SESSION_dup(const SSL_SESSION *src) SSL_SESSION_dup() argument 306 ssl_session_dup(const SSL_SESSION *src, int ticket) ssl_session_dup() argument [all...] |
/third_party/python/Modules/ |
H A D | _csv.c | 208 _set_bool(const char *name, char *target, PyObject *src, bool dflt) in _set_bool() argument 210 if (src == NULL) in _set_bool() 213 int b = PyObject_IsTrue(src); in _set_bool() 222 _set_int(const char *name, int *target, PyObject *src, int dflt) in _set_int() argument 224 if (src == NULL) in _set_int() 228 if (!PyLong_CheckExact(src)) { in _set_int() 233 value = _PyLong_AsInt(src); in _set_int() 243 _set_char_or_none(const char *name, Py_UCS4 *target, PyObject *src, Py_UCS4 dflt) in _set_char_or_none() argument 245 if (src == NULL) { in _set_char_or_none() 250 if (src ! in _set_char_or_none() 275 _set_char(const char *name, Py_UCS4 *target, PyObject *src, Py_UCS4 dflt) _set_char() argument 304 _set_str(const char *name, PyObject **target, PyObject *src, const char *dflt) _set_str() argument [all...] |
/kernel/liteos_a/arch/arm/include/ |
H A D | los_user_get.h | 47 * This function validates that usermode has access to src before copying the
51 * @param src The source buffer in user space.
57 #define LOS_GetUser(dst, src) _arm_get_user((dst), (src), sizeof(*(dst)), sizeof(*(src)))
|
H A D | los_user_put.h | 51 * @param src The source buffer in kernel space.
57 #define LOS_PutUser(src, dst) _arm_put_user((dst), (src), sizeof(*(dst)), sizeof(*(src)))
|
/third_party/musl/porting/liteos_a/kernel/src/string/ |
H A D | strcpy.c | 3 __attribute__((no_sanitize_address)) char *__strcpy(char *restrict dest, const char *restrict src) in __strcpy() argument 5 char *strcpy(char *restrict dest, const char *restrict src) in __strcpy() 8 __stpcpy(dest, src); in __strcpy()
|
/third_party/musl/porting/liteos_m/kernel/src/string/ |
H A D | strcpy.c | 3 __attribute__((no_sanitize_address)) char *__strcpy(char *restrict dest, const char *restrict src) in __strcpy() argument 5 char *strcpy(char *restrict dest, const char *restrict src) in __strcpy() 8 __stpcpy(dest, src); in __strcpy()
|
/third_party/pulseaudio/speex/libspeexdsp/ |
H A D | misc_bfin.h | 39 void *speex_move (void *dest, void *src, int n) in speex_move() argument 51 : "=a" (src), "=a" (dest) in speex_move() 52 : "a" ((n>>2)-1), "0" (src), "1" (dest) in speex_move()
|
/kernel/linux/linux-5.10/arch/sparc/lib/ |
H A D | copy_user.S | 69 #define MOVE_BIGCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ 70 ldd [%src + (offset) + 0x00], %t0; \ 71 ldd [%src + (offset) + 0x08], %t2; \ 72 ldd [%src + (offset) + 0x10], %t4; \ 73 ldd [%src + (offset) + 0x18], %t6; \ 83 #define MOVE_BIGALIGNCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ 84 ldd [%src + (offset) + 0x00], %t0; \ 85 ldd [%src + (offset) + 0x08], %t2; \ 86 ldd [%src + (offset) + 0x10], %t4; \ 87 ldd [%src [all...] |
/third_party/ffmpeg/libavcodec/mips/ |
H A D | vp9_intra_msa.c | 32 const uint8_t *src) in ff_vert_16x16_msa() 37 src0 = LD_UB(src); in ff_vert_16x16_msa() 46 const uint8_t *src) in ff_vert_32x32_msa() 51 src1 = LD_UB(src); in ff_vert_32x32_msa() 52 src2 = LD_UB(src + 16); in ff_vert_32x32_msa() 60 void ff_hor_16x16_msa(uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, in ff_hor_16x16_msa() argument 66 src += 12; in ff_hor_16x16_msa() 68 inp = LW(src); in ff_hor_16x16_msa() 69 src -= 4; in ff_hor_16x16_msa() 81 void ff_hor_32x32_msa(uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, in ff_hor_32x32_msa() argument 31 ff_vert_16x16_msa(uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *left, const uint8_t *src) ff_vert_16x16_msa() argument 45 ff_vert_32x32_msa(uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *left, const uint8_t *src) ff_vert_32x32_msa() argument 112 v16i8 store, src = { 0 }; ff_dc_4x4_msa() local 158 v16u8 src = { 0 }; ff_dc_8x8_msa() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | svq1enc.c | 93 static int encode_block(SVQ1EncContext *s, uint8_t *src, uint8_t *ref, in encode_block() argument 119 int v = src[x + y * stride]; in encode_block() 133 int v = src[x + y * stride] - ref[x + y * stride]; in encode_block() 196 score += encode_block(s, src, ref, decoded, stride, level - 1, in encode_block() 198 score += encode_block(s, src + offset, ref + offset, decoded + offset, in encode_block() 233 decoded[x + y * stride] = src[x + y * stride] - in encode_block() 261 uint8_t *src = s->scratchbuf + stride * 32; in svq1_encode_plane() local 330 s->m.new_picture->data[0] = src - y * 16 * stride; // ugly in svq1_encode_plane() 334 memcpy(&src[i * stride], &src_plane[(i + 16 * y) * src_stride], in svq1_encode_plane() 337 src[ in svq1_encode_plane() [all...] |
/third_party/ffmpeg/libavcodec/x86/ |
H A D | h264_chromamc.asm | 107 ; uint8_t *src /* align 1 */, 167 movq m0, [r1 ] ; mm0 = src[0..7] 168 movq m2, [r1+r6] ; mm1 = src[1..8] 176 pmullw m0, m4 ; [mm0,mm1] = A * src[0..7] 178 pmullw m2, m5 ; [mm2,mm3] = B * src[1..8] 189 movq [dest_reg], m0 ; dst[0..7] = (A * src[0..7] + B * src[1..8] + (rnd >> 3)) >> 3 230 movq m0, [r1 ] ; mm0 = src[0..7] 231 movq m1, [r1+1] ; mm1 = src[1..8] 245 paddw m2, m1 ; mm2 = A * src[ [all...] |
/third_party/nghttp2/src/ |
H A D | shrpx_log.cc | 362 std::pair<OutputIterator, OutputIterator> copy(const char *src, size_t srclen, in copy() argument 367 return std::make_pair(std::copy_n(src, nwrite, d_first), d_last); in copy() 374 copy(const char *src, OutputIterator d_first, OutputIterator d_last) { in copy() argument 375 return copy(src, strlen(src), d_first, d_last); in copy() 382 copy(const StringRef &src, OutputIterator d_first, OutputIterator d_last) { in copy() argument 383 return copy(src.c_str(), src.size(), d_first, d_last); in copy() 390 copy_l(const char (&src)[N], OutputIterator d_first, OutputIterator d_last) { in copy_l() argument 391 return copy(src, in copy_l() 414 copy_hex_low(const uint8_t *src, size_t srclen, OutputIterator d_first, OutputIterator d_last) copy_hex_low() argument 501 copy_escape(const char *src, size_t srclen, OutputIterator d_first, OutputIterator d_last) copy_escape() argument 531 copy_escape(const StringRef &src, OutputIterator d_first, OutputIterator d_last) copy_escape() argument [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | flow.c | 57 remove_use(&phisrc->src); in remove_phisources() 132 * Does a basic block depend on the pseudos that "src" defines? 134 static int bb_depends_on(struct basic_block *target, struct basic_block *src) in bb_depends_on() argument 138 FOR_EACH_PTR(src->defines, pseudo) { in bb_depends_on() 153 static int bb_depends_on_phi(struct basic_block *target, struct basic_block *src) in bb_depends_on_phi() argument 156 FOR_EACH_PTR(src->insns, insn) { in bb_depends_on_phi() 387 static inline void concat_user_list(struct pseudo_user_list *src, struct pseudo_user_list **dst) in concat_user_list() argument 389 copy_ptr_list((struct ptr_list **)dst, (struct ptr_list *)src); in concat_user_list() 392 void convert_instruction_target(struct instruction *insn, pseudo_t src) in convert_instruction_target() argument 400 if (target == src) in convert_instruction_target() [all...] |
/third_party/python/Objects/ |
H A D | tupleobject.c | 375 _PyTuple_FromArray(PyObject *const *src, Py_ssize_t n) in _PyTuple_FromArray() argument 387 PyObject *item = src[i]; in _PyTuple_FromArray() 396 _PyTuple_FromArraySteal(PyObject *const *src, Py_ssize_t n) in _PyTuple_FromArraySteal() argument 404 Py_DECREF(src[i]); in _PyTuple_FromArraySteal() 410 PyObject *item = src[i]; in _PyTuple_FromArraySteal() 449 PyObject **src, **dest; in tupleconcat() local 477 src = a->ob_item; in tupleconcat() 480 PyObject *v = src[i]; in tupleconcat() 484 src = b->ob_item; in tupleconcat() 487 PyObject *v = src[ in tupleconcat() 530 PyObject **src = a->ob_item; tuplerepeat() local 793 PyObject **src, **dest; tuplesubscript() local [all...] |
/kernel/linux/linux-5.10/drivers/crypto/amlogic/ |
H A D | amlogic-gxl-cipher.c | 27 struct scatterlist *src_sg = areq->src; in meson_cipher_need_fallback() 74 skcipher_request_set_crypt(&rctx->fallback_req, areq->src, areq->dst, in meson_cipher_do_fallback() 94 struct scatterlist *src_sg = areq->src; in meson_cipher() 145 scatterwalk_map_and_copy(backup_iv, areq->src, offset, in meson_cipher() 177 if (areq->src == areq->dst) { in meson_cipher() 178 nr_sgs = dma_map_sg(mc->dev, areq->src, sg_nents(areq->src), in meson_cipher() 187 nr_sgs = dma_map_sg(mc->dev, areq->src, sg_nents(areq->src), in meson_cipher() 203 src_sg = areq->src; in meson_cipher() [all...] |
/kernel/linux/linux-5.10/arch/um/os-Linux/ |
H A D | file.c | 25 static void copy_stat(struct uml_stat *dst, const struct stat64 *src) in copy_stat() argument 28 .ust_dev = src->st_dev, /* device */ in copy_stat() 29 .ust_ino = src->st_ino, /* inode */ in copy_stat() 30 .ust_mode = src->st_mode, /* protection */ in copy_stat() 31 .ust_nlink = src->st_nlink, /* number of hard links */ in copy_stat() 32 .ust_uid = src->st_uid, /* user ID of owner */ in copy_stat() 33 .ust_gid = src->st_gid, /* group ID of owner */ in copy_stat() 34 .ust_size = src->st_size, /* total size, in bytes */ in copy_stat() 35 .ust_blksize = src->st_blksize, /* blocksize for filesys I/O */ in copy_stat() 36 .ust_blocks = src in copy_stat() [all...] |
/kernel/linux/linux-5.10/arch/arm/crypto/ |
H A D | ghash-ce-glue.c | 45 asmlinkage void pmull_ghash_update_p64(int blocks, u64 dg[], const char *src, 48 asmlinkage void pmull_ghash_update_p8(int blocks, u64 dg[], const char *src, 61 static void ghash_do_update(int blocks, u64 dg[], const char *src, in ghash_do_update() argument 67 pmull_ghash_update_p64(blocks, dg, src, key->h, head); in ghash_do_update() 69 pmull_ghash_update_p8(blocks, dg, src, key->h, head); in ghash_do_update() 75 const u8 *in = src; in ghash_do_update() 82 src += GHASH_BLOCK_SIZE; in ghash_do_update() 94 static int ghash_update(struct shash_desc *desc, const u8 *src, in ghash_update() argument 109 memcpy(ctx->buf + partial, src, p); in ghash_update() 110 src in ghash_update() [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | ctr.c | 35 u8 *src = walk->src.virt.addr; in crypto_ctr_crypt_final() local 40 crypto_xor_cpy(dst, keystream, src, nbytes); in crypto_ctr_crypt_final() 52 u8 *src = walk->src.virt.addr; in crypto_ctr_crypt_segment() local 59 crypto_xor(dst, src, bsize); in crypto_ctr_crypt_segment() 64 src += bsize; in crypto_ctr_crypt_segment() 80 u8 *src = walk->src.virt.addr; in crypto_ctr_crypt_inplace() local 87 crypto_xor(src, keystrea in crypto_ctr_crypt_inplace() [all...] |
/kernel/linux/linux-6.6/arch/um/os-Linux/ |
H A D | file.c | 25 static void copy_stat(struct uml_stat *dst, const struct stat64 *src) in copy_stat() argument 28 .ust_dev = src->st_dev, /* device */ in copy_stat() 29 .ust_ino = src->st_ino, /* inode */ in copy_stat() 30 .ust_mode = src->st_mode, /* protection */ in copy_stat() 31 .ust_nlink = src->st_nlink, /* number of hard links */ in copy_stat() 32 .ust_uid = src->st_uid, /* user ID of owner */ in copy_stat() 33 .ust_gid = src->st_gid, /* group ID of owner */ in copy_stat() 34 .ust_size = src->st_size, /* total size, in bytes */ in copy_stat() 35 .ust_blksize = src->st_blksize, /* blocksize for filesys I/O */ in copy_stat() 36 .ust_blocks = src in copy_stat() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/zte/ |
H A D | zx_plane.c | 132 static inline u32 rsz_step_value(u32 src, u32 dst) in rsz_step_value() argument 136 if (src == dst) in rsz_step_value() 138 else if (src < dst) in rsz_step_value() 139 val = RSZ_PARA_STEP((src << 16) / dst); in rsz_step_value() 140 else if (src > dst) in rsz_step_value() 141 val = RSZ_DATA_STEP(src / dst) | in rsz_step_value() 142 RSZ_PARA_STEP(((src << 16) / dst) & 0xffff); in rsz_step_value() 187 struct drm_rect *src = &state->src; in zx_vl_plane_atomic_update() local 205 src_x = src in zx_vl_plane_atomic_update() [all...] |
/kernel/linux/linux-5.10/drivers/rpmsg/ |
H A D | rpmsg_core.c | 46 * equals to the src address of their rpmsg channel), the driver's handler 148 * rpmsg_send_offchannel() - send a message using explicit src/dst addresses 150 * @src: source address 156 * and uses @src as the source address. 167 int rpmsg_send_offchannel(struct rpmsg_endpoint *ept, u32 src, u32 dst, in rpmsg_send_offchannel() argument 175 return ept->ops->send_offchannel(ept, src, dst, data, len); in rpmsg_send_offchannel() 256 * rpmsg_trysend_offchannel() - send a message using explicit src/dst addresses 258 * @src: source address 264 * and uses @src as the source address. 274 int rpmsg_trysend_offchannel(struct rpmsg_endpoint *ept, u32 src, u3 argument [all...] |