Lines Matching refs:src
52 uchar_t *src = s_start; in lzjb_compress() local
61 while (src < (uchar_t *)s_start + s_len) { in lzjb_compress()
69 if (src > (uchar_t *)s_start + s_len - MATCH_MAX) { in lzjb_compress()
70 *dst++ = *src++; in lzjb_compress()
73 hash = (src[0] << 16) + (src[1] << 8) + src[2]; in lzjb_compress()
77 offset = (intptr_t)(src - *hp) & OFFSET_MASK; in lzjb_compress()
78 *hp = (uint16_t)(uintptr_t)src; in lzjb_compress()
79 cpy = src - offset; in lzjb_compress()
80 if (cpy >= (uchar_t *)s_start && cpy != src && in lzjb_compress()
81 src[0] == cpy[0] && src[1] == cpy[1] && src[2] == cpy[2]) { in lzjb_compress()
84 if (src[mlen] != cpy[mlen]) in lzjb_compress()
89 src += mlen; in lzjb_compress()
91 *dst++ = *src++; in lzjb_compress()
101 uchar_t *src = s_start; in lzjb_decompress() local
111 copymap = *src++; in lzjb_decompress()
114 int mlen = (src[0] >> (NBBY - MATCH_BITS)) + MATCH_MIN; in lzjb_decompress()
115 int offset = ((src[0] << NBBY) | src[1]) & OFFSET_MASK; in lzjb_decompress()
116 src += 2; in lzjb_decompress()
122 *dst++ = *src++; in lzjb_decompress()