Home | History | Annotate | Download | only in src

Lines Matching refs:buffer

111 		  hb_buffer_t        *buffer,
131 char *scratch = (char *) buffer->get_scratch_buffer (&scratch_size);
138 ALLOCATE_ARRAY (LEUnicode, chars, buffer->len);
139 ALLOCATE_ARRAY (unsigned int, clusters, buffer->len);
142 for (unsigned int i = 0; i < buffer->len; i++) {
143 chars[i] = buffer->info[i].codepoint;
144 clusters[i] = buffer->info[i].cluster;
150 buffer->len,
151 buffer->len,
152 HB_DIRECTION_IS_BACKWARD (buffer->props.direction),
162 if (unlikely (glyph_count >= num_glyphs || glyph_count > buffer->allocated)) {
163 buffer->ensure (buffer->allocated * 2);
164 if (buffer->in_error)
179 /* Ok, we've got everything we need, now compose output buffer,
183 hb_glyph_info_t *info = buffer->info;
199 buffer->len = j;
201 buffer->clear_positions ();
203 for (unsigned int i = 0; i < buffer->len; i++) {
204 hb_glyph_info_t *info = &buffer->info[i];
205 hb_glyph_position_t *pos = &buffer->pos[i];