Searched refs:utf16 (Results 1 - 5 of 5) sorted by relevance
| /PHP_TRUNK/ext/sqlite3/libsqlite/ |
| H A D | sqlite3.c | [all...] |
| /PHP_TRUNK/ext/intl/ |
| H A D | intl_convertcpp.cpp | 35 UChar *utf16 = ret.getBuffer(capacity); local 38 u_strFromUTF8WithSub(utf16, ret.getCapacity(), &utf16_len,
|
| /PHP_TRUNK/ext/json/ |
| H A D | JSON_parser.c | 354 static void utf16_to_utf8(smart_str *buf, unsigned short utf16) argument 356 if (utf16 < 0x80) 358 smart_str_appendc(buf, (unsigned char) utf16); 360 else if (utf16 < 0x800) 362 smart_str_appendc(buf, 0xc0 | (utf16 >> 6)); 363 smart_str_appendc(buf, 0x80 | (utf16 & 0x3f)); 365 else if ((utf16 & 0xfc00) == 0xdc00 376 | (utf16 & 0x3ff)) + 0x10000; 386 smart_str_appendc(buf, 0xe0 | (utf16 >> 12)); 387 smart_str_appendc(buf, 0x80 | ((utf16 >> 450 unsigned short utf16 = 0; local [all...] |
| H A D | json.c | 361 static int json_utf8_to_utf16(unsigned short *utf16, char utf8[], int len) /* {{{ */ argument 366 if (utf16) { 376 utf16[j++] = (unsigned short)((us >> 10) | 0xd800); 377 utf16[j] = (unsigned short)((us & 0x3ff) | 0xdc00); 379 utf16[j] = (unsigned short)us; 383 /* Only check if utf8 string is valid, and compute utf16 lenght */ 403 unsigned short *utf16; local 435 utf16 = (options & PHP_JSON_UNESCAPED_UNICODE) ? NULL : (unsigned short *) safe_emalloc(len, sizeof(unsigned short), 0); 436 ulen = json_utf8_to_utf16(utf16, s, len); 438 if (utf16) { 668 unsigned short *utf16; local [all...] |
| /PHP_TRUNK/ext/mysqlnd/ |
| H A D | mysqlnd_charset.c | 392 /* {{{ utf16 functions */ 413 static uint mysqlnd_mbcharlen_utf16(unsigned int utf16) argument 415 return UTF16_HIGH_HEAD(utf16) ? 4 : 2; 505 { 54, "utf16", "utf16_general_ci", 2, 4, "UTF-16 Unicode", mysqlnd_mbcharlen_utf16, check_mb_utf16}, 506 { 55, "utf16", "utf16_bin", 2, 4, "UTF-16 Unicode", mysqlnd_mbcharlen_utf16, check_mb_utf16},
|
Completed in 124 milliseconds