Lines Matching defs:nbytes
584 int nbytes = 0;
585 while (nbytes < len) {
586 int res = dbgsysRecv(f, buf + nbytes, len - nbytes, 0);
590 break; /* eof, return nbytes which is less than len */
592 nbytes += res;
594 return nbytes;
600 int nbytes = 0;
601 while (nbytes < len) {
602 int res = dbgsysSend(f, buf + nbytes, len - nbytes, 0);
606 break; /* eof, return nbytes which is less than len */
608 nbytes += res;
610 return nbytes;