Searched refs:MPPE_HIST_LEN (Results 1 – 2 of 2) sorted by relevance
44 #define MPPE_HIST_LEN 8192 macro49 uint8_t hist[2*MPPE_HIST_LEN];51 uint16_t hash[MPPE_HIST_LEN];141 state->histptr = MPPE_HIST_LEN; in MPPC_InitCompressionHistory()166 if (*srcCnt > MPPE_HIST_LEN) { in MPPC_Compress()171 hist = state->hist + MPPE_HIST_LEN; in MPPC_Compress()173 if (state->histptr + *srcCnt >= 2*MPPE_HIST_LEN) { in MPPC_Compress()175 state->histptr = MPPE_HIST_LEN; in MPPC_Compress()176 memcpy(state->hist, hist, MPPE_HIST_LEN); in MPPC_Compress()195 p -= MPPE_HIST_LEN; /* Try previous history buffer. */ in MPPC_Compress()[all …]
44 #define MPPE_HIST_LEN 8192 macro47 uint8_t hist[2*MPPE_HIST_LEN];101 state->histptr = MPPE_HIST_LEN; in MPPC_InitDecompressionHistory()113 memcpy(state->hist, state->hist + MPPE_HIST_LEN, MPPE_HIST_LEN); in MPPC_Decompress()114 state->histptr = MPPE_HIST_LEN; in MPPC_Decompress()124 if (state->histptr < 2*MPPE_HIST_LEN) { in MPPC_Decompress()139 if (state->histptr < 2*MPPE_HIST_LEN) { in MPPC_Decompress()167 if (off > MPPE_HIST_LEN - 1) { in MPPC_Decompress()243 if (state->histptr < 2*MPPE_HIST_LEN) { in MPPC_Decompress()