Home
last modified time | relevance | path

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

/frameworks/minikin/tests/util/
DUnicodeUtils.cpp34 size_t output_ix = 0; in ParseUnicode() local
44 LOG_ALWAYS_FATAL_IF(output_ix >= buf_size); in ParseUnicode()
45 buf[output_ix++] = (uint16_t)src[input_ix++]; in ParseUnicode()
65 LOG_ALWAYS_FATAL_IF(output_ix + 1 > buf_size); in ParseUnicode()
66 buf[output_ix++] = codepoint; in ParseUnicode()
69 LOG_ALWAYS_FATAL_IF(output_ix + 2 > buf_size); in ParseUnicode()
70 buf[output_ix++] = U16_LEAD(codepoint); in ParseUnicode()
71 buf[output_ix++] = U16_TRAIL(codepoint); in ParseUnicode()
81 *offset = output_ix; in ParseUnicode()
90 *result_size = output_ix; in ParseUnicode()