Lines Matching refs:dst
30 copy_unaligned_word(const void *src, void *dst)
32 put_unaligned(get_unaligned((const size_t *)src), (size_t *)dst);
243 * Copy an LZ77 match at (dst - offset) to dst.
245 * The length and offset must be already validated --- that is, (dst - offset)
246 * can't underrun the output buffer, and (dst + length) can't overrun the output
252 * Returns dst + length.
254 static forceinline u8 *lz_copy(u8 *dst, u32 length, u32 offset, const u8 *bufend,
257 const u8 *src = dst - offset;
273 u8 * const end = dst + length;
287 copy_unaligned_word(src, dst);
289 dst += WORDBYTES;
291 if (dst < end) {
293 copy_unaligned_word(src, dst);
295 dst += WORDBYTES;
296 } while (dst < end);
305 size_t v = repeat_byte(*(dst - 1));
308 put_unaligned(v, (size_t *)dst);
310 dst += WORDBYTES;
311 } while (dst < end);
329 *dst++ = *src++;
333 *dst++ = *src++;
337 *dst++ = *src++;
340 return dst;