Lines Matching refs:cnt
239 int cnt = origcnt;
258 if (cnt) {
260 while (--cnt) {
289 printf("sent %d of %d bytes\n", origcnt-cnt-1, origcnt);
292 return origcnt - cnt - 1;
300 int cnt = origcnt;
324 if (cnt) {
325 while (--cnt >= 0) {
350 printf("got %d of %d bytes\n", origcnt-cnt-1, origcnt);
353 return origcnt - cnt - 1;
482 int cnt;
484 cnt = hs->sc_curcnt;
485 hs->sc_addr += cnt;
486 hs->sc_count -= cnt;
490 printf("%s: addr %p cnt %d\n",
499 cnt = hs->sc_count;
500 if (cnt) {
505 while (--cnt) {