Searched refs:connect_rv (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/main/native/ |
D | PlainSocketImpl.c | 240 int connect_rv = -1; in PlainSocketImpl_socketConnect() local 265 connect_rv = NET_Connect(fd, (struct sockaddr *)&him, len); in PlainSocketImpl_socketConnect() 267 if (connect_rv == JVM_IO_ERR && errno == EINPROGRESS ) { in PlainSocketImpl_socketConnect() 279 connect_rv = NET_Poll(&pfd, 1, -1); in PlainSocketImpl_socketConnect() 290 connect_rv = NET_Select(fd+1, 0, &wr, &ex, 0); in PlainSocketImpl_socketConnect() 294 if (connect_rv == JVM_IO_ERR) { in PlainSocketImpl_socketConnect() 301 if (connect_rv > 0) { in PlainSocketImpl_socketConnect() 304 optlen = sizeof(connect_rv); in PlainSocketImpl_socketConnect() 306 (void*)&connect_rv, &optlen) <0) { in PlainSocketImpl_socketConnect() 307 connect_rv = errno; in PlainSocketImpl_socketConnect() [all …]
|
D | Inet4AddressImpl.c | 202 int connect_rv = -1; in Inet4AddressImpl_isReachable0() local 289 connect_rv = JVM_Connect(fd, (struct sockaddr *)&him, len); in Inet4AddressImpl_isReachable0() 295 if (connect_rv == 0 || errno == ECONNREFUSED) { in Inet4AddressImpl_isReachable0() 331 optlen = sizeof(connect_rv); in Inet4AddressImpl_isReachable0() 332 if (JVM_GetSockOpt(fd, SOL_SOCKET, SO_ERROR, (void*)&connect_rv, in Inet4AddressImpl_isReachable0() 334 connect_rv = errno; in Inet4AddressImpl_isReachable0() 336 if (connect_rv == 0 || connect_rv == ECONNREFUSED) { in Inet4AddressImpl_isReachable0()
|
D | Inet6AddressImpl.c | 274 int connect_rv = -1; in Inet6AddressImpl_isReachable0() local 365 connect_rv = JVM_Connect(fd, (struct sockaddr *)&him6, len); in Inet6AddressImpl_isReachable0() 371 if (connect_rv == 0 || errno == ECONNREFUSED) { in Inet6AddressImpl_isReachable0() 408 optlen = sizeof(connect_rv); in Inet6AddressImpl_isReachable0() 409 if (JVM_GetSockOpt(fd, SOL_SOCKET, SO_ERROR, (void*)&connect_rv, in Inet6AddressImpl_isReachable0() 411 connect_rv = errno; in Inet6AddressImpl_isReachable0() 413 if (connect_rv == 0 || ECONNREFUSED) { in Inet6AddressImpl_isReachable0()
|