Lines Matching refs:rv

91   int rv;
97 rv = ngtcp2_conn_open_bidi_stream(client_->quic.conn, &stream_id, nullptr);
98 if (rv != 0) {
99 return rv;
105 rv = nghttp3_conn_submit_request(
108 if (rv != 0) {
109 return rv;
227 auto rv = ngtcp2_conn_shutdown_stream_read(client_->quic.conn, 0, stream_id,
229 if (rv != 0) {
230 std::cerr << "ngtcp2_conn_shutdown_stream_read: " << ngtcp2_strerror(rv)
249 auto rv = ngtcp2_conn_shutdown_stream_write(client_->quic.conn, 0, stream_id,
251 if (rv != 0) {
252 std::cerr << "ngtcp2_conn_shutdown_stream_write: " << ngtcp2_strerror(rv)
260 auto rv = nghttp3_conn_close_stream(conn_, stream_id, app_error_code);
261 switch (rv) {
276 auto rv = nghttp3_conn_shutdown_stream_read(conn_, stream_id);
277 if (rv != 0) {
304 int rv;
338 rv = nghttp3_conn_client_new(&conn_, &callbacks, &settings, mem, this);
339 if (rv != 0) {
340 std::cerr << "nghttp3_conn_client_new: " << nghttp3_strerror(rv)
347 rv =
349 if (rv != 0) {
350 std::cerr << "ngtcp2_conn_open_uni_stream: " << ngtcp2_strerror(rv)
355 rv = nghttp3_conn_bind_control_stream(conn_, ctrl_stream_id);
356 if (rv != 0) {
357 std::cerr << "nghttp3_conn_bind_control_stream: " << nghttp3_strerror(rv)
364 rv = ngtcp2_conn_open_uni_stream(client_->quic.conn, &qpack_enc_stream_id,
366 if (rv != 0) {
367 std::cerr << "ngtcp2_conn_open_uni_stream: " << ngtcp2_strerror(rv)
372 rv = ngtcp2_conn_open_uni_stream(client_->quic.conn, &qpack_dec_stream_id,
374 if (rv != 0) {
375 std::cerr << "ngtcp2_conn_open_uni_stream: " << ngtcp2_strerror(rv)
380 rv = nghttp3_conn_bind_qpack_streams(conn_, qpack_enc_stream_id,
382 if (rv != 0) {
383 std::cerr << "nghttp3_conn_bind_qpack_streams: " << nghttp3_strerror(rv)
436 auto rv = nghttp3_conn_add_write_offset(conn_, stream_id, ndatalen);
437 if (rv != 0) {
439 &client_->quic.last_error, nghttp3_err_infer_quic_app_error_code(rv),
447 auto rv = nghttp3_conn_add_ack_offset(conn_, stream_id, datalen);
448 if (rv != 0) {
450 &client_->quic.last_error, nghttp3_err_infer_quic_app_error_code(rv),