Home
last modified time | relevance | path

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

/external/harfbuzz_ng/src/
Dhb-graphite2.cc250 unsigned int scratch_size; in _hb_graphite2_shape() local
251 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_graphite2_shape()
283 scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_graphite2_shape()
285 DIV_CEIL (sizeof (hb_codepoint_t) * glyph_count, sizeof (*scratch))) > scratch_size) in _hb_graphite2_shape()
293 scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_graphite2_shape()
300 assert (_consumed <= scratch_size); \ in _hb_graphite2_shape()
302 scratch_size -= _consumed; \ in _hb_graphite2_shape()
Dhb-coretext.cc672 unsigned int scratch_size; in _hb_coretext_shape() local
673 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_coretext_shape()
679 if (unlikely (_consumed > scratch_size)) \ in _hb_coretext_shape()
685 scratch_size -= _consumed; \ in _hb_coretext_shape()
749 scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_coretext_shape()
753 scratch_size -= old_scratch_used; in _hb_coretext_shape()
1007 unsigned int scratch_size_saved = scratch_size; \ in _hb_coretext_shape()
1011 scratch_size = scratch_size_saved; \ in _hb_coretext_shape()
Dhb-directwrite.cc630 unsigned int scratch_size; in _hb_directwrite_shape() local
631 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_directwrite_shape()
636 assert (_consumed <= scratch_size); \ in _hb_directwrite_shape()
638 scratch_size -= _consumed; \ in _hb_directwrite_shape()
770 unsigned int glyphs_size = (scratch_size * sizeof(int) - 2) in _hb_directwrite_shape()
Dhb-uniscribe.cc747 unsigned int scratch_size; in _hb_uniscribe_shape()
748 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_uniscribe_shape()
754 assert (_consumed <= scratch_size); \ in _hb_uniscribe_shape()
756 scratch_size -= _consumed; \ in _hb_uniscribe_shape()
797 unsigned int glyphs_size = (scratch_size * sizeof (int) - 2) in _hb_uniscribe_shape()