Lines Matching defs:hb_set_t

41 struct hb_set_t  struct
44 hb_set_t () { init (); } in hb_set_t() function
45 ~hb_set_t () { fini (); } in ~hb_set_t() argument
47 struct page_map_t
55 struct page_t
213 hb_object_header_t header;
214 bool successful; /* Allocations successful */
215 mutable unsigned int population;
216 hb_sorted_vector_t<page_map_t> page_map;
217 hb_vector_t<page_t> pages;
219 void init_shallow () in init_shallow()
226 void init () in init()
231 void fini_shallow () in fini_shallow()
237 void fini () in fini()
243 bool in_error () const { return !successful; } in in_error()
245 bool resize (unsigned int count) in resize()
257 void reset () in reset()
265 void clear () in clear()
273 bool is_empty () const in is_empty()
282 void dirty () { population = UINT_MAX; } in dirty()
284 void add (hb_codepoint_t g) in add()
292 bool add_range (hb_codepoint_t a, hb_codepoint_t b) in add_range()
322 void add_array (const T *array, unsigned int count, unsigned int stride=sizeof(T)) in add_array()
348 bool add_sorted_array (const T *array, unsigned int count, unsigned int stride=sizeof(T)) in add_sorted_array()
376 void del (hb_codepoint_t g) in del()
388 void del_pages (int ds, int de) in del_pages()
405 void del_range (hb_codepoint_t a, hb_codepoint_t b) in del_range()
453 hb_set_t& operator << (hb_codepoint_t v) in operator <<() argument
455 hb_set_t& operator << (const hb_pair_t<hb_codepoint_t, hb_codepoint_t>& range) in operator <<() argument
463 void set (const hb_set_t *other) in set() argument
474 bool is_equal (const hb_set_t *other) const in is_equal() argument
501 bool is_subset (const hb_set_t *larger_set) const in is_subset() argument
515 void compact (unsigned int length) in compact()
544 void process (const Op& op, const hb_set_t *other) in process() argument
661 void union_ (const hb_set_t *other) in union_() argument
665 void intersect (const hb_set_t *other) in intersect() argument
669 void subtract (const hb_set_t *other) in subtract() argument
673 void symmetric_difference (const hb_set_t *other) in symmetric_difference() argument
677 bool next (hb_codepoint_t *codepoint) const in next()
708 bool previous (hb_codepoint_t *codepoint) const in previous()
739 bool next_range (hb_codepoint_t *first, hb_codepoint_t *last) const in next_range()
757 bool previous_range (hb_codepoint_t *first, hb_codepoint_t *last) const in previous_range()
776 unsigned int get_population () const in get_population()
789 hb_codepoint_t get_min () const in get_min()
814 iter_t (const hb_set_t &s_ = Null (hb_set_t), in iter_t() argument
839 iter_t iter () const { return iter_t (*this); } in iter()
840 operator iter_t () const { return iter (); } in operator iter_t()
844 page_t *page_for_insert (hb_codepoint_t g) in page_for_insert()
861 page_t *page_for (hb_codepoint_t g) in page_for()
869 const page_t *page_for (hb_codepoint_t g) const in page_for()
877 page_t &page_at (unsigned int i) { return pages[page_map[i].index]; } in page_at()
878 const page_t &page_at (unsigned int i) const { return pages[page_map[i].index]; } in page_at()
879 unsigned int get_major (hb_codepoint_t g) const { return g / page_t::PAGE_BITS; } in get_major()
880 hb_codepoint_t major_start (unsigned int major) const { return major * page_t::PAGE_BITS; } in major_start()