Searched refs:pri_spec (Results 1 – 8 of 8) sorted by relevance
/AliOS-Things-master/components/linkkit/external/nghttp2/ |
A D | nghttp2_priority_spec.c | 31 pri_spec->stream_id = stream_id; in nghttp2_priority_spec_init() 32 pri_spec->weight = weight; in nghttp2_priority_spec_init() 33 pri_spec->exclusive = exclusive != 0; in nghttp2_priority_spec_init() 38 pri_spec->stream_id = 0; in nghttp2_priority_spec_default_init() 39 pri_spec->weight = NGHTTP2_DEFAULT_WEIGHT; in nghttp2_priority_spec_default_init() 40 pri_spec->exclusive = 0; in nghttp2_priority_spec_default_init() 45 return pri_spec->stream_id == 0 && in nghttp2_priority_spec_check_default() 47 pri_spec->exclusive == 0; in nghttp2_priority_spec_check_default() 52 if (pri_spec->weight < NGHTTP2_MIN_WEIGHT) { in nghttp2_priority_spec_normalize_weight() 53 pri_spec->weight = NGHTTP2_MIN_WEIGHT; in nghttp2_priority_spec_normalize_weight() [all …]
|
A D | nghttp2_submit.c | 50 assert(pri_spec); in detect_self_dependency() 59 if (stream_id == pri_spec->stream_id) { in detect_self_dependency() 159 if (pri_spec) { in submit_headers_shared_nva() 160 copy_pri_spec = *pri_spec; in submit_headers_shared_nva() 205 if (pri_spec && !nghttp2_priority_spec_check_default(pri_spec)) { in nghttp2_submit_headers() 213 pri_spec = NULL; in nghttp2_submit_headers() 244 if (stream_id == pri_spec->stream_id) { in nghttp2_submit_priority() 248 copy_pri_spec = *pri_spec; in nghttp2_submit_priority() 598 if (pri_spec) { in set_request_flags() 618 if (pri_spec && !nghttp2_priority_spec_check_default(pri_spec)) { in nghttp2_submit_request() [all …]
|
A D | nghttp2_frame.c | 67 const nghttp2_priority_spec *pri_spec, in nghttp2_frame_headers_init() argument 76 if (pri_spec) { in nghttp2_frame_headers_init() 77 frame->pri_spec = *pri_spec; in nghttp2_frame_headers_init() 79 nghttp2_priority_spec_default_init(&frame->pri_spec); in nghttp2_frame_headers_init() 93 frame->pri_spec = *pri_spec; in nghttp2_frame_priority_init() 386 nghttp2_put_uint32be(buf, (uint32_t)pri_spec->stream_id); in nghttp2_frame_pack_priority_spec() 387 if (pri_spec->exclusive) { in nghttp2_frame_pack_priority_spec() 390 buf[4] = (uint8_t)(pri_spec->weight - 1); in nghttp2_frame_pack_priority_spec() 413 nghttp2_priority_spec_default_init(&frame->pri_spec); in nghttp2_frame_unpack_headers_payload() 436 nghttp2_frame_pack_priority_spec(buf->last, &frame->pri_spec); in nghttp2_frame_pack_priority() [all …]
|
A D | nghttp2_frame.h | 100 const nghttp2_priority_spec *pri_spec); 108 void nghttp2_frame_unpack_priority_spec(nghttp2_priority_spec *pri_spec, 402 const nghttp2_priority_spec *pri_spec, 408 const nghttp2_priority_spec *pri_spec);
|
A D | nghttp2.h | 1022 nghttp2_priority_spec pri_spec; member 1050 nghttp2_priority_spec pri_spec; member 3515 const nghttp2_priority_spec *pri_spec); 3560 const nghttp2_priority_spec *pri_spec); 3711 NGHTTP2_EXTERN void nghttp2_priority_spec_init(nghttp2_priority_spec *pri_spec, 3723 nghttp2_priority_spec *pri_spec); 3731 const nghttp2_priority_spec *pri_spec); 3807 nghttp2_session *session, const nghttp2_priority_spec *pri_spec, 4024 const nghttp2_priority_spec *pri_spec, const nghttp2_nv *nva, size_t nvlen, 4102 const nghttp2_priority_spec *pri_spec);
|
A D | nghttp2_priority_spec.h | 40 void nghttp2_priority_spec_normalize_weight(nghttp2_priority_spec *pri_spec);
|
A D | nghttp2_session.c | 793 if (pri_spec->stream_id != 0) { in nghttp2_session_reprioritize_stream() 814 if (pri_spec->stream_id == 0) { in nghttp2_session_reprioritize_stream() 839 stream->weight = pri_spec->weight; in nghttp2_session_reprioritize_stream() 841 if (pri_spec->exclusive) { in nghttp2_session_reprioritize_stream() 1062 if (pri_spec->stream_id != 0) { in nghttp2_session_open_stream() 1148 if (pri_spec->stream_id == 0) { in nghttp2_session_open_stream() 1154 if (pri_spec->exclusive) { in nghttp2_session_open_stream() 4692 nghttp2_priority_spec pri_spec; in nghttp2_session_on_push_promise_received() local 7456 nghttp2_priority_spec pri_spec; in nghttp2_session_upgrade_internal() local 7742 pri_spec_copy = *pri_spec; in nghttp2_session_change_stream_priority() [all …]
|
A D | nghttp2_session.h | 491 nghttp2_priority_spec *pri_spec, 861 const nghttp2_priority_spec *pri_spec);
|
Completed in 28 milliseconds