Searched refs:OFFSET_MASK (Results 1 – 4 of 4) sorted by relevance
45 #define OFFSET_MASK ((1 << (16 - MATCH_BITS)) - 1) macro77 offset = (intptr_t)(src - *hp) & OFFSET_MASK; in lzjb_compress()115 int offset = ((src[0] << NBBY) | src[1]) & OFFSET_MASK; in lzjb_decompress()
30 #define OFFSET_MASK ((1 << (16 - MATCH_BITS)) - 1) macro50 int offset = ((src[0] << NBBY) | src[1]) & OFFSET_MASK; in lzjb_decompress()
124 #define OFFSET_MASK ((1 << (16 - MATCH_BITS)) - 1) macro156 offset = (intptr_t)(src - *hp) & OFFSET_MASK; in compress()200 int offset = ((src[0] << NBBY) | src[1]) & OFFSET_MASK; in decompress()
100 #define OFFSET_MASK(val) (((val) >>8) & 0xff) macro