Searched refs:result_size (Results 1 – 3 of 3) sorted by relevance
/frameworks/minikin/tests/perftests/ |
D | GraphemeBreak.cpp | 36 size_t result_size; in BM_GraphemeBreak_Ascii() local 38 ParseUnicode(buffer, 12, ASCII_TEST_STR, &result_size, nullptr); in BM_GraphemeBreak_Ascii() 39 LOG_ALWAYS_FATAL_IF(result_size != 12); in BM_GraphemeBreak_Ascii() 42 GraphemeBreak::isGraphemeBreak(nullptr, buffer, 0, result_size, testIndex); in BM_GraphemeBreak_Ascii() 51 size_t result_size; in BM_GraphemeBreak_Emoji() local 53 ParseUnicode(buffer, 12, EMOJI_TEST_STR, &result_size, nullptr); in BM_GraphemeBreak_Emoji() 54 LOG_ALWAYS_FATAL_IF(result_size != 12); in BM_GraphemeBreak_Emoji() 57 GraphemeBreak::isGraphemeBreak(nullptr, buffer, 0, result_size, testIndex); in BM_GraphemeBreak_Emoji() 66 size_t result_size; in BM_GraphemeBreak_Emoji_Flags() local 68 ParseUnicode(buffer, 12, FLAGS_TEST_STR, &result_size, nullptr); in BM_GraphemeBreak_Emoji_Flags() [all …]
|
/frameworks/minikin/tests/util/ |
D | UnicodeUtils.cpp | 31 void ParseUnicode(uint16_t* buf, size_t buf_size, const char* src, size_t* result_size, in ParseUnicode() argument 89 LOG_ALWAYS_FATAL_IF(result_size == nullptr); in ParseUnicode() 90 *result_size = output_ix; in ParseUnicode() 96 size_t result_size = 0; in parseUnicodeStringWithOffset() local 97 ParseUnicode(buffer.get(), in.size(), in.c_str(), &result_size, offset); in parseUnicodeStringWithOffset() 98 return std::vector<uint16_t>(buffer.get(), buffer.get() + result_size); in parseUnicodeStringWithOffset()
|
D | UnicodeUtils.h | 25 void ParseUnicode(uint16_t* buf, size_t buf_size, const char* src, size_t* result_size,
|