Lines Matching refs:BytesToRead
816 int BytesToRead, BytesRead; in main() local
820 BytesToRead = sizeof( Buffer ) - 1; in main()
832 if ( BytesToRead > ConnectionListIterator->BandwidthLeft ) in main()
833 BytesToRead = ConnectionListIterator->BandwidthLeft; in main()
835 ConnectionListIterator->BandwidthLeft -= BytesToRead; in main()
839 if ( BytesToRead > ConnectionListIterator->BytesRemaining ) in main()
840 BytesToRead = ConnectionListIterator->BytesRemaining; in main()
844 ConnectionListIterator->FileStream->read ( Buffer, BytesToRead ); in main()
850 ConnectionListIterator->SendBufferIterator, BytesToRead ).c_str() ); in main()
853 ConnectionListIterator->SendBufferIterator += BytesToRead; in main()
856 BytesRead = ConnectionListIterator->SendData( Buffer, BytesToRead); in main()
861 if (BytesRead != BytesToRead) in main()
867 int LocationOffset = BytesToRead - BytesRead; in main()
876 int LocationOffset = BytesToRead - BytesRead; in main()