Lines Matching refs:ret
235 int ret = SSL_connect(ssl.get()); in sslConnect() local
236 LOG(DEBUG) << " SSL_connect returned " << ret << " with mark 0x" << std::hex << mMark; in sslConnect()
237 if (ret == 1) break; // SSL handshake complete; in sslConnect()
239 const int ssl_err = SSL_get_error(ssl.get(), ret); in sslConnect()
283 int ret = SSL_write(mSsl.get(), buffer.base(), buffer.size()); in sslWrite() local
284 if (ret == int(buffer.size())) break; // SSL write complete; in sslWrite()
286 if (ret < 1) { in sslWrite()
287 const int ssl_err = SSL_get_error(mSsl.get(), ret); in sslWrite()
448 int ret = SSL_read(mSsl.get(), buffer.limit() - remaining, remaining); in sslRead() local
449 if (ret == 0) { in sslRead()
456 if (ret < 0) { in sslRead()
457 const int ssl_err = SSL_get_error(mSsl.get(), ret); in sslRead()
470 remaining -= ret; in sslRead()