Home | History | Annotate | Download | only in src

Lines Matching refs:buffer

31 /* buffer var allocations */
162 hb_buffer_t *buffer);
244 arabic_joining (hb_buffer_t *buffer)
246 unsigned int count = buffer->len;
249 HB_BUFFER_ALLOCATE_VAR (buffer, arabic_shaping_action);
252 if (!(buffer->flags & HB_BUFFER_FLAG_BOT))
253 for (unsigned int i = 0; i < buffer->context_len[0]; i++)
255 unsigned int this_type = get_joining_type (buffer->context[0][i], buffer->unicode->general_category (buffer->context[0][i]));
267 unsigned int this_type = get_joining_type (buffer->info[i].codepoint, _hb_glyph_info_get_general_category (&buffer->info[i]));
270 buffer->info[i].arabic_shaping_action() = NONE;
277 buffer->info[prev].arabic_shaping_action() = entry->prev_action;
279 buffer->info[i].arabic_shaping_action() = entry->curr_action;
285 if (!(buffer->flags & HB_BUFFER_FLAG_EOT))
286 for (unsigned int i = 0; i < buffer->context_len[1]; i++)
288 unsigned int this_type = get_joining_type (buffer->context[1][i], buffer->unicode->general_category (buffer->context[1][i]));
295 buffer->info[prev].arabic_shaping_action() = entry->prev_action;
300 HB_BUFFER_DEALLOCATE_VAR (buffer, arabic_shaping_action);
305 hb_buffer_t *buffer,
310 arabic_joining (buffer);
311 unsigned int count = buffer->len;
313 buffer->info[i].mask |= arabic_plan->mask_array[buffer->info[i].arabic_shaping_action()];
320 hb_buffer_t *buffer)
339 arabic_fallback_plan_shape (fallback_plan, font, buffer);