Lines Matching defs:ret
817 ssize_t ret =
822 CHECK_NE(ret, NGHTTP2_ERR_NOMEM);
823 CHECK_IMPLIES(custom_recv_error_code_ != nullptr, ret < 0);
828 CHECK_GT(ret, 0);
829 CHECK_LE(static_cast<size_t>(ret), read_len);
834 stream_buf_offset_ += ret;
846 if (ret >= 0 && !is_destroyed()) {
851 if (UNLIKELY(ret < 0)) {
855 ret,
859 Integer::New(isolate, static_cast<int32_t>(ret)),
1874 int32_t* ret,
1880 *ret = nghttp2_submit_request(
1887 CHECK_NE(*ret, NGHTTP2_ERR_NOMEM);
1888 if (LIKELY(*ret > 0))
1889 stream = Http2Stream::New(this, *ret, NGHTTP2_HCAT_HEADERS, options);
2190 int ret = nghttp2_submit_response(
2196 CHECK_NE(ret, NGHTTP2_ERR_NOMEM);
2197 return ret;
2206 int ret = nghttp2_submit_headers(
2214 CHECK_NE(ret, NGHTTP2_ERR_NOMEM);
2215 return ret;
2234 int ret;
2240 ret = nghttp2_submit_data(
2246 ret = nghttp2_submit_trailer(
2252 CHECK_NE(ret, NGHTTP2_ERR_NOMEM);
2253 return ret;
2262 int ret = silent ?
2271 CHECK_NE(ret, NGHTTP2_ERR_NOMEM);
2272 return ret;
2325 int32_t* ret,
2330 *ret = nghttp2_submit_push_promise(
2337 CHECK_NE(*ret, NGHTTP2_ERR_NOMEM);
2339 if (*ret > 0) {
2341 session_.get(), *ret, NGHTTP2_HCAT_HEADERS, options);
2702 int32_t ret = 0;
2707 &ret,
2710 if (ret <= 0 || stream == nullptr) {
2711 Debug(session, "could not submit request: %s", nghttp2_strerror(ret));
2712 return args.GetReturnValue().Set(ret);
2856 int32_t ret = 0;
2860 &ret,
2863 if (ret <= 0 || stream == nullptr) {
2864 Debug(parent, "failed to create push stream: %d", ret);
2865 return args.GetReturnValue().Set(ret);