Home
last modified time | relevance | path

Searched refs:nghttp3_range (Results 1 – 6 of 6) sorted by relevance

/third_party/node/deps/ngtcp2/nghttp3/lib/
Dnghttp3_range.h38 typedef struct nghttp3_range { struct
41 } nghttp3_range; argument
46 void nghttp3_range_init(nghttp3_range *r, uint64_t begin, uint64_t end);
52 nghttp3_range nghttp3_range_intersect(const nghttp3_range *a,
53 const nghttp3_range *b);
58 uint64_t nghttp3_range_len(const nghttp3_range *r);
64 int nghttp3_range_eq(const nghttp3_range *a, const nghttp3_range *b);
72 void nghttp3_range_cut(nghttp3_range *left, nghttp3_range *right,
73 const nghttp3_range *a, const nghttp3_range *b);
79 int nghttp3_range_not_after(const nghttp3_range *a, const nghttp3_range *b);
Dnghttp3_range.c29 void nghttp3_range_init(nghttp3_range *r, uint64_t begin, uint64_t end) { in nghttp3_range_init()
34 nghttp3_range nghttp3_range_intersect(const nghttp3_range *a, in nghttp3_range_intersect()
35 const nghttp3_range *b) { in nghttp3_range_intersect()
36 nghttp3_range r = {0, 0}; in nghttp3_range_intersect()
45 uint64_t nghttp3_range_len(const nghttp3_range *r) { return r->end - r->begin; } in nghttp3_range_len()
47 int nghttp3_range_eq(const nghttp3_range *a, const nghttp3_range *b) { in nghttp3_range_eq()
51 void nghttp3_range_cut(nghttp3_range *left, nghttp3_range *right, in nghttp3_range_cut()
52 const nghttp3_range *a, const nghttp3_range *b) { in nghttp3_range_cut()
60 int nghttp3_range_not_after(const nghttp3_range *a, const nghttp3_range *b) { in nghttp3_range_not_after()
Dnghttp3_gaptr.c32 nghttp3_ksl_init(&gaptr->gap, nghttp3_ksl_range_compar, sizeof(nghttp3_range), in nghttp3_gaptr_init()
39 nghttp3_range range = {0, UINT64_MAX}; in gaptr_gap_init()
61 nghttp3_range k, m, l, r, q = {offset, offset + datalen}; in nghttp3_gaptr_push()
75 k = *(nghttp3_range *)nghttp3_ksl_it_key(&it); in nghttp3_gaptr_push()
105 nghttp3_range r; in nghttp3_gaptr_first_gap_offset()
112 r = *(nghttp3_range *)nghttp3_ksl_it_key(&it); in nghttp3_gaptr_first_gap_offset()
117 nghttp3_range nghttp3_gaptr_get_first_gap_after(nghttp3_gaptr *gaptr, in nghttp3_gaptr_get_first_gap_after()
119 nghttp3_range q = {offset, offset + 1}; in nghttp3_gaptr_get_first_gap_after()
123 nghttp3_range r = {0, UINT64_MAX}; in nghttp3_gaptr_get_first_gap_after()
132 return *(nghttp3_range *)nghttp3_ksl_it_key(&it); in nghttp3_gaptr_get_first_gap_after()
[all …]
Dnghttp3_gaptr.h82 nghttp3_range nghttp3_gaptr_get_first_gap_after(nghttp3_gaptr *gaptr,
Dnghttp3_ksl.c818 const nghttp3_range *a = lhs, *b = rhs; in nghttp3_ksl_range_compar()
824 const nghttp3_range *a = lhs, *b = rhs; in nghttp3_ksl_range_exclusive_compar()
/third_party/node/deps/ngtcp2/
Dngtcp2.gyp72 'nghttp3/lib/nghttp3_range.c',