Lines Matching refs:copycode
62 uint16_t inscode, uint16_t copycode, BROTLI_BOOL use_last_distance) { in CombineLengthCodes() argument
64 (uint16_t)((copycode & 0x7u) | ((inscode & 0x7u) << 3)); in CombineLengthCodes()
65 if (use_last_distance && inscode < 8 && copycode < 16) { in CombineLengthCodes()
66 return (copycode < 8) ? bits64 : (bits64 | 64); in CombineLengthCodes()
70 int offset = 2 * ((copycode >> 3) + 3 * (inscode >> 3)); in CombineLengthCodes()
86 uint16_t copycode = GetCopyLengthCode(copylen); in GetLengthCode() local
87 *code = CombineLengthCodes(inscode, copycode, use_last_distance); in GetLengthCode()
98 static BROTLI_INLINE uint32_t GetCopyBase(uint16_t copycode) { in GetCopyBase() argument
99 return kCopyBase[copycode]; in GetCopyBase()
102 static BROTLI_INLINE uint32_t GetCopyExtra(uint16_t copycode) { in GetCopyExtra() argument
103 return kCopyExtra[copycode]; in GetCopyExtra()