Lines Matching defs:srcCnt
146 int MPPC_Compress(u_char **src, u_char **dst, u_long *srcCnt, u_long *dstCnt, char *history, int flags, int undef)
162 if (*dstCnt < (*srcCnt * 9 / 8 + 2)) {
168 if (*srcCnt > MPPE_HIST_LEN) {
175 if (state->histptr + *srcCnt >= 2*MPPE_HIST_LEN) {
182 memcpy(sbuf, *src, *srcCnt);
183 state->histptr += *srcCnt;
186 r = sbuf + *srcCnt;
189 while (i < *srcCnt - 2) {
272 while(*srcCnt - i > 0) {
287 if ((*srcCnt < olen) || ((flags & MPPC_SAVE_HISTORY) == 0)) {
288 if (*srcCnt < olen)
294 *src += *srcCnt;
295 *srcCnt = 0;