Home
last modified time | relevance | path

Searched defs:hb_bit_page_t (Results 1 – 1 of 1) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-bit-page.hh80 struct hb_bit_page_t struct
82 void init0 () { v.clear (); } in init0()
83 void init1 () { v.clear (0xFF); } in init1()
85 constexpr unsigned len () const in len()
88 bool is_empty () const in is_empty()
95 uint32_t hash () const in hash()
103 void add (hb_codepoint_t g) { elt (g) |= mask (g); } in add()
104 void del (hb_codepoint_t g) { elt (g) &= ~mask (g); } in del()
105 void set (hb_codepoint_t g, bool value) { if (value) add (g); else del (g); } in set()
106 bool get (hb_codepoint_t g) const { return elt (g) & mask (g); } in get()
[all …]