Lines Matching refs:ret
1395 int ret; local
1400 ret = nghttp2_submit_settings(h2_session->session, NGHTTP2_FLAG_NONE,
1402 if(ret) {
1404 "error: %s", nghttp2_strerror(ret));
3371 ssize_t ret; local
3408 ret = recv(h2_session->c->fd, buf, len, MSG_DONTWAIT);
3409 if(ret == 0) {
3411 } else if(ret < 0) {
3439 return ret;
3448 int ret; local
3452 ret = nghttp2_session_recv(c->h2_session->session);
3453 if(ret) {
3454 if(ret != NGHTTP2_ERR_EOF &&
3455 ret != NGHTTP2_ERR_CALLBACK_FAILURE) {
3460 "error: %s", a, nghttp2_strerror(ret));
3699 ssize_t ret; local
3736 ret = send(h2_session->c->fd, buf, len, 0);
3737 if(ret == 0) {
3739 } else if(ret < 0) {
3773 return ret;
3782 int ret; local
3785 ret = nghttp2_session_send(c->h2_session->session);
3786 if(ret) {
3788 "error: %s", nghttp2_strerror(ret));