Home | History | Annotate | Download | only in src

Lines Matching refs:SHIFT

42 template <typename mask_t, unsigned int shift>
57 ASSERT_STATIC (shift < sizeof (hb_codepoint_t) * 8);
58 ASSERT_STATIC (shift + num_bits <= sizeof (hb_codepoint_t) * 8);
69 if ((b >> shift) - (a >> shift) >= mask_bits - 1)
85 return ((mask_t) 1) << ((g >> shift) & (mask_bits - 1));
322 static const unsigned int SHIFT = 5;
323 static const unsigned int BITS = (1 << SHIFT);
328 elt_t &elt (hb_codepoint_t g) { return elts[g >> SHIFT]; }
329 elt_t elt (hb_codepoint_t g) const { return elts[g >> SHIFT]; }