HomeSort by relevance Sort by last modified time
    Searched refs:utf8Bytes (Results 1 - 8 of 8) sorted by null

  /external/mdnsresponder/mDNSWindows/DLL.NET/
PString.h 34 Byte utf8Bytes[] = Encoding::Convert(Encoding::Unicode, Encoding::UTF8, unicodeBytes);
35 m_p = Marshal::AllocHGlobal(utf8Bytes->Length + 1);
37 Byte __pin * p = &utf8Bytes[0];
39 memcpy(hBytes, p, utf8Bytes->Length);
40 hBytes[utf8Bytes->Length] = '\0';
  /frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
KeySyncUtilsTest.java 60 utf8Bytes("g09TEvo6XqVdNaYdRggzn5w2C5rCeE1F");
62 utf8Bytes("snQzsbvclkSsG6PwasAp1oFLzbq3KtFe");
72 byte[] lockScreenHash = utf8Bytes("012345678910");
76 assertArrayEquals(calculateSha256(utf8Bytes("THM_KF_hash012345678910")), thmKfHash);
81 byte[] thmKfHash = KeySyncUtils.calculateThmKfHash(utf8Bytes("1234"));
119 utf8Bytes("hello, world!"),
121 utf8Bytes("hello"),
122 utf8Bytes(", "),
123 utf8Bytes("world"),
124 utf8Bytes("!")));
    [all...]
KeySyncTaskTest.java 209 KeySyncTask.hashCredentialsBySaltedSha256(utf8Bytes("123"), "4567"),
210 KeySyncTask.hashCredentialsBySaltedSha256(utf8Bytes("1234"), "567")));
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapUtils.java 425 byte[] utf8Bytes = new byte[utf8String.length() + 1];
427 System.arraycopy(utf8String.getBytes("UTF-8"), 0, utf8Bytes, 0, utf8String.length());
433 if (utf8Bytes.length > maxLength) {
436 if ((utf8Bytes[maxLength - 1] & 0xC0) == 0x80) {
438 if ((utf8Bytes[i] & 0xC0) == 0xC0) {
441 utf8Bytes = Arrays.copyOf(utf8Bytes, i + 1);
442 utf8Bytes[i] = 0;
448 utf8Bytes = Arrays.copyOf(utf8Bytes, maxLength)
    [all...]
  /external/skia/tools/shape/
SkShaper_harfbuzz.cpp 99 static SkTLazy<BiDiRunIterator> Make(const char* utf8, size_t utf8Bytes, UBiDiLevel level) {
104 if (!SkTFitsIn<int32_t>(utf8Bytes)) {
108 icu::UnicodeString utf16 = icu::UnicodeString::fromUTF8(icu::StringPiece(utf8, utf8Bytes));
170 static SkTLazy<ScriptRunIterator> Make(const char* utf8, size_t utf8Bytes,
174 ret.init(utf8, utf8Bytes, hbUnicode);
177 ScriptRunIterator(const char* utf8, size_t utf8Bytes, hb_unicode_funcs_t* hbUnicode)
178 : fCurrent(utf8), fEnd(fCurrent + utf8Bytes)
224 static SkTLazy<FontRunIterator> Make(const char* utf8, size_t utf8Bytes,
230 ret.init(utf8, utf8Bytes, std::move(typeface), hbFace, std::move(fallbackMgr));
233 FontRunIterator(const char* utf8, size_t utf8Bytes, sk_sp<SkTypeface> typeface
    [all...]
  /external/skqp/tools/shape/
SkShaper_harfbuzz.cpp 97 static SkTLazy<BiDiRunIterator> Make(const char* utf8, size_t utf8Bytes, UBiDiLevel level) {
102 if (!SkTFitsIn<int32_t>(utf8Bytes)) {
106 icu::UnicodeString utf16 = icu::UnicodeString::fromUTF8(icu::StringPiece(utf8, utf8Bytes));
168 static SkTLazy<ScriptRunIterator> Make(const char* utf8, size_t utf8Bytes,
172 ret.init(utf8, utf8Bytes, hbUnicode);
175 ScriptRunIterator(const char* utf8, size_t utf8Bytes, hb_unicode_funcs_t* hbUnicode)
176 : fCurrent(utf8), fEnd(fCurrent + utf8Bytes)
222 static SkTLazy<FontRunIterator> Make(const char* utf8, size_t utf8Bytes,
228 ret.init(utf8, utf8Bytes, std::move(typeface), hbFace, std::move(fallbackMgr));
231 FontRunIterator(const char* utf8, size_t utf8Bytes, sk_sp<SkTypeface> typeface
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
StringTest.java 361 byte[] utf8Bytes = expected.getBytes();
362 assertEquals(expected, new String(utf8Bytes));
    [all...]
  /prebuilts/tools/common/m2/repository/com/firebase/firebase-client-jvm/2.5.2/
firebase-client-jvm-2.5.2.jar 

Completed in 123 milliseconds