Home
last modified time | relevance | path

Searched refs:hb_codepoint_t (Results 1 – 25 of 138) sorted by relevance

123456

/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-utf.hh42 hb_codepoint_t *unicode, in next()
43 hb_codepoint_t replacement) in next()
49 hb_codepoint_t c = *text++; in next()
53 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()
111 hb_codepoint_t *unicode, in prev()
112 hb_codepoint_t replacement) in prev()
[all …]
Dhb-bimap.hh58 void set (hb_codepoint_t lhs, hb_codepoint_t rhs) in set()
71 hb_codepoint_t get (hb_codepoint_t lhs) const { return forw_map.get (lhs); } in get()
72 hb_codepoint_t backward (hb_codepoint_t rhs) const { return back_map.get (rhs); } in backward()
74 hb_codepoint_t operator [] (hb_codepoint_t lhs) const { return get (lhs); } in operator []()
75 …bool has (hb_codepoint_t lhs, hb_codepoint_t *vp = nullptr) const { return forw_map.has (lhs, vp);… in has()
77 void del (hb_codepoint_t lhs) in del()
104 hb_codepoint_t add (hb_codepoint_t lhs) in add()
106 hb_codepoint_t rhs = forw_map[lhs]; in add()
115 hb_codepoint_t skip () in skip()
118 hb_codepoint_t get_next_value () const in get_next_value()
[all …]
Dhb-unicode.hh59 HB_UNICODE_FUNC_IMPLEMENT (hb_codepoint_t, mirroring) \
70 return_type name (hb_codepoint_t unicode) { return func.name (this, unicode, user_data.name); }
74 hb_bool_t compose (hb_codepoint_t a, hb_codepoint_t b, in compose()
75 hb_codepoint_t *ab) in compose()
82 hb_bool_t decompose (hb_codepoint_t ab, in decompose()
83 hb_codepoint_t *a, hb_codepoint_t *b) in decompose()
89 unsigned int decompose_compatibility (hb_codepoint_t u, in decompose_compatibility()
90 hb_codepoint_t *decomposed) in decompose_compatibility()
106 modified_combining_class (hb_codepoint_t u) in modified_combining_class()
122 is_variation_selector (hb_codepoint_t unicode) in is_variation_selector()
[all …]
Dhb-font.h205 hb_codepoint_t unicode,
206 hb_codepoint_t *glyph,
228 hb_codepoint_t unicode, hb_codepoint_t variation_selector,
229 hb_codepoint_t *glyph,
255 const hb_codepoint_t *first_unicode,
257 hb_codepoint_t *first_glyph,
277 hb_codepoint_t glyph,
322 const hb_codepoint_t *first_glyph,
369 hb_codepoint_t glyph,
410 hb_codepoint_t first_glyph, hb_codepoint_t second_glyph,
[all …]
Dhb-set.hh50 hb_sparseset_t (std::initializer_list<hb_codepoint_t> lst) : hb_sparseset_t () in hb_sparseset_t()
85 void add (hb_codepoint_t g) { s.add (g); } in add()
86 bool add_range (hb_codepoint_t a, hb_codepoint_t b) { return s.add_range (a, b); } in add_range()
102 void del (hb_codepoint_t g) { s.del (g); } in del()
103 void del_range (hb_codepoint_t a, hb_codepoint_t b) { s.del_range (a, b); } in del_range()
105 bool get (hb_codepoint_t g) const { return s.get (g); } in get()
110 value_t operator [] (hb_codepoint_t k) const { return get (k); } in operator []()
111 bool has (hb_codepoint_t k) const { return (*this)[k] != SENTINEL; } in has()
113 bool operator () (hb_codepoint_t k) const { return has (k); } in operator ()()
116 hb_sparseset_t& operator << (hb_codepoint_t v) in operator <<()
[all …]
Dhb-bit-set-invertible.hh78 hb_codepoint_t v = INVALID; in is_empty()
82 hb_codepoint_t get_min () const in get_min()
84 hb_codepoint_t v = INVALID; in get_min()
88 hb_codepoint_t get_max () const in get_max()
90 hb_codepoint_t v = INVALID; in get_max()
98 void add (hb_codepoint_t g) { unlikely (inverted) ? s.del (g) : s.add (g); } in add()
99 bool add_range (hb_codepoint_t a, hb_codepoint_t b) in add_range()
116 void del (hb_codepoint_t g) { unlikely (inverted) ? s.add (g) : s.del (g); } in del()
117 void del_range (hb_codepoint_t a, hb_codepoint_t b) in del_range()
120 bool get (hb_codepoint_t g) const { return s.get (g) ^ inverted; } in get()
[all …]
Dhb-unicode.h355 hb_codepoint_t unicode,
373 hb_codepoint_t unicode,
394 typedef hb_codepoint_t (*hb_unicode_mirroring_func_t) (hb_unicode_funcs_t *ufuncs,
395 hb_codepoint_t unicode,
413 hb_codepoint_t unicode,
436 hb_codepoint_t a,
437 hb_codepoint_t b,
438 hb_codepoint_t *ab,
460 hb_codepoint_t ab,
461 hb_codepoint_t *a,
[all …]
Dhb-unicode.cc62 hb_codepoint_t unicode HB_UNUSED, in hb_unicode_combining_class_nil()
71 hb_codepoint_t unicode HB_UNUSED, in hb_unicode_eastasian_width_nil()
80 hb_codepoint_t unicode HB_UNUSED, in hb_unicode_general_category_nil()
86 static hb_codepoint_t
88 hb_codepoint_t unicode, in hb_unicode_mirroring_nil()
96 hb_codepoint_t unicode HB_UNUSED, in hb_unicode_script_nil()
104 hb_codepoint_t a HB_UNUSED, in hb_unicode_compose_nil()
105 hb_codepoint_t b HB_UNUSED, in hb_unicode_compose_nil()
106 hb_codepoint_t *ab HB_UNUSED, in hb_unicode_compose_nil()
114 hb_codepoint_t ab HB_UNUSED, in hb_unicode_decompose_nil()
[all …]
Dhb-font.cc120 hb_codepoint_t unicode HB_UNUSED, in hb_font_get_nominal_glyph_nil()
121 hb_codepoint_t *glyph, in hb_font_get_nominal_glyph_nil()
131 hb_codepoint_t unicode, in hb_font_get_nominal_glyph_default()
132 hb_codepoint_t *glyph, in hb_font_get_nominal_glyph_default()
148 const hb_codepoint_t *first_unicode, in hb_font_get_nominal_glyphs_default()
150 hb_codepoint_t *first_glyph, in hb_font_get_nominal_glyphs_default()
161 first_unicode = &StructAtOffsetUnaligned<hb_codepoint_t> (first_unicode, unicode_stride); in hb_font_get_nominal_glyphs_default()
162 first_glyph = &StructAtOffsetUnaligned<hb_codepoint_t> (first_glyph, glyph_stride); in hb_font_get_nominal_glyphs_default()
175 hb_codepoint_t unicode HB_UNUSED, in hb_font_get_variation_glyph_nil()
176 hb_codepoint_t variation_selector HB_UNUSED, in hb_font_get_variation_glyph_nil()
[all …]
Dhb-ot-cmap-table.hh44 bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const in get_glyph()
46 hb_codepoint_t gid = codepoint < 256 ? glyphIdArray[codepoint] : 0; in get_glyph()
71 hb_codepoint_t glyph = glyphIdArray[i]; in collect_mapping()
102 hb_codepoint_t prev_endcp = 0xFFFF; in serialize_endcode_array()
138 hb_codepoint_t prev_cp = 0xFFFF; in serialize_startcode_array()
172 hb_codepoint_t last_gid = 0, start_gid = 0, last_cp = 0xFFFF; in serialize_idDelta_array()
221 hb_hashmap_t<hb_codepoint_t, hb_codepoint_t> cp_to_gid; in serialize_rangeoffset_glyid()
232 for (hb_codepoint_t cp = startCode[i]; cp <= endCode[i]; cp++) in serialize_rangeoffset_glyid()
250 | hb_filter ([&] (const hb_pair_t<hb_codepoint_t, hb_codepoint_t> _) in serialize()
322 bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const in get_glyph()
[all …]
Dhb-font.hh213 bool has_glyph (hb_codepoint_t unicode) in has_glyph()
215 hb_codepoint_t glyph; in has_glyph()
219 hb_bool_t get_nominal_glyph (hb_codepoint_t unicode, in get_nominal_glyph()
220 hb_codepoint_t *glyph, in get_nominal_glyph()
221 hb_codepoint_t not_found = 0) in get_nominal_glyph()
229 const hb_codepoint_t *first_unicode, in get_nominal_glyphs()
231 hb_codepoint_t *first_glyph, in get_nominal_glyphs()
241 hb_bool_t get_variation_glyph (hb_codepoint_t unicode, hb_codepoint_t variation_selector, in get_variation_glyph()
242 hb_codepoint_t *glyph, in get_variation_glyph()
243 hb_codepoint_t not_found = 0) in get_variation_glyph()
[all …]
Dhb-set.h46 #define HB_SET_VALUE_INVALID ((hb_codepoint_t) -1)
102 hb_codepoint_t codepoint);
106 hb_codepoint_t codepoint);
110 hb_codepoint_t first,
111 hb_codepoint_t last);
115 hb_codepoint_t codepoint);
119 hb_codepoint_t first,
120 hb_codepoint_t last);
154 HB_EXTERN hb_codepoint_t
158 HB_EXTERN hb_codepoint_t
[all …]
Dhb-ot-cff1-table.cc216 hb_codepoint_t OT::cff1::lookup_standard_encoding_for_code (hb_codepoint_t sid) in lookup_standard_encoding_for_code()
219 return (hb_codepoint_t)standard_encoding_to_code[sid]; in lookup_standard_encoding_for_code()
224 hb_codepoint_t OT::cff1::lookup_expert_encoding_for_code (hb_codepoint_t sid) in lookup_expert_encoding_for_code()
227 return (hb_codepoint_t)expert_encoding_to_code[sid]; in lookup_expert_encoding_for_code()
232 hb_codepoint_t OT::cff1::lookup_expert_charset_for_sid (hb_codepoint_t glyph) in lookup_expert_charset_for_sid()
235 return (hb_codepoint_t)expert_charset_to_sid[glyph]; in lookup_expert_charset_for_sid()
240 hb_codepoint_t OT::cff1::lookup_expert_subset_charset_for_sid (hb_codepoint_t glyph) in lookup_expert_subset_charset_for_sid()
243 return (hb_codepoint_t)expert_subset_charset_to_sid[glyph]; in lookup_expert_subset_charset_for_sid()
248 hb_codepoint_t OT::cff1::lookup_expert_charset_for_glyph (hb_codepoint_t sid) in lookup_expert_charset_for_glyph()
254 hb_codepoint_t OT::cff1::lookup_expert_subset_charset_for_glyph (hb_codepoint_t sid) in lookup_expert_subset_charset_for_glyph()
[all …]
Dhb-bit-page.hh49 void add (hb_codepoint_t g) { elt (g) |= mask (g); } in add()
50 void del (hb_codepoint_t g) { elt (g) &= ~mask (g); } in del()
51 void set (hb_codepoint_t g, bool v) { if (v) add (g); else del (g); } in set()
52 bool get (hb_codepoint_t g) const { return elt (g) & mask (g); } in get()
54 void add_range (hb_codepoint_t a, hb_codepoint_t b) in add_range()
70 void del_range (hb_codepoint_t a, hb_codepoint_t b) in del_range()
86 void set_range (hb_codepoint_t a, hb_codepoint_t b, bool v) in set_range()
109 bool next (hb_codepoint_t *codepoint) const in next()
131 bool previous (hb_codepoint_t *codepoint) const in previous()
162 hb_codepoint_t get_min () const in get_min()
[all …]
Dhb-ucd.cc25 hb_codepoint_t unicode, in hb_ucd_combining_class()
33 hb_codepoint_t unicode, in hb_ucd_general_category()
39 static hb_codepoint_t
41 hb_codepoint_t unicode, in hb_ucd_mirroring()
49 hb_codepoint_t unicode, in hb_ucd_script()
67 _hb_ucd_decompose_hangul (hb_codepoint_t ab, hb_codepoint_t *a, hb_codepoint_t *b) in _hb_ucd_decompose_hangul()
89 _hb_ucd_compose_hangul (hb_codepoint_t a, hb_codepoint_t b, hb_codepoint_t *ab) in _hb_ucd_compose_hangul()
129 hb_codepoint_t a, hb_codepoint_t b, hb_codepoint_t *ab, in hb_ucd_compose()
134 hb_codepoint_t u = 0; in hb_ucd_compose()
166 hb_codepoint_t ab, hb_codepoint_t *a, hb_codepoint_t *b, in hb_ucd_decompose()
Dhb-set.cc237 hb_codepoint_t codepoint) in hb_set_has()
253 hb_codepoint_t codepoint) in hb_set_add()
272 hb_codepoint_t first, in hb_set_add_range()
273 hb_codepoint_t last) in hb_set_add_range()
290 hb_codepoint_t codepoint) in hb_set_del()
312 hb_codepoint_t first, in hb_set_del_range()
313 hb_codepoint_t last) in hb_set_del_range()
483 hb_codepoint_t
499 hb_codepoint_t
521 hb_codepoint_t *codepoint) in hb_set_next()
[all …]
Dhb-deprecated.h101 hb_codepoint_t unicode, hb_codepoint_t variation_selector,
102 hb_codepoint_t *glyph,
121 hb_codepoint_t unicode,
153 hb_codepoint_t unicode);
177 hb_codepoint_t u,
178 hb_codepoint_t *decomposed,
211 hb_codepoint_t u,
212 hb_codepoint_t *decomposed);
245 hb_codepoint_t top_glyph, hb_codepoint_t bottom_glyph);
Dhb-ot-cff1-table.hh70 hb_codepoint_t get_code (hb_codepoint_t glyph) const in get_code()
76 return (hb_codepoint_t)codes[glyph]; in get_code()
110 hb_codepoint_t get_code (hb_codepoint_t glyph) const in get_code()
118 hb_codepoint_t code = (hb_codepoint_t) ranges[i].first + glyph; in get_code()
154 void get_codes (hb_codepoint_t sid, hb_vector_t<hb_codepoint_t> &codes) const in get_codes()
202 hb_codepoint_t code = code_ranges[i].code; in serialize()
256 hb_codepoint_t get_code (hb_codepoint_t glyph) const in get_code()
269 void get_supplement_codes (hb_codepoint_t sid, hb_vector_t<hb_codepoint_t> &codes) const in get_supplement_codes()
321 hb_codepoint_t get_sid (hb_codepoint_t glyph) const in get_sid()
329 hb_codepoint_t get_glyph (hb_codepoint_t sid, unsigned int num_glyphs) const in get_glyph()
[all …]
Dhb-bit-set.hh126 void add (hb_codepoint_t g) in add()
134 bool add_range (hb_codepoint_t a, hb_codepoint_t b) in add_range()
169 hb_codepoint_t g = *array; in set_array()
208 hb_codepoint_t g = *array; in set_sorted_array()
209 hb_codepoint_t last_g = g; in set_sorted_array()
245 void del (hb_codepoint_t g) in del()
279 void del_range (hb_codepoint_t a, hb_codepoint_t b) in del_range()
309 bool get (hb_codepoint_t g) const in get()
320 value_t operator [] (hb_codepoint_t k) const { return get (k); } in operator []()
321 bool has (hb_codepoint_t k) const { return (*this)[k] != SENTINEL; } in has()
[all …]
Dhb-ot-shape-complex-hangul.cc110 #define isCombiningL(u) (hb_in_range<hb_codepoint_t> ((u), LBase, LBase+LCount-1))
111 #define isCombiningV(u) (hb_in_range<hb_codepoint_t> ((u), VBase, VBase+VCount-1))
112 #define isCombiningT(u) (hb_in_range<hb_codepoint_t> ((u), TBase+1, TBase+TCount-1))
113 #define isCombinedS(u) (hb_in_range<hb_codepoint_t> ((u), SBase, SBase+SCount-1))
115 #define isL(u) (hb_in_ranges<hb_codepoint_t> ((u), 0x1100u, 0x115Fu, 0xA960u, 0xA97Cu))
116 #define isV(u) (hb_in_ranges<hb_codepoint_t> ((u), 0x1160u, 0x11A7u, 0xD7B0u, 0xD7C6u))
117 #define isT(u) (hb_in_ranges<hb_codepoint_t> ((u), 0x11A8u, 0x11FFu, 0xD7CBu, 0xD7FBu))
119 #define isHangulTone(u) (hb_in_range<hb_codepoint_t> ((u), 0x302Eu, 0x302Fu))
126 hb_codepoint_t unicode) in is_zero_width_char()
128 hb_codepoint_t glyph; in is_zero_width_char()
[all …]
Dhb-ot-font.cc65 hb_codepoint_t unicode, in hb_ot_get_nominal_glyph()
66 hb_codepoint_t *glyph, in hb_ot_get_nominal_glyph()
77 const hb_codepoint_t *first_unicode, in hb_ot_get_nominal_glyphs()
79 hb_codepoint_t *first_glyph, in hb_ot_get_nominal_glyphs()
92 hb_codepoint_t unicode, in hb_ot_get_variation_glyph()
93 hb_codepoint_t variation_selector, in hb_ot_get_variation_glyph()
94 hb_codepoint_t *glyph, in hb_ot_get_variation_glyph()
104 const hb_codepoint_t *first_glyph, in hb_ot_get_glyph_h_advances()
116 first_glyph = &StructAtOffsetUnaligned<hb_codepoint_t> (first_glyph, glyph_stride); in hb_ot_get_glyph_h_advances()
124 const hb_codepoint_t *first_glyph, in hb_ot_get_glyph_v_advances()
[all …]
Dhb-subset-plan.hh146 inline bool is_empty_glyph (hb_codepoint_t gid) const in is_empty_glyph()
151 inline bool new_gid_for_codepoint (hb_codepoint_t codepoint, in new_gid_for_codepoint()
152 hb_codepoint_t *new_gid) const in new_gid_for_codepoint()
154 hb_codepoint_t old_gid = codepoint_to_glyph->get (codepoint); in new_gid_for_codepoint()
161 inline bool new_gid_for_old_gid (hb_codepoint_t old_gid, in new_gid_for_old_gid()
162 hb_codepoint_t *new_gid) const in new_gid_for_old_gid()
164 hb_codepoint_t gid = glyph_map->get (old_gid); in new_gid_for_old_gid()
172 inline bool old_gid_for_new_gid (hb_codepoint_t new_gid, in old_gid_for_new_gid()
173 hb_codepoint_t *old_gid) const in old_gid_for_new_gid()
175 hb_codepoint_t gid = reverse_glyph_map->get (new_gid); in old_gid_for_new_gid()
Dhb-set-digest.hh61 static_assert ((shift < sizeof (hb_codepoint_t) * 8), "");
62 static_assert ((shift + num_bits <= sizeof (hb_codepoint_t) * 8), "");
66 void add (hb_codepoint_t g) { mask |= mask_for (g); } in add()
68 bool add_range (hb_codepoint_t a, hb_codepoint_t b) in add_range()
104 bool may_have (hb_codepoint_t g) const in may_have()
109 static mask_t mask_for (hb_codepoint_t g) in mask_for()
123 void add (hb_codepoint_t g) in add()
129 bool add_range (hb_codepoint_t a, hb_codepoint_t b) in add_range()
153 bool may_have (hb_codepoint_t g) const in may_have()
Dhb-glib.cc89 hb_codepoint_t unicode, in hb_glib_unicode_combining_class()
98 hb_codepoint_t unicode, in hb_glib_unicode_general_category()
106 static hb_codepoint_t
108 hb_codepoint_t unicode, in hb_glib_unicode_mirroring()
117 hb_codepoint_t unicode, in hb_glib_unicode_script()
125 hb_codepoint_t a, in hb_glib_unicode_compose()
126 hb_codepoint_t b, in hb_glib_unicode_compose()
127 hb_codepoint_t *ab, in hb_glib_unicode_compose()
162 hb_codepoint_t ab, in hb_glib_unicode_decompose()
163 hb_codepoint_t *a, in hb_glib_unicode_decompose()
[all …]
Dhb-ot-shape-complex-thai.cc51 get_consonant_type (hb_codepoint_t u) in get_consonant_type()
59 if (hb_in_range<hb_codepoint_t> (u, 0x0E01u, 0x0E2Eu)) in get_consonant_type()
75 get_mark_type (hb_codepoint_t u) in get_mark_type()
77 if (u == 0x0E31u || hb_in_range<hb_codepoint_t> (u, 0x0E34u, 0x0E37u) || in get_mark_type()
78 u == 0x0E47u || hb_in_range<hb_codepoint_t> (u, 0x0E4Du, 0x0E4Eu)) in get_mark_type()
80 if (hb_in_range<hb_codepoint_t> (u, 0x0E38u, 0x0E3Au)) in get_mark_type()
82 if (hb_in_range<hb_codepoint_t> (u, 0x0E48u, 0x0E4Cu)) in get_mark_type()
97 static hb_codepoint_t
98 thai_pua_shape (hb_codepoint_t u, thai_action_t action, hb_font_t *font) in thai_pua_shape()
101 hb_codepoint_t u; in thai_pua_shape()
[all …]

123456