Lines Matching refs:bytes_read
85 bool Read(IOBuffer* buf, int buf_size, int* bytes_read);
190 void NotifyReadComplete(int bytes_read);
216 // the data, and bytes_read will receive the number of bytes read.
217 // If returning true, and bytes_read is returned as 0, there is no
224 virtual bool ReadRawData(IOBuffer* buf, int buf_size, int *bytes_read);
227 void FilteredDataRead(int bytes_read);
233 bool ReadFilteredData(int *bytes_read);
270 bool ReadRawDataForFilter(int *bytes_read);
274 bool ReadRawDataHelper(IOBuffer* buf, int buf_size, int* bytes_read);
281 // Called after every raw read. If |bytes_read| is > 0, this indicates
282 // a successful read of |bytes_read| unfiltered bytes. If |bytes_read|
284 // |bytes_read| is < 0, an error occurred and no bytes were read.
285 void OnRawReadComplete(int bytes_read);
288 // |bytes_read| unfiltered bytes have been read for this job.
289 void RecordBytesRead(int bytes_read);