/external/chromium_org/v8/test/mjsunit/ |
string-slices.js | 182 var utf = '\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB'; variable 184 assertEquals("\u03B4\u03B7", utf.substring(3,4) + utf.substring(6,7)); 186 assertEquals("\u03B1\u03B4\u03B5", utf.substring(0,1) + utf.substring(5,3)); 187 assertEquals("", ascii.substring(16) + utf.substring(16)); 189 ascii.substring(1,6) + utf.substring(3,9)); 191 utf.substring(3,9) + ascii); 193 utf.substring(5,1) + utf.substring(3,7)) [all...] |
/cts/tests/tests/jni/libjnitest/ |
android_jni_cts_InstanceNonce.c | 198 const char *utf = (*env)->GetStringUTFChars(env, v, NULL); local 199 jboolean result = (strcmp("fuzzbot", utf) == 0); 201 (*env)->ReleaseStringUTFChars(env, v, utf); 244 const char *utf = (*env)->GetStringUTFChars(env, v6, NULL); local 245 result = (strncmp("six", utf, 3) == 0); 247 (*env)->ReleaseStringUTFChars(env, v6, utf);
|
android_jni_cts_StaticNonce.c | 212 const char *utf = (*env)->GetStringUTFChars(env, v, NULL); local 213 jboolean result = (strcmp("fuzzbot", utf) == 0); 215 (*env)->ReleaseStringUTFChars(env, v, utf); 259 const char *utf = (*env)->GetStringUTFChars(env, v6, NULL); local 260 result = (strncmp("six", utf, 3) == 0); 262 (*env)->ReleaseStringUTFChars(env, v6, utf);
|
macroized_tests.c | 1184 const char *utf = CALL(GetStringUTFChars, result, NULL); local 1186 if (strcmp(utf, "muffins") == 0) { 1189 msg = failure("unexpected string: %s", utf); 1192 CALL(ReleaseStringUTFChars, result, utf); [all...] |
/external/chromium_org/components/history/core/browser/ |
url_database.cc | 291 // it will have to convert strings either to UTF-8 or UTF-16 for comparison. 376 base::string16 utf = net::IDNToUnicode(gurl.host(), std::string()); local 377 if (ascii != utf) 378 query_parser_.ExtractQueryWords(utf, &query_words);
|
/art/runtime/ |
jni_internal_test.cc | 1163 const char* utf = env_->GetStringUTFChars(s, nullptr); local [all...] |
check_jni.cc | 107 #define kFlag_NullableUtf 0x0020 // Are our UTF parameters nullable? 392 * u - const char* (Modified UTF-8) 514 } else if (ch == 'u') { // const char* (Modified UTF-8) 515 const char* utf = va_arg(ap, const char*); local 516 if (utf == nullptr) { 519 StringAppendF(&msg, "\"%s\"", utf); 816 // Verifies that "bytes" points to valid Modified UTF-8 data. 830 "input is not valid Modified UTF-8: illegal %s byte %#x\n" 858 * Note: 1111 is valid for normal UTF-8, but not the 859 * Modified UTF-8 used here [all...] |
/external/chromium_org/third_party/libxml/src/ |
encoding.c | 5 * rfc2044 (UTF-8 and UTF-16) F. Yergeau Alis Technologies 6 * rfc2781 UTF-16, an encoding of ISO 10646, P. Hoffman, F. Yergeau 7 * [ISO-10646] UTF-8 and UTF-16 in Annexes 11 * Wesley, Volume 1, 1991, Volume 2, 1992. UTF-8 is 20 * Original code for IsoLatin1 and UTF-16 by "Martin J. Duerst" <duerst@w3.org> 126 conv->utf8 = ucnv_open("UTF-8", &status); 161 * Take a block of ASCII chars in and try to convert it to an UTF-8 204 * @in: a pointer to an array of UTF-8 char 2301 const xmlChar *utf = (const xmlChar *) in->content; local [all...] |
xmlschemastypes.c | 4994 const xmlChar *utf; local [all...] |
testapi.c | 35994 unsigned char * utf; \/* Pointer to putative UTF-8 encoded string. *\/ local 36026 unsigned char * utf; \/* a sequence of UTF-8 encoded bytes *\/ local 36691 xmlChar * utf; \/* pointer to the UTF8 character *\/ local 36723 xmlChar * utf; \/* a sequence of UTF-8 encoded bytes *\/ local 36755 xmlChar * utf; \/* the input UTF8 * *\/ local 36794 xmlChar * utf; \/* the input UTF8 * *\/ local 36833 xmlChar * utf; \/* the input UTF8 * *\/ local 36872 xmlChar * utf; \/* a sequence of UTF-8 encoded bytes *\/ local 36911 xmlChar * utf; \/* a sequence of UTF-8 encoded bytes *\/ local [all...] |
/external/javassist/src/main/javassist/bytecode/ |
ConstPool.java | 592 Utf8Info utf = (Utf8Info)getItem(index); local 593 return utf.string; [all...] |
/external/libxml2/ |
encoding.c | 5 * rfc2044 (UTF-8 and UTF-16) F. Yergeau Alis Technologies 6 * rfc2781 UTF-16, an encoding of ISO 10646, P. Hoffman, F. Yergeau 7 * [ISO-10646] UTF-8 and UTF-16 in Annexes 11 * Wesley, Volume 1, 1991, Volume 2, 1992. UTF-8 is 20 * Original code for IsoLatin1 and UTF-16 by "Martin J. Duerst" <duerst@w3.org> 130 conv->utf8 = ucnv_open("UTF-8", &status); 165 * Take a block of ASCII chars in and try to convert it to an UTF-8 208 * @in: a pointer to an array of UTF-8 char 2785 const xmlChar *utf = (const xmlChar *) in->content; local [all...] |
xmlschemastypes.c | 5001 const xmlChar *utf; local [all...] |
/external/javasqlite/src/main/native/ |
sqlite_jni.c | 64 int haveutf; /* true for SQLite UTF-8 support */ 132 /* ISO to/from UTF-8 translation */ 363 const char *utf = (*env)->GetStringUTFChars(env, src, 0); local 365 dest->result = dest->tofree = malloc(strlen(utf) + 1); 377 strcpy(dest->result, utf); 378 (*env)->ReleaseStringUTFChars(env, src, utf); 1018 trans2iso(env, strcmp(sqlite_libencoding(), "UTF-8") == 0, 0, 1102 h->haveutf = strcmp(sqlite_libencoding(), "UTF-8") == 0; [all...] |