/external/icu/icu4c/source/test/letest/ |
gendata.cpp | 282 char *utf8 = NULL; local 287 utf8 = getUTF8String(&text); 288 fprintf(outputFile, " <test-text>%s</test-text>\n\n", utf8); 290 freeCString(utf8);
|
/external/icu/icu4c/source/test/perf/utfperf/ |
utfperf.cpp | 32 static char utf8[INPUT_CAPACITY]; variable 88 u_strToUTF8(utf8, (int32_t)sizeof(utf8), &utf8Length, buffer, bufferLen, &status); 267 input8(utf8), input8Length(utf8Length) {
|
/art/runtime/ |
reference_table.cc | 189 std::string utf8(s->ToModifiedUtf8()); 191 StringAppendF(&extras, " \"%s\"", utf8.c_str()); 193 StringAppendF(&extras, " \"%.16s... (%d chars)", utf8.c_str(), s->GetLength());
|
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/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:__anon11696 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:__anon11697 [all...] |
/external/harfbuzz_ng/util/ |
helper-cairo.cc | 461 l->utf8 = g_strndup (text, text_len); 471 (l->utf8_len && !l->utf8) || 499 const char *start = l->utf8, *end; 515 l->clusters[cluster].num_bytes = l->utf8 + text_len - start; 530 l->clusters[cluster].num_bytes = l->utf8 + text_len - start;
|
view-cairo.cc | 122 l.utf8, l.utf8_len,
|
/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); 393 (*env)->ReleaseStringUTFChars(env, filename, utf8);
|
/external/icu/icu4c/source/common/ |
unisetspan.cpp | 20 #include "unicode/utf8.h" 206 utf8Lengths(NULL), spanLengths(NULL), utf8(NULL), 242 if((which&UTF8) && (thisRelevant || (which&CONTAINED))) { 272 if(which&UTF8) { 293 utf8=spanBackUTF8Lengths+stringsLength; 296 if(which&UTF8) { 298 utf8=spanLengths+stringsLength; 327 if(which&UTF8) { 328 uint8_t *s8=utf8+utf8Count; 364 if(which&UTF8) { [all...] |
ucnvmbcs.cpp | 51 #include "unicode/utf8.h" 5002 UConverter *utf8, *cnv; local 5308 UConverter *utf8, *cnv; local [all...] |
unisetspan.h | 41 UTF8 = 4, 49 FWD_UTF8_CONTAINED = FWD | UTF8 | CONTAINED, 50 FWD_UTF8_NOT_CONTAINED = FWD | UTF8 | NOT_CONTAINED, 53 BACK_UTF8_CONTAINED = BACK | UTF8 | CONTAINED, 54 BACK_UTF8_NOT_CONTAINED = BACK | UTF8 | NOT_CONTAINED 122 uint8_t *utf8; member in class:UnicodeSetStringSpan
|
unistr.cpp | 418 UnicodeString UnicodeString::fromUTF8(const StringPiece &utf8) { 420 result.setToUTF8(utf8); 947 char *utf8 = sink.GetAppendBuffer(length16 < capacity ? length16 : capacity, local 953 u_strToUTF8WithSub(utf8, capacity, &length8, 959 utf8 = (char *)uprv_malloc(length8); 960 if(utf8 != NULL) { 963 u_strToUTF8WithSub(utf8, length8, &length8, 973 sink.Append(utf8, length8); 977 uprv_free(utf8); [all...] |
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/tests/ |
test_soup.py | 64 utf8 = b"\xc3\xa9" 65 soup = self.soup(utf8, fromEncoding="utf8") 69 self.assertEqual("utf8", soup.original_encoding) 239 self.assertEqual(self.soup(markup).div.encode("utf8"), markup.encode("utf8")) 274 utf8 = b"\xc3\xa9" 275 dammit = UnicodeDammit(utf8) 298 for bad_encoding in ['.utf8', '...', 'utF---16.!']: 356 # Here's a UTF8 document [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
FramedTransport.java | 157 String concatenated = joinOnNull(result.get(j).value.utf8(), value); 180 String values = headerBlock.get(i).value.utf8(); 192 headersBuilder.add(name.utf8(), value);
|
/development/ndk/platforms/android-14/samples/native-media/jni/ |
native-media-jni.c | 335 const char *utf8 = (*env)->GetStringUTFChars(env, filename, NULL); local 336 assert(NULL != utf8); 339 file = fopen(utf8, "rb"); 380 (*env)->ReleaseStringUTFChars(env, filename, utf8);
|
/external/dbus/dbus/ |
dbus-marshal-validate.h | 202 DECLARE_DBUS_NAME_CHECK(utf8); variable
|
/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 134 UConverter *utf8; /* for conversion between UTF-8 and UTF-16 */ member in struct:_uconv_t
|
/frameworks/base/tools/aapt2/ |
StringPool.h | 196 static bool flatten(BigBuffer* out, const StringPool& pool, bool utf8);
|
/system/core/base/ |
Android.mk | 35 utf8.cpp \
|
/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...] |
/external/okhttp/okio/okio/src/main/java/okio/ |
SegmentedByteString.java | 84 @Override public String utf8() { method in class:SegmentedByteString 85 return toByteString().utf8();
|
/external/okhttp/okio/okio/src/test/java/okio/ |
SegmentSharingTest.java | 79 assertEquals(xs + ys + zs, snapshot.utf8()); 151 assertEquals("xxxx", snapshot.utf8());
|
/external/libvncserver/client_examples/ |
gtkvncviewer.c | 543 gchar *utf8; local 546 utf8 = g_convert_with_fallback (buf, strlen (buf), "UTF-8", 549 if (utf8) { 550 label = gtk_label_new (utf8); 551 g_free (utf8);
|
/external/skia/tools/debugger/ |
SkObjectParser.cpp | 375 SkAutoSTMalloc<0x100, char> utf8(sizeNeeded); 376 SkUTF16_ToUTF8((uint16_t*)text, SkToS32(byteLength / 2), utf8); 377 decodedText->append(utf8, sizeNeeded);
|
/external/icu/icu4c/source/test/cintltst/ |
ccapitst.c | 483 someConverters[2] = ucnv_open("utf8", &err); 2246 utf8[]={ local 2499 char utf8[16]; local 2565 char utf8[600], expect[600]; local 2743 utf8[]={ local [all...] |