Searched refs:is_tcp (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/core/platform/windows/ |
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 SOCKET sock = socket(AF_INET, is_tcp ? SOCK_STREAM : SOCK_DGRAM, protocol); in IsPortAvailable() 108 bool is_tcp = true; in PickUnusedPortOrDie() local 126 if (!IsPortAvailable(&port, is_tcp)) { in PickUnusedPortOrDie() 131 if (!IsPortAvailable(&port, !is_tcp)) { in PickUnusedPortOrDie() 132 is_tcp = !is_tcp; in PickUnusedPortOrDie()
|
/external/tensorflow/tensorflow/core/platform/default/ |
D | net.cc | 39 bool IsPortAvailable(int* port, bool is_tcp) { in IsPortAvailable() argument 40 const int protocol = is_tcp ? IPPROTO_TCP : 0; in IsPortAvailable() 41 const int fd = socket(AF_INET, is_tcp ? SOCK_STREAM : SOCK_DGRAM, protocol); in IsPortAvailable() 108 bool is_tcp = true; in PickUnusedPortOrDie() local 128 if (!IsPortAvailable(&port, is_tcp)) { in PickUnusedPortOrDie() 133 if (!IsPortAvailable(&port, !is_tcp)) { in PickUnusedPortOrDie() 134 is_tcp = !is_tcp; in PickUnusedPortOrDie()
|
/external/curl/lib/ |
D | connect.c | 1127 bool is_tcp; in singleipconnect() local 1151 is_tcp = (addr.family == AF_INET || addr.family == AF_INET6) && in singleipconnect() 1154 is_tcp = (addr.family == AF_INET) && addr.socktype == SOCK_STREAM; in singleipconnect() 1156 if(is_tcp && data->set.tcp_nodelay) in singleipconnect() 1163 if(is_tcp && data->set.tcp_keepalive) in singleipconnect()
|
/external/dnsmasq/src/ |
D | network.c | 620 int local_bind(int fd, union mysockaddr* addr, char* intname, uint32_t mark, int is_tcp) { in local_bind() argument 624 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)
|