Home | History | Annotate | Download | only in src

Lines Matching refs:buffer

219 		     hb_buffer_t              *buffer,
226 hb_glyph_info_t *info = buffer->info;
227 unsigned int count = buffer->len;
258 hb_buffer_t *buffer,
316 buffer->clear_output ();
317 unsigned int count = buffer->len;
318 for (buffer->idx = 0; buffer->idx < count;)
320 hb_codepoint_t u = buffer->cur().codepoint;
322 buffer->next_glyph ();
329 buffer->replace_glyphs (1, 2, decomposed);
330 if (unlikely (buffer->in_error))
334 unsigned int end = buffer->out_len;
335 _hb_glyph_info_set_general_category (&buffer->out_info[end - 2], HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK);
339 while (start > 0 && IS_TONE_MARK (buffer->out_info[start - 1].codepoint))
345 buffer->merge_out_clusters (start, end);
346 hb_glyph_info_t t = buffer->out_info[end - 2];
347 memmove (buffer->out_info + start + 1,
348 buffer->out_info + start,
349 sizeof (buffer->out_info[0]) * (end - start - 2));
350 buffer->out_info[start] = t;
357 buffer->merge_out_clusters (start - 1, end);
360 buffer->swap_buffers ();
364 do_thai_pua_shaping (plan, buffer, font);