Lines Matching refs:cc
175 int cc;
180 cc = clp->c_cl - clp->c_cf;
182 cc = clp->c_ce - clp->c_cf;
183 if (cc > count)
184 cc = count;
185 bcopy(clp->c_cf, p, cc);
186 count -= cc;
187 p += cc;
188 clp->c_cc -= cc;
189 clp->c_cf += cc;
207 register int cc;
209 if ((cc = clp->c_cc) == 0)
221 while (cc-- > 0 && !(clp->c_cs[i++] & (flag & ~TTY_QUOTE) ||
228 while (cc-- > 0 && !(clp->c_cs[i++] & flag)) {
244 int cc;
253 cc = clp->c_cl - clp->c_cf;
255 cc = clp->c_ce - clp->c_cf;
256 if (cc > count)
257 cc = count;
258 count -= cc;
259 clp->c_cc -= cc;
260 clp->c_cf += cc;
358 int cc;
381 cc = clp->c_ce - clp->c_cl;
383 cc = clp->c_cf - clp->c_cl;
384 if (cc > count)
385 cc = count;
386 bcopy(p, clp->c_cl, cc);
389 clrbits(clp->c_cq, clp->c_cl - clp->c_cs, cc);
391 bzero(clp->c_cl - clp->c_cs + clp->c_cq, cc);
394 p += cc;
395 count -= cc;
396 clp->c_cc += cc;
397 clp->c_cl += cc;
405 static int cc;
422 cc = clp->c_cc;
424 if (cc == 0 || cp == NULL)
426 if (--cc == 0)
458 cc = clp->c_cc;
459 if (cc == 0)