/kernel/linux/linux-5.10/crypto/ |
H A D | lz4.c | 54 u8 *dst, unsigned int *dlen, void *ctx) in __lz4_compress_crypto() 56 int out_len = LZ4_compress_default(src, dst, in __lz4_compress_crypto() 67 unsigned int slen, u8 *dst, unsigned int *dlen, in lz4_scompress() 70 return __lz4_compress_crypto(src, slen, dst, dlen, ctx); in lz4_scompress() 74 unsigned int slen, u8 *dst, unsigned int *dlen) in lz4_compress_crypto() 78 return __lz4_compress_crypto(src, slen, dst, dlen, ctx->lz4_comp_mem); in lz4_compress_crypto() 82 u8 *dst, unsigned int *dlen, void *ctx) in __lz4_decompress_crypto() 84 int out_len = LZ4_decompress_safe(src, dst, slen, *dlen); in __lz4_decompress_crypto() 94 unsigned int slen, u8 *dst, unsigned int *dlen, in lz4_sdecompress() 97 return __lz4_decompress_crypto(src, slen, dst, dle in lz4_sdecompress() 53 __lz4_compress_crypto(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) __lz4_compress_crypto() argument 66 lz4_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) lz4_scompress() argument 73 lz4_compress_crypto(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) lz4_compress_crypto() argument 81 __lz4_decompress_crypto(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) __lz4_decompress_crypto() argument 93 lz4_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) lz4_sdecompress() argument 100 lz4_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) lz4_decompress_crypto() argument [all...] |
/kernel/linux/linux-5.10/arch/microblaze/lib/ |
H A D | memcpy.c | 39 char *dst = v_dst; in memcpy() local 43 *dst++ = *src++; in memcpy() 51 char *dst = v_dst; in memcpy() local 67 switch ((unsigned long)dst & 3) { in memcpy() 69 *dst++ = *src++; in memcpy() 72 *dst++ = *src++; in memcpy() 75 *dst++ = *src++; in memcpy() 79 i_dst = (void *)dst; in memcpy() 171 dst = (void *)i_dst; in memcpy() 178 *dst in memcpy() [all...] |
/kernel/linux/linux-6.6/arch/microblaze/lib/ |
H A D | memmove.c | 37 char *dst = v_dst; in memmove() local 56 dst += c; in memmove() 65 switch ((unsigned long)dst & 3) { in memmove() 67 *--dst = *--src; in memmove() 71 *--dst = *--src; in memmove() 75 *--dst = *--src; in memmove() 79 i_dst = (void *)dst; in memmove() 174 dst = (void *)i_dst; in memmove() 181 *--dst = *--src; in memmove() 184 *--dst in memmove() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_skb_cgroup_id_user.c | 28 struct sockaddr_in6 *dst) in mk_dst_addr() 30 memset(dst, 0, sizeof(*dst)); in mk_dst_addr() 32 dst->sin6_family = AF_INET6; in mk_dst_addr() 33 dst->sin6_port = htons(1025); in mk_dst_addr() 35 if (inet_pton(AF_INET6, ip, &dst->sin6_addr) != 1) { in mk_dst_addr() 40 dst->sin6_scope_id = if_nametoindex(iface); in mk_dst_addr() 41 if (!dst->sin6_scope_id) { in mk_dst_addr() 51 struct sockaddr_in6 dst; in send_packet() local 56 if (mk_dst_addr(LINKLOCAL_MULTICAST, iface, &dst)) in send_packet() 27 mk_dst_addr(const char *ip, const char *iface, struct sockaddr_in6 *dst) mk_dst_addr() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/cx18/ |
H A D | cx18-io.c | 15 u8 __iomem *dst = addr; in cx18_memset_io() local 20 if ((count > 0) && ((unsigned long)dst & 1)) { in cx18_memset_io() 21 cx18_writeb(cx, (u8) val, dst); in cx18_memset_io() 23 dst++; in cx18_memset_io() 25 if ((count > 1) && ((unsigned long)dst & 2)) { in cx18_memset_io() 26 cx18_writew(cx, val2, dst); in cx18_memset_io() 28 dst += 2; in cx18_memset_io() 31 cx18_writel(cx, val4, dst); in cx18_memset_io() 33 dst += 4; in cx18_memset_io() 36 cx18_writew(cx, val2, dst); in cx18_memset_io() [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
H A D | fbcon_rotate.c | 28 u8 *dst; in fbcon_rotate_font() local 50 dst = kmalloc_array(len, d_cellsize, GFP_KERNEL); in fbcon_rotate_font() 52 if (dst == NULL) { in fbcon_rotate_font() 59 ops->fontbuffer = dst; in fbcon_rotate_font() 62 dst = ops->fontbuffer; in fbcon_rotate_font() 63 memset(dst, 0, ops->fd_size); in fbcon_rotate_font() 68 rotate_ud(src, dst, vc->vc_font.width, in fbcon_rotate_font() 72 dst += d_cellsize; in fbcon_rotate_font() 77 rotate_cw(src, dst, vc->vc_font.width, in fbcon_rotate_font() 80 dst in fbcon_rotate_font() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | uuid.h | 41 static inline void guid_copy(guid_t *dst, const guid_t *src) in guid_copy() argument 43 memcpy(dst, src, sizeof(guid_t)); in guid_copy() 46 static inline void import_guid(guid_t *dst, const __u8 *src) in import_guid() argument 48 memcpy(dst, src, sizeof(guid_t)); in import_guid() 51 static inline void export_guid(__u8 *dst, const guid_t *src) in export_guid() argument 53 memcpy(dst, src, sizeof(guid_t)); in export_guid() 66 static inline void uuid_copy(uuid_t *dst, const uuid_t *src) in uuid_copy() argument 68 memcpy(dst, src, sizeof(uuid_t)); in uuid_copy() 71 static inline void import_uuid(uuid_t *dst, const __u8 *src) in import_uuid() argument 73 memcpy(dst, sr in import_uuid() 76 export_uuid(__u8 *dst, const uuid_t *src) export_uuid() argument [all...] |
H A D | sockptr.h | 44 static inline int copy_from_sockptr_offset(void *dst, sockptr_t src, in copy_from_sockptr_offset() argument 48 return copy_from_user(dst, src.user + offset, size); in copy_from_sockptr_offset() 49 memcpy(dst, src.kernel + offset, size); in copy_from_sockptr_offset() 53 static inline int copy_from_sockptr(void *dst, sockptr_t src, size_t size) in copy_from_sockptr() argument 55 return copy_from_sockptr_offset(dst, src, 0, size); in copy_from_sockptr() 58 static inline int copy_to_sockptr_offset(sockptr_t dst, size_t offset, in copy_to_sockptr_offset() argument 61 if (!sockptr_is_kernel(dst)) in copy_to_sockptr_offset() 62 return copy_to_user(dst.user + offset, src, size); in copy_to_sockptr_offset() 63 memcpy(dst.kernel + offset, src, size); in copy_to_sockptr_offset() 94 static inline long strncpy_from_sockptr(char *dst, sockptr_ argument [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | strncpy_from_user.c | 16 #define IS_UNALIGNED(src, dst) 0 18 #define IS_UNALIGNED(src, dst) \ 19 (((long) dst | (long) src) & (sizeof(long) - 1)) 28 static inline long do_strncpy_from_user(char *dst, const char __user *src, in do_strncpy_from_user() argument 34 if (IS_UNALIGNED(src, dst)) in do_strncpy_from_user() 58 *(unsigned long *)(dst+res) = c & mask; in do_strncpy_from_user() 62 *(unsigned long *)(dst+res) = c; in do_strncpy_from_user() 73 dst[res] = c; in do_strncpy_from_user() 97 * @dst: Destination address, in kernel space. This buffer must be at 113 long strncpy_from_user(char *dst, cons argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | uuid.h | 51 static inline void guid_copy(guid_t *dst, const guid_t *src) in guid_copy() argument 53 memcpy(dst, src, sizeof(guid_t)); in guid_copy() 56 static inline void import_guid(guid_t *dst, const __u8 *src) in import_guid() argument 58 memcpy(dst, src, sizeof(guid_t)); in import_guid() 61 static inline void export_guid(__u8 *dst, const guid_t *src) in export_guid() argument 63 memcpy(dst, src, sizeof(guid_t)); in export_guid() 76 static inline void uuid_copy(uuid_t *dst, const uuid_t *src) in uuid_copy() argument 78 memcpy(dst, src, sizeof(uuid_t)); in uuid_copy() 81 static inline void import_uuid(uuid_t *dst, const __u8 *src) in import_uuid() argument 83 memcpy(dst, sr in import_uuid() 86 export_uuid(__u8 *dst, const uuid_t *src) export_uuid() argument [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/core/ |
H A D | fbcon_rotate.c | 27 u8 *dst; in fbcon_rotate_font() local 49 dst = kmalloc_array(len, d_cellsize, GFP_KERNEL); in fbcon_rotate_font() 51 if (dst == NULL) { in fbcon_rotate_font() 58 ops->fontbuffer = dst; in fbcon_rotate_font() 61 dst = ops->fontbuffer; in fbcon_rotate_font() 62 memset(dst, 0, ops->fd_size); in fbcon_rotate_font() 67 rotate_ud(src, dst, vc->vc_font.width, in fbcon_rotate_font() 71 dst += d_cellsize; in fbcon_rotate_font() 76 rotate_cw(src, dst, vc->vc_font.width, in fbcon_rotate_font() 79 dst in fbcon_rotate_font() [all...] |
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | uaccess_64.h | 125 raw_copy_from_user(void *dst, const void __user *src, unsigned long size) in raw_copy_from_user() argument 127 return copy_user_generic(dst, (__force void *)src, size); in raw_copy_from_user() 131 raw_copy_to_user(void __user *dst, const void *src, unsigned long size) in raw_copy_to_user() argument 133 return copy_user_generic((__force void *)dst, src, size); in raw_copy_to_user() 136 extern long __copy_user_nocache(void *dst, const void __user *src, unsigned size); 137 extern long __copy_user_flushcache(void *dst, const void __user *src, unsigned size); 140 __copy_from_user_inatomic_nocache(void *dst, const void __user *src, in __copy_from_user_inatomic_nocache() argument 144 kasan_check_write(dst, size); in __copy_from_user_inatomic_nocache() 146 ret = __copy_user_nocache(dst, src, size); in __copy_from_user_inatomic_nocache() 152 __copy_from_user_flushcache(void *dst, cons argument [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/cx18/ |
H A D | cx18-io.c | 15 u8 __iomem *dst = addr; in cx18_memset_io() local 20 if ((count > 0) && ((unsigned long)dst & 1)) { in cx18_memset_io() 21 cx18_writeb(cx, (u8) val, dst); in cx18_memset_io() 23 dst++; in cx18_memset_io() 25 if ((count > 1) && ((unsigned long)dst & 2)) { in cx18_memset_io() 26 cx18_writew(cx, val2, dst); in cx18_memset_io() 28 dst += 2; in cx18_memset_io() 31 cx18_writel(cx, val4, dst); in cx18_memset_io() 33 dst += 4; in cx18_memset_io() 36 cx18_writew(cx, val2, dst); in cx18_memset_io() [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | lzo-rle.c | 53 u8 *dst, unsigned int *dlen, void *ctx) in __lzorle_compress() 58 err = lzorle1x_1_compress(src, slen, dst, &tmp_len, ctx); in __lzorle_compress() 68 unsigned int slen, u8 *dst, unsigned int *dlen) in lzorle_compress() 72 return __lzorle_compress(src, slen, dst, dlen, ctx->lzorle_comp_mem); in lzorle_compress() 76 unsigned int slen, u8 *dst, unsigned int *dlen, in lzorle_scompress() 79 return __lzorle_compress(src, slen, dst, dlen, ctx); in lzorle_scompress() 83 u8 *dst, unsigned int *dlen) in __lzorle_decompress() 88 err = lzo1x_decompress_safe(src, slen, dst, &tmp_len); in __lzorle_decompress() 98 unsigned int slen, u8 *dst, unsigned int *dlen) in lzorle_decompress() 100 return __lzorle_decompress(src, slen, dst, dle in lzorle_decompress() 52 __lzorle_compress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) __lzorle_compress() argument 67 lzorle_compress(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) lzorle_compress() argument 75 lzorle_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) lzorle_scompress() argument 82 __lzorle_decompress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) __lzorle_decompress() argument 97 lzorle_decompress(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) lzorle_decompress() argument 103 lzorle_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) lzorle_sdecompress() argument [all...] |
H A D | lz4hc.c | 53 u8 *dst, unsigned int *dlen, void *ctx) in __lz4hc_compress_crypto() 55 int out_len = LZ4_compress_HC(src, dst, slen, in __lz4hc_compress_crypto() 66 unsigned int slen, u8 *dst, unsigned int *dlen, in lz4hc_scompress() 69 return __lz4hc_compress_crypto(src, slen, dst, dlen, ctx); in lz4hc_scompress() 73 unsigned int slen, u8 *dst, in lz4hc_compress_crypto() 78 return __lz4hc_compress_crypto(src, slen, dst, dlen, in lz4hc_compress_crypto() 83 u8 *dst, unsigned int *dlen, void *ctx) in __lz4hc_decompress_crypto() 85 int out_len = LZ4_decompress_safe(src, dst, slen, *dlen); in __lz4hc_decompress_crypto() 95 unsigned int slen, u8 *dst, unsigned int *dlen, in lz4hc_sdecompress() 98 return __lz4hc_decompress_crypto(src, slen, dst, dle in lz4hc_sdecompress() 52 __lz4hc_compress_crypto(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) __lz4hc_compress_crypto() argument 65 lz4hc_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) lz4hc_scompress() argument 72 lz4hc_compress_crypto(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) lz4hc_compress_crypto() argument 82 __lz4hc_decompress_crypto(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) __lz4hc_decompress_crypto() argument 94 lz4hc_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) lz4hc_sdecompress() argument 101 lz4hc_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) lz4hc_decompress_crypto() argument [all...] |
H A D | lzo.c | 53 u8 *dst, unsigned int *dlen, void *ctx) in __lzo_compress() 58 err = lzo1x_1_compress(src, slen, dst, &tmp_len, ctx); in __lzo_compress() 68 unsigned int slen, u8 *dst, unsigned int *dlen) in lzo_compress() 72 return __lzo_compress(src, slen, dst, dlen, ctx->lzo_comp_mem); in lzo_compress() 76 unsigned int slen, u8 *dst, unsigned int *dlen, in lzo_scompress() 79 return __lzo_compress(src, slen, dst, dlen, ctx); in lzo_scompress() 83 u8 *dst, unsigned int *dlen) in __lzo_decompress() 88 err = lzo1x_decompress_safe(src, slen, dst, &tmp_len); in __lzo_decompress() 98 unsigned int slen, u8 *dst, unsigned int *dlen) in lzo_decompress() 100 return __lzo_decompress(src, slen, dst, dle in lzo_decompress() 52 __lzo_compress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) __lzo_compress() argument 67 lzo_compress(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) lzo_compress() argument 75 lzo_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) lzo_scompress() argument 82 __lzo_decompress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) __lzo_decompress() argument 97 lzo_decompress(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) lzo_decompress() argument 103 lzo_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) lzo_sdecompress() argument [all...] |
H A D | lz4.c | 54 u8 *dst, unsigned int *dlen, void *ctx) in __lz4_compress_crypto() 56 int out_len = LZ4_compress_default(src, dst, in __lz4_compress_crypto() 67 unsigned int slen, u8 *dst, unsigned int *dlen, in lz4_scompress() 70 return __lz4_compress_crypto(src, slen, dst, dlen, ctx); in lz4_scompress() 74 unsigned int slen, u8 *dst, unsigned int *dlen) in lz4_compress_crypto() 78 return __lz4_compress_crypto(src, slen, dst, dlen, ctx->lz4_comp_mem); in lz4_compress_crypto() 82 u8 *dst, unsigned int *dlen, void *ctx) in __lz4_decompress_crypto() 84 int out_len = LZ4_decompress_safe(src, dst, slen, *dlen); in __lz4_decompress_crypto() 94 unsigned int slen, u8 *dst, unsigned int *dlen, in lz4_sdecompress() 97 return __lz4_decompress_crypto(src, slen, dst, dle in lz4_sdecompress() 53 __lz4_compress_crypto(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) __lz4_compress_crypto() argument 66 lz4_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) lz4_scompress() argument 73 lz4_compress_crypto(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) lz4_compress_crypto() argument 81 __lz4_decompress_crypto(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) __lz4_decompress_crypto() argument 93 lz4_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) lz4_sdecompress() argument 100 lz4_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) lz4_decompress_crypto() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_skb_cgroup_id_user.c | 27 struct sockaddr_in6 *dst) in mk_dst_addr() 29 memset(dst, 0, sizeof(*dst)); in mk_dst_addr() 31 dst->sin6_family = AF_INET6; in mk_dst_addr() 32 dst->sin6_port = htons(1025); in mk_dst_addr() 34 if (inet_pton(AF_INET6, ip, &dst->sin6_addr) != 1) { in mk_dst_addr() 39 dst->sin6_scope_id = if_nametoindex(iface); in mk_dst_addr() 40 if (!dst->sin6_scope_id) { in mk_dst_addr() 50 struct sockaddr_in6 dst; in send_packet() local 55 if (mk_dst_addr(LINKLOCAL_MULTICAST, iface, &dst)) in send_packet() 26 mk_dst_addr(const char *ip, const char *iface, struct sockaddr_in6 *dst) mk_dst_addr() argument [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | strncpy_from_user.c | 16 #define IS_UNALIGNED(src, dst) 0 18 #define IS_UNALIGNED(src, dst) \ 19 (((long) dst | (long) src) & (sizeof(long) - 1)) 28 static __always_inline long do_strncpy_from_user(char *dst, const char __user *src, in do_strncpy_from_user() argument 34 if (IS_UNALIGNED(src, dst)) in do_strncpy_from_user() 58 *(unsigned long *)(dst+res) = c & mask; in do_strncpy_from_user() 62 *(unsigned long *)(dst+res) = c; in do_strncpy_from_user() 73 dst[res] = c; in do_strncpy_from_user() 97 * @dst: Destination address, in kernel space. This buffer must be at 113 long strncpy_from_user(char *dst, cons argument [all...] |
/third_party/ffmpeg/libavcodec/mips/ |
H A D | aacdec_mips.h | 65 static inline float *VMUL2_mips(float *dst, const float *v, unsigned idx, in VMUL2_mips() argument 82 PTR_ADDIU "%[ret], %[dst], 8 \n\t" in VMUL2_mips() 83 "swc1 %[temp0], 0(%[dst]) \n\t" in VMUL2_mips() 84 "swc1 %[temp1], 4(%[dst]) \n\t" in VMUL2_mips() 90 [dst]"r"(dst) in VMUL2_mips() 96 static inline float *VMUL4_mips(float *dst, const float *v, unsigned idx, in VMUL4_mips() argument 120 PTR_ADDIU "%[ret], %[dst], 16 \n\t" in VMUL4_mips() 121 "swc1 %[temp5], 0(%[dst]) \n\t" in VMUL4_mips() 122 "swc1 %[temp6], 4(%[dst]) \ in VMUL4_mips() 138 VMUL2S_mips(float *dst, const float *v, unsigned idx, unsigned sign, const float *scale) VMUL2S_mips() argument 179 VMUL4S_mips(float *dst, const float *v, unsigned idx, unsigned sign, const float *scale) VMUL4S_mips() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | huffyuvdsp.c | 29 static void add_int16_c(uint16_t *dst, const uint16_t *src, unsigned mask, int w){ in add_int16_c() argument 35 long b = *(long*)(dst+i); in add_int16_c() 36 *(long*)(dst+i) = ((a&pw_lsb) + (b&pw_lsb)) ^ ((a^b)&pw_msb); in add_int16_c() 39 dst[i] = (dst[i] + src[i]) & mask; in add_int16_c() 42 static void add_hfyu_median_pred_int16_c(uint16_t *dst, const uint16_t *src, const uint16_t *diff, unsigned mask, int w, int *left, int *left_top){ in add_hfyu_median_pred_int16_c() argument 52 dst[i] = l; in add_hfyu_median_pred_int16_c() 59 static void add_hfyu_left_pred_bgr32_c(uint8_t *dst, const uint8_t *src, in add_hfyu_left_pred_bgr32_c() argument 71 dst[4 * i + B] = b; in add_hfyu_left_pred_bgr32_c() 72 dst[ in add_hfyu_left_pred_bgr32_c() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_hflip_init.h | 32 static void hflip_byte_c(const uint8_t *src, uint8_t *dst, int w) in hflip_byte_c() argument 35 dst[j] = src[-j]; in hflip_byte_c() 41 uint16_t *dst = (uint16_t *)ddst; in hflip_short_c() local 44 dst[j] = src[-j]; in hflip_short_c() 50 uint32_t *dst = (uint32_t *)ddst; in hflip_dword_c() local 53 dst[j] = src[-j]; in hflip_dword_c() 56 static void hflip_b24_c(const uint8_t *src, uint8_t *dst, int w) in hflip_b24_c() argument 59 uint8_t *out = dst; in hflip_b24_c() 68 static void hflip_b48_c(const uint8_t *src, uint8_t *dst, int w) in hflip_b48_c() argument 71 uint8_t *out = dst; in hflip_b48_c() 83 uint64_t *dst = (uint64_t *)ddst; hflip_qword_c() local [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | tea.c | 52 static void tea_crypt_ecb(AVTEA *ctx, uint8_t *dst, const uint8_t *src, in tea_crypt_ecb() argument 91 AV_WB32(dst, v0); in tea_crypt_ecb() 92 AV_WB32(dst + 4, v1); in tea_crypt_ecb() 95 void av_tea_crypt(AVTEA *ctx, uint8_t *dst, const uint8_t *src, int count, in av_tea_crypt() argument 102 tea_crypt_ecb(ctx, dst, src, decrypt, iv); in av_tea_crypt() 105 dst += 8; in av_tea_crypt() 111 dst[i] = src[i] ^ iv[i]; in av_tea_crypt() 112 tea_crypt_ecb(ctx, dst, dst, decrypt, NULL); in av_tea_crypt() 113 memcpy(iv, dst, in av_tea_crypt() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_gen_mipmap.c | 97 blit.src.resource = blit.dst.resource = pt; in util_gen_mipmap() 98 blit.src.format = blit.dst.format = format; in util_gen_mipmap() 105 blit.dst.level = dstLevel; in util_gen_mipmap() 110 blit.dst.box.width = u_minify(pt->width0, blit.dst.level); in util_gen_mipmap() 111 blit.dst.box.height = u_minify(pt->height0, blit.dst.level); in util_gen_mipmap() 115 blit.src.box.z = blit.dst.box.z = 0; in util_gen_mipmap() 117 blit.dst.box.depth = util_num_layers(pt, blit.dst in util_gen_mipmap() [all...] |
/third_party/skia/src/core/ |
H A D | SkMask.cpp | 61 SkMask dst; in PrepareDestination() local 62 dst.fImage = nullptr; in PrepareDestination() 63 dst.fFormat = SkMask::kA8_Format; in PrepareDestination() 73 dst.fBounds.setEmpty(); in PrepareDestination() 74 dst.fRowBytes = 0; in PrepareDestination() 75 return dst; in PrepareDestination() 78 dst.fBounds.setWH(SkTo<int>(dstW), SkTo<int>(dstH)); in PrepareDestination() 79 dst.fBounds.offset(src.fBounds.x(), src.fBounds.y()); in PrepareDestination() 80 dst.fBounds.offset(-radiusX, -radiusY); in PrepareDestination() 81 dst in PrepareDestination() [all...] |