Lines Matching refs:buffer
24 _output_dotted_circle (hb_buffer_t *buffer) in _output_dotted_circle() argument
26 (void) buffer->output_glyph (0x25CCu); in _output_dotted_circle()
27 _hb_glyph_info_reset_continuation (&buffer->prev()); in _output_dotted_circle()
31 _output_with_dotted_circle (hb_buffer_t *buffer) in _output_with_dotted_circle() argument
33 _output_dotted_circle (buffer); in _output_with_dotted_circle()
34 (void) buffer->next_glyph (); in _output_with_dotted_circle()
39 hb_buffer_t *buffer, in _hb_preprocess_text_vowel_constraints() argument
45 if (buffer->flags & HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE) in _hb_preprocess_text_vowel_constraints()
54 buffer->clear_output (); in _hb_preprocess_text_vowel_constraints()
55 unsigned int count = buffer->len; in _hb_preprocess_text_vowel_constraints()
56 switch ((unsigned) buffer->props.script) in _hb_preprocess_text_vowel_constraints()
59 for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;) in _hb_preprocess_text_vowel_constraints()
62 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
65 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
75 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
84 matched = 0x0941u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
87 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
95 if (0x094Du == buffer->cur (1).codepoint && in _hb_preprocess_text_vowel_constraints()
96 buffer->idx + 2 < count && in _hb_preprocess_text_vowel_constraints()
97 0x0907u == buffer->cur (2).codepoint) in _hb_preprocess_text_vowel_constraints()
99 (void) buffer->next_glyph (); in _hb_preprocess_text_vowel_constraints()
104 (void) buffer->next_glyph (); in _hb_preprocess_text_vowel_constraints()
105 if (matched) _output_with_dotted_circle (buffer); in _hb_preprocess_text_vowel_constraints()
110 for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;) in _hb_preprocess_text_vowel_constraints()
113 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
116 matched = 0x09BEu == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
119 matched = 0x09C3u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
122 matched = 0x09E2u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
125 (void) buffer->next_glyph (); in _hb_preprocess_text_vowel_constraints()
126 if (matched) _output_with_dotted_circle (buffer); in _hb_preprocess_text_vowel_constraints()
131 for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;) in _hb_preprocess_text_vowel_constraints()
134 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
137 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
145 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
153 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
161 (void) buffer->next_glyph (); in _hb_preprocess_text_vowel_constraints()
162 if (matched) _output_with_dotted_circle (buffer); in _hb_preprocess_text_vowel_constraints()
167 for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;) in _hb_preprocess_text_vowel_constraints()
170 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
173 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
182 matched = 0x0ABEu == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
185 (void) buffer->next_glyph (); in _hb_preprocess_text_vowel_constraints()
186 if (matched) _output_with_dotted_circle (buffer); in _hb_preprocess_text_vowel_constraints()
191 for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;) in _hb_preprocess_text_vowel_constraints()
194 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
197 matched = 0x0B3Eu == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
200 matched = 0x0B57u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
203 (void) buffer->next_glyph (); in _hb_preprocess_text_vowel_constraints()
204 if (matched) _output_with_dotted_circle (buffer); in _hb_preprocess_text_vowel_constraints()
209 for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;) in _hb_preprocess_text_vowel_constraints()
212 if (0x0B85u == buffer->cur ().codepoint && in _hb_preprocess_text_vowel_constraints()
213 0x0BC2u == buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
217 (void) buffer->next_glyph (); in _hb_preprocess_text_vowel_constraints()
218 if (matched) _output_with_dotted_circle (buffer); in _hb_preprocess_text_vowel_constraints()
223 for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;) in _hb_preprocess_text_vowel_constraints()
226 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
229 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
237 matched = 0x0C55u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
240 (void) buffer->next_glyph (); in _hb_preprocess_text_vowel_constraints()
241 if (matched) _output_with_dotted_circle (buffer); in _hb_preprocess_text_vowel_constraints()
246 for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;) in _hb_preprocess_text_vowel_constraints()
249 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
252 matched = 0x0CBEu == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
255 matched = 0x0CCCu == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
258 (void) buffer->next_glyph (); in _hb_preprocess_text_vowel_constraints()
259 if (matched) _output_with_dotted_circle (buffer); in _hb_preprocess_text_vowel_constraints()
264 for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;) in _hb_preprocess_text_vowel_constraints()
267 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
270 matched = 0x0D57u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
273 matched = 0x0D46u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
276 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
284 (void) buffer->next_glyph (); in _hb_preprocess_text_vowel_constraints()
285 if (matched) _output_with_dotted_circle (buffer); in _hb_preprocess_text_vowel_constraints()
290 for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;) in _hb_preprocess_text_vowel_constraints()
293 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
296 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
304 matched = 0x0DDFu == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
307 matched = 0x0DD8u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
310 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
319 (void) buffer->next_glyph (); in _hb_preprocess_text_vowel_constraints()
320 if (matched) _output_with_dotted_circle (buffer); in _hb_preprocess_text_vowel_constraints()
325 for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;) in _hb_preprocess_text_vowel_constraints()
328 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
331 matched = 0x11038u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
334 matched = 0x1103Eu == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
337 matched = 0x11042u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
340 (void) buffer->next_glyph (); in _hb_preprocess_text_vowel_constraints()
341 if (matched) _output_with_dotted_circle (buffer); in _hb_preprocess_text_vowel_constraints()
346 for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;) in _hb_preprocess_text_vowel_constraints()
349 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
352 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
361 (void) buffer->next_glyph (); in _hb_preprocess_text_vowel_constraints()
362 if (matched) _output_with_dotted_circle (buffer); in _hb_preprocess_text_vowel_constraints()
367 for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;) in _hb_preprocess_text_vowel_constraints()
370 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
373 matched = 0x114B0u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
376 matched = 0x114BAu == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
379 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
387 (void) buffer->next_glyph (); in _hb_preprocess_text_vowel_constraints()
388 if (matched) _output_with_dotted_circle (buffer); in _hb_preprocess_text_vowel_constraints()
393 for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;) in _hb_preprocess_text_vowel_constraints()
396 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
399 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
407 (void) buffer->next_glyph (); in _hb_preprocess_text_vowel_constraints()
408 if (matched) _output_with_dotted_circle (buffer); in _hb_preprocess_text_vowel_constraints()
413 for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;) in _hb_preprocess_text_vowel_constraints()
416 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
419 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
427 matched = 0x116B2u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
430 (void) buffer->next_glyph (); in _hb_preprocess_text_vowel_constraints()
431 if (matched) _output_with_dotted_circle (buffer); in _hb_preprocess_text_vowel_constraints()
438 buffer->swap_buffers (); in _hb_preprocess_text_vowel_constraints()