Searched refs:src_buff (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/libtiff/tiff/ |
| H A D | 0002-tiffcrop-fix-issue-380-and-382-heap-buffer-overflow-.patch | 126 - bitset = *(src_buff + offset2) & (((unsigned char)1 << k)) ? 1 : 0; 127 + bitset = *(src_buff + offset1 + full_bytes) & (((unsigned char)1 << k)) ? 1 : 0; 142 - bytebuff2 = src_buff[offset2] & ((unsigned char)255 << (7 - shift2)); 144 + bytebuff2 = src_buff[offset1 + full_bytes] & ((unsigned char)255 << (8 - trailing_bits)); 157 - bytebuff1 = src_buff[offset1 + j] & ((unsigned char)255 >> shift1); 158 - bytebuff2 = src_buff[offset1 + j + 1] & ((unsigned char)255 << (7 - shift1)); 160 + /* Attention: src_buff size needs to be some bytes larger than image size, because could… 161 + bytebuff1 = src_buff[offset1 + j] & ((unsigned char)255 >> shift1); 162 + bytebuff2 = src_buff[offset1 + j + 1] & ((unsigned char)255 << (8 - shift1)); 179 - bytebuff1 = src_buff[offset1 + full_bytes] & ((unsigned char)255 << (7 - shift2));
|
| /OK3568_Linux_fs/kernel/sound/soc/stm/ |
| H A D | stm32_adfsdm.c | 171 u8 *src_buff = (u8 *)data; in stm32_afsdm_pcm_cb() local 187 stm32_memcpy_32to16(&pcm_buff[priv->pos], src_buff, in stm32_afsdm_pcm_cb() 190 memcpy(&pcm_buff[priv->pos], src_buff, in stm32_afsdm_pcm_cb() 198 &src_buff[src_size - cur_size], cur_size); in stm32_afsdm_pcm_cb() 200 memcpy(&pcm_buff[priv->pos], &src_buff[src_size - cur_size], in stm32_afsdm_pcm_cb()
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | filter.c | 4530 static unsigned long bpf_xdp_copy(void *dst_buff, const void *src_buff, in bpf_xdp_copy() argument 4533 memcpy(dst_buff, src_buff + off, len); in bpf_xdp_copy()
|