Lines Matching refs:connect_rv
276 int connect_rv = -1;
301 connect_rv = NET_Connect(fd, (struct sockaddr *)&him, len);
303 if (connect_rv == JVM_IO_ERR && errno == EINPROGRESS ) {
315 connect_rv = NET_Poll(&pfd, 1, -1);
326 connect_rv = NET_Select(fd+1, 0, &wr, &ex, 0);
330 if (connect_rv == JVM_IO_ERR) {
337 if (connect_rv > 0) {
340 optlen = sizeof(connect_rv);
342 (void*)&connect_rv, &optlen) <0) {
343 connect_rv = errno;
346 if (connect_rv != 0) {
348 errno = connect_rv;
349 connect_rv = JVM_IO_ERR;
365 connect_rv = connect(fd, (struct sockaddr *)&him, len);
368 if (connect_rv != 0) {
394 connect_rv = NET_Poll(&pfd, 1, timeout);
410 connect_rv = NET_Select(fd+1, 0, &wr, &ex, &t);
414 if (connect_rv >= 0) {
428 connect_rv = 0;
435 if (connect_rv == 0) {
451 optlen = sizeof(connect_rv);
452 if (JVM_GetSockOpt(fd, SOL_SOCKET, SO_ERROR, (void*)&connect_rv,
454 connect_rv = errno;
462 if (connect_rv != 0) {
463 errno = connect_rv;
464 connect_rv = JVM_IO_ERR;
469 if (connect_rv < 0) {
482 if (connect_rv == JVM_IO_ERR && errno == EINVAL) {
488 if (connect_rv == JVM_IO_INTR) {