Searched defs: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
117 struct transport_handle *thandle; local
[all...]
H A Dtransport_socket.c62 void socket_close(struct transport_handle *thandle) argument
64 struct socket_handle * handle = container_of(thandle, struct socket_handle, handle);
86 ssize_t socket_write(struct transport_handle *thandle, const void *data, size_t len) argument
89 struct socket_handle *handle = container_of(thandle, struct socket_handle, handle);
101 ssize_t socket_read(struct transport_handle *thandle, void *data, size_t len) argument
104 struct socket_handle *handle = container_of(thandle, struct socket_handle, handle);
H A Dprotocol.c170 struct protocol_handle *create_protocol_handle(struct transport_handle *thandle) argument
176 phandle->transport_handle = thandle;
H A Dusb_linux_client.c214 static ssize_t usb_write(struct transport_handle *thandle, const void *data, size_t len) argument
217 struct transport *t = thandle->transport;
230 ssize_t usb_read(struct transport_handle *thandle, void *data, size_t len) argument
233 struct transport *t = thandle->transport;
246 void usb_close(struct transport_handle *thandle) argument
249 struct transport *t = thandle->transport;

Completed in 53 milliseconds