Lines Matching defs:HISTORY_SIZE
75 #define HISTORY_SIZE (64 * 1024)
96 if (pos + num_literals < HISTORY_SIZE) {
102 if (pos == HISTORY_SIZE) {
103 bytestream2_put_buffer(pb, history, HISTORY_SIZE);
124 reference_pos = (pos >= delta) ? (pos - delta) : (HISTORY_SIZE + pos - delta);
125 if (pos + match_length < HISTORY_SIZE && reference_pos + match_length < HISTORY_SIZE) {
136 if (pos == HISTORY_SIZE) {
137 bytestream2_put_buffer(pb, history, HISTORY_SIZE);
140 reference_pos %= HISTORY_SIZE;