Searched refs:utf16 (Results 1 – 7 of 7) sorted by relevance
283 unsigned short *utf16; in json_escape_string() local316 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() local500 if (utf16) { in php_json_decode()501 efree(utf16); in php_json_decode()509 efree(utf16); in php_json_decode()[all …]
340 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() local485 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 …]
50 /* 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…
90 /* 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…
105 …if ('ucs2' == $tmp['Charset'] || 'utf16' == $tmp['Charset'] || 'utf32' == $tmp['Charset'] || 'utf1…
412 static uint mysqlnd_mbcharlen_utf16(unsigned int utf16) in mysqlnd_mbcharlen_utf16() argument414 return UTF16_HIGH_HEAD(utf16) ? 4 : 2; in mysqlnd_mbcharlen_utf16()
825 2004/05/24: [impl] divide enc/utf16.c to utf16_be.c and utf16_le.c.
Completed in 20 milliseconds