Lines Matching refs:cc

285 	ssize_t cc, off;  in doinput()  local
298 cc = l1rlen < 1 ? 1 : l1rlen; in doinput()
299 if ((ubuf = calloc(BUFSIZ, cc)) == NULL) in doinput()
301 " conversion buffer", cc, (ssize_t)BUFSIZ); in doinput()
309 cc = read(STDIN_FILENO, ibuf, BUFSIZ); in doinput()
310 if (cc == -1 && errno == EINTR) in doinput()
312 if (cc <= 0) in doinput()
318 for (off = 0; off < cc; ++off) in doinput()
320 dump(ibuf, cc); in doinput()
321 cc = cp - cbuf; in doinput()
322 dump(cbuf, cc); in doinput()
329 off = cc; in doinput()
330 dump(ibuf, cc); in doinput()
347 else for (cc = 0; cc < wcwidth(wc); ++cc) { in doinput()
353 cc = lp - ubuf; in doinput()
354 dump(ubuf, cc); in doinput()
357 for (off = 0; off < cc; ) { in doinput()
360 cc - off); in doinput()
429 ssize_t outcc = 0, cc, fcc, off; in dooutput() local
434 cc = l1rlen < 1 ? 1 : l1rlen; in dooutput()
435 if ((cbuf = calloc(BUFSIZ, cc)) == NULL) in dooutput()
437 " conversion buffer", cc, (ssize_t)BUFSIZ); in dooutput()
469 fcc = cc = read(master, obuf, sizeof (obuf)); in dooutput()
470 if (cc == -1 && errno == EINTR) in dooutput()
472 if (cc <= 0) in dooutput()
483 off = cc; in dooutput()
484 dump(obuf, cc); in dooutput()
501 else for (cc = 0; cc < wcwidth(wc); ++cc) { in dooutput()
507 cc = lp - cbuf; in dooutput()
508 dump(cbuf, cc); in dooutput()
512 for (off = 0; off < cc; ++off) in dooutput()
514 dump(obuf, cc); in dooutput()
515 cc = cp - ubuf; in dooutput()
516 dump(ubuf, cc); in dooutput()
519 for (off = 0; off < cc; ) { in dooutput()
522 cc - off); in dooutput()
532 outcc += cc; in dooutput()