Searched refs:DoneWithError (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/device/serial/
H A Dbuffer.h14 // an error by calling DoneWithError() with the number of bytes read and the
22 virtual void DoneWithError(uint32_t bytes_read, int32_t error) = 0;
27 // an error by calling DoneWithError() with the number of bytes written and the
35 virtual void DoneWithError(uint32_t bytes_written, int32_t error) = 0;
H A Ddata_source_sender.cc21 // one of Done() and DoneWithError() will be called with the result.
31 void DoneWithError(uint32_t bytes_written, int32_t error);
40 // but has not yet called Done() or DoneWithError().
58 virtual void DoneWithError(uint32_t bytes_written, int32_t error) OVERRIDE;
149 void DataSourceSender::DoneWithError(uint32_t bytes_written, int32_t error) { function in class:device::DataSourceSender
197 void DataSourceSender::PendingSend::DoneWithError(uint32_t bytes_written, function in class:device::DataSourceSender::PendingSend
201 sender_->DoneWithError(bytes_written, error);
237 void DataSourceSender::PendingSend::Buffer::DoneWithError( function in class:device::DataSourceSender::PendingSend::Buffer
241 pending_send_->DoneWithError(bytes_written, error);
H A Ddata_sink_receiver.cc55 virtual void DoneWithError(uint32_t bytes_read, int32_t error) OVERRIDE;
181 void DataSinkReceiver::DoneWithError(uint32_t bytes_read, int32_t error) { function in class:device::DataSinkReceiver
247 receiver_->DoneWithError(0, cancellation_error_);
267 receiver_->DoneWithError(bytes_read, cancellation_error_);
275 void DataSinkReceiver::Buffer::DoneWithError(uint32_t bytes_read, function in class:device::DataSinkReceiver::Buffer
277 receiver_->DoneWithError(bytes_read, error);
H A Ddata_sink_receiver.h67 void DoneWithError(uint32_t bytes_read, int32_t error);
101 // but the Buffer will call Done or DoneWithError before being deleted.
H A Ddata_source_sender.h60 void DoneWithError(uint32_t bytes_written, int32_t error);
H A Dserial_io_handler.cc121 pending_read_buffer->DoneWithError(bytes_read, error);
135 pending_write_buffer->DoneWithError(bytes_written, error);
H A Ddata_receiver.cc72 virtual void DoneWithError(uint32_t bytes_consumed, int32_t error) OVERRIDE;
334 void DataReceiver::PendingReceive::Buffer::DoneWithError( function in class:device::DataReceiver::PendingReceive::Buffer
H A Ddata_source_unittest.cc80 write_buffer_->DoneWithError(static_cast<uint32_t>(data.size()), error);
H A Ddata_sink_unittest.cc90 read_buffer_->DoneWithError(bytes_to_read, error);
/external/chromium_org/extensions/renderer/api/serial/
H A Ddata_sender_unittest.cc79 buffer->DoneWithError(data.size(), error);
86 buffer_->DoneWithError(0, error);
H A Ddata_receiver_unittest.cc74 buffer->DoneWithError(data.size(), error);
/external/chromium_org/extensions/browser/api/serial/
H A Dserial_connection.cc150 virtual void DoneWithError(uint32_t bytes_read, int32_t error) OVERRIDE {
172 virtual void DoneWithError(uint32_t bytes_written, int32_t error) OVERRIDE {

Completed in 154 milliseconds