Home
last modified time | relevance | path

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

/external/chromium_org/third_party/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.cc598 unsigned int scratch_size; in _hb_coretext_shape() local
599 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_coretext_shape()
605 if (unlikely (_consumed > scratch_size)) \ in _hb_coretext_shape()
611 scratch_size -= _consumed; \ in _hb_coretext_shape()
675 scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_coretext_shape()
679 scratch_size -= old_scratch_used; in _hb_coretext_shape()
913 unsigned int scratch_size_saved = scratch_size; \ in _hb_coretext_shape()
917 scratch_size = scratch_size_saved; \ in _hb_coretext_shape()
Dhb-uniscribe.cc729 unsigned int scratch_size; in _hb_uniscribe_shape()
730 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_uniscribe_shape()
736 assert (_consumed <= scratch_size); \ in _hb_uniscribe_shape()
738 scratch_size -= _consumed; \ in _hb_uniscribe_shape()
779 unsigned int glyphs_size = (scratch_size * sizeof (int) - 2) in _hb_uniscribe_shape()
/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.cc593 unsigned int scratch_size; in _hb_coretext_shape() local
594 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_coretext_shape()
600 assert (_consumed <= scratch_size); \ in _hb_coretext_shape()
602 scratch_size -= _consumed; \ in _hb_coretext_shape()
748 scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_coretext_shape()
Dhb-uniscribe.cc728 unsigned int scratch_size; in _hb_uniscribe_shape()
729 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_uniscribe_shape()
735 assert (_consumed <= scratch_size); \ in _hb_uniscribe_shape()
737 scratch_size -= _consumed; \ in _hb_uniscribe_shape()
778 unsigned int glyphs_size = (scratch_size * sizeof (int) - 2) in _hb_uniscribe_shape()