HomeSort by relevance Sort by last modified time
    Searched refs:utf8 (Results 276 - 300 of 624) sorted by null

<<11121314151617181920>>

  /prebuilts/go/linux-x86/src/unicode/utf8/
utf8_test.go 11 . "unicode/utf8"
17 panic("utf8.MaxRune is wrong")
20 panic("utf8.RuneError is wrong")
27 t.Errorf("utf8.MaxRune is wrong: %x should be %x", MaxRune, unicode.MaxRune)
30 t.Errorf("utf8.RuneError is wrong: %x should be %x", RuneError, unicode.ReplacementChar)
  /prebuilts/go/darwin-x86/src/fmt/
scan.go 15 "unicode/utf8"
306 buf [utf8.UTFMax]byte // used only inside ReadRune
308 pendBuf [utf8.UTFMax]byte // bytes left over
334 size = utf8.RuneLen(rr)
341 if r.buf[0] < utf8.RuneSelf { // fast check for common ASCII case
349 for n = 1; !utf8.FullRune(r.buf[:n]); n++ {
359 rr, size = utf8.DecodeRune(r.buf[:n])
1069 fmtc, w := utf8.DecodeRuneInString(format[i:])
1088 fmtc, w = utf8.DecodeRuneInString(format[i:])
1128 nextc, _ := utf8.DecodeRuneInString(format[i+w:]) // will not match % if string is empt
    [all...]
  /prebuilts/go/linux-x86/src/fmt/
scan.go 15 "unicode/utf8"
306 buf [utf8.UTFMax]byte // used only inside ReadRune
308 pendBuf [utf8.UTFMax]byte // bytes left over
334 size = utf8.RuneLen(rr)
341 if r.buf[0] < utf8.RuneSelf { // fast check for common ASCII case
349 for n = 1; !utf8.FullRune(r.buf[:n]); n++ {
359 rr, size = utf8.DecodeRune(r.buf[:n])
1069 fmtc, w := utf8.DecodeRuneInString(format[i:])
1088 fmtc, w = utf8.DecodeRuneInString(format[i:])
1128 nextc, _ := utf8.DecodeRuneInString(format[i+w:]) // will not match % if string is empt
    [all...]
  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/idna/
idna.go 21 "unicode/utf8"
409 return s, bidi, runeError(utf8.RuneError)
418 r, _ := utf8.DecodeRuneInString(s[i:])
457 err = runeError(utf8.RuneError)
471 r, _ := utf8.DecodeRuneInString(s[start:])
600 return runeError(utf8.RuneError)
727 if s[i] >= utf8.RuneSelf {
  /prebuilts/go/linux-x86/src/vendor/golang_org/x/net/idna/
idna.go 21 "unicode/utf8"
409 return s, bidi, runeError(utf8.RuneError)
418 r, _ := utf8.DecodeRuneInString(s[i:])
457 err = runeError(utf8.RuneError)
471 r, _ := utf8.DecodeRuneInString(s[start:])
600 return runeError(utf8.RuneError)
727 if s[i] >= utf8.RuneSelf {
  /external/icu/icu4c/source/test/intltest/
ustrtest.cpp 240 static const uint8_t utf8[]={ 0x61, 0xC3, 0xA4, 0xC3, 0x9F, 0xE4, 0xB8, 0x80, 0 }; local
242 UnicodeString from8a = UnicodeString((const char *)utf8);
243 UnicodeString from8b = UnicodeString((const char *)utf8, (int32_t)sizeof(utf8)-1);
250 if(length8!=((int32_t)sizeof(utf8)-1) || 0!=uprv_memcmp(buffer, utf8, sizeof(utf8))) {
254 if(length8!=4 || buffer[length8]!=0 || 0!=uprv_memcmp(buffer, utf8+1, length8)) {
1868 static const uint8_t utf8[] = { local
    [all...]
  /prebuilts/go/darwin-x86/src/internal/poll/
fd_windows.go 16 "unicode/utf8"
306 readbyte []byte // buffer to hold decoding of readuint16 from utf16 to utf8
500 // encodes them into utf8 and stores them in buffer b.
501 // It returns the number of utf8 bytes read and an error, if any.
538 r = utf8.RuneError
541 if r != utf8.RuneError {
546 n := utf8.EncodeRune(buf[len(buf):cap(buf)], r)
675 for len(b) >= utf8.UTFMax || utf8.FullRune(b) {
676 r, l := utf8.DecodeRune(b
    [all...]
  /prebuilts/go/linux-x86/src/internal/poll/
fd_windows.go 16 "unicode/utf8"
306 readbyte []byte // buffer to hold decoding of readuint16 from utf16 to utf8
500 // encodes them into utf8 and stores them in buffer b.
501 // It returns the number of utf8 bytes read and an error, if any.
538 r = utf8.RuneError
541 if r != utf8.RuneError {
546 n := utf8.EncodeRune(buf[len(buf):cap(buf)], r)
675 for len(b) >= utf8.UTFMax || utf8.FullRune(b) {
676 r, l := utf8.DecodeRune(b
    [all...]
  /external/golang-protobuf/proto/
text_parser.go 44 "unicode/utf8"
231 r, n := utf8.DecodeRuneInString(s)
232 if r == utf8.RuneError && n == 1 {
237 if r < utf8.RuneSelf {
256 r, n := utf8.DecodeRuneInString(s)
257 if r == utf8.RuneError && n == 1 {
  /external/protobuf/src/google/protobuf/util/internal/
json_stream_parser.cc 132 // Find the structurally valid UTF8 prefix and parse only that.
154 // Storage for UTF8-coerced string.
155 google::protobuf::scoped_array<char> utf8; local
157 utf8.reset(new char[leftover_.size()]);
158 char* coerced = internal::UTF8CoerceToStructurallyValid(leftover_, utf8.get(), ' ');
401 // for use in UTF8 encoding utility. We assume that str begins with \uhhhh and
753 // Advance by moving one UTF8 character while making sure we don't go beyond
  /external/python/cpython3/Objects/
moduleobject.c 515 char *utf8; local
519 utf8 = PyUnicode_AsUTF8(fileobj);
521 return utf8;
  /prebuilts/go/darwin-x86/src/go/scanner/
scanner.go 18 "unicode/utf8"
67 case r >= utf8.RuneSelf:
69 r, w = utf8.DecodeRune(s.src[s.rdOffset:])
70 if r == utf8.RuneError && w == 1 {
258 return 'a' <= ch && ch <= 'z' || 'A' <= ch && ch <= 'Z' || ch == '_' || ch >= utf8.RuneSelf && unicode.IsLetter(ch)
262 return '0' <= ch && ch <= '9' || ch >= utf8.RuneSelf && unicode.IsDigit(ch)
  /prebuilts/go/darwin-x86/src/net/mail/
message.go 31 "unicode/utf8"
500 r, size := utf8.DecodeRuneInString(p.s[i:])
506 case size == 1 && r == utf8.RuneError:
551 r, size := utf8.DecodeRuneInString(p.s[i:])
553 case size == 1 && r == utf8.RuneError:
761 return r >= utf8.RuneSelf
  /prebuilts/go/linux-x86/src/go/scanner/
scanner.go 18 "unicode/utf8"
67 case r >= utf8.RuneSelf:
69 r, w = utf8.DecodeRune(s.src[s.rdOffset:])
70 if r == utf8.RuneError && w == 1 {
258 return 'a' <= ch && ch <= 'z' || 'A' <= ch && ch <= 'Z' || ch == '_' || ch >= utf8.RuneSelf && unicode.IsLetter(ch)
262 return '0' <= ch && ch <= '9' || ch >= utf8.RuneSelf && unicode.IsDigit(ch)
  /prebuilts/go/linux-x86/src/net/mail/
message.go 31 "unicode/utf8"
500 r, size := utf8.DecodeRuneInString(p.s[i:])
506 case size == 1 && r == utf8.RuneError:
551 r, size := utf8.DecodeRuneInString(p.s[i:])
553 case size == 1 && r == utf8.RuneError:
761 return r >= utf8.RuneSelf
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/
marshal.c 345 PyObject *utf8; local
346 utf8 = PyUnicode_AsUTF8String(v);
347 if (utf8 == NULL) {
353 n = PyString_GET_SIZE(utf8);
360 w_string(PyString_AS_STRING(utf8), (int)n, p);
361 Py_DECREF(utf8);
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Python/
marshal.c 363 PyObject *utf8; local
364 utf8 = PyUnicode_AsUTF8String(v);
365 if (utf8 == NULL) {
371 w_pstring(PyString_AS_STRING(utf8), PyString_GET_SIZE(utf8), p);
372 Py_DECREF(utf8);
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
marshal.c 345 PyObject *utf8; local
346 utf8 = PyUnicode_AsUTF8String(v);
347 if (utf8 == NULL) {
353 n = PyString_GET_SIZE(utf8);
360 w_string(PyString_AS_STRING(utf8), (int)n, p);
361 Py_DECREF(utf8);
    [all...]
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
dumpICUrules.bat 24 # in icu/data, from ICU4J UTF8 transliterator data files, in
214 # Param: Java file name of the form m|Transliterator_(.+)\.utf8\.txt$|
221 if (m|Transliterator_(.+)\.utf8\.txt$| ||
344 # f:/icu4j/src/com/ibm/text/resources/Transliterator_Fullwidth_Halfwidth.utf8.txt
356 # Open file, write UTF8 marker, close it, and reopen in text mode
358 binmode OUT; # Must do this so we can write our UTF8 marker
359 print OUT pack("C3", 0xEF, 0xBB, 0xBF); # Write UTF8 marker
372 binmode IN; # IN is a UTF8 file
375 my $BOM = pack("C3", 239, 187, 191); # a UTF8 byte order mark
  /external/python/cpython2/Python/
marshal.c 357 PyObject *utf8; local
358 utf8 = PyUnicode_AsUTF8String(v);
359 if (utf8 == NULL) {
365 w_pstring(PyString_AS_STRING(utf8), PyString_GET_SIZE(utf8), p);
366 Py_DECREF(utf8);
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/
export.go 15 "unicode/utf8"
57 if r := s[0]; r < utf8.RuneSelf {
60 r, _ := utf8.DecodeRuneInString(s)
  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/lex/httplex/
httplex.go 15 "unicode/utf8"
166 if b >= utf8.RuneSelf {
319 if s[i] >= utf8.RuneSelf {
  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/text/secure/bidirule/
bidirule.go 15 "unicode/utf8"
267 if s[n] < utf8.RuneSelf {
309 if s[n] < utf8.RuneSelf {
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/
export.go 15 "unicode/utf8"
57 if r := s[0]; r < utf8.RuneSelf {
60 r, _ := utf8.DecodeRuneInString(s)
  /prebuilts/go/linux-x86/src/vendor/golang_org/x/net/lex/httplex/
httplex.go 15 "unicode/utf8"
166 if b >= utf8.RuneSelf {
319 if s[i] >= utf8.RuneSelf {

Completed in 442 milliseconds

<<11121314151617181920>>