Lines Matching refs:srcCnt
144 int MPPC_Compress(u_char **src, u_char **dst, u_long *srcCnt, u_long *dstCnt, char *history, int fl… in MPPC_Compress() argument
160 if (*dstCnt < (*srcCnt * 9 / 8 + 2)) { in MPPC_Compress()
166 if (*srcCnt > MPPE_HIST_LEN) { in MPPC_Compress()
173 if (state->histptr + *srcCnt >= 2*MPPE_HIST_LEN) { in MPPC_Compress()
180 memcpy(sbuf, *src, *srcCnt); in MPPC_Compress()
181 state->histptr += *srcCnt; in MPPC_Compress()
184 r = sbuf + *srcCnt; in MPPC_Compress()
187 while (i < *srcCnt - 2) { in MPPC_Compress()
270 while(*srcCnt - i > 0) { in MPPC_Compress()
285 if ((*srcCnt < olen) || ((flags & MPPC_SAVE_HISTORY) == 0)) { in MPPC_Compress()
286 if (*srcCnt < olen) in MPPC_Compress()
292 *src += *srcCnt; in MPPC_Compress()
293 *srcCnt = 0; in MPPC_Compress()