Lines Matching refs:src_len
128 int32_t utf32_from_utf8_at(const char *src, size_t src_len, size_t index, size_t *next_index) in utf32_from_utf8_at() argument
130 if (index >= src_len) { in utf32_from_utf8_at()
146 ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len) in utf32_to_utf8_length() argument
148 if (src == nullptr || src_len == 0) { in utf32_to_utf8_length()
153 const char32_t *end = src + src_len; in utf32_to_utf8_length()
168 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst, size_t dst_len) in utf32_to_utf8() argument
170 if (src == nullptr || src_len == 0 || dst == nullptr) { in utf32_to_utf8()
175 const char32_t *end_utf32 = src + src_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
285 if (src == nullptr || src_len == 0 || dst == nullptr) { in utf16_to_utf8()
290 const char16_t* const end_utf16 = src + src_len; in utf16_to_utf8()
317 ssize_t utf16_to_utf8_length(const char16_t *src, size_t src_len) in utf16_to_utf8_length() argument
319 if (src == nullptr || src_len == 0) { in utf16_to_utf8_length()
324 const char16_t* const end = src + src_len; in utf16_to_utf8_length()