Searched refs:asocket (Results 1 - 8 of 8) sorted by relevance
/system/core/include/cutils/ |
H A D | abort_socket.h | 31 * finish closing the socket and free the asocket structure. 41 * Using asocket will triple the number of file descriptors required per 58 struct asocket { struct 63 /* Create an asocket from fd. 67 struct asocket *asocket_init(int fd); 77 int asocket_connect(struct asocket *s, const struct sockaddr *addr, 80 int asocket_accept(struct asocket *s, struct sockaddr *addr, 83 int asocket_read(struct asocket *s, void *buf, size_t count, int timeout); 85 int asocket_write(struct asocket *s, const void *buf, size_t count, 93 void asocket_abort(struct asocket * [all...] |
/system/core/adb/ |
H A D | adb.h | 43 typedef struct asocket asocket; typedef in typeref:struct:asocket 70 /* An asocket represents one half of a connection between a local and 71 ** remote entity. A local asocket is bound to a file descriptor. A 72 ** remote asocket is bound to the protocol engine. 74 struct asocket { struct 76 ** asockets that this asocket lives in 78 asocket *next; 79 asocket *prev; 81 /* the unique identifier for this asocket [all...] |
H A D | sockets.c | 31 static void local_socket_close_locked(asocket *s); 48 static asocket local_socket_list = { 57 static asocket local_socket_closing_list = { 62 asocket *find_local_socket(unsigned id) 64 asocket *s; 65 asocket *result = NULL; 80 insert_local_socket(asocket* s, asocket* list) 89 void install_local_socket(asocket *s) 99 void remove_socket(asocket * [all...] |
H A D | jdwp_service.c | 429 ** we do implement a custom asocket to receive the data 552 asocket socket; 557 jdwp_socket_close( asocket* s ) 559 asocket* peer = s->peer; 571 jdwp_socket_enqueue( asocket* s, apacket* p ) 573 /* you can't write to this asocket */ 581 jdwp_socket_ready( asocket* s ) 584 asocket* peer = jdwp->socket.peer; 600 asocket* 626 asocket socke [all...] |
H A D | transport.c | 387 asocket socket; 414 device_tracker_close( asocket* socket ) 417 asocket* peer = socket->peer; 429 device_tracker_enqueue( asocket* socket, apacket* p ) 443 asocket* peer = tracker->socket.peer; 452 device_tracker_ready( asocket* socket ) 470 asocket*
|
H A D | adb.c | 498 asocket *s; 624 asocket *s; 650 asocket *s; 1502 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s)
|
H A D | services.c | 525 asocket* host_service_to_socket(const char* name, const char *serial)
|
/system/core/libcutils/ |
H A D | abort_socket.c | 26 struct asocket *asocket_init(int fd) { 29 struct asocket *s; 48 s = malloc(sizeof(struct asocket)); 59 int asocket_connect(struct asocket *s, const struct sockaddr *addr, 119 int asocket_accept(struct asocket *s, struct sockaddr *addr, 166 int asocket_read(struct asocket *s, void *buf, size_t count, int timeout) { 211 int asocket_write(struct asocket *s, const void *buf, size_t count, 257 void asocket_abort(struct asocket *s) { 270 void asocket_destroy(struct asocket *s) { 271 struct asocket s_cop [all...] |
Completed in 253 milliseconds