Lines Matching refs:socket
108 int socket; member
166 if (proc->socket >= 0) { in jdwp_process_free()
167 adb_shutdown(proc->socket); in jdwp_process_free()
168 adb_close(proc->socket); in jdwp_process_free()
169 proc->socket = -1; in jdwp_process_free()
194 jdwp_process_alloc( int socket ) in jdwp_process_alloc() argument
203 proc->socket = socket; in jdwp_process_alloc()
208 proc->fde = fdevent_create( socket, jdwp_process_event, proc ); in jdwp_process_alloc()
234 jdwp_process_event( int socket, unsigned events, void* _proc ) in jdwp_process_event() argument
245 int len = recv( socket, p, size, 0 ); in jdwp_process_event()
285 int len = recv(socket, buf, sizeof(buf), 0); in jdwp_process_event()
341 ret = sendmsg(proc->socket, &msg, 0); in jdwp_process_event()
443 s = socket( AF_UNIX, SOCK_STREAM, 0 ); in jdwp_control_init()
526 asocket socket; member
558 asocket* peer = jdwp->socket.peer; in jdwp_socket_ready()
582 install_local_socket(&s->socket); in create_jdwp_service_socket()
584 s->socket.ready = jdwp_socket_ready; in create_jdwp_service_socket()
585 s->socket.enqueue = jdwp_socket_enqueue; in create_jdwp_service_socket()
586 s->socket.close = jdwp_socket_close; in create_jdwp_service_socket()
589 return &s->socket; in create_jdwp_service_socket()
600 asocket socket; member
620 asocket* peer = t->socket.peer; in jdwp_process_list_updated()
683 install_local_socket(&t->socket); in create_jdwp_tracker_service_socket()
685 t->socket.ready = jdwp_tracker_ready; in create_jdwp_tracker_service_socket()
686 t->socket.enqueue = jdwp_tracker_enqueue; in create_jdwp_tracker_service_socket()
687 t->socket.close = jdwp_tracker_close; in create_jdwp_tracker_service_socket()
690 return &t->socket; in create_jdwp_tracker_service_socket()