Searched refs:utf8 (Results 1 - 13 of 13) sorted by relevance
/frameworks/base/libs/androidfw/ |
H A D | Util.cpp | 44 std::u16string Utf8ToUtf16(const StringPiece& utf8) { argument 46 utf8_to_utf16_length(reinterpret_cast<const uint8_t*>(utf8.data()), utf8.length()); 53 utf8_to_utf16(reinterpret_cast<const uint8_t*>(utf8.data()), utf8.length(), &*utf16.begin(), 64 std::string utf8; local 65 utf8.resize(utf8_length); 66 utf16_to_utf8(utf16.data(), utf16.length(), &*utf8.begin(), utf8_length + 1); 67 return utf8;
|
/frameworks/base/tools/aapt2/util/ |
H A D | Util.cpp | 444 std::u16string Utf8ToUtf16(const StringPiece& utf8) { argument 446 reinterpret_cast<const uint8_t*>(utf8.data()), utf8.length()); 453 utf8_to_utf16(reinterpret_cast<const uint8_t*>(utf8.data()), utf8.length(), 464 std::string utf8; local 465 utf8.resize(utf8_length); 466 utf16_to_utf8(utf16.data(), utf16.length(), &*utf8.begin(), utf8_length + 1); 467 return utf8;
|
H A D | Util.h | 203 std::u16string Utf8ToUtf16(const android::StringPiece& utf8);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaScanner.cpp | 64 unsigned char utf8 = *(bytes++); local 66 switch (utf8 >> 4) { 90 utf8 = *(bytes++); 91 if ((utf8 & 0xc0) != 0x80) { 98 utf8 = *(bytes++); 99 if ((utf8 & 0xc0) != 0x80) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
H A D | NAIRealmData.java | 76 boolean utf8 = (payload.get() & NAI_ENCODING_UTF8_MASK) != 0; 80 payload, utf8 ? StandardCharsets.UTF_8 : StandardCharsets.US_ASCII);
|
/frameworks/wilhelm/tests/native-media/jni/ |
H A D | native-media-jni.c | 346 const char *utf8 = (*env)->GetStringUTFChars(env, filename, NULL); local 347 assert(NULL != utf8); 350 file = fopen(utf8, "rb"); 352 ALOGE("Failed to open %s", utf8); 393 (*env)->ReleaseStringUTFChars(env, filename, utf8);
|
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | StringPiece.h | 298 std::string utf8; local 299 utf8.resize(static_cast<size_t>(utf8_len)); 300 utf16_to_utf8(str.data(), str.size(), &*utf8.begin(), utf8_len + 1); 301 return out << utf8;
|
H A D | Util.h | 114 std::u16string Utf8ToUtf16(const StringPiece& utf8);
|
/frameworks/minikin/tests/util/ |
H A D | UnicodeUtils.cpp | 18 #include <unicode/utf8.h>
|
/frameworks/base/tools/aapt/ |
H A D | StringPool.h | 82 * If 'utf8' is true, strings will be encoded with UTF-8 instead of 85 explicit StringPool(bool utf8 = false);
|
H A D | StringPool.cpp | 125 StringPool::StringPool(bool utf8) : argument 126 mUTF8(utf8), mValues(-1)
|
/frameworks/base/tools/aapt2/ |
H A D | StringPool.h | 218 static bool Flatten(BigBuffer* out, const StringPool& pool, bool utf8);
|
H A D | StringPool.cpp | 330 bool StringPool::Flatten(BigBuffer* out, const StringPool& pool, bool utf8) { argument 337 if (utf8) { 357 if (utf8) {
|
Completed in 324 milliseconds