/third_party/nghttp2/lib/ |
H A D | nghttp2_rcbuf.c | 69 * Frees |rcbuf| itself, regardless of its reference cout. 71 void nghttp2_rcbuf_del(nghttp2_rcbuf *rcbuf) { in nghttp2_rcbuf_del() argument 72 nghttp2_mem_free2(rcbuf->free, rcbuf, rcbuf->mem_user_data); in nghttp2_rcbuf_del() 75 void nghttp2_rcbuf_incref(nghttp2_rcbuf *rcbuf) { in nghttp2_rcbuf_incref() argument 76 if (rcbuf->ref == -1) { in nghttp2_rcbuf_incref() 80 ++rcbuf->ref; in nghttp2_rcbuf_incref() 83 void nghttp2_rcbuf_decref(nghttp2_rcbuf *rcbuf) { in nghttp2_rcbuf_decref() argument 84 if (rcbuf in nghttp2_rcbuf_decref() 95 nghttp2_rcbuf_get_buf(nghttp2_rcbuf *rcbuf) nghttp2_rcbuf_get_buf() argument 100 nghttp2_rcbuf_is_static(const nghttp2_rcbuf *rcbuf) nghttp2_rcbuf_is_static() argument [all...] |
H A D | nghttp2_rcbuf.h | 76 * Frees |rcbuf| itself, regardless of its reference cout. 78 void nghttp2_rcbuf_del(nghttp2_rcbuf *rcbuf);
|
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_rcbuf.c | 69 * Frees |rcbuf| itself, regardless of its reference cout. 71 void nghttp2_rcbuf_del(nghttp2_rcbuf *rcbuf) { in nghttp2_rcbuf_del() argument 72 nghttp2_mem_free2(rcbuf->free, rcbuf, rcbuf->mem_user_data); in nghttp2_rcbuf_del() 75 void nghttp2_rcbuf_incref(nghttp2_rcbuf *rcbuf) { in nghttp2_rcbuf_incref() argument 76 if (rcbuf->ref == -1) { in nghttp2_rcbuf_incref() 80 ++rcbuf->ref; in nghttp2_rcbuf_incref() 83 void nghttp2_rcbuf_decref(nghttp2_rcbuf *rcbuf) { in nghttp2_rcbuf_decref() argument 84 if (rcbuf in nghttp2_rcbuf_decref() 95 nghttp2_rcbuf_get_buf(nghttp2_rcbuf *rcbuf) nghttp2_rcbuf_get_buf() argument 100 nghttp2_rcbuf_is_static(const nghttp2_rcbuf *rcbuf) nghttp2_rcbuf_is_static() argument [all...] |
H A D | nghttp2_rcbuf.h | 76 * Frees |rcbuf| itself, regardless of its reference cout. 78 void nghttp2_rcbuf_del(nghttp2_rcbuf *rcbuf);
|
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_rcbuf.c | 75 * Frees |rcbuf| itself, regardless of its reference cout. 77 void nghttp3_rcbuf_del(nghttp3_rcbuf *rcbuf) { in nghttp3_rcbuf_del() argument 78 nghttp3_mem_free(rcbuf->mem, rcbuf); in nghttp3_rcbuf_del() 81 void nghttp3_rcbuf_incref(nghttp3_rcbuf *rcbuf) { in nghttp3_rcbuf_incref() argument 82 if (rcbuf->ref == -1) { in nghttp3_rcbuf_incref() 86 ++rcbuf->ref; in nghttp3_rcbuf_incref() 89 void nghttp3_rcbuf_decref(nghttp3_rcbuf *rcbuf) { in nghttp3_rcbuf_decref() argument 90 if (rcbuf == NULL || rcbuf in nghttp3_rcbuf_decref() 101 nghttp3_rcbuf_get_buf(const nghttp3_rcbuf *rcbuf) nghttp3_rcbuf_get_buf() argument 106 nghttp3_rcbuf_is_static(const nghttp3_rcbuf *rcbuf) nghttp3_rcbuf_is_static() argument [all...] |
H A D | nghttp3_rcbuf.h | 77 * Frees |rcbuf| itself, regardless of its reference cout. 79 void nghttp3_rcbuf_del(nghttp3_rcbuf *rcbuf);
|
/third_party/nghttp2/src/ |
H A D | HttpServer.cc | 477 auto &rcbuf = header.rcbuf; in ~Stream() local 478 nghttp2_rcbuf_decref(rcbuf.method); in ~Stream() 479 nghttp2_rcbuf_decref(rcbuf.scheme); in ~Stream() 480 nghttp2_rcbuf_decref(rcbuf.authority); in ~Stream() 481 nghttp2_rcbuf_decref(rcbuf.host); in ~Stream() 482 nghttp2_rcbuf_decref(rcbuf.path); in ~Stream() 483 nghttp2_rcbuf_decref(rcbuf.ims); in ~Stream() 484 nghttp2_rcbuf_decref(rcbuf.expect); in ~Stream() 1443 header.rcbuf in on_header_callback2() [all...] |
H A D | shrpx_downstream.cc | 211 for (auto rcbuf : rcbufs3_) { in ~Downstream() 212 nghttp3_rcbuf_decref(rcbuf); in ~Downstream() 216 for (auto rcbuf : rcbufs_) { in ~Downstream() 217 nghttp2_rcbuf_decref(rcbuf); in ~Downstream() 1132 void Downstream::add_rcbuf(nghttp2_rcbuf *rcbuf) { in add_rcbuf() argument 1133 nghttp2_rcbuf_incref(rcbuf); in add_rcbuf() 1134 rcbufs_.push_back(rcbuf); in add_rcbuf() 1138 void Downstream::add_rcbuf(nghttp3_rcbuf *rcbuf) { in add_rcbuf() argument 1139 nghttp3_rcbuf_incref(rcbuf); in add_rcbuf() 1140 rcbufs3_.push_back(rcbuf); in add_rcbuf() [all...] |
H A D | shrpx_downstream.h | 495 void add_rcbuf(nghttp2_rcbuf *rcbuf); 497 void add_rcbuf(nghttp3_rcbuf *rcbuf);
|
H A D | HttpServer.h | 137 } rcbuf; member
|
/third_party/node/deps/ngtcp2/nghttp3/lib/includes/nghttp3/ |
H A D | nghttp3.h | 579 * `nghttp3_rcbuf_incref` increments the reference count of |rcbuf| by 582 NGHTTP3_EXTERN void nghttp3_rcbuf_incref(nghttp3_rcbuf *rcbuf); 587 * `nghttp3_rcbuf_decref` decrements the reference count of |rcbuf| by 589 * |rcbuf| will be freed. In this case, application must not use 590 * |rcbuf| again. 592 NGHTTP3_EXTERN void nghttp3_rcbuf_decref(nghttp3_rcbuf *rcbuf); 598 * |rcbuf|. 600 NGHTTP3_EXTERN nghttp3_vec nghttp3_rcbuf_get_buf(const nghttp3_rcbuf *rcbuf); 610 NGHTTP3_EXTERN int nghttp3_rcbuf_is_static(const nghttp3_rcbuf *rcbuf);
|
/third_party/nghttp2/lib/includes/nghttp2/ |
H A D | nghttp2.h | 480 * Increments the reference count of |rcbuf| by 1. 482 NGHTTP2_EXTERN void nghttp2_rcbuf_incref(nghttp2_rcbuf *rcbuf); 487 * Decrements the reference count of |rcbuf| by 1. If the reference 488 * count becomes zero, the object pointed by |rcbuf| will be freed. 489 * In this case, application must not use |rcbuf| again. 491 NGHTTP2_EXTERN void nghttp2_rcbuf_decref(nghttp2_rcbuf *rcbuf); 496 * Returns the underlying buffer managed by |rcbuf|. 498 NGHTTP2_EXTERN nghttp2_vec nghttp2_rcbuf_get_buf(nghttp2_rcbuf *rcbuf); 507 NGHTTP2_EXTERN int nghttp2_rcbuf_is_static(const nghttp2_rcbuf *rcbuf);
|
/third_party/node/deps/nghttp2/lib/includes/nghttp2/ |
H A D | nghttp2.h | 475 * Increments the reference count of |rcbuf| by 1. 477 NGHTTP2_EXTERN void nghttp2_rcbuf_incref(nghttp2_rcbuf *rcbuf); 482 * Decrements the reference count of |rcbuf| by 1. If the reference 483 * count becomes zero, the object pointed by |rcbuf| will be freed. 484 * In this case, application must not use |rcbuf| again. 486 NGHTTP2_EXTERN void nghttp2_rcbuf_decref(nghttp2_rcbuf *rcbuf); 491 * Returns the underlying buffer managed by |rcbuf|. 493 NGHTTP2_EXTERN nghttp2_vec nghttp2_rcbuf_get_buf(nghttp2_rcbuf *rcbuf); 502 NGHTTP2_EXTERN int nghttp2_rcbuf_is_static(const nghttp2_rcbuf *rcbuf);
|