HomeSort by relevance Sort by last modified time
    Searched refs:utf8 (Results 76 - 100 of 511) sorted by null

1 2 34 5 6 7 8 91011>>

  /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)
81 return utf8.RuneCountInString(s) + 1
148 // If r is utf8.RuneError, it returns the first instance of any
152 case 0 <= r && r < utf8.RuneSelf:
154 case r == utf8.RuneError:
156 if r == utf8.RuneError
    [all...]
  /prebuilts/go/darwin-x86/src/mime/
encodedword_test.go 16 utf8, iso88591 := "utf-8", "iso-8859-1"
22 {QEncoding, utf8, "François-Jérôme", "=?utf-8?q?Fran=C3=A7ois-J=C3=A9r=C3=B4me?="},
23 {BEncoding, utf8, "Café", "=?utf-8?b?Q2Fmw6k=?="},
25 {QEncoding, utf8, "", ""},
26 {QEncoding, utf8, "A", "A"},
28 {QEncoding, utf8, "123 456", "123 456"},
29 {QEncoding, utf8, "\t !\"#$%&'()*+,-./ :;<>?@[\\]^_`{|}~", "\t !\"#$%&'()*+,-./ :;<>?@[\\]^_`{|}~"},
30 {QEncoding, utf8, strings.Repeat("é", 10), "=?utf-8?q?" + strings.Repeat("=C3=A9", 10) + "?="},
31 {QEncoding, utf8, strings.Repeat("é", 11), "=?utf-8?q?" + strings.Repeat("=C3=A9", 10) + "?= =?utf-8?q?=C3=A9?="},
33 {QEncoding, utf8, strings.Repeat("\x80", 22), "=?utf-8?q?" + strings.Repeat("=80", 21) + "?= =?utf-8?q?=80?="}
    [all...]
  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/text/width/
