/third_party/nghttp2/lib/ |
H A D | nghttp2_stream.h | 149 struct nghttp2_stream { struct 152 /* Priority Queue storing direct descendant (nghttp2_stream). Only 176 nghttp2_stream *dep_prev, *dep_next; 177 nghttp2_stream *sib_prev, *sib_next; 182 nghttp2_stream *closed_prev, *closed_next; 241 void nghttp2_stream_init(nghttp2_stream *stream, int32_t stream_id, 247 void nghttp2_stream_free(nghttp2_stream *stream); 253 void nghttp2_stream_shutdown(nghttp2_stream *stream, nghttp2_shut_flag flag); 262 void nghttp2_stream_defer_item(nghttp2_stream *stream, uint8_t flags); 278 int nghttp2_stream_resume_deferred_item(nghttp2_stream *strea [all...] |
H A D | nghttp2_stream.c | 25 #include "nghttp2_stream.h" 48 const nghttp2_stream *lhs, *rhs; in stream_less() 50 lhs = nghttp2_struct_of(lhsx, nghttp2_stream, pq_entry); in stream_less() 51 rhs = nghttp2_struct_of(rhsx, nghttp2_stream, pq_entry); in stream_less() 60 void nghttp2_stream_init(nghttp2_stream *stream, int32_t stream_id, in nghttp2_stream_init() 107 void nghttp2_stream_free(nghttp2_stream *stream) { in nghttp2_stream_free() 114 void nghttp2_stream_shutdown(nghttp2_stream *stream, nghttp2_shut_flag flag) { in nghttp2_stream_shutdown() 122 static int stream_active(nghttp2_stream *stream) { in stream_active() 130 static int stream_subtree_active(nghttp2_stream *stream) { in stream_subtree_active() 137 static void stream_next_cycle(nghttp2_stream *strea [all...] |
H A D | nghttp2_session.h | 36 #include "nghttp2_stream.h" 207 nghttp2_map /* <nghttp2_stream*> */ streams; 209 nghttp2_stream root; 235 nghttp2_stream *closed_stream_head; 239 nghttp2_stream *closed_stream_tail; 242 nghttp2_stream *idle_stream_head; 245 nghttp2_stream *idle_stream_tail; 395 nghttp2_stream *head; 536 nghttp2_stream *nghttp2_session_open_stream(nghttp2_session *session, 576 nghttp2_stream *strea [all...] |
H A D | nghttp2_http.h | 34 #include "nghttp2_stream.h" 50 int nghttp2_http_on_header(nghttp2_session *session, nghttp2_stream *stream, 58 int nghttp2_http_on_request_headers(nghttp2_stream *stream, 65 int nghttp2_http_on_response_headers(nghttp2_stream *stream); 72 int nghttp2_http_on_trailer_headers(nghttp2_stream *stream, 80 int nghttp2_http_on_remote_end_stream(nghttp2_stream *stream); 86 int nghttp2_http_on_data_chunk(nghttp2_stream *stream, size_t n); 94 void nghttp2_http_record_request_method(nghttp2_stream *stream,
|
H A D | nghttp2_http.c | 77 static int check_pseudo_header(nghttp2_stream *stream, const nghttp2_hd_nv *nv, in check_pseudo_header() 86 static int expect_response_body(nghttp2_stream *stream) { in expect_response_body() 97 static int check_path(nghttp2_stream *stream) { in check_path() 104 static int http_request_on_header(nghttp2_stream *stream, nghttp2_hd_nv *nv, in http_request_on_header() 236 static int http_response_on_header(nghttp2_stream *stream, nghttp2_hd_nv *nv, in http_response_on_header() 350 int nghttp2_http_on_header(nghttp2_session *session, nghttp2_stream *stream, in nghttp2_http_on_header() 444 int nghttp2_http_on_request_headers(nghttp2_stream *stream, in nghttp2_http_on_request_headers() 481 int nghttp2_http_on_response_headers(nghttp2_stream *stream) { in nghttp2_http_on_response_headers() 508 int nghttp2_http_on_trailer_headers(nghttp2_stream *stream, in nghttp2_http_on_trailer_headers() 519 int nghttp2_http_on_remote_end_stream(nghttp2_stream *strea [all...] |
H A D | nghttp2_session.c | 95 nghttp2_stream *stream, in session_trailer_headers() 110 nghttp2_stream *stream) { in state_reserved_remote() 117 nghttp2_stream *stream) { in state_reserved_local() 286 nghttp2_stream *nghttp2_session_get_stream(nghttp2_session *session, in nghttp2_session_get_stream() 288 nghttp2_stream *stream; in nghttp2_session_get_stream() 290 stream = (nghttp2_stream *)nghttp2_map_find(&session->streams, stream_id); in nghttp2_session_get_stream() 300 nghttp2_stream *nghttp2_session_get_stream_raw(nghttp2_session *session, in nghttp2_session_get_stream_raw() 302 return (nghttp2_stream *)nghttp2_map_find(&session->streams, stream_id); in nghttp2_session_get_stream_raw() 420 const nghttp2_stream *lhs, *rhs; in stream_less() 422 lhs = nghttp2_struct_of(lhsx, nghttp2_stream, pq_entr in stream_less() [all...] |
H A D | nghttp2_submit.c | 384 nghttp2_stream *stream = 0; in nghttp2_submit_window_update() 430 nghttp2_stream *stream; in nghttp2_session_set_local_window_size()
|
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_stream.h | 149 struct nghttp2_stream { struct 152 /* Priority Queue storing direct descendant (nghttp2_stream). Only 176 nghttp2_stream *dep_prev, *dep_next; 177 nghttp2_stream *sib_prev, *sib_next; 182 nghttp2_stream *closed_prev, *closed_next; 241 void nghttp2_stream_init(nghttp2_stream *stream, int32_t stream_id, 247 void nghttp2_stream_free(nghttp2_stream *stream); 253 void nghttp2_stream_shutdown(nghttp2_stream *stream, nghttp2_shut_flag flag); 262 void nghttp2_stream_defer_item(nghttp2_stream *stream, uint8_t flags); 278 int nghttp2_stream_resume_deferred_item(nghttp2_stream *strea [all...] |
H A D | nghttp2_stream.c | 25 #include "nghttp2_stream.h" 48 const nghttp2_stream *lhs, *rhs; in stream_less() 50 lhs = nghttp2_struct_of(lhsx, nghttp2_stream, pq_entry); in stream_less() 51 rhs = nghttp2_struct_of(rhsx, nghttp2_stream, pq_entry); in stream_less() 60 void nghttp2_stream_init(nghttp2_stream *stream, int32_t stream_id, in nghttp2_stream_init() 107 void nghttp2_stream_free(nghttp2_stream *stream) { in nghttp2_stream_free() 114 void nghttp2_stream_shutdown(nghttp2_stream *stream, nghttp2_shut_flag flag) { in nghttp2_stream_shutdown() 122 static int stream_active(nghttp2_stream *stream) { in stream_active() 130 static int stream_subtree_active(nghttp2_stream *stream) { in stream_subtree_active() 137 static void stream_next_cycle(nghttp2_stream *strea [all...] |
H A D | nghttp2_session.h | 36 #include "nghttp2_stream.h" 203 nghttp2_map /* <nghttp2_stream*> */ streams; 205 nghttp2_stream root; 231 nghttp2_stream *closed_stream_head; 235 nghttp2_stream *closed_stream_tail; 238 nghttp2_stream *idle_stream_head; 241 nghttp2_stream *idle_stream_tail; 385 nghttp2_stream *head; 526 nghttp2_stream *nghttp2_session_open_stream(nghttp2_session *session, 566 nghttp2_stream *strea [all...] |
H A D | nghttp2_http.h | 34 #include "nghttp2_stream.h" 50 int nghttp2_http_on_header(nghttp2_session *session, nghttp2_stream *stream, 58 int nghttp2_http_on_request_headers(nghttp2_stream *stream, 65 int nghttp2_http_on_response_headers(nghttp2_stream *stream); 72 int nghttp2_http_on_trailer_headers(nghttp2_stream *stream, 80 int nghttp2_http_on_remote_end_stream(nghttp2_stream *stream); 86 int nghttp2_http_on_data_chunk(nghttp2_stream *stream, size_t n); 94 void nghttp2_http_record_request_method(nghttp2_stream *stream,
|
H A D | nghttp2_http.c | 77 static int check_pseudo_header(nghttp2_stream *stream, const nghttp2_hd_nv *nv, in check_pseudo_header() 86 static int expect_response_body(nghttp2_stream *stream) { in expect_response_body() 97 static int check_path(nghttp2_stream *stream) { in check_path() 104 static int http_request_on_header(nghttp2_stream *stream, nghttp2_hd_nv *nv, in http_request_on_header() 236 static int http_response_on_header(nghttp2_stream *stream, nghttp2_hd_nv *nv, in http_response_on_header() 350 int nghttp2_http_on_header(nghttp2_session *session, nghttp2_stream *stream, in nghttp2_http_on_header() 444 int nghttp2_http_on_request_headers(nghttp2_stream *stream, in nghttp2_http_on_request_headers() 481 int nghttp2_http_on_response_headers(nghttp2_stream *stream) { in nghttp2_http_on_response_headers() 508 int nghttp2_http_on_trailer_headers(nghttp2_stream *stream, in nghttp2_http_on_trailer_headers() 519 int nghttp2_http_on_remote_end_stream(nghttp2_stream *strea [all...] |
H A D | nghttp2_session.c | 95 nghttp2_stream *stream, in session_trailer_headers() 110 nghttp2_stream *stream) { in state_reserved_remote() 117 nghttp2_stream *stream) { in state_reserved_local() 286 nghttp2_stream *nghttp2_session_get_stream(nghttp2_session *session, in nghttp2_session_get_stream() 288 nghttp2_stream *stream; in nghttp2_session_get_stream() 290 stream = (nghttp2_stream *)nghttp2_map_find(&session->streams, stream_id); in nghttp2_session_get_stream() 300 nghttp2_stream *nghttp2_session_get_stream_raw(nghttp2_session *session, in nghttp2_session_get_stream_raw() 302 return (nghttp2_stream *)nghttp2_map_find(&session->streams, stream_id); in nghttp2_session_get_stream_raw() 420 const nghttp2_stream *lhs, *rhs; in stream_less() 422 lhs = nghttp2_struct_of(lhsx, nghttp2_stream, pq_entr in stream_less() [all...] |
H A D | nghttp2_submit.c | 384 nghttp2_stream *stream = 0; in nghttp2_submit_window_update() 430 nghttp2_stream *stream; in nghttp2_session_set_local_window_size()
|
/third_party/nghttp2/tests/ |
H A D | nghttp2_test_helper.h | 97 nghttp2_stream *open_stream(nghttp2_session *session, int32_t stream_id); 99 nghttp2_stream *open_stream_with_dep(nghttp2_session *session, 101 nghttp2_stream *dep_stream); 103 nghttp2_stream *open_stream_with_dep_weight(nghttp2_session *session, 105 nghttp2_stream *dep_stream); 107 nghttp2_stream *open_stream_with_dep_excl(nghttp2_session *session, 109 nghttp2_stream *dep_stream); 116 nghttp2_stream *open_sent_stream(nghttp2_session *session, int32_t stream_id); 118 nghttp2_stream *open_sent_stream2(nghttp2_session *session, int32_t stream_id, 121 nghttp2_stream *open_sent_stream [all...] |
H A D | nghttp2_test_helper.c | 265 static nghttp2_stream *open_stream_with_all(nghttp2_session *session, in open_stream_with_all() 268 nghttp2_stream *dep_stream) { in open_stream_with_all() 285 nghttp2_stream *open_stream(nghttp2_session *session, int32_t stream_id) { in open_stream() 290 nghttp2_stream *open_stream_with_dep(nghttp2_session *session, in open_stream_with_dep() 292 nghttp2_stream *dep_stream) { in open_stream_with_dep() 297 nghttp2_stream *open_stream_with_dep_weight(nghttp2_session *session, in open_stream_with_dep_weight() 299 nghttp2_stream *dep_stream) { in open_stream_with_dep_weight() 303 nghttp2_stream *open_stream_with_dep_excl(nghttp2_session *session, in open_stream_with_dep_excl() 305 nghttp2_stream *dep_stream) { in open_stream_with_dep_excl() 319 nghttp2_stream *open_sent_strea [all...] |
H A D | nghttp2_session_test.c | 33 #include "nghttp2_stream.h" 908 nghttp2_stream *stream; in test_nghttp2_session_recv_data() 1097 nghttp2_stream *stream; in test_nghttp2_session_recv_data_no_auto_flow_control() 1442 nghttp2_stream *stream; in test_nghttp2_session_recv_headers_with_priority() 1699 nghttp2_stream *stream; in test_nghttp2_session_recv_headers_early_response() 1761 nghttp2_stream *stream; in test_nghttp2_session_recv_headers_for_closed_stream() 1845 nghttp2_stream *stream; in test_nghttp2_session_recv_headers_with_extpri() 2785 nghttp2_stream *stream; in test_nghttp2_session_recv_priority_update() 3218 nghttp2_stream *stream; in test_nghttp2_session_on_request_headers_received() 3415 nghttp2_stream *strea in test_nghttp2_session_on_response_headers_received() [all...] |
/third_party/nghttp2/lib/includes/nghttp2/ |
H A D | nghttp2.h | 5673 struct nghttp2_stream; 5681 typedef struct nghttp2_stream nghttp2_stream; typedef 5686 * Returns pointer to :type:`nghttp2_stream` object denoted by 5696 NGHTTP2_EXTERN nghttp2_stream * 5743 nghttp2_stream_get_state(nghttp2_stream *stream); 5752 NGHTTP2_EXTERN nghttp2_stream * 5761 NGHTTP2_EXTERN nghttp2_stream * 5762 nghttp2_stream_get_parent(nghttp2_stream *stream); 5764 NGHTTP2_EXTERN int32_t nghttp2_stream_get_stream_id(nghttp2_stream *strea [all...] |
/third_party/node/deps/nghttp2/lib/includes/nghttp2/ |
H A D | nghttp2.h | 5657 struct nghttp2_stream; 5665 typedef struct nghttp2_stream nghttp2_stream; typedef 5670 * Returns pointer to :type:`nghttp2_stream` object denoted by 5680 NGHTTP2_EXTERN nghttp2_stream * 5727 nghttp2_stream_get_state(nghttp2_stream *stream); 5736 NGHTTP2_EXTERN nghttp2_stream * 5745 NGHTTP2_EXTERN nghttp2_stream * 5746 nghttp2_stream_get_parent(nghttp2_stream *stream); 5748 NGHTTP2_EXTERN int32_t nghttp2_stream_get_stream_id(nghttp2_stream *strea [all...] |
/third_party/node/src/ |
H A D | node_http2.h | 280 nghttp2_stream* operator*() const; 282 nghttp2_stream* stream() const;
|
H A D | node_http2.cc | 2095 nghttp2_stream* Http2Stream::operator*() const { return stream(); } in operator *() 2097 nghttp2_stream* Http2Stream::stream() const { in stream() 2383 // nghttp2_stream. The WriteWrap's Done callback will be invoked once the 2896 nghttp2_stream* str = stream->stream(); in RefreshState()
|