Searched refs:gaptr (Results 1 - 4 of 4) sorted by relevance
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_gaptr.c | 30 void ngtcp2_gaptr_init(ngtcp2_gaptr *gaptr, const ngtcp2_mem *mem) { in ngtcp2_gaptr_init() argument 31 ngtcp2_ksl_init(&gaptr->gap, ngtcp2_ksl_range_compar, sizeof(ngtcp2_range), in ngtcp2_gaptr_init() 34 gaptr->mem = mem; in ngtcp2_gaptr_init() 37 static int gaptr_gap_init(ngtcp2_gaptr *gaptr) { in gaptr_gap_init() argument 41 rv = ngtcp2_ksl_insert(&gaptr->gap, NULL, &range, NULL); in gaptr_gap_init() 49 void ngtcp2_gaptr_free(ngtcp2_gaptr *gaptr) { in ngtcp2_gaptr_free() argument 50 if (gaptr == NULL) { in ngtcp2_gaptr_free() 54 ngtcp2_ksl_free(&gaptr->gap); in ngtcp2_gaptr_free() 57 int ngtcp2_gaptr_push(ngtcp2_gaptr *gaptr, uint64_t offset, uint64_t datalen) { in ngtcp2_gaptr_push() argument 62 if (ngtcp2_ksl_len(&gaptr in ngtcp2_gaptr_push() 101 ngtcp2_gaptr_first_gap_offset(ngtcp2_gaptr *gaptr) ngtcp2_gaptr_first_gap_offset() argument 115 ngtcp2_gaptr_get_first_gap_after(ngtcp2_gaptr *gaptr, uint64_t offset) ngtcp2_gaptr_get_first_gap_after() argument 133 ngtcp2_gaptr_is_pushed(ngtcp2_gaptr *gaptr, uint64_t offset, uint64_t datalen) ngtcp2_gaptr_is_pushed() argument 152 ngtcp2_gaptr_drop_first_gap(ngtcp2_gaptr *gaptr) ngtcp2_gaptr_drop_first_gap() argument [all...] |
H A D | ngtcp2_gaptr.h | 50 * ngtcp2_gaptr_init initializes |gaptr|. 52 void ngtcp2_gaptr_init(ngtcp2_gaptr *gaptr, const ngtcp2_mem *mem); 55 * ngtcp2_gaptr_free frees resources allocated for |gaptr|. 57 void ngtcp2_gaptr_free(ngtcp2_gaptr *gaptr); 69 int ngtcp2_gaptr_push(ngtcp2_gaptr *gaptr, uint64_t offset, uint64_t datalen); 75 uint64_t ngtcp2_gaptr_first_gap_offset(ngtcp2_gaptr *gaptr); 81 ngtcp2_range ngtcp2_gaptr_get_first_gap_after(ngtcp2_gaptr *gaptr, 88 int ngtcp2_gaptr_is_pushed(ngtcp2_gaptr *gaptr, uint64_t offset, 96 void ngtcp2_gaptr_drop_first_gap(ngtcp2_gaptr *gaptr);
|
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_gaptr.c | 31 void nghttp3_gaptr_init(nghttp3_gaptr *gaptr, const nghttp3_mem *mem) { in nghttp3_gaptr_init() argument 32 nghttp3_ksl_init(&gaptr->gap, nghttp3_ksl_range_compar, sizeof(nghttp3_range), in nghttp3_gaptr_init() 35 gaptr->mem = mem; in nghttp3_gaptr_init() 38 static int gaptr_gap_init(nghttp3_gaptr *gaptr) { in gaptr_gap_init() argument 42 rv = nghttp3_ksl_insert(&gaptr->gap, NULL, &range, NULL); in gaptr_gap_init() 50 void nghttp3_gaptr_free(nghttp3_gaptr *gaptr) { in nghttp3_gaptr_free() argument 51 if (gaptr == NULL) { in nghttp3_gaptr_free() 55 nghttp3_ksl_free(&gaptr->gap); in nghttp3_gaptr_free() 58 int nghttp3_gaptr_push(nghttp3_gaptr *gaptr, uint64_t offset, in nghttp3_gaptr_push() argument 64 if (nghttp3_ksl_len(&gaptr in nghttp3_gaptr_push() 103 nghttp3_gaptr_first_gap_offset(nghttp3_gaptr *gaptr) nghttp3_gaptr_first_gap_offset() argument 117 nghttp3_gaptr_get_first_gap_after(nghttp3_gaptr *gaptr, uint64_t offset) nghttp3_gaptr_get_first_gap_after() argument 135 nghttp3_gaptr_is_pushed(nghttp3_gaptr *gaptr, uint64_t offset, uint64_t datalen) nghttp3_gaptr_is_pushed() argument 154 nghttp3_gaptr_drop_first_gap(nghttp3_gaptr *gaptr) nghttp3_gaptr_drop_first_gap() argument [all...] |
H A D | nghttp3_gaptr.h | 51 * nghttp3_gaptr_init initializes |gaptr|. 53 void nghttp3_gaptr_init(nghttp3_gaptr *gaptr, const nghttp3_mem *mem); 56 * nghttp3_gaptr_free frees resources allocated for |gaptr|. 58 void nghttp3_gaptr_free(nghttp3_gaptr *gaptr); 70 int nghttp3_gaptr_push(nghttp3_gaptr *gaptr, uint64_t offset, uint64_t datalen); 76 uint64_t nghttp3_gaptr_first_gap_offset(nghttp3_gaptr *gaptr); 82 nghttp3_range nghttp3_gaptr_get_first_gap_after(nghttp3_gaptr *gaptr, 89 int nghttp3_gaptr_is_pushed(nghttp3_gaptr *gaptr, uint64_t offset, 97 void nghttp3_gaptr_drop_first_gap(nghttp3_gaptr *gaptr);
|
Completed in 2 milliseconds