Home
last modified time | relevance | path

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

/PHP-7.2/ext/intl/
H A Dintl_convertcpp.cpp40 UChar *utf16 = ret.getBuffer(capacity); in intl_stringFromChar() local
43 u_strFromUTF8WithSub(utf16, ret.getCapacity(), &utf16_len, in intl_stringFromChar()
/PHP-7.2/ext/json/
H A Djson_scanner.re302 int utf16 = php_json_ucs2_to_int(s, 2);
304 *(s->pstr++) = (char) utf16;
309 int utf16 = php_json_ucs2_to_int(s, 3);
311 *(s->pstr++) = (char) (0xc0 | (utf16 >> 6));
312 *(s->pstr++) = (char) (0x80 | (utf16 & 0x3f));
317 int utf16 = php_json_ucs2_to_int(s, 4);
319 *(s->pstr++) = (char) (0xe0 | (utf16 >> 12));
320 *(s->pstr++) = (char) (0x80 | ((utf16 >> 6) & 0x3f));
321 *(s->pstr++) = (char) (0x80 | (utf16 & 0x3f));
H A Djson_scanner.c1293 int utf16 = php_json_ucs2_to_int(s, 2); in php_json_scan() local
1295 *(s->pstr++) = (char) utf16; in php_json_scan()
1302 int utf16 = php_json_ucs2_to_int(s, 3); in php_json_scan() local
1304 *(s->pstr++) = (char) (0xc0 | (utf16 >> 6)); in php_json_scan()
1312 int utf16 = php_json_ucs2_to_int(s, 4); in php_json_scan() local
1314 *(s->pstr++) = (char) (0xe0 | (utf16 >> 12)); in php_json_scan()
1585 int utf16 = php_json_ucs2_to_int(s, 2); in php_json_scan() local
1587 *(s->pstr++) = (char) utf16; in php_json_scan()
1594 int utf16 = php_json_ucs2_to_int(s, 3); in php_json_scan() local
1596 *(s->pstr++) = (char) (0xc0 | (utf16 >> 6)); in php_json_scan()
[all …]
/PHP-7.2/ext/intl/tests/
H A Dbug75317.phpt10 $utf16 = UConverter::getAliases('utf-16')[0];
25 printResult($c->getDestinationEncoding(), $utf16);
/PHP-7.2/ext/mysqli/tests/
H A Dmysqli_character_set.phpt46 /* The server currently 16.08.2010 can't handle data sent in utf16 and utf32 */
48 …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.phpt101 …if ('ucs2' == $tmp['Charset'] || 'utf16' == $tmp['Charset'] || 'utf32' == $tmp['Charset'] || 'utf1…
/PHP-7.2/ext/mysqlnd/
H A Dmysqlnd_charset.c413 static uint32_t mysqlnd_mbcharlen_utf16(unsigned int utf16) in mysqlnd_mbcharlen_utf16() argument
415 return UTF16_HIGH_HEAD(utf16) ? 4 : 2; in mysqlnd_mbcharlen_utf16()
/PHP-7.2/ext/mbstring/oniguruma/
H A DHISTORY1142 2004/05/24: [impl] divide enc/utf16.c to utf16_be.c and utf16_le.c.

Completed in 20 milliseconds