Home
last modified time | relevance | path

Searched refs:hb_in_range (Results 1 – 17 of 17) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-utf.hh53 if (hb_in_range<hb_codepoint_t> (c, 0xC2u, 0xDFu)) /* Two-byte */ in next()
65 else if (hb_in_range<hb_codepoint_t> (c, 0xE0u, 0xEFu)) /* Three-byte */ in next()
73 if (unlikely (c < 0x0800u || hb_in_range<hb_codepoint_t> (c, 0xD800u, 0xDFFFu))) in next()
80 else if (hb_in_range<hb_codepoint_t> (c, 0xF0u, 0xF4u)) /* Four-byte */ in next()
89 if (unlikely (!hb_in_range<hb_codepoint_t> (c, 0x10000u, 0x10FFFFu))) in next()
194 if (likely (!hb_in_range<hb_codepoint_t> (c, 0xD800u, 0xDFFFu))) in next()
204 if (likely (hb_in_range<hb_codepoint_t> (l, 0xDC00u, 0xDFFFu))) in next()
226 if (likely (!hb_in_range<hb_codepoint_t> (c, 0xD800u, 0xDFFFu))) in prev()
236 if (likely (hb_in_range<hb_codepoint_t> (h, 0xD800u, 0xDBFFu))) in prev()
Dhb-unicode.hh179 case 0x17: return hb_in_range<hb_codepoint_t> (ch, 0x17B4u, 0x17B5u); in is_default_ignorable()
180 case 0x18: return hb_in_range<hb_codepoint_t> (ch, 0x180Bu, 0x180Eu); in is_default_ignorable()
184 case 0xFE: return hb_in_range<hb_codepoint_t> (ch, 0xFE00u, 0xFE0Fu) || ch == 0xFEFFu; in is_default_ignorable()
185 case 0xFF: return hb_in_range<hb_codepoint_t> (ch, 0xFFF0u, 0xFFF8u); in is_default_ignorable()
193 case 0x01: return hb_in_range<hb_codepoint_t> (ch, 0x1D173u, 0x1D17Au); in is_default_ignorable()
194 case 0x0E: return hb_in_range<hb_codepoint_t> (ch, 0xE0000u, 0xE0FFFu); in is_default_ignorable()
Dhb-ot-shape-complex-thai.cc55 if (hb_in_range<hb_codepoint_t> (u, 0x0E01u, 0x0E2Eu)) in get_consonant_type()
73 if (u == 0x0E31u || hb_in_range<hb_codepoint_t> (u, 0x0E34u, 0x0E37u) || in get_mark_type()
74 u == 0x0E47u || hb_in_range<hb_codepoint_t> (u, 0x0E4Du, 0x0E4Eu)) in get_mark_type()
76 if (hb_in_range<hb_codepoint_t> (u, 0x0E38u, 0x0E3Au)) in get_mark_type()
78 if (hb_in_range<hb_codepoint_t> (u, 0x0E48u, 0x0E4Cu)) in get_mark_type()
Dhb-ot-shape-complex-hangul.cc106 #define isCombiningL(u) (hb_in_range<hb_codepoint_t> ((u), LBase, LBase+LCount-1))
107 #define isCombiningV(u) (hb_in_range<hb_codepoint_t> ((u), VBase, VBase+VCount-1))
108 #define isCombiningT(u) (hb_in_range<hb_codepoint_t> ((u), TBase+1, TBase+TCount-1))
109 #define isCombinedS(u) (hb_in_range<hb_codepoint_t> ((u), SBase, SBase+SCount-1))
115 #define isHangulTone(u) (hb_in_range<hb_codepoint_t> ((u), 0x302Eu, 0x302Fu))
Dhb-ot-shape-complex-arabic-table.hh166 …if (hb_in_range<hb_codepoint_t> (u, 0x0600u, 0x08E2u)) return joining_table[u - 0x0600u + joining_… in joining_type()
170 …if (hb_in_range<hb_codepoint_t> (u, 0x1806u, 0x18AAu)) return joining_table[u - 0x1806u + joining_… in joining_type()
174 …if (hb_in_range<hb_codepoint_t> (u, 0x200Cu, 0x2069u)) return joining_table[u - 0x200Cu + joining_… in joining_type()
178 …if (hb_in_range<hb_codepoint_t> (u, 0xA840u, 0xA873u)) return joining_table[u - 0xA840u + joining_… in joining_type()
182 …if (hb_in_range<hb_codepoint_t> (u, 0x10AC0u, 0x10AEFu)) return joining_table[u - 0x10AC0u + joini… in joining_type()
183 …if (hb_in_range<hb_codepoint_t> (u, 0x10B80u, 0x10BAFu)) return joining_table[u - 0x10B80u + joini… in joining_type()
184 …if (hb_in_range<hb_codepoint_t> (u, 0x10D00u, 0x10D23u)) return joining_table[u - 0x10D00u + joini… in joining_type()
185 …if (hb_in_range<hb_codepoint_t> (u, 0x10F30u, 0x10F54u)) return joining_table[u - 0x10F30u + joini… in joining_type()
189 …if (hb_in_range<hb_codepoint_t> (u, 0x110BDu, 0x110CDu)) return joining_table[u - 0x110BDu + joini… in joining_type()
193 …if (hb_in_range<hb_codepoint_t> (u, 0x1E900u, 0x1E943u)) return joining_table[u - 0x1E900u + joini… in joining_type()
Dhb-ot-shape-complex-use-table.cc742 …if (hb_in_range<hb_codepoint_t> (u, 0x0028u, 0x003Fu)) return use_table[u - 0x0028u + use_offset_0… in hb_use_get_category()
743 …if (hb_in_range<hb_codepoint_t> (u, 0x00A0u, 0x00D7u)) return use_table[u - 0x00A0u + use_offset_0… in hb_use_get_category()
744 …if (hb_in_range<hb_codepoint_t> (u, 0x0348u, 0x034Fu)) return use_table[u - 0x0348u + use_offset_0… in hb_use_get_category()
745 …if (hb_in_range<hb_codepoint_t> (u, 0x0900u, 0x0DF7u)) return use_table[u - 0x0900u + use_offset_0… in hb_use_get_category()
746 …if (hb_in_range<hb_codepoint_t> (u, 0x0F18u, 0x0FC7u)) return use_table[u - 0x0F18u + use_offset_0… in hb_use_get_category()
750 …if (hb_in_range<hb_codepoint_t> (u, 0x1000u, 0x109Fu)) return use_table[u - 0x1000u + use_offset_0… in hb_use_get_category()
751 …if (hb_in_range<hb_codepoint_t> (u, 0x1700u, 0x17EFu)) return use_table[u - 0x1700u + use_offset_0… in hb_use_get_category()
752 …if (hb_in_range<hb_codepoint_t> (u, 0x1900u, 0x1A9Fu)) return use_table[u - 0x1900u + use_offset_0… in hb_use_get_category()
753 …if (hb_in_range<hb_codepoint_t> (u, 0x1B00u, 0x1C4Fu)) return use_table[u - 0x1B00u + use_offset_0… in hb_use_get_category()
754 …if (hb_in_range<hb_codepoint_t> (u, 0x1CD0u, 0x1CFFu)) return use_table[u - 0x1CD0u + use_offset_0… in hb_use_get_category()
[all …]
Dhb-dsalgs.hh320 hb_in_range (T u, T lo, T hi) in hb_in_range() function
336 return hb_in_range (u, lo1, hi1) || hb_in_range (u, lo2, hi2); in hb_in_ranges()
341 return hb_in_range (u, lo1, hi1) || hb_in_range (u, lo2, hi2) || hb_in_range (u, lo3, hi3); in hb_in_ranges()
Dhb-ot-shape-complex-indic.hh327 if (unlikely (hb_in_range<hb_codepoint_t> (u, 0x0953u, 0x0954u))) in set_indic_properties()
335 else if (unlikely (hb_in_range<hb_codepoint_t> (u, 0x1CE2u, 0x1CE8u))) in set_indic_properties()
366 else if (unlikely (hb_in_range<hb_codepoint_t> (u, 0x2010u, 0x2011u))) in set_indic_properties()
Dhb-ot-shape-complex-arabic.cc96 #define FEATURE_IS_SYRIAC(tag) hb_in_range<unsigned char> ((unsigned char) (tag), '2', '3')
351 if (unlikely (hb_in_range<hb_codepoint_t> (info[i].codepoint, 0x180Bu, 0x180Du))) in mongolian_variation_selectors()
470 if (!hb_in_range<unsigned> (info[i - 1].arabic_shaping_action(), STCH_FIXED, STCH_REPEATING)) in apply_stch()
491 hb_in_range<unsigned> (info[i - 1].arabic_shaping_action(), STCH_FIXED, STCH_REPEATING)) in apply_stch()
509 … !hb_in_range<unsigned> (info[context - 1].arabic_shaping_action(), STCH_FIXED, STCH_REPEATING) && in apply_stch()
Dhb-ot-shape-complex-myanmar.hh73 if (unlikely (hb_in_range<hb_codepoint_t> (u, 0xFE00u, 0xFE0Fu))) in set_myanmar_properties()
Dhb-ot-layout.hh235 else if (unlikely (hb_in_range (u, 0x180Bu, 0x180Du))) props |= UPROPS_MASK_HIDDEN; in _hb_glyph_info_set_unicode_props()
238 else if (unlikely (hb_in_range (u, 0xE0020u, 0xE007Fu))) props |= UPROPS_MASK_HIDDEN; in _hb_glyph_info_set_unicode_props()
Dhb-ot-shape-complex-indic-table.cc405 …if (hb_in_range<hb_codepoint_t> (u, 0x0028u, 0x003Fu)) return indic_table[u - 0x0028u + indic_offs… in hb_indic_get_categories()
406 …if (hb_in_range<hb_codepoint_t> (u, 0x00B0u, 0x00D7u)) return indic_table[u - 0x00B0u + indic_offs… in hb_indic_get_categories()
407 …if (hb_in_range<hb_codepoint_t> (u, 0x0900u, 0x0DF7u)) return indic_table[u - 0x0900u + indic_offs… in hb_indic_get_categories()
411 …if (hb_in_range<hb_codepoint_t> (u, 0x1000u, 0x109Fu)) return indic_table[u - 0x1000u + indic_offs… in hb_indic_get_categories()
412 …if (hb_in_range<hb_codepoint_t> (u, 0x1780u, 0x17EFu)) return indic_table[u - 0x1780u + indic_offs… in hb_indic_get_categories()
413 …if (hb_in_range<hb_codepoint_t> (u, 0x1CD0u, 0x1CFFu)) return indic_table[u - 0x1CD0u + indic_offs… in hb_indic_get_categories()
418 …if (hb_in_range<hb_codepoint_t> (u, 0x2008u, 0x2017u)) return indic_table[u - 0x2008u + indic_offs… in hb_indic_get_categories()
419 …if (hb_in_range<hb_codepoint_t> (u, 0x2070u, 0x2087u)) return indic_table[u - 0x2070u + indic_offs… in hb_indic_get_categories()
423 …if (hb_in_range<hb_codepoint_t> (u, 0xA8E0u, 0xA8FFu)) return indic_table[u - 0xA8E0u + indic_offs… in hb_indic_get_categories()
424 …if (hb_in_range<hb_codepoint_t> (u, 0xA9E0u, 0xA9FFu)) return indic_table[u - 0xA9E0u + indic_offs… in hb_indic_get_categories()
[all …]
Dhb-coretext.cc643 if (hb_in_range (c, 0x10000u, 0x10FFFFu)) in _hb_coretext_shape()
929 if (hb_in_range<UniChar> (ch, 0xDC00u, 0xDFFFu) && range.location < j) in _hb_coretext_shape()
932 if (hb_in_range<UniChar> (ch, 0xD800u, 0xDBFFu)) in _hb_coretext_shape()
Dhb-directwrite.cc565 if (hb_in_range (c, 0x10000u, 0x10FFFFu)) in _hb_directwrite_shape_full()
Dhb-uniscribe.cc766 if (hb_in_range (c, 0x10000u, 0x10FFFFu)) in _hb_uniscribe_shape()
Dhb-ot-shape.cc416 hb_in_range<hb_codepoint_t> (info[i].codepoint, 0x1F3FBu, 0x1F3FFu))) in hb_set_unicode_props()
Dhb-ot-shape-complex-indic.cc1558 if ((ab == 0x0DDAu || hb_in_range<hb_codepoint_t> (ab, 0x0DDCu, 0x0DDEu))) in decompose_indic()