/prebuilts/go/linux-x86/src/compress/gzip/ |
gzip_test.go | 91 utf8 := "Äußerung" 97 if s != utf8 { 98 t.Fatalf("read latin-1: got %q, want %q", s, utf8) 103 if err = c.writeString(utf8); err != nil {
|
/prebuilts/go/linux-x86/src/net/http/ |
http.go | 12 "unicode/utf8" 55 if s[i] >= utf8.RuneSelf { 65 if s[i] >= utf8.RuneSelf { 76 if s[i] >= utf8.RuneSelf {
|
/prebuilts/ndk/r16/sources/third_party/vulkan/src/layers/ |
vk_layer_utils.cpp | [all...] |
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/text/unicode/norm/ |
composition.go | 9 import "unicode/utf8" 19 maxByteBufferSize = utf8.UTFMax * maxBufferSize // 128 201 rb.nbyte += utf8.UTFMax 282 sz := utf8.EncodeRune(rb.byte[bn:], rune(r)) 283 rb.nbyte += utf8.UTFMax 291 sz := utf8.EncodeRune(rb.byte[bn:], rune(r)) 298 r, _ := utf8.DecodeRune(rb.byte[inf.pos : inf.pos+inf.size]) 389 c, _ := utf8.DecodeRune(b) 401 utf8.EncodeRune(buf, jamoLBase+r/jamoVCount) 402 utf8.EncodeRune(buf[JamoUTF8Len:], jamoVBase+r%jamoVCount [all...] |
/prebuilts/go/linux-x86/src/vendor/golang_org/x/text/unicode/norm/ |
composition.go | 9 import "unicode/utf8" 19 maxByteBufferSize = utf8.UTFMax * maxBufferSize // 128 201 rb.nbyte += utf8.UTFMax 282 sz := utf8.EncodeRune(rb.byte[bn:], rune(r)) 283 rb.nbyte += utf8.UTFMax 291 sz := utf8.EncodeRune(rb.byte[bn:], rune(r)) 298 r, _ := utf8.DecodeRune(rb.byte[inf.pos : inf.pos+inf.size]) 389 c, _ := utf8.DecodeRune(b) 401 utf8.EncodeRune(buf, jamoLBase+r/jamoVCount) 402 utf8.EncodeRune(buf[JamoUTF8Len:], jamoVBase+r%jamoVCount [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/expat/ |
xmltok.c | 1252 char utf8[256][4];
member in struct:unknown_encoding 1299 const char *utf8;
local 1303 utf8 = uenc->utf8[(unsigned char)**fromP];
1304 n = *utf8++;
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/expat/ |
xmltok.c | 1244 char utf8[256][4];
member in struct:unknown_encoding 1291 const char *utf8;
local 1295 utf8 = uenc->utf8[(unsigned char)**fromP];
1296 n = *utf8++;
1302 utf8 = buf;
[all...] |
/external/expat/lib/ |
xmltok.c | 1400 char utf8[256][4]; member in struct:unknown_encoding 1447 const char *utf8; local [all...] |
/external/google-breakpad/src/common/windows/ |
http_upload.cc | 359 wstring HTTPUpload::UTF8ToWide(const string &utf8) { 360 if (utf8.length() == 0) { 365 int charcount = MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), -1, NULL, 0); 373 MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), -1, buf, charcount);
|
/external/icu/icu4c/source/test/letest/ |
gendata.cpp | 284 char *utf8 = NULL; local 289 utf8 = getUTF8String(&text); 290 fprintf(outputFile, " <test-text>%s</test-text>\n\n", utf8); 292 freeCString(utf8);
|
/external/icu/icu4c/source/test/perf/utfperf/ |
utfperf.cpp | 36 static char utf8[INPUT_CAPACITY]; variable 92 u_strToUTF8(utf8, (int32_t)sizeof(utf8), &utf8Length, buffer, bufferLen, &status); 271 input8(utf8), input8Length(utf8Length) {
|
/external/python/cpython2/Modules/expat/ |
xmltok.c | 1252 char utf8[256][4]; member in struct:unknown_encoding 1299 const char *utf8; local 1303 utf8 = uenc->utf8[(unsigned char)**fromP]; 1304 n = *utf8++; 1310 utf8 = buf; 1320 *(*toP)++ = *utf8++; [all...] |
/external/python/cpython3/Modules/expat/ |
xmltok.c | 1252 char utf8[256][4]; member in struct:unknown_encoding 1299 const char *utf8; local 1303 utf8 = uenc->utf8[(unsigned char)**fromP]; 1304 n = *utf8++; 1310 utf8 = buf; 1320 *(*toP)++ = *utf8++; [all...] |
/frameworks/base/libs/androidfw/include/androidfw/ |
StringPiece.h | 299 std::string utf8; local 300 utf8.resize(static_cast<size_t>(utf8_len)); 301 utf16_to_utf8(str.data(), str.size(), &*utf8.begin(), utf8_len + 1); 302 return out << utf8;
|
/external/harfbuzz_ng/test/api/ |
test-buffer.c | 32 static const char utf8[10] = "ab\360\240\200\200defg"; variable 51 "utf8" 86 hb_buffer_add_utf8 (b, utf8, G_N_ELEMENTS (utf8), 1, G_N_ELEMENTS (utf8) - 2); 366 const char utf8[8]; member in struct:__anon21171 393 escaped = g_strescape (test->utf8, NULL); 397 bytes = strlen (test->utf8); 402 hb_buffer_add_utf8 (b, test->utf8, bytes, 1, bytes - 2); 415 /* Following test table is adapted from glib/glib/tests/utf8-validate. 419 const char *utf8; member in struct:__anon21172 [all...] |
/external/mdnsresponder/mDNSWindows/DNSServiceBrowser/Windows/Sources/ |
ChooserDialog.cpp | 595 std::string utf8; local 599 StringObjectToUTF8String( s, utf8 ); 603 StartBrowsing( type, utf8.c_str() ); [all...] |
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/ |
WindowsSupport.h | 254 std::error_code UTF8ToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16); 256 SmallVectorImpl<char> &utf8); 259 SmallVectorImpl<char> &utf8);
|
/prebuilts/go/darwin-x86/src/html/template/ |
css.go | 11 "unicode/utf8" 23 r, _ := utf8.DecodeLastRune(b[:i]) 88 n := utf8.EncodeRune(b[len(b):cap(b)], r) 95 _, n := utf8.DecodeRune(s[1:]) 163 r, w = utf8.DecodeRuneInString(s[i:]) 246 if c < utf8.RuneSelf && isCSSNmchar(rune(c)) {
|
/prebuilts/go/linux-x86/src/html/template/ |
css.go | 11 "unicode/utf8" 23 r, _ := utf8.DecodeLastRune(b[:i]) 88 n := utf8.EncodeRune(b[len(b):cap(b)], r) 95 _, n := utf8.DecodeRune(s[1:]) 163 r, w = utf8.DecodeRuneInString(s[i:]) 246 if c < utf8.RuneSelf && isCSSNmchar(rune(c)) {
|
/art/libdexfile/dex/ |
utf_test.cc | 201 size_t CountModifiedUtf8Chars_reference(const char* utf8) { 204 while ((ic = *utf8++) != '\0') { 211 utf8++; 216 utf8++; 224 utf8++;
|
/external/harfbuzz_ng/util/ |
helper-cairo.cc | 481 l->utf8 = g_strndup (text, text_len); 491 (l->utf8_len && !l->utf8) || 519 const char *start = l->utf8, *end; 535 l->clusters[cluster].num_bytes = l->utf8 + text_len - start; 550 l->clusters[cluster].num_bytes = l->utf8 + text_len - start;
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
Http2xStream.java | 186 String concatenated = joinOnNull(result.get(j).value.utf8(), value); 225 String values = headerBlock.get(i).value.utf8(); 237 headersBuilder.add(name.utf8(), value); 260 String value = headerBlock.get(i).value.utf8(); 264 headersBuilder.add(name.utf8(), value);
|
/frameworks/wilhelm/tests/native-media/jni/ |
native-media-jni.c | 346 const char *utf8 = (*env)->GetStringUTFChars(env, filename, NULL); local 347 assert(NULL != utf8); 350 file = fopen(utf8, "rb"); 352 ALOGE("Failed to open %s", utf8); 394 (*env)->ReleaseStringUTFChars(env, filename, utf8);
|
/external/icu/icu4c/source/common/ |
unisetspan.cpp | 22 #include "unicode/utf8.h" 208 utf8Lengths(NULL), spanLengths(NULL), utf8(NULL), 244 if((which&UTF8) && (thisRelevant || (which&CONTAINED))) { 274 if(which&UTF8) { 295 utf8=spanBackUTF8Lengths+stringsLength; 298 if(which&UTF8) { 300 utf8=spanLengths+stringsLength; 329 if(which&UTF8) { 330 uint8_t *s8=utf8+utf8Count; 366 if(which&UTF8) { [all...] |
/prebuilts/go/darwin-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)
|