Lines Matching refs:pri_spec
48 const nghttp2_priority_spec *pri_spec) in detect_self_dependency() argument
50 assert(pri_spec); in detect_self_dependency()
53 if ((int32_t)session->next_stream_id == pri_spec->stream_id) { in detect_self_dependency()
59 if (stream_id == pri_spec->stream_id) { in detect_self_dependency()
71 const nghttp2_priority_spec *pri_spec, in submit_headers_shared() argument
121 pri_spec, nva_copy, nvlen); in submit_headers_shared()
147 const nghttp2_priority_spec *pri_spec, in submit_headers_shared_nva() argument
159 if (pri_spec) { in submit_headers_shared_nva()
160 copy_pri_spec = *pri_spec; in submit_headers_shared_nva()
189 const nghttp2_priority_spec *pri_spec, in nghttp2_submit_headers() argument
205 if (pri_spec && !nghttp2_priority_spec_check_default(pri_spec)) { in nghttp2_submit_headers()
206 rv = detect_self_dependency(session, stream_id, pri_spec); in nghttp2_submit_headers()
213 pri_spec = NULL; in nghttp2_submit_headers()
216 return submit_headers_shared_nva(session, flags, stream_id, pri_spec, nva, in nghttp2_submit_headers()
229 const nghttp2_priority_spec *pri_spec) in nghttp2_submit_priority() argument
240 if (stream_id == 0 || pri_spec == NULL) { in nghttp2_submit_priority()
244 if (stream_id == pri_spec->stream_id) { in nghttp2_submit_priority()
248 copy_pri_spec = *pri_spec; in nghttp2_submit_priority()
590 static uint8_t set_request_flags(const nghttp2_priority_spec *pri_spec, in set_request_flags() argument
598 if (pri_spec) { in set_request_flags()
606 const nghttp2_priority_spec *pri_spec, in nghttp2_submit_request() argument
618 if (pri_spec && !nghttp2_priority_spec_check_default(pri_spec)) { in nghttp2_submit_request()
619 rv = detect_self_dependency(session, -1, pri_spec); in nghttp2_submit_request()
624 pri_spec = NULL; in nghttp2_submit_request()
627 flags = set_request_flags(pri_spec, data_prd); in nghttp2_submit_request()
629 return submit_headers_shared_nva(session, flags, -1, pri_spec, nva, nvlen, in nghttp2_submit_request()