From 9658fc0823f70ebc75ad93713ac2ac7aec6619cd Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 16 Jul 2019 07:56:23 -0700 Subject: Remove two more unused utf32 functions. Test: builds Change-Id: I6ab2104fc6836e9edb772e8368199e6171e9d87a --- libutils/include/utils/Unicode.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'libutils/include/utils/Unicode.h') diff --git a/libutils/include/utils/Unicode.h b/libutils/include/utils/Unicode.h index a2aaa47ae..fc6712d9b 100644 --- a/libutils/include/utils/Unicode.h +++ b/libutils/include/utils/Unicode.h @@ -128,18 +128,6 @@ void utf16_to_utf8(const char16_t* src, size_t src_len, char* dst, size_t dst_le */ ssize_t utf8_length(const char *src); -/** - * Measure the length of a UTF-32 string. - */ -size_t utf8_to_utf32_length(const char *src, size_t src_len); - -/** - * Stores a UTF-32 string converted from "src" in "dst". "dst" must be large - * enough to store the entire converted string as measured by - * utf8_to_utf32_length plus space for a NUL terminator. - */ -void utf8_to_utf32(const char* src, size_t src_len, char32_t* dst); - /** * Returns the UTF-16 length of UTF-8 string "src". Returns -1 in case * it's invalid utf8. No buffer over-read occurs because of bound checks. Using overreadIsFatal you -- cgit v1.2.3