Home
last modified time | relevance | path

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

123456

/external/harfbuzz_ng/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-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()
102 modified_combining_class (hb_codepoint_t u) in modified_combining_class()
121 is_variation_selector (hb_codepoint_t unicode) in is_variation_selector()
[all …]
Dhb-font.h120 hb_codepoint_t unicode,
121 hb_codepoint_t *glyph,
124 hb_codepoint_t unicode, hb_codepoint_t variation_selector,
125 hb_codepoint_t *glyph,
130 const hb_codepoint_t *first_unicode,
132 hb_codepoint_t *first_glyph,
138 hb_codepoint_t glyph,
145 const hb_codepoint_t *first_glyph,
154 hb_codepoint_t glyph,
162 hb_codepoint_t glyph,
[all …]
Dhb-unicode.h231 hb_codepoint_t unicode,
234 hb_codepoint_t unicode,
236 typedef hb_codepoint_t (*hb_unicode_mirroring_func_t) (hb_unicode_funcs_t *ufuncs,
237 hb_codepoint_t unicode,
240 hb_codepoint_t unicode,
244 hb_codepoint_t a,
245 hb_codepoint_t b,
246 hb_codepoint_t *ab,
249 hb_codepoint_t ab,
250 hb_codepoint_t *a,
[all …]
Dhb-deprecated.h62 hb_codepoint_t unicode, hb_codepoint_t variation_selector,
63 hb_codepoint_t *glyph,
80 hb_codepoint_t unicode,
108 hb_codepoint_t unicode);
132 hb_codepoint_t u,
133 hb_codepoint_t *decomposed,
164 hb_codepoint_t u,
165 hb_codepoint_t *decomposed);
169 hb_codepoint_t first_glyph, hb_codepoint_t second_glyph,
210 hb_codepoint_t left_glyph, hb_codepoint_t right_glyph);
[all …]
Dhb-unicode.cc57 hb_codepoint_t unicode HB_UNUSED, in hb_unicode_combining_class_nil()
65 hb_codepoint_t unicode HB_UNUSED, in hb_unicode_eastasian_width_nil()
73 hb_codepoint_t unicode HB_UNUSED, in hb_unicode_general_category_nil()
79 static hb_codepoint_t
81 hb_codepoint_t unicode, in hb_unicode_mirroring_nil()
89 hb_codepoint_t unicode HB_UNUSED, in hb_unicode_script_nil()
97 hb_codepoint_t a HB_UNUSED, in hb_unicode_compose_nil()
98 hb_codepoint_t b HB_UNUSED, in hb_unicode_compose_nil()
99 hb_codepoint_t *ab HB_UNUSED, in hb_unicode_compose_nil()
107 hb_codepoint_t ab HB_UNUSED, in hb_unicode_decompose_nil()
[all …]
Dhb-font.cc105 hb_codepoint_t unicode HB_UNUSED, in hb_font_get_nominal_glyph_nil()
106 hb_codepoint_t *glyph, in hb_font_get_nominal_glyph_nil()
115 hb_codepoint_t unicode, in hb_font_get_nominal_glyph_default()
116 hb_codepoint_t *glyph, in hb_font_get_nominal_glyph_default()
131 const hb_codepoint_t *first_unicode, in hb_font_get_nominal_glyphs_default()
133 hb_codepoint_t *first_glyph, in hb_font_get_nominal_glyphs_default()
144 first_unicode = &StructAtOffset<hb_codepoint_t> (first_unicode, unicode_stride); in hb_font_get_nominal_glyphs_default()
145 first_glyph = &StructAtOffset<hb_codepoint_t> (first_glyph, glyph_stride); in hb_font_get_nominal_glyphs_default()
158 hb_codepoint_t unicode HB_UNUSED, in hb_font_get_variation_glyph_nil()
159 hb_codepoint_t variation_selector HB_UNUSED, in hb_font_get_variation_glyph_nil()
[all …]
Dhb-set.h42 #define HB_SET_VALUE_INVALID ((hb_codepoint_t) -1)
83 hb_codepoint_t codepoint);
87 hb_codepoint_t codepoint);
91 hb_codepoint_t first,
92 hb_codepoint_t last);
96 hb_codepoint_t codepoint);
100 hb_codepoint_t first,
101 hb_codepoint_t last);
135 HB_EXTERN hb_codepoint_t
139 HB_EXTERN hb_codepoint_t
[all …]
Dhb-ot-cff1-table.cc124 hb_codepoint_t OT::cff1::lookup_standard_encoding_for_code (hb_codepoint_t sid) in lookup_standard_encoding_for_code()
127 return (hb_codepoint_t)standard_encoding_to_code[sid]; in lookup_standard_encoding_for_code()
132 hb_codepoint_t OT::cff1::lookup_expert_encoding_for_code (hb_codepoint_t sid) in lookup_expert_encoding_for_code()
135 return (hb_codepoint_t)expert_encoding_to_code[sid]; in lookup_expert_encoding_for_code()
140 hb_codepoint_t OT::cff1::lookup_expert_charset_for_sid (hb_codepoint_t glyph) in lookup_expert_charset_for_sid()
143 return (hb_codepoint_t)expert_charset_to_sid[glyph]; in lookup_expert_charset_for_sid()
148 hb_codepoint_t OT::cff1::lookup_expert_subset_charset_for_sid (hb_codepoint_t glyph) in lookup_expert_subset_charset_for_sid()
151 return (hb_codepoint_t)expert_subset_charset_to_sid[glyph]; in lookup_expert_subset_charset_for_sid()
156 hb_codepoint_t OT::cff1::lookup_standard_encoding_for_sid (hb_codepoint_t code) in lookup_standard_encoding_for_sid()
159 return (hb_codepoint_t)standard_encoding_to_sid[code]; in lookup_standard_encoding_for_sid()
[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()
117 hb_codepoint_t cp = segments[i].start_code; in serialize()
118 hb_codepoint_t start_gid = 0; in serialize()
145 hb_codepoint_t cp = segments[i].start_code + j; in serialize()
146 hb_codepoint_t new_gid; in serialize()
183 hb_codepoint_t last_gid = 0; in create_sub_table_plan()
185 hb_codepoint_t cp = HB_SET_VALUE_INVALID; in create_sub_table_plan()
187 hb_codepoint_t new_gid; in create_sub_table_plan()
245 bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const in get_glyph()
[all …]
Dhb-font.hh210 bool has_glyph (hb_codepoint_t unicode) in has_glyph()
212 hb_codepoint_t glyph; in has_glyph()
216 hb_bool_t get_nominal_glyph (hb_codepoint_t unicode, in get_nominal_glyph()
217 hb_codepoint_t *glyph) in get_nominal_glyph()
225 const hb_codepoint_t *first_unicode, in get_nominal_glyphs()
227 hb_codepoint_t *first_glyph, in get_nominal_glyphs()
237 hb_bool_t get_variation_glyph (hb_codepoint_t unicode, hb_codepoint_t variation_selector, in get_variation_glyph()
238 hb_codepoint_t *glyph) in get_variation_glyph()
246 hb_position_t get_glyph_h_advance (hb_codepoint_t glyph) in get_glyph_h_advance()
253 hb_position_t get_glyph_v_advance (hb_codepoint_t glyph) in get_glyph_v_advance()
[all …]
Dhb-set.hh70 void add (hb_codepoint_t g) { elt (g) |= mask (g); } in add()
71 void del (hb_codepoint_t g) { elt (g) &= ~mask (g); } in del()
72 bool has (hb_codepoint_t g) const { return !!(elt (g) & mask (g)); } in has()
74 void add_range (hb_codepoint_t a, hb_codepoint_t b) in add_range()
104 bool next (hb_codepoint_t *codepoint) const in next()
126 bool previous (hb_codepoint_t *codepoint) const in previous()
148 hb_codepoint_t get_min () const in get_min()
155 hb_codepoint_t get_max () const in get_max()
178 elt_t &elt (hb_codepoint_t g) { return v[(g & MASK) / ELT_BITS]; } in elt()
179 elt_t const &elt (hb_codepoint_t g) const { return v[(g & MASK) / ELT_BITS]; } in elt()
[all …]
Dhb-set.cc203 hb_codepoint_t codepoint) in hb_set_has()
219 hb_codepoint_t codepoint) in hb_set_add()
236 hb_codepoint_t first, in hb_set_add_range()
237 hb_codepoint_t last) in hb_set_add_range()
253 hb_codepoint_t codepoint) in hb_set_del()
270 hb_codepoint_t first, in hb_set_del_range()
271 hb_codepoint_t last) in hb_set_del_range()
433 hb_codepoint_t
449 hb_codepoint_t
470 hb_codepoint_t *codepoint) in hb_set_next()
[all …]
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()
100 bool may_have (hb_codepoint_t g) const in may_have()
105 static mask_t mask_for (hb_codepoint_t g) in mask_for()
119 void add (hb_codepoint_t g) in add()
125 bool add_range (hb_codepoint_t a, hb_codepoint_t b) in add_range()
145 bool may_have (hb_codepoint_t g) const in may_have()
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))
111 #define isL(u) (hb_in_ranges<hb_codepoint_t> ((u), 0x1100u, 0x115Fu, 0xA960u, 0xA97Cu))
112 #define isV(u) (hb_in_ranges<hb_codepoint_t> ((u), 0x1160u, 0x11A7u, 0xD7B0u, 0xD7C6u))
113 #define isT(u) (hb_in_ranges<hb_codepoint_t> ((u), 0x11A8u, 0x11FFu, 0xD7CBu, 0xD7FBu))
115 #define isHangulTone(u) (hb_in_range<hb_codepoint_t> ((u), 0x302Eu, 0x302Fu))
122 hb_codepoint_t unicode) in is_zero_width_char()
124 hb_codepoint_t glyph; in is_zero_width_char()
[all …]
Dhb-ot-cff1-table.hh65 hb_codepoint_t get_code (hb_codepoint_t glyph) const in get_code()
71 return (hb_codepoint_t)codes[glyph]; in get_code()
109 hb_codepoint_t get_code (hb_codepoint_t glyph) const in get_code()
117 return (hb_codepoint_t)ranges[i].first + glyph; in get_code()
150 void get_codes (hb_codepoint_t sid, hb_vector_t<hb_codepoint_t> &codes) const in get_codes()
211 hb_codepoint_t code = code_ranges[i].code; in serialize()
272 hb_codepoint_t get_code (hb_codepoint_t glyph) const in get_code()
283 void get_supplement_codes (hb_codepoint_t sid, hb_vector_t<hb_codepoint_t> &codes) const in get_supplement_codes()
319 hb_codepoint_t get_sid (hb_codepoint_t glyph) const in get_sid()
327 hb_codepoint_t get_glyph (hb_codepoint_t sid, unsigned int num_glyphs) const in get_glyph()
[all …]
Dhb-ot-shape-complex-thai.cc47 get_consonant_type (hb_codepoint_t u) in get_consonant_type()
55 if (hb_in_range<hb_codepoint_t> (u, 0x0E01u, 0x0E2Eu)) in get_consonant_type()
71 get_mark_type (hb_codepoint_t u) in get_mark_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()
93 static hb_codepoint_t
94 thai_pua_shape (hb_codepoint_t u, thai_action_t action, hb_font_t *font) in thai_pua_shape()
97 hb_codepoint_t u; in thai_pua_shape()
[all …]
Dhb-ucdn.cc178 hb_codepoint_t unicode, in hb_ucdn_combining_class()
186 hb_codepoint_t unicode, in hb_ucdn_general_category()
192 static hb_codepoint_t
194 hb_codepoint_t unicode, in hb_ucdn_mirroring()
202 hb_codepoint_t unicode, in hb_ucdn_script()
210 hb_codepoint_t a, hb_codepoint_t b, hb_codepoint_t *ab, in hb_ucdn_compose()
218 hb_codepoint_t ab, hb_codepoint_t *a, hb_codepoint_t *b, in hb_ucdn_decompose()
Dhb-ot-shape-normalize.cc75 hb_codepoint_t ab, in decompose_unicode()
76 hb_codepoint_t *a, in decompose_unicode()
77 hb_codepoint_t *b) in decompose_unicode()
84 hb_codepoint_t a, in compose_unicode()
85 hb_codepoint_t b, in compose_unicode()
86 hb_codepoint_t *ab) in compose_unicode()
98 output_char (hb_buffer_t *buffer, hb_codepoint_t unichar, hb_codepoint_t glyph) in output_char()
106 next_char (hb_buffer_t *buffer, hb_codepoint_t glyph) in next_char()
120 decompose (const hb_ot_shape_normalize_context_t *c, bool shortest, hb_codepoint_t ab) in decompose()
122 hb_codepoint_t a = 0, b = 0, a_glyph = 0, b_glyph = 0; in decompose()
[all …]
Dhb-ot-font.cc64 hb_codepoint_t unicode, in hb_ot_get_nominal_glyph()
65 hb_codepoint_t *glyph, in hb_ot_get_nominal_glyph()
76 const hb_codepoint_t *first_unicode, in hb_ot_get_nominal_glyphs()
78 hb_codepoint_t *first_glyph, in hb_ot_get_nominal_glyphs()
91 hb_codepoint_t unicode, in hb_ot_get_variation_glyph()
92 hb_codepoint_t variation_selector, in hb_ot_get_variation_glyph()
93 hb_codepoint_t *glyph, in hb_ot_get_variation_glyph()
103 const hb_codepoint_t *first_glyph, in hb_ot_get_glyph_h_advances()
115 first_glyph = &StructAtOffset<hb_codepoint_t> (first_glyph, glyph_stride); in hb_ot_get_glyph_h_advances()
123 const hb_codepoint_t *first_glyph, in hb_ot_get_glyph_v_advances()
[all …]
Dhb-map.h42 #define HB_MAP_VALUE_INVALID ((hb_codepoint_t) -1)
86 hb_codepoint_t key,
87 hb_codepoint_t value);
89 HB_EXTERN hb_codepoint_t
91 hb_codepoint_t key);
95 hb_codepoint_t key);
99 hb_codepoint_t key);
Dhb-subset-plan.hh48 hb_vector_t<hb_codepoint_t> glyphs;
58 bool new_gid_for_codepoint (hb_codepoint_t codepoint, in new_gid_for_codepoint()
59 hb_codepoint_t *new_gid) const in new_gid_for_codepoint()
61 hb_codepoint_t old_gid = codepoint_to_glyph->get (codepoint); in new_gid_for_codepoint()
68 bool new_gid_for_old_gid (hb_codepoint_t old_gid, in new_gid_for_old_gid()
69 hb_codepoint_t *new_gid) const in new_gid_for_old_gid()
71 hb_codepoint_t gid = glyph_map->get (old_gid); in new_gid_for_old_gid()
Dhb-map.hh53 hb_codepoint_t key;
54 hb_codepoint_t value;
129 void set (hb_codepoint_t key, hb_codepoint_t value) in set()
154 hb_codepoint_t get (hb_codepoint_t key) const in get()
161 void del (hb_codepoint_t key) { set (key, INVALID); } in del()
163 bool has (hb_codepoint_t key) const in has()
166 hb_codepoint_t operator [] (unsigned int key) const in operator []()
183 unsigned int bucket_for (hb_codepoint_t key) const in bucket_for()
Dhb-ot-shape-normalize.hh60 hb_codepoint_t ab,
61 hb_codepoint_t *a,
62 hb_codepoint_t *b);
64 hb_codepoint_t a,
65 hb_codepoint_t b,
66 hb_codepoint_t *ab);
Dhb-subset-plan.cc37 hb_codepoint_t gid, in _add_gid_and_children()
51 _add_gid_and_children (glyf, (hb_codepoint_t) composite.current->glyphIndex, gids_to_retain); in _add_gid_and_children()
58 hb_codepoint_t gid, in _add_cff_seac_components()
61 hb_codepoint_t base_gid, accent_gid; in _add_cff_seac_components()
88 hb_codepoint_t gid = HB_SET_VALUE_INVALID; in _remove_invalid_gids()
102 hb_vector_t<hb_codepoint_t> *glyphs) in _populate_gids_to_retain()
114 hb_codepoint_t cp = HB_SET_VALUE_INVALID; in _populate_gids_to_retain()
117 hb_codepoint_t gid; in _populate_gids_to_retain()
134 hb_codepoint_t gid = HB_SET_VALUE_INVALID; in _populate_gids_to_retain()
159 _create_old_gid_to_new_gid_map (const hb_vector_t<hb_codepoint_t> &glyphs, in _create_old_gid_to_new_gid_map()

123456