HomeSort by relevance Sort by last modified time
    Searched refs:asocket (Results 1 - 11 of 11) sorted by null

  /system/core/include/cutils/
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 *s)
    [all...]
  /system/core/adb/
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...]
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 *s
    [all...]
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 socket
    [all...]
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*
adb.c 494 asocket *s;
619 asocket *s;
645 asocket *s;
    [all...]
services.c 525 asocket* host_service_to_socket(const char* name, const char *serial)
  /bootable/recovery/minadbd/
adb.h 43 typedef struct asocket asocket; typedef in typeref:struct:asocket
69 /* An asocket represents one half of a connection between a local and
70 ** remote entity. A local asocket is bound to a file descriptor. A
71 ** remote asocket is bound to the protocol engine.
73 struct asocket { struct
75 ** asockets that this asocket lives in
77 asocket *next;
78 asocket *prev;
80 /* the unique identifier for this asocket
    [all...]
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 *s
    [all...]
adb.c 287 asocket *s;
  /system/core/libcutils/
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_copy = *s
    [all...]

Completed in 168 milliseconds