Home
last modified time | relevance | path

Searched refs:treq (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish_common/guest/commands/usbforward/
Dtransport_request.cpp83 auto treq = static_cast<TransportRequest*>(req->user_data); in OnTransferComplete() local
84 treq->callback_(req->status == 0, treq->Buffer(), req->actual_length); in OnTransferComplete()
Dusb_server.cpp168 std::unique_ptr<TransportRequest> treq(new TransportRequest( in HandleControlTransfer() local
180 auto read = fd_->Read(&treq->Buffer()[got], req.length - got); in HandleControlTransfer()
193 TransportRequest* treq_ptr = treq.get(); in HandleControlTransfer()
196 requests_in_flight_[tag] = std::move(treq); in HandleControlTransfer()
211 std::unique_ptr<TransportRequest> treq(new TransportRequest( in HandleDataTransfer() local
223 auto read = fd_->Read(&treq->Buffer()[got], req.length - got); in HandleDataTransfer()
236 TransportRequest* treq_ptr = treq.get(); in HandleDataTransfer()
239 requests_in_flight_[tag] = std::move(treq); in HandleDataTransfer()