/external/skqp/samplecode/ |
SampleUnpremul.cpp | 56 char utf8[kMaxBytesInUTF8Sequence]; variable 57 size_t size = SkUTF8_FromUnichar(uni, utf8); 60 switch (utf8[0]) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
CharsetEncoder2Test.java | 158 Charset utf8 = Charset.forName("utf-8"); local 159 CharsetEncoder encoder = utf8.newEncoder(); 187 CharBuffer chars = utf8.newDecoder().decode(bytes);
|
/prebuilts/go/darwin-x86/src/html/ |
escape.go | 10 "unicode/utf8" 120 return dst + utf8.EncodeRune(b[dst:], x), src + i 145 return dst + utf8.EncodeRune(b[dst:], x), src + i 147 dst1 := dst + utf8.EncodeRune(b[dst:], x[0]) 148 return dst1 + utf8.EncodeRune(b[dst1:], x[1]), src + i 156 return dst + utf8.EncodeRune(b[dst:], x), src + j + 1
|
/prebuilts/go/linux-x86/src/html/ |
escape.go | 10 "unicode/utf8" 120 return dst + utf8.EncodeRune(b[dst:], x), src + i 145 return dst + utf8.EncodeRune(b[dst:], x), src + i 147 dst1 := dst + utf8.EncodeRune(b[dst:], x[0]) 148 return dst1 + utf8.EncodeRune(b[dst1:], x[1]), src + i 156 return dst + utf8.EncodeRune(b[dst:], x), src + j + 1
|
/system/core/libutils/tests/ |
Unicode_test.cpp | 182 // An utf8 char starting with \xc4 is two bytes long. 185 static char utf8[] = "\xc4\x00\x00\x00"; local 186 ASSERT_DEATH(utf8_to_utf16_length((uint8_t *) utf8, strlen(utf8),
|
/external/ImageMagick/MagickCore/ |
xml-tree.c | 324 *utf8; 326 utf8=ConvertLatin1ToUTF8((const unsigned char *) content); 327 if (utf8 == (unsigned char *) NULL) 329 for (p=utf8; *p != '\0'; p++) 337 base64=Base64Encode(utf8,strlen((char *) utf8),&length); 338 utf8=(unsigned char *) RelinquishMagickMemory(utf8); 353 for (p=utf8; *p != '\0'; p++) 418 utf8=(unsigned char *) RelinquishMagickMemory(utf8) 317 *utf8; local 1292 *utf8; local 1948 *utf8; local [all...] |
utility-private.h | 45 Windows UTF8 compatibility methods. 49 static inline wchar_t *create_wchar_path(const char *utf8) 57 count=MultiByteToWideChar(CP_UTF8,0,utf8,-1,NULL,0); 67 (void) FormatLocaleString(buffer,MagickPathExtent,"\\\\?\\%s",utf8); 85 count=MultiByteToWideChar(CP_UTF8,0,utf8,-1,wideChar,count);
|
/frameworks/base/media/jni/ |
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) {
|
/prebuilts/go/darwin-x86/src/encoding/json/ |
tables.go | 7 import "unicode/utf8" 15 var safeSet = [utf8.RuneSelf]bool{ 121 var htmlSafeSet = [utf8.RuneSelf]bool{
|
fold.go | 9 "unicode/utf8" 37 if b >= utf8.RuneSelf { 67 if tb < utf8.RuneSelf { 83 tr, size := utf8.DecodeRune(t)
|
/prebuilts/go/linux-x86/src/encoding/json/ |
tables.go | 7 import "unicode/utf8" 15 var safeSet = [utf8.RuneSelf]bool{ 121 var htmlSafeSet = [utf8.RuneSelf]bool{
|
fold.go | 9 "unicode/utf8" 37 if b >= utf8.RuneSelf { 67 if tb < utf8.RuneSelf { 83 tr, size := utf8.DecodeRune(t)
|
/external/icu/icu4c/source/test/perf/utrie2perf/ |
utrie2perf.bat | 7 set PERF=c:\svn\icuproj\icu\utf8\source\test\perf\utrie2perf\x86\Release\utrie2perf
|
/external/oj-libjdwp/src/solaris/npt/ |
utf_md.c | 60 if (strcmp(codeset, "UTF-8") == 0 || strcmp(codeset, "utf8") == 0 ) { 144 utf8ToPlatform(struct UtfInst*ui, jbyte *utf8, int len, char *output, int outputMaxLen) 157 return iconvConvert(ui->iconvToPlatform, (char*)utf8, len, output, outputMaxLen);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
NAIRealmData.java | 76 boolean utf8 = (payload.get() & NAI_ENCODING_UTF8_MASK) != 0; 80 payload, utf8 ? StandardCharsets.UTF_8 : StandardCharsets.US_ASCII);
|
/prebuilts/go/darwin-x86/src/strings/ |
strings.go | 12 "unicode/utf8" 19 l := utf8.RuneCountInString(s) 25 ch, size := utf8.DecodeRuneInString(s) 28 if ch == utf8.RuneError { 29 a[i] = string(utf8.RuneError) 79 return utf8.RuneCountInString(s) + 1 146 // If r is utf8.RuneError, it returns the first instance of any 150 case 0 <= r && r < utf8.RuneSelf: 152 case r == utf8.RuneError: 154 if r == utf8.RuneError [all...] |
/prebuilts/go/linux-x86/src/strings/ |
strings.go | 12 "unicode/utf8" 19 l := utf8.RuneCountInString(s) 25 ch, size := utf8.DecodeRuneInString(s) 28 if ch == utf8.RuneError { 29 a[i] = string(utf8.RuneError) 79 return utf8.RuneCountInString(s) + 1 146 // If r is utf8.RuneError, it returns the first instance of any 150 case 0 <= r && r < utf8.RuneSelf: 152 case r == utf8.RuneError: 154 if r == utf8.RuneError [all...] |
/system/tools/aidl/ |
type_namespace.h | 35 extern const char kUtf8StringClass[]; // UTF8 wire format string 36 extern const char kUtf8InCppStringClass[]; // UTF16 wire format, UTF8 in C++ 419 bool utf8 = aidl_type.IsUtf8(); local 422 // Strings inside containers get remapped to appropriate utf8 versions when 427 utf8 = false; 431 utf8 = utf8 || interface.IsUtf8(); 433 } else if (utf8 || utf8InCpp) { 435 (utf8) ? kUtf8Annotation : kUtf8InCppAnnotation; 442 if (utf8) { [all...] |
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/arc/ |
nps400-6.d | 224 404: 3c22 150a utf8 r10,r12,r20 225 408: 3e22 7500 1234 5678 utf8 r0,0x12345678,r20 226 410: 3f22 0f86 ffff ffff utf8 r6,r7,0xffffffff 227 418: 3e22 7f88 ffff ffff utf8 r8,0xffffffff,0xffffffff 228 420: 3e22 137e utf8 0,r14,r13 229 424: 3e22 72be ffff ffff utf8 0,0xffffffff,r10 230 42c: 3c22 1fbe ffff ffff utf8 0,r12,0xffffffff 231 434: 3d62 0044 utf8 r4,r5,0x1 232 438: 3e62 7083 1234 5678 utf8 r3,0x12345678,0x2 233 440: 3962 013e utf8 0,r1,0x [all...] |
/external/vboot_reference/cgpt/ |
cgpt_common.c | 421 /* Convert possibly unterminated UTF16 string to UTF8. 422 * Caller must prepare enough space for UTF8, which could be up to 426 * Code point UTF16 UTF8 440 uint8_t *utf8, unsigned int maxoutput) 447 if (!utf16 || !maxinput || !utf8 || !maxoutput) 484 utf8[s8idx++] = code_point & 0x7F; 487 utf8[s8idx++] = 0xC0 | (code_point >> 6); 488 utf8[s8idx++] = 0x80 | (code_point & 0x3F); 491 utf8[s8idx++] = 0xE0 | (code_point >> 12); 492 utf8[s8idx++] = 0x80 | ((code_point >> 6) & 0x3F) [all...] |
/cts/tests/tests/proto/src/android/util/proto/cts/ |
ProtoOutputStreamStringTest.java | 61 final byte[] utf8 = string.getBytes("UTF-8"); 62 byte[] expected = new byte[utf8.length + 4]; 71 System.arraycopy(utf8, 0, expected, 4, utf8.length);
|
/external/google-breakpad/src/common/windows/ |
http_upload.h | 103 // Converts a UTF8 string to UTF16. 104 static wstring UTF8ToWide(const string &utf8); 106 // Converts a UTF16 string to UTF8.
|
/external/icu/icu4c/source/test/intltest/ |
convtest.h | 47 const char *utf8; member in struct:ConversionCase
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/text/unicode/norm/ |
example_iter_test.go | 12 "unicode/utf8" 35 for ; i < len(a) && i < len(b) && a[i] < utf8.RuneSelf && a[i] == b[i]; i++ {
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/text/unicode/norm/ |
example_iter_test.go | 12 "unicode/utf8" 35 for ; i < len(a) && i < len(b) && a[i] < utf8.RuneSelf && a[i] == b[i]; i++ {
|