transform.go 8 "unicode/utf8"
19 if src[n] < utf8.RuneSelf {
21 for n++; n < len(src) && src[n] < utf8.RuneSelf; n++ {
45 if src[nSrc] < utf8.RuneSelf {
51 for nSrc++; nSrc < end && src[nSrc] < utf8.RuneSelf; nSrc++ {
59 if src[nSrc] < utf8.RuneSelf {
101 if src[n] < utf8.RuneSelf {
103 for n++; n < len(src) && src[n] < utf8.RuneSelf; n++ {
128 if src[nSrc] < utf8.RuneSelf {
134 for nSrc++; nSrc < end && src[nSrc] < utf8.RuneSelf; nSrc++
    [all...]
  /prebuilts/go/linux-x86/src/mime/
encodedword_test.go 16 utf8, iso88591 := "utf-8", "iso-8859-1"
22 {QEncoding, utf8, "François-Jérôme", "=?utf-8?q?Fran=C3=A7ois-J=C3=A9r=C3=B4me?="},
23 {BEncoding, utf8, "Café", "=?utf-8?b?Q2Fmw6k=?="},
25 {QEncoding, utf8, "", ""},
26 {QEncoding, utf8, "A", "A"},
28 {QEncoding, utf8, "123 456", "123 456"},
29 {QEncoding, utf8, "\t !\"#$%&'()*+,-./ :;<>?@[\\]^_`{|}~", "\t !\"#$%&'()*+,-./ :;<>?@[\\]^_`{|}~"},
30 {QEncoding, utf8, strings.Repeat("é", 10), "=?utf-8?q?" + strings.Repeat("=C3=A9", 10) + "?="},
31 {QEncoding, utf8, strings.Repeat("é", 11), "=?utf-8?q?" + strings.Repeat("=C3=A9", 10) + "?= =?utf-8?q?=C3=A9?="},
33 {QEncoding, utf8, strings.Repeat("\x80", 22), "=?utf-8?q?" + strings.Repeat("=80", 21) + "?= =?utf-8?q?=80?="}
    [all...]
  /prebuilts/go/linux-x86/src/vendor/golang_org/x/text/width/
transform.go 8 "unicode/utf8"
19 if src[n] < utf8.RuneSelf {
21 for n++; n < len(src) && src[n] < utf8.RuneSelf; n++ {
45 if src[nSrc] < utf8.RuneSelf {
51 for nSrc++; nSrc < end && src[nSrc] < utf8.RuneSelf; nSrc++ {
59 if src[nSrc] < utf8.RuneSelf {
101 if src[n] < utf8.RuneSelf {
103 for n++; n < len(src) && src[n] < utf8.RuneSelf; n++ {
128 if src[nSrc] < utf8.RuneSelf {
134 for nSrc++; nSrc < end && src[nSrc] < utf8.RuneSelf; nSrc++
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
tokenizer.c 404 PyObject* utf8 = NULL;
426 utf8 = buf;
428 if (utf8 == NULL) {
429 utf8 = PyUnicode_AsUTF8String(buf);
431 if (utf8 == NULL)
434 str = PyString_AsString(utf8);
435 utf8len = PyString_GET_SIZE(utf8);
439 Py_DECREF(utf8);
446 Py_DECREF(utf8);
610 PyObject *utf8; local
668 PyObject* utf8 = NULL; local
790 PyObject *enc, *sysstdin, *decoded, *utf8; local
    [all...]
  /frameworks/base/tools/aapt2/util/
Util.cpp 444 std::u16string Utf8ToUtf16(const StringPiece& utf8) {
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;
  /external/ImageMagick/coders/
braille.c 331 unsigned char utf8[3];
333 utf8[0] = (unsigned char) (0xe0|((0x28>>4)&0x0f));
334 utf8[1] = 0x80|((0x28<<2)&0x3f)|(cell>>6);
335 utf8[2] = 0x80|(cell&0x3f);
336 (void) WriteBlob(image,3,utf8);
326 unsigned char utf8[3]; local
  /external/icu/icu4c/source/common/
ucnv_u8.c 29 #include "unicode/utf8.h"
770 UConverter *utf8; local
782 utf8=pToUArgs->converter;
789 c=(UChar32)utf8->toUnicodeStatus;
791 toULength=oldToULength=utf8->toULength;
792 toULimit=(int8_t)utf8->mode;
849 utf8->toUnicodeStatus=0;
850 utf8->toULength=0;
922 utf8->toUBytes[oldToULength++]=*source++;
924 utf8->toUnicodeStatus=c
    [all...]
  /external/llvm/lib/Support/Windows/
WindowsSupport.h 220 std::error_code UTF8ToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16);
222 SmallVectorImpl<char> &utf8);
225 SmallVectorImpl<char> &utf8);
  /external/pcre/dist2/src/
pcre2demo.c 81 int utf8; local
314 utf8 = (option_bits & PCRE2_UTF) != 0;
374 else if (utf8) /* Otherwise, ensure we */
  /external/skia/samplecode/
SampleRectanizer.cpp 61 char utf8[kMaxBytesInUTF8Sequence]; variable
62 size_t size = SkUTF8_FromUnichar(uni, utf8);
65 switch (utf8[0]) {
SampleUnpremul.cpp 57 char utf8[kMaxBytesInUTF8Sequence]; variable
58 size_t size = SkUTF8_FromUnichar(uni, utf8);
61 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
  /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...]
  /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
  /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/ndk/r13/sources/third_party/vulkan/src/build-android/generated/common/
vk_layer_utils.cpp 573 VkStringErrorFlags vk_string_validate(const int max_length, const char *utf8) {
579 if (utf8[i] == 0) {
581 } else if ((utf8[i] >= 0xa) && (utf8[i] < 0x7f)) {
583 } else if ((utf8[i] & UTF8_ONE_BYTE_MASK) == UTF8_ONE_BYTE_CODE) {
585 } else if ((utf8[i] & UTF8_TWO_BYTE_MASK) == UTF8_TWO_BYTE_CODE) {
587 } else if ((utf8[i] & UTF8_THREE_BYTE_MASK) == UTF8_THREE_BYTE_CODE) {
599 if ((utf8[i] & UTF8_DATA_BYTE_MASK) != UTF8_DATA_BYTE_CODE) {
    [all...]

Completed in 2488 milliseconds

1 2 34 5 6 7 8 91011>>