Lines Matching refs:amountToRead
1357 int amountToRead;
1426 amountToRead = IBUF_SIZE - stuffIndex;
1427 if (amountToRead > count)
1428 amountToRead = count;
1434 iiReadBuf(pB, &(pCh->Ibuf[stuffIndex]), amountToRead);
1435 pCh->icount.rx += amountToRead;
1444 stuffIndex += amountToRead;
1447 if ((amountToRead & 1) && (count > amountToRead)) {
1449 amountToRead++;
1457 if (count > amountToRead) {
1458 amountToRead = count - amountToRead;
1459 iiReadBuf(pB, &(pCh->Ibuf[stuffIndex]), amountToRead);
1460 pCh->icount.rx += amountToRead;
1461 stuffIndex += amountToRead;