summaryrefslogtreecommitdiff
path: root/libutils/String8.cpp
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2019-07-02 18:15:03 -0700
committerSteven Moreland <smoreland@google.com>2019-07-02 18:15:03 -0700
commit0e19f3b4cc32404f25e87ff3e00d2f06982f7f68 (patch)
treedb38c9e8a5f34ae6716aaf86f37554e35f16149d /libutils/String8.cpp
parent7e473e262dc1cc5ce09d1a1935cc9bc9b43b0e7e (diff)
Remove utf32 functions.
These don't appear to be used by anything. Bug: N/A Test: binary inspection + code inspection Change-Id: I6c12db26c320a66bcf6e28618c6e9f61b40d985e
Diffstat (limited to 'libutils/String8.cpp')
-rw-r--r--libutils/String8.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/libutils/String8.cpp b/libutils/String8.cpp
index 0025c5648..d13548e4c 100644
--- a/libutils/String8.cpp
+++ b/libutils/String8.cpp
@@ -468,21 +468,6 @@ void String8::toUpper(size_t start, size_t length)
unlockBuffer(len);
}
-size_t String8::getUtf32Length() const
-{
- return utf8_to_utf32_length(mString, length());
-}
-
-int32_t String8::getUtf32At(size_t index, size_t *next_index) const
-{
- return utf32_from_utf8_at(mString, length(), index, next_index);
-}
-
-void String8::getUtf32(char32_t* dst) const
-{
- utf8_to_utf32(mString, length(), dst);
-}
-
// ---------------------------------------------------------------------------
// Path functions