< prev index next >

src/java.desktop/share/native/libfontmanager/harfbuzz/hb-set-private.hh

Print this page

        

*** 311,330 **** inline hb_codepoint_t get_min (void) const { for (unsigned int i = 0; i < ELTS; i++) if (elts[i]) for (unsigned int j = 0; j < BITS; j++) ! if (elts[i] & (1 << j)) return i * BITS + j; return INVALID; } inline hb_codepoint_t get_max (void) const { for (unsigned int i = ELTS; i; i--) if (elts[i - 1]) for (unsigned int j = BITS; j; j--) ! if (elts[i - 1] & (1 << (j - 1))) return (i - 1) * BITS + (j - 1); return INVALID; } typedef uint32_t elt_t; --- 311,330 ---- inline hb_codepoint_t get_min (void) const { for (unsigned int i = 0; i < ELTS; i++) if (elts[i]) for (unsigned int j = 0; j < BITS; j++) ! if (elts[i] & (1u << j)) return i * BITS + j; return INVALID; } inline hb_codepoint_t get_max (void) const { for (unsigned int i = ELTS; i; i--) if (elts[i - 1]) for (unsigned int j = BITS; j; j--) ! if (elts[i - 1] & (1u << (j - 1))) return (i - 1) * BITS + (j - 1); return INVALID; } typedef uint32_t elt_t;
< prev index next >