Home
last modified time | relevance | path

Searched defs:utf8 (Results 1 – 24 of 24) sorted by relevance

/aosp12/system/libbase/
H A Dutf8.cpp44 bool WideToUTF8(const wchar_t* utf16, const size_t size, std::string* utf8) { in WideToUTF8()
87 bool WideToUTF8(const wchar_t* utf16, std::string* utf8) { in WideToUTF8()
92 bool WideToUTF8(const std::wstring& utf16, std::string* utf8) { in WideToUTF8()
99 static bool UTF8ToWideWithFlags(const char* utf8, const size_t size, std::wstring* utf16, in UTF8ToWideWithFlags()
132 bool UTF8ToWide(const char* utf8, const size_t size, std::wstring* utf16) { in UTF8ToWide()
147 bool UTF8ToWide(const char* utf8, std::wstring* utf16) { in UTF8ToWide()
152 bool UTF8ToWide(const std::string& utf8, std::wstring* utf16) { in UTF8ToWide()
162 bool UTF8PathToWindowsLongPath(const char* utf8, std::wstring* utf16) { in UTF8PathToWindowsLongPath()
182 namespace utf8 { namespace
H A Dutf8_test.cpp75 static std::wstring UTF8ToWide(const std::string& utf8) { in UTF8ToWide()
82 std::string utf8; in WideToUTF8() local
123 std::ostringstream utf8; in TEST() local
143 const char* utf8; in TEST() member
208 const char* utf8; in TEST() member
264 const char* utf8; in TEST() member
417 std::string utf8 = "c:\\mypath\\myfile.txt"; in TEST() local
426 std::string utf8 = "c:\\mypath"; in TEST() local
439 std::string utf8 = "c:/mypath"; in TEST() local
451 namespace utf8 { namespace
[all …]
/aosp12/art/libdexfile/dex/
H A Dutf.cc31 size_t CountModifiedUtf8Chars(const char* utf8) { in CountModifiedUtf8Chars()
50 size_t CountModifiedUtf8Chars(const char* utf8, size_t byte_count) { in CountModifiedUtf8Chars()
177 int32_t ComputeUtf16HashFromModifiedUtf8(const char* utf8, size_t utf16_length) { in ComputeUtf16HashFromModifiedUtf8()
203 int CompareModifiedUtf8ToUtf16AsCodePointValues(const char* utf8, const uint16_t* utf16, in CompareModifiedUtf8ToUtf16AsCodePointValues()
286 std::string PrintableString(const char* utf8) { in PrintableString()
H A Dutf_test.cc203 size_t CountModifiedUtf8Chars_reference(const char* utf8) { in CountModifiedUtf8Chars_reference()
/aosp12/bionic/tests/
H A Diconv_test.cpp54 const char* utf8 = "a٦ᄀ"; // U+0666 ٦ 0xd9 0xa6 // U+1100 ᄀ 0xe1 0x84 0x80 in TEST() local
80 const char* utf8 = "a٦ᄀz"; // U+0666 ٦ 0xd9 0xa6 // U+1100 ᄀ 0xe1 0x84 0x80 in TEST() local
109 const char* utf8 = "a٦ᄀz"; // U+0666 ٦ 0xd9 0xa6 // U+1100 ᄀ 0xe1 0x84 0x80 in TEST() local
137 const char* utf8 = "a٦ᄀz"; // U+0666 ٦ 0xd9 0xa6 // U+1100 ᄀ 0xe1 0x84 0x80 in TEST() local
163 const char* utf8 = "a\xd9z"; // 0xd9 is the first byte of the two-byte U+0666 ٦. in TEST() local
196 const char* utf8 = "a\xd9"; // 0xd9 is the first byte of the two-byte U+0666 ٦. in TEST() local
223 const char* utf8 = "abc"; in TEST() local
293 const char* utf8 = "$€��"; // U+0024, U+20AC, U+10437. in RoundTrip() local
/aosp12/frameworks/base/libs/androidfw/
H A DUtil.cpp45 std::u16string Utf8ToUtf16(const StringPiece& utf8) { in Utf8ToUtf16()
65 std::string utf8; in Utf16ToUtf8() local
/aosp12/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth.h58 const uint8_t* utf8 = reinterpret_cast<const uint8_t*>(bytes++); in isValidUtf() local
/aosp12/frameworks/base/tools/powermodel/src/com/android/powermodel/
H A DCsvParser.java59 final Charset utf8 = StandardCharsets.UTF_8; in parse() local
/aosp12/system/tools/aidl/
H A Daidl_to_cpp.cpp71 const bool utf8 = type.IsUtf8InCpp(); in RawParcelMethod() local
290 bool utf8 = type.IsUtf8InCpp(); in AddHeaders() local
/aosp12/frameworks/base/tools/aapt2/util/
H A DUtil.cpp337 std::string Utf8ToModifiedUtf8(const std::string& utf8) { in Utf8ToModifiedUtf8()
438 std::u16string Utf8ToUtf16(const StringPiece& utf8) { in Utf8ToUtf16()
458 std::string utf8; in Utf16ToUtf8() local
/aosp12/art/test/ti-agent/
H A Dti_utf.h28 inline size_t CountModifiedUtf8Chars(const char* utf8, size_t byte_count) { in CountModifiedUtf8Chars()
/aosp12/frameworks/base/libs/androidfw/include/androidfw/
H A DStringPiece.h307 std::string utf8; variable
/aosp12/frameworks/base/tools/aapt2/
H A DStringPool.cpp367 static bool EncodeString(const std::string& str, const bool utf8, BigBuffer* out, in EncodeString()
434 bool StringPool::Flatten(BigBuffer* out, const StringPool& pool, bool utf8, in Flatten()
/aosp12/system/core/libutils/
H A DUnicode_test.cpp185 static char utf8[] = "\xc4\x00\x00\x00"; in TEST_F() local
/aosp12/art/runtime/
H A Dreference_table.cc196 std::string utf8(s->ToModifiedUtf8()); in Dump() local
/aosp12/frameworks/wilhelm/tests/native-media/jni/
H A Dnative-media-jni.c346 const char *utf8 = (*env)->GetStringUTFChars(env, filename, NULL); in Java_com_example_nativemedia_NativeMedia_createStreamingMediaPlayer() local
/aosp12/packages/modules/adb/client/
H A Dfastdeploy.cpp145 std::string utf8; in get_string_from_utf16() local
/aosp12/frameworks/base/tools/aapt/
H A DStringPool.cpp118 StringPool::StringPool(bool utf8) : in StringPool()
/aosp12/art/runtime/jni/
H A Dcheck_jni.cc1425 const uint8_t* utf8 = CheckUtfBytes(bytes, &errorKind); in CheckUtfString() local
1457 const uint8_t* utf8 = reinterpret_cast<const uint8_t*>(bytes++); in CheckUtfBytes() local
H A Djni_internal.cc96 size_t VisitModifiedUtf8Chars(const char* utf8, size_t byte_count, GoodFunc good, BadFunc bad) { in VisitModifiedUtf8Chars()
/aosp12/packages/apps/Car/DebuggingRestrictionController/libs/
H A Dokio-1.15.0.jarMETA-INF/ META-INF/MANIFEST.MF okio/ okio/AsyncTimeout$Watchdog. ...
H A Djackson-core-2.11.1.jar ... enum com.fasterxml.jackson.core.JsonEncoding UTF8 public static final enum com.fasterxml.jackson. ...
/aosp12/packages/modules/adb/
H A Dsysdeps_win32.cpp2661 const char* utf8; in _console_write_utf8() local
/aosp12/packages/services/Car/tests/BugReportApp/libs/
H A Djackson-core-2.9.9.jar ... enum com.fasterxml.jackson.core.JsonEncoding UTF8 public static final enum com.fasterxml.jackson. ...