Lines Matching refs:mask
138 char32_t mask, to_ignore_mask; in utf32_at_internal() local
141 for (num_to_read = 1, mask = 0x40, to_ignore_mask = 0xFFFFFF80; in utf32_at_internal()
142 (first_char & mask); in utf32_at_internal()
143 num_to_read++, to_ignore_mask |= mask, mask >>= 1) { in utf32_at_internal()
147 to_ignore_mask |= mask; in utf32_at_internal()
381 int32_t mask, to_ignore_mask; in utf8_length() local
384 for (num_to_read = 1, mask = 0x40, to_ignore_mask = 0x80; in utf8_length()
385 num_to_read < 5 && (first_char & mask); in utf8_length()
386 num_to_read++, to_ignore_mask |= mask, mask >>= 1) { in utf8_length()
397 to_ignore_mask |= mask; in utf8_length()
466 int32_t mask; in utf8_to_utf32_length() local
468 for (mask = 0x40; (first_char & mask); num_to_skip++, mask >>= 1) { in utf8_to_utf32_length()