Home | History | Annotate | Download | only in src

Lines Matching refs:buffer

110 /* buffer var allocations */
123 hb_buffer_t *buffer,
126 HB_BUFFER_ALLOCATE_VAR (buffer, hangul_shaping_feature);
176 buffer->clear_output ();
180 unsigned int count = buffer->len;
182 for (buffer->idx = 0; buffer->idx < count;)
184 hb_codepoint_t u = buffer->cur().codepoint;
193 if (start < end && end == buffer->out_len)
196 buffer->next_glyph ();
199 hb_glyph_info_t *info = buffer->out_info;
209 buffer->merge_out_clusters (start, end + 1);
224 buffer->replace_glyphs (1, 2, chars);
229 buffer->next_glyph ();
232 start = end = buffer->out_len;
236 start = buffer->out_len; /* Remember current position as a potential syllable start;
240 if (isL (u) && buffer->idx + 1 < count)
243 hb_codepoint_t v = buffer->cur(+1).codepoint;
249 if (buffer->idx + 2 < count)
251 t = buffer->cur(+2).codepoint;
265 buffer->replace_glyphs (t ? 3 : 2, 1, &s);
266 if (unlikely (buffer->in_error))
278 buffer->cur().hangul_shaping_feature() = LJMO;
279 buffer->next_glyph ();
280 buffer->cur().hangul_shaping_feature() = VJMO;
281 buffer->next_glyph ();
284 buffer->cur().hangul_shaping_feature() = TJMO;
285 buffer->next_glyph ();
290 buffer->merge_out_clusters (start, end);
306 buffer->idx + 1 < count &&
307 isCombiningT (buffer->cur(+1).codepoint))
310 unsigned int new_tindex = buffer->cur(+1).codepoint - TBase;
314 buffer->replace_glyphs (2, 1, &new_s);
315 if (unlikely (buffer->in_error))
327 buffer->idx + 1 < count &&
328 isT (buffer->cur(+1).codepoint)))
338 buffer->replace_glyphs (1, s_len, decomposed);
339 if (unlikely (buffer->in_error))
343 * that are now in buffer->out_info.
345 hb_glyph_info_t *info = buffer->out_info;
352 buffer->next_glyph ();
362 buffer->merge_out_clusters (start, end);
371 buffer->next_glyph ();
379 buffer->next_glyph ();
381 buffer->swap_buffers ();
386 hb_buffer_t *buffer,
393 unsigned int count = buffer->len;
394 hb_glyph_info_t *info = buffer->info;
399 HB_BUFFER_DEALLOCATE_VAR (buffer, hangul_shaping_feature);