Home
last modified time | relevance | path

Searched refs:bind_socket (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/tools/android/forwarder2/
Dhost_forwarder_main.cc271 Socket bind_socket; in GetAdbPortForDevice() local
272 CHECK(bind_socket.BindTcp("127.0.0.1", 0)); in GetAdbPortForDevice()
273 const int port = bind_socket.GetPort(); in GetAdbPortForDevice()
274 bind_socket.Close(); in GetAdbPortForDevice()
/external/chromium_org/third_party/libevent/
Dhttp.c201 static int bind_socket(const char *, u_short, int reuse);
1769 evcon->fd = bind_socket( in evhttp_connection_connect()
2257 if ((fd = bind_socket(address, port, 1 /*reuse*/)) == -1) in evhttp_bind_socket()
2764 bind_socket(const char *address, u_short port, int reuse) in bind_socket() function