Searched refs:is_tcp (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/core/platform/posix/ |
D | net.cc | 35 bool IsPortAvailable(int* port, bool is_tcp) { in IsPortAvailable() argument 36 const int protocol = is_tcp ? IPPROTO_TCP : 0; in IsPortAvailable() 37 const int fd = socket(AF_INET, is_tcp ? SOCK_STREAM : SOCK_DGRAM, protocol); in IsPortAvailable() 96 bool is_tcp = true; in PickUnusedPortOrDie() local 114 if (!IsPortAvailable(&port, is_tcp)) { in PickUnusedPortOrDie() 119 if (!IsPortAvailable(&port, !is_tcp)) { in PickUnusedPortOrDie() 120 is_tcp = !is_tcp; in PickUnusedPortOrDie()
|
/external/tensorflow/tensorflow/core/platform/windows/ |
D | net.cc | 36 bool IsPortAvailable(int* port, bool is_tcp) { in IsPortAvailable() argument 37 const int protocol = is_tcp ? IPPROTO_TCP : 0; in IsPortAvailable() 38 SOCKET sock = socket(AF_INET, is_tcp ? SOCK_STREAM : SOCK_DGRAM, protocol); in IsPortAvailable() 112 bool is_tcp = true; in PickUnusedPortOrDie() local 130 if (!IsPortAvailable(&port, is_tcp)) { in PickUnusedPortOrDie() 135 if (!IsPortAvailable(&port, !is_tcp)) { in PickUnusedPortOrDie() 136 is_tcp = !is_tcp; in PickUnusedPortOrDie()
|
/external/curl/lib/ |
D | connect.c | 1007 bool is_tcp; in singleipconnect() local 1034 is_tcp = (addr.family == AF_INET || addr.family == AF_INET6) && in singleipconnect() 1037 is_tcp = (addr.family == AF_INET) && addr.socktype == SOCK_STREAM; in singleipconnect() 1039 if(is_tcp && data->set.tcp_nodelay) in singleipconnect() 1046 if(is_tcp && data->set.tcp_keepalive) in singleipconnect()
|
/external/dnsmasq/src/ |
D | network.c | 611 int local_bind(int fd, union mysockaddr* addr, char* intname, uint32_t mark, int is_tcp) { in local_bind() argument 615 if (is_tcp) { in local_bind()
|
D | dnsmasq.h | 730 int local_bind(int fd, union mysockaddr* addr, char* intname, uint32_t mark, int is_tcp);
|
/external/libevent/ |
D | ChangeLog-2.0 | 645 o Replace (unused,always 0) is_tcp argument to evdns_add_server_port*() with flags (e1c1167)
|