Home
last modified time | relevance | path

Searched refs:scratch_size (Results 1 – 3 of 3) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-graphite2.cc244 unsigned int scratch_size; in _hb_graphite2_shape() local
245 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_graphite2_shape()
273 scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_graphite2_shape()
275 DIV_CEIL (sizeof (hb_codepoint_t) * glyph_count, sizeof (*scratch))) > scratch_size) in _hb_graphite2_shape()
283 scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_graphite2_shape()
290 assert (_consumed <= scratch_size); \ in _hb_graphite2_shape()
292 scratch_size -= _consumed; \ in _hb_graphite2_shape()
Dhb-coretext.cc609 unsigned int scratch_size; in _hb_coretext_shape() local
610 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_coretext_shape()
616 if (unlikely (_consumed > scratch_size)) \ in _hb_coretext_shape()
622 scratch_size -= _consumed; \ in _hb_coretext_shape()
686 scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_coretext_shape()
690 scratch_size -= old_scratch_used; in _hb_coretext_shape()
930 unsigned int scratch_size_saved = scratch_size; \ in _hb_coretext_shape()
934 scratch_size = scratch_size_saved; \ in _hb_coretext_shape()
Dhb-uniscribe.cc735 unsigned int scratch_size; in _hb_uniscribe_shape()
736 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_uniscribe_shape()
742 assert (_consumed <= scratch_size); \ in _hb_uniscribe_shape()
744 scratch_size -= _consumed; \ in _hb_uniscribe_shape()
785 unsigned int glyphs_size = (scratch_size * sizeof (int) - 2) in _hb_uniscribe_shape()