Home
last modified time | relevance | path

Searched refs:utf16 (Results 1 – 7 of 7) sorted by relevance

/PHP-5.3/ext/json/
H A Djson.c283 unsigned short *utf16; in json_escape_string() local
316 len = utf8_to_utf16(utf16, s, len); in json_escape_string()
318 if (utf16) { in json_escape_string()
319 efree(utf16); in json_escape_string()
337 us = utf16[pos++]; in json_escape_string()
429 efree(utf16); in json_escape_string()
493 unsigned short *utf16; in php_json_decode() local
500 if (utf16) { in php_json_decode()
501 efree(utf16); in php_json_decode()
509 efree(utf16); in php_json_decode()
[all …]
H A DJSON_parser.c340 if (utf16 < 0x80) in utf16_to_utf8()
344 else if (utf16 < 0x800) in utf16_to_utf8()
346 smart_str_appendc(buf, 0xc0 | (utf16 >> 6)); in utf16_to_utf8()
349 else if ((utf16 & 0xfc00) == 0xdc00 in utf16_to_utf8()
360 | (utf16 & 0x3ff)) + 0x10000; in utf16_to_utf8()
433 unsigned short utf16 = 0; in parse_JSON() local
485 utf16 = dehexchar(next_char) << 12; in parse_JSON()
487 utf16 += dehexchar(next_char) << 8; in parse_JSON()
489 utf16 += dehexchar(next_char) << 4; in parse_JSON()
491 utf16 += dehexchar(next_char); in parse_JSON()
[all …]
/PHP-5.3/ext/mysqli/tests/
H A Dmysqli_character_set.phpt50 /* The server currently 16.08.2010 can't handle data sent in utf16 and utf32 */
52 …if ($charset['Charset'] == 'ucs2' || $charset['Charset'] == 'utf16' || $charset['Charset'] == 'utf…
H A Dmysqli_options.phpt90 /* The server currently 16.08.2010 can't handle data sent in utf16 and utf32 */
91 …if ($charset['Charset'] == 'ucs2' || $charset['Charset'] == 'utf16' || $charset['Charset'] == 'utf…
H A Dmysqli_set_charset.phpt105 …if ('ucs2' == $tmp['Charset'] || 'utf16' == $tmp['Charset'] || 'utf32' == $tmp['Charset'] || 'utf1…
/PHP-5.3/ext/mysqlnd/
H A Dmysqlnd_charset.c412 static uint mysqlnd_mbcharlen_utf16(unsigned int utf16) in mysqlnd_mbcharlen_utf16() argument
414 return UTF16_HIGH_HEAD(utf16) ? 4 : 2; in mysqlnd_mbcharlen_utf16()
/PHP-5.3/ext/mbstring/oniguruma/
H A DHISTORY825 2004/05/24: [impl] divide enc/utf16.c to utf16_be.c and utf16_le.c.

Completed in 20 milliseconds