Searched refs:thandle (Results 1 - 4 of 4) sorted by relevance

/system/core/fastbootd/
H A Dtransport.c30 ssize_t transport_handle_write(struct transport_handle *thandle, char *buffer, size_t len) argument
32 return thandle->transport->write(thandle, buffer, len);
35 void transport_handle_close(struct transport_handle *thandle) argument
37 thandle->transport->close(thandle);
40 int transport_handle_download(struct transport_handle *thandle, size_t len) argument
64 ret = thandle->transport->read(thandle, buffer + n, len - n);
81 transport_handle_close(thandle);
87 struct transport_handle *thandle = arg; local
116 struct transport_handle *thandle; local
[all...]
H A Dtransport.h30 void (*close)(struct transport_handle *thandle);
31 ssize_t (*read)(struct transport_handle *thandle, void *data, size_t len);
32 ssize_t (*write)(struct transport_handle *thandle, const void *data, size_t len);
H A Dusb_linux_client.c235 static ssize_t usb_write(struct transport_handle *thandle, const void *data, size_t len) argument
238 struct transport *t = thandle->transport;
275 ssize_t usb_read(struct transport_handle *thandle, void *data, size_t len) argument
278 struct transport *t = thandle->transport;
291 void usb_close(struct transport_handle *thandle) argument
294 struct transport *t = thandle->transport;
H A Dprotocol.c170 struct protocol_handle *create_protocol_handle(struct transport_handle *thandle) argument
176 phandle->transport_handle = thandle;

Completed in 429 milliseconds