Lines Matching defs:bytesAvailable
502 const unsigned char *buf, int bytesAvailable)
566 bytesAvailable = min(remain, bytesAvailable);
568 while (bytesAvailable > 0) {
575 dataLen = min(bytesAvailable, dataLen);
580 bytesAvailable -= dataLen;
1848 int dataToRead, wrapgap, bytesAvailable;
1873 bytesAvailable = (head - tail) & wrapmask;
1874 if (bytesAvailable == 0)
1883 if (tty_buffer_request_room(tty, bytesAvailable + 1) == 0)
1893 while (bytesAvailable > 0) {
1901 dataToRead = (wrapgap < bytesAvailable) ? wrapgap
1902 : bytesAvailable;
1913 bytesAvailable -= dataToRead;