Home
last modified time | relevance | path

Searched refs:utf8Bytes (Results 1 – 6 of 6) sorted by relevance

/external/mdnsresponder/mDNSWindows/DLL.NET/
DPString.h34 Byte utf8Bytes[] = Encoding::Convert(Encoding::Unicode, Encoding::UTF8, unicodeBytes); in PString() local
35 m_p = Marshal::AllocHGlobal(utf8Bytes->Length + 1); in PString()
37 Byte __pin * p = &utf8Bytes[0]; in PString()
39 memcpy(hBytes, p, utf8Bytes->Length); in PString()
40 hBytes[utf8Bytes->Length] = '\0'; in PString()
/external/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp342 static SkTLazy<BiDiRunIterator> Make(const char* utf8, size_t utf8Bytes, UBiDiLevel level) { in Make() argument
347 if (!SkTFitsIn<int32_t>(utf8Bytes)) { in Make()
356 u_strFromUTF8(nullptr, 0, &utf16Units, utf8, utf8Bytes, &status); in Make()
359 u_strFromUTF8(utf16.get(), utf16Units, nullptr, utf8, utf8Bytes, &status); in Make()
380 ret.init(utf8, utf8 + utf8Bytes, std::move(bidi)); in Make()
426 static SkTLazy<ScriptRunIterator> Make(const char* utf8, size_t utf8Bytes, in Make() argument
430 ret.init(utf8, utf8Bytes, hbUnicode); in Make()
433 ScriptRunIterator(const char* utf8, size_t utf8Bytes, hb_unicode_funcs_t* hbUnicode) in ScriptRunIterator() argument
434 : fCurrent(utf8), fEnd(fCurrent + utf8Bytes) in ScriptRunIterator()
480 static SkTLazy<FontRunIterator> Make(const char* utf8, size_t utf8Bytes, in Make() argument
[all …]
/external/skqp/modules/skshaper/src/
DSkShaper_harfbuzz.cpp134 static SkTLazy<BiDiRunIterator> Make(const char* utf8, size_t utf8Bytes, UBiDiLevel level) { in Make() argument
139 if (!SkTFitsIn<int32_t>(utf8Bytes)) { in Make()
148 u_strFromUTF8(nullptr, 0, &utf16Units, utf8, utf8Bytes, &status); in Make()
151 u_strFromUTF8(utf16.get(), utf16Units, nullptr, utf8, utf8Bytes, &status); in Make()
172 ret.init(utf8, utf8 + utf8Bytes, std::move(bidi)); in Make()
218 static SkTLazy<ScriptRunIterator> Make(const char* utf8, size_t utf8Bytes, in Make() argument
222 ret.init(utf8, utf8Bytes, hbUnicode); in Make()
225 ScriptRunIterator(const char* utf8, size_t utf8Bytes, hb_unicode_funcs_t* hbUnicode) in ScriptRunIterator() argument
226 : fCurrent(utf8), fEnd(fCurrent + utf8Bytes) in ScriptRunIterator()
272 static SkTLazy<FontRunIterator> Make(const char* utf8, size_t utf8Bytes, in Make() argument
[all …]
/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/
DMinimalZipEntryTest.java167 byte[] utf8Bytes = fileName.getBytes("UTF8"); in testGetFileName()
169 Assert.assertFalse(Arrays.equals(utf8Bytes, cp437Bytes)); // For test sanity in testGetFileName()
177 utf8Bytes, in testGetFileName()
180 Assert.assertArrayEquals(utf8Bytes, utf8Entry.getFileNameBytes()); in testGetFileName()
/external/clang/test/ARCMT/
Dobjcmt-boxing.m.result104 const char *utf8Bytes = "blah";
105 NSString *string1 = @(utf8Bytes);
106 NSString *string2 = @(utf8Bytes);
Dobjcmt-boxing.m104 const char *utf8Bytes = "blah";
105 NSString *string1 = [NSString stringWithUTF8String:utf8Bytes];
106 NSString *string2 = [[NSString alloc] initWithUTF8String:utf8Bytes];