/prebuilts/go/linux-x86/src/encoding/csv/ |
reader.go | 61 "unicode/utf8" 94 return r != 0 && r != '\r' && r != '\n' && utf8.ValidRune(r) && r != utf8.RuneError 249 // nextRune returns the next rune in b or utf8.RuneError. 251 r, _ := utf8.DecodeRune(b) 283 commaLen := utf8.RuneLen(r.Comma) 304 col := utf8.RuneCount(fullLine[:len(fullLine)-len(line[j:])]) 344 col := utf8.RuneCount(fullLine[:len(fullLine)-len(line)-quoteLen]) 362 col := utf8.RuneCount(fullLine)
|
/prebuilts/go/darwin-x86/src/path/filepath/ |
match.go | 13 "unicode/utf8" 132 r, n := utf8.DecodeRuneInString(s) 177 _, n := utf8.DecodeRuneInString(s) 215 r, n := utf8.DecodeRuneInString(chunk) 216 if r == utf8.RuneError && n == 1 {
|
/prebuilts/go/linux-x86/src/path/filepath/ |
match.go | 13 "unicode/utf8" 132 r, n := utf8.DecodeRuneInString(s) 177 _, n := utf8.DecodeRuneInString(s) 215 r, n := utf8.DecodeRuneInString(chunk) 216 if r == utf8.RuneError && n == 1 {
|
/prebuilts/go/darwin-x86/src/bytes/ |
reader.go | 10 "unicode/utf8" 93 if c := r.s[r.i]; c < utf8.RuneSelf { 97 ch, size = utf8.DecodeRune(r.s[r.i:])
|
/prebuilts/go/darwin-x86/src/cmd/vet/ |
tests.go | 12 "unicode/utf8" 23 r, size := utf8.DecodeRuneInString(s) 32 r, _ := utf8.DecodeRuneInString(name)
|
/prebuilts/go/linux-x86/src/bytes/ |
reader.go | 10 "unicode/utf8" 93 if c := r.s[r.i]; c < utf8.RuneSelf { 97 ch, size = utf8.DecodeRune(r.s[r.i:])
|
/prebuilts/go/linux-x86/src/cmd/vet/ |
tests.go | 12 "unicode/utf8" 23 r, size := utf8.DecodeRuneInString(s) 32 r, _ := utf8.DecodeRuneInString(name)
|
/external/flatbuffers/include/flatbuffers/ |
util.h | 397 const char *utf8 = s + i; local 398 int ucc = FromUTF8(&utf8); 434 i = static_cast<uoffset_t>(utf8 - s - 1);
|
/external/python/cpython3/Parser/ |
tokenizer.c | 694 PyObject *utf8; local 698 utf8 = PyUnicode_AsUTF8String(buf); 700 return utf8; 752 PyObject* utf8 = NULL; local 767 utf8 = translate_into_utf8(str, tok->enc); 768 if (utf8 == NULL) 770 str = PyBytes_AsString(utf8); 794 assert(utf8 == NULL); 795 utf8 = translate_into_utf8(str, tok->enc); 796 if (utf8 == NULL [all...] |
/frameworks/base/tools/aapt2/util/ |
Files.cpp | 31 #include "android-base/utf8.h" 111 int result = ::android::base::utf8::mkdir(parent_path.c_str(), mode); 117 return ::android::base::utf8::mkdir(path.c_str(), mode) == 0 || errno == EEXIST; 176 unique_fd fd(TEMP_FAILURE_RETRY(::android::base::utf8::open(path.c_str(), flags)));
|
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/supl_init/ |
EncodingType.java | 40 utf8(2), enum constant in enum:EncodingType.Value
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_multibytecodec_support.py | 38 for native, utf8 in zip(*[StringIO(f).readlines()
41 self.assertEqual(u, utf8.decode('utf-8'))
336 with open(os.path.join(dir, name + '-utf8.txt'), 'rb') as f:
337 utf8 = f.read()
338 return encoded, utf8
|
/external/icu/icu4c/source/common/ |
ucnvmbcs.cpp | 53 #include "unicode/utf8.h" 5023 UConverter *utf8, *cnv; local 5324 UConverter *utf8, *cnv; local [all...] |
unisetspan.h | 43 UTF8 = 4, 51 FWD_UTF8_CONTAINED = FWD | UTF8 | CONTAINED, 52 FWD_UTF8_NOT_CONTAINED = FWD | UTF8 | NOT_CONTAINED, 55 BACK_UTF8_CONTAINED = BACK | UTF8 | CONTAINED, 56 BACK_UTF8_NOT_CONTAINED = BACK | UTF8 | NOT_CONTAINED 124 uint8_t *utf8; member in class:UnicodeSetStringSpan
|
/external/libtextclassifier/util/utf8/ |
unicodetext.h | 144 // Gets pointer to the underlying utf8 data. 147 // Gets length (in bytes) of the underlying utf8 data. 150 // Computes length (in number of Unicode codepoints) of the underlying utf8 157 // Checks whether the underlying data is valid utf8 data. 164 // This function assumes that the input is interchange valid UTF8. 170 UnicodeText& AppendUTF8(const char* utf8, int len);
|
/external/libxml2/include/libxml/ |
encoding.h | 41 * Libxml does not do beforehand translation on UTF8 and ISOLatinX. 44 * Anything else would have to be translated to UTF8 before being 136 UConverter *utf8; /* for conversion between UTF-8 and UTF-16 */ member in struct:_uconv_t
|
/external/v8/src/inspector/ |
v8-debugger-script.cc | 83 DCHECK_EQ(expectedV8ScriptId.utf8(), translatedScriptId.utf8()); 95 DCHECK_EQ(expectedProtocolScriptId.utf8(), translatedScriptId.utf8());
|
/frameworks/base/libs/androidfw/include/androidfw/ |
Util.h | 114 std::u16string Utf8ToUtf16(const StringPiece& utf8);
|
/prebuilts/go/darwin-x86/src/cmd/go/internal/str/ |
str.go | 12 "unicode/utf8" 43 if c >= utf8.RuneSelf || 'A' <= c && c <= 'Z' {
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/idna/ |
punycode.go | 14 "unicode/utf8" 85 if n > utf8.MaxRune || len(output) >= 1024 {
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/text/unicode/norm/ |
transform.go | 10 "unicode/utf8" 46 if len(rb.out) < rb.nrune*utf8.UTFMax {
|
/prebuilts/go/linux-x86/src/cmd/go/internal/str/ |
str.go | 12 "unicode/utf8" 43 if c >= utf8.RuneSelf || 'A' <= c && c <= 'Z' {
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/idna/ |
punycode.go | 14 "unicode/utf8" 85 if n > utf8.MaxRune || len(output) >= 1024 {
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/text/unicode/norm/ |
transform.go | 10 "unicode/utf8" 46 if len(rb.out) < rb.nrune*utf8.UTFMax {
|
/external/javassist/src/main/javassist/bytecode/ |
ConstPool.java | 732 int utf8 = addUtf8Info(Descriptor.toJvmName(qname)); local 733 info = new ClassInfo(utf8, numOfItems); 955 * <p>If the given utf8 string has been already recorded in the 962 public int addUtf8Info(String utf8) { 963 Utf8Info info = (Utf8Info)strings.get(utf8); 967 info = new Utf8Info(utf8, numOfItems); 968 strings.put(utf8, info); [all...] |