Home
last modified time | relevance | path

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

/system/core/libutils/
DUnicode.cpp168 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst, size_t dst_len) in utf32_to_utf8() argument
179 LOG_ALWAYS_FATAL_IF(dst_len < len, "%zu < %zu", dst_len, len); in utf32_to_utf8()
182 dst_len -= len; in utf32_to_utf8()
184 LOG_ALWAYS_FATAL_IF(dst_len < 1, "dst_len < 1: %zu < 1", dst_len); in utf32_to_utf8()
283 void utf16_to_utf8(const char16_t* src, size_t src_len, char* dst, size_t dst_len) in utf16_to_utf8() argument
304 LOG_ALWAYS_FATAL_IF(dst_len < len, "%zu < %zu", dst_len, len); in utf16_to_utf8()
307 dst_len -= len; in utf16_to_utf8()
309 LOG_ALWAYS_FATAL_IF(dst_len < 1, "%zu < 1", dst_len); in utf16_to_utf8()
/system/core/libutils/include/utils/
DUnicode.h84 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst, size_t dst_len);
106 void utf16_to_utf8(const char16_t* src, size_t src_len, char* dst, size_t dst_len);