Home
last modified time | relevance | path

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

123

/external/harfbuzz_ng/src/
Dhb-unicode.h223 hb_codepoint_t unicode,
226 hb_codepoint_t unicode,
229 hb_codepoint_t unicode,
231 typedef hb_codepoint_t (*hb_unicode_mirroring_func_t) (hb_unicode_funcs_t *ufuncs,
232 hb_codepoint_t unicode,
235 hb_codepoint_t unicode,
239 hb_codepoint_t a,
240 hb_codepoint_t b,
241 hb_codepoint_t *ab,
244 hb_codepoint_t ab,
[all …]
Dhb-set-private.hh65 ASSERT_STATIC (shift < sizeof (hb_codepoint_t) * 8);
66 ASSERT_STATIC (shift + num_bits <= sizeof (hb_codepoint_t) * 8);
72 inline void add (hb_codepoint_t g) { in add()
76 inline void add_range (hb_codepoint_t a, hb_codepoint_t b) { in add_range()
86 inline bool may_have (hb_codepoint_t g) const { in may_have()
92 static inline mask_t mask_for (hb_codepoint_t g) { in mask_for()
108 inline void add (hb_codepoint_t g) { in add()
113 inline void add_range (hb_codepoint_t a, hb_codepoint_t b) { in add_range()
118 inline bool may_have (hb_codepoint_t g) const { in may_have()
180 inline void add (hb_codepoint_t g) in add()
[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 hb_codepoint_t glyph,
136 hb_codepoint_t glyph,
143 hb_codepoint_t first_glyph, hb_codepoint_t second_glyph,
150 hb_codepoint_t glyph,
154 hb_codepoint_t glyph, unsigned int point_index,
160 hb_codepoint_t glyph,
[all …]
Dhb-utf-private.hh40 hb_codepoint_t *unicode, in next()
41 hb_codepoint_t replacement) in next()
47 hb_codepoint_t c = *text++; in next()
109 hb_codepoint_t *unicode, in prev()
110 hb_codepoint_t replacement) in prev()
138 hb_codepoint_t *unicode, in next()
139 hb_codepoint_t replacement) in next()
141 hb_codepoint_t c = *text++; in next()
152 hb_codepoint_t l = *text; in next()
170 hb_codepoint_t *unicode, in prev()
[all …]
Dhb-font.cc98 hb_codepoint_t unicode, in hb_font_get_nominal_glyph_nil()
99 hb_codepoint_t *glyph, in hb_font_get_nominal_glyph_nil()
108 hb_codepoint_t unicode, in hb_font_get_nominal_glyph_parent()
109 hb_codepoint_t *glyph, in hb_font_get_nominal_glyph_parent()
118 hb_codepoint_t unicode, in hb_font_get_variation_glyph_nil()
119 hb_codepoint_t variation_selector, in hb_font_get_variation_glyph_nil()
120 hb_codepoint_t *glyph, in hb_font_get_variation_glyph_nil()
129 hb_codepoint_t unicode, in hb_font_get_variation_glyph_parent()
130 hb_codepoint_t variation_selector, in hb_font_get_variation_glyph_parent()
131 hb_codepoint_t *glyph, in hb_font_get_variation_glyph_parent()
[all …]
Dhb-unicode.cc43 hb_codepoint_t unicode HB_UNUSED, in hb_unicode_combining_class_nil()
51 hb_codepoint_t unicode HB_UNUSED, in hb_unicode_eastasian_width_nil()
59 hb_codepoint_t unicode HB_UNUSED, in hb_unicode_general_category_nil()
65 static hb_codepoint_t
67 hb_codepoint_t unicode HB_UNUSED, in hb_unicode_mirroring_nil()
75 hb_codepoint_t unicode HB_UNUSED, in hb_unicode_script_nil()
83 hb_codepoint_t a HB_UNUSED, in hb_unicode_compose_nil()
84 hb_codepoint_t b HB_UNUSED, in hb_unicode_compose_nil()
85 hb_codepoint_t *ab HB_UNUSED, in hb_unicode_compose_nil()
93 hb_codepoint_t ab HB_UNUSED, in hb_unicode_decompose_nil()
[all …]
Dhb-font-private.hh181 inline bool has_glyph (hb_codepoint_t unicode) in has_glyph()
183 hb_codepoint_t glyph; in has_glyph()
187 inline hb_bool_t get_nominal_glyph (hb_codepoint_t unicode, in get_nominal_glyph()
188 hb_codepoint_t *glyph) in get_nominal_glyph()
196 inline hb_bool_t get_variation_glyph (hb_codepoint_t unicode, hb_codepoint_t variation_selector, in get_variation_glyph()
197 hb_codepoint_t *glyph) in get_variation_glyph()
205 inline hb_position_t get_glyph_h_advance (hb_codepoint_t glyph) in get_glyph_h_advance()
212 inline hb_position_t get_glyph_v_advance (hb_codepoint_t glyph) in get_glyph_v_advance()
219 inline hb_bool_t get_glyph_h_origin (hb_codepoint_t glyph, in get_glyph_h_origin()
228 inline hb_bool_t get_glyph_v_origin (hb_codepoint_t glyph, in get_glyph_v_origin()
[all …]
Dhb-set.h42 #define HB_SET_VALUE_INVALID ((hb_codepoint_t) -1)
83 hb_codepoint_t codepoint);
89 hb_codepoint_t codepoint);
93 hb_codepoint_t first,
94 hb_codepoint_t last);
98 hb_codepoint_t codepoint);
102 hb_codepoint_t first,
103 hb_codepoint_t last);
136 HB_EXTERN hb_codepoint_t
140 HB_EXTERN hb_codepoint_t
[all …]
Dhb-ot-cmap-table.hh45 inline bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const in get_glyph()
47 hb_codepoint_t gid = codepoint < 256 ? glyphIdArray[codepoint] : 0; in get_glyph()
85 …static inline bool get_glyph_func (const void *obj, hb_codepoint_t codepoint, hb_codepoint_t *glyp… in get_glyph_func()
110 hb_codepoint_t gid; in get_glyph_func()
139 inline bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const in get_glyph()
197 int cmp (hb_codepoint_t codepoint) const in cmp()
222 inline bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const in get_glyph()
225 hb_codepoint_t gid = glyphIdArray[codepoint - startCharCode]; in get_glyph()
256 inline bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const in get_glyph()
284 static inline hb_codepoint_t group_get_glyph (const CmapSubtableLongGroup &group, in group_get_glyph()
[all …]
Dhb-unicode-private.hh60 HB_UNICODE_FUNC_IMPLEMENT (hb_codepoint_t, mirroring) \
73 …inline return_type name (hb_codepoint_t unicode) { return func.name (this, unicode, user_data.name…
77 inline hb_bool_t compose (hb_codepoint_t a, hb_codepoint_t b, in compose()
78 hb_codepoint_t *ab) in compose()
85 inline hb_bool_t decompose (hb_codepoint_t ab, in decompose()
86 hb_codepoint_t *a, hb_codepoint_t *b) in decompose()
92 inline unsigned int decompose_compatibility (hb_codepoint_t u, in decompose_compatibility()
93 hb_codepoint_t *decomposed) in decompose_compatibility()
106 modified_combining_class (hb_codepoint_t unicode) in modified_combining_class()
123 is_variation_selector (hb_codepoint_t unicode) in is_variation_selector()
[all …]
Dhb-ucdn.cc160 hb_ucdn_combining_class(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, in hb_ucdn_combining_class()
167 hb_ucdn_eastasian_width(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, in hb_ucdn_eastasian_width()
175 hb_ucdn_general_category(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, in hb_ucdn_general_category()
181 static hb_codepoint_t
182 hb_ucdn_mirroring(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, in hb_ucdn_mirroring()
189 hb_ucdn_script(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, in hb_ucdn_script()
197 hb_codepoint_t a, hb_codepoint_t b, hb_codepoint_t *ab, in hb_ucdn_compose()
205 hb_codepoint_t ab, hb_codepoint_t *a, hb_codepoint_t *b, in hb_ucdn_decompose()
213 hb_codepoint_t u, hb_codepoint_t *decomposed, in hb_ucdn_decompose_compatibility()
Dhb-set.cc201 hb_codepoint_t codepoint) in hb_set_has()
217 hb_codepoint_t codepoint) in hb_set_add()
234 hb_codepoint_t first, in hb_set_add_range()
235 hb_codepoint_t last) in hb_set_add_range()
251 hb_codepoint_t codepoint) in hb_set_del()
268 hb_codepoint_t first, in hb_set_del_range()
269 hb_codepoint_t last) in hb_set_del_range()
412 hb_codepoint_t
428 hb_codepoint_t
447 hb_codepoint_t *codepoint) in hb_set_next()
[all …]
Dhb-glib.cc197 hb_codepoint_t unicode, in hb_glib_unicode_combining_class()
206 hb_codepoint_t unicode, in hb_glib_unicode_eastasian_width()
214 hb_codepoint_t unicode, in hb_glib_unicode_general_category()
222 static hb_codepoint_t
224 hb_codepoint_t unicode, in hb_glib_unicode_mirroring()
233 hb_codepoint_t unicode, in hb_glib_unicode_script()
241 hb_codepoint_t a, in hb_glib_unicode_compose()
242 hb_codepoint_t b, in hb_glib_unicode_compose()
243 hb_codepoint_t *ab, in hb_glib_unicode_compose()
278 hb_codepoint_t ab, in hb_glib_unicode_decompose()
[all …]
Dhb-icu.cc68 hb_codepoint_t unicode, in hb_icu_unicode_combining_class()
77 hb_codepoint_t unicode, in hb_icu_unicode_eastasian_width()
96 hb_codepoint_t unicode, in hb_icu_unicode_general_category()
145 static hb_codepoint_t
147 hb_codepoint_t unicode, in hb_icu_unicode_mirroring()
155 hb_codepoint_t unicode, in hb_icu_unicode_script()
173 hb_codepoint_t a, in hb_icu_unicode_compose()
174 hb_codepoint_t b, in hb_icu_unicode_compose()
175 hb_codepoint_t *ab, in hb_icu_unicode_compose()
218 hb_codepoint_t ab, in hb_icu_unicode_decompose()
[all …]
Dhb-ot-shape-normalize-private.hh59 hb_codepoint_t ab,
60 hb_codepoint_t *a,
61 hb_codepoint_t *b);
63 hb_codepoint_t a,
64 hb_codepoint_t b,
65 hb_codepoint_t *ab);
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, b, a_glyph, b_glyph; in decompose()
[all …]
Dhb-ot-layout-gdef-table.hh49 inline unsigned int get_attach_points (hb_codepoint_t glyph_id, in get_attach_points()
100 …inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t gl… in get_caret_value()
123 …inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t gl… in get_caret_value()
149 …inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t gl… in get_caret_value()
175 …inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t gl… in get_caret_value()
212 hb_codepoint_t glyph_id, in get_lig_carets()
246 hb_codepoint_t glyph_id, in get_lig_carets()
282 inline bool covers (unsigned int set_index, hb_codepoint_t glyph_id) const in covers()
302 inline bool covers (unsigned int set_index, hb_codepoint_t glyph_id) const in covers()
347 inline unsigned int get_glyph_class (hb_codepoint_t glyph) const in get_glyph_class()
[all …]
Dhb-ot-shape-complex-thai.cc47 get_consonant_type (hb_codepoint_t u) in get_consonant_type()
71 get_mark_type (hb_codepoint_t u) 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()
98 hb_codepoint_t win_pua; in thai_pua_shape()
99 hb_codepoint_t mac_pua; in thai_pua_shape()
151 hb_codepoint_t glyph; in thai_pua_shape()
319 hb_codepoint_t u = buffer->cur().codepoint; in preprocess_text_thai()
326 hb_codepoint_t decomposed[2] = {hb_codepoint_t (NIKHAHIT_FROM_SARA_AM (u)), in preprocess_text_thai()
[all …]
Dhb-ot-font.cc111 inline unsigned int get_advance (hb_codepoint_t glyph) const in get_advance()
169 inline bool get_extents (hb_codepoint_t glyph, in get_extents()
205 hb_codepoint_t codepoint,
206 hb_codepoint_t *glyph);
210 hb_codepoint_t codepoint, in get_glyph_from()
211 hb_codepoint_t *glyph) in get_glyph_from()
279 inline bool get_nominal_glyph (hb_codepoint_t unicode, in get_nominal_glyph()
280 hb_codepoint_t *glyph) const in get_nominal_glyph()
285 inline bool get_variation_glyph (hb_codepoint_t unicode, in get_variation_glyph()
286 hb_codepoint_t variation_selector, in get_variation_glyph()
[all …]
Dhb-ot-shape-complex-hangul.cc124 hb_codepoint_t unicode) in is_zero_width_char()
126 hb_codepoint_t glyph; in is_zero_width_char()
193 hb_codepoint_t u = buffer->cur().codepoint; in preprocess_text_hangul()
220 hb_codepoint_t chars[2]; in preprocess_text_hangul()
246 hb_codepoint_t l = u; in preprocess_text_hangul()
247 hb_codepoint_t v = buffer->cur(+1).codepoint; in preprocess_text_hangul()
251 hb_codepoint_t t = 0; in preprocess_text_hangul()
266 hb_codepoint_t s = SBase + (l - LBase) * NCount + (v - VBase) * TCount + tindex; in preprocess_text_hangul()
303 hb_codepoint_t s = u; in preprocess_text_hangul()
316 hb_codepoint_t new_s = s + new_tindex; in preprocess_text_hangul()
[all …]
Dhb-ot-layout.h64 hb_codepoint_t glyph);
76 hb_codepoint_t glyph,
85 hb_codepoint_t glyph,
216 const hb_codepoint_t *before,
218 const hb_codepoint_t *input,
220 const hb_codepoint_t *after,
250 const hb_codepoint_t *glyphs,
267 hb_codepoint_t *glyphs_out, /* OUT */
Dhb-ot-shape-complex-private.hh126 hb_codepoint_t ab,
127 hb_codepoint_t *a,
128 hb_codepoint_t *b);
135 hb_codepoint_t a,
136 hb_codepoint_t b,
137 hb_codepoint_t *ab);
Dhb-ot-shape-complex-hebrew.cc32 hb_codepoint_t a, in compose_hebrew()
33 hb_codepoint_t b, in compose_hebrew()
34 hb_codepoint_t *ab) in compose_hebrew()
41 static const hb_codepoint_t sDageshForms[0x05EAu - 0x05D0u + 1] = { in compose_hebrew()
Dhb-ot-shape-complex-arabic-fallback.hh57 for (hb_codepoint_t u = SHAPING_TABLE_FIRST; u < SHAPING_TABLE_LAST + 1; u++) in arabic_fallback_synthesize_lookup_single()
59 hb_codepoint_t s = shaping_table[u - SHAPING_TABLE_FIRST][feature_index]; in arabic_fallback_synthesize_lookup_single()
60 hb_codepoint_t u_glyph, s_glyph; in arabic_fallback_synthesize_lookup_single()
120 hb_codepoint_t first_u = ligature_table[first_glyph_idx].first; in arabic_fallback_synthesize_lookup_ligature()
121 hb_codepoint_t first_glyph; in arabic_fallback_synthesize_lookup_ligature()
138hb_codepoint_t second_u = ligature_table[first_glyph_idx].ligatures[second_glyph_idx].second; in arabic_fallback_synthesize_lookup_ligature()
139hb_codepoint_t ligature_u = ligature_table[first_glyph_idx].ligatures[second_glyph_idx].ligature; in arabic_fallback_synthesize_lookup_ligature()
140 hb_codepoint_t second_glyph, ligature_glyph; in arabic_fallback_synthesize_lookup_ligature()
231 hb_codepoint_t g; in arabic_fallback_plan_init_win1256()
/external/harfbuzz_ng/test/api/
Dtest-shape.c45 hb_codepoint_t glyph, in glyph_h_advance_func()
58 hb_codepoint_t unicode, hb_codepoint_t variant_selector, in glyph_func()
59 hb_codepoint_t *glyph, in glyph_func()
72 hb_codepoint_t left, hb_codepoint_t right, in glyph_h_kerning_func()
120 const hb_codepoint_t output_glyphs[] = {1, 2, 3, 1}; in test_shape()
158 hb_codepoint_t test[] = {0xFFF1, 0xF0B6}; in test_shape_clusters()
168 const hb_codepoint_t output_glyphs[] = {0}; in test_shape_clusters()

123