• Home
  • Raw
  • Download

Lines Matching defs:hb_set_t

41 struct hb_set_t  struct
44 hb_set_t () { init (); } in hb_set_t() argument
45 ~hb_set_t () { fini (); } in ~hb_set_t() argument
47 struct page_map_t
55 struct page_t
192 hb_object_header_t header;
193 bool successful; /* Allocations successful */
194 mutable unsigned int population;
195 hb_sorted_vector_t<page_map_t> page_map;
196 hb_vector_t<page_t> pages;
198 void init_shallow () in init_shallow()
205 void init () in init()
210 void fini_shallow () in fini_shallow()
216 void fini () in fini()
222 bool in_error () const { return !successful; } in in_error()
224 bool resize (unsigned int count) in resize()
236 void reset () in reset()
244 void clear () in clear()
252 bool is_empty () const in is_empty()
261 void dirty () { population = (unsigned int) -1; } in dirty()
263 void add (hb_codepoint_t g) in add()
271 bool add_range (hb_codepoint_t a, hb_codepoint_t b) in add_range()
301 void add_array (const T *array, unsigned int count, unsigned int stride=sizeof(T)) in add_array()
327 bool add_sorted_array (const T *array, unsigned int count, unsigned int stride=sizeof(T)) in add_sorted_array()
355 void del (hb_codepoint_t g) in del()
365 void del_range (hb_codepoint_t a, hb_codepoint_t b) in del_range()
390 hb_set_t& operator << (hb_codepoint_t v) { add (v); return *this; } in operator <<() argument
397 void set (const hb_set_t *other) in set() argument
408 bool is_equal (const hb_set_t *other) const in is_equal() argument
435 bool is_subset (const hb_set_t *larger_set) const in is_subset() argument
450 void process (const Op& op, const hb_set_t *other) in process() argument
548 void union_ (const hb_set_t *other) in union_() argument
552 void intersect (const hb_set_t *other) in intersect() argument
556 void subtract (const hb_set_t *other) in subtract() argument
560 void symmetric_difference (const hb_set_t *other) in symmetric_difference() argument
564 bool next (hb_codepoint_t *codepoint) const in next()
595 bool previous (hb_codepoint_t *codepoint) const in previous()
626 bool next_range (hb_codepoint_t *first, hb_codepoint_t *last) const in next_range()
644 bool previous_range (hb_codepoint_t *first, hb_codepoint_t *last) const in previous_range()
663 unsigned int get_population () const in get_population()
676 hb_codepoint_t get_min () const in get_min()
701 iter_t (const hb_set_t &s_ = Null(hb_set_t)) : in iter_t() argument
719 iter_t iter () const { return iter_t (*this); } in iter()
720 operator iter_t () const { return iter (); } in operator iter_t()
724 page_t *page_for_insert (hb_codepoint_t g) in page_for_insert()
741 page_t *page_for (hb_codepoint_t g) in page_for()
749 const page_t *page_for (hb_codepoint_t g) const in page_for()
757 page_t &page_at (unsigned int i) { return pages[page_map[i].index]; } in page_at()
758 const page_t &page_at (unsigned int i) const { return pages[page_map[i].index]; } in page_at()
759 unsigned int get_major (hb_codepoint_t g) const { return g / page_t::PAGE_BITS; } in get_major()
760 hb_codepoint_t major_start (unsigned int major) const { return major * page_t::PAGE_BITS; } in major_start()