Searched refs:utf16 (Results 1 – 10 of 10) sorted by relevance
/PHP-7.1/ext/intl/ |
H A D | intl_convertcpp.cpp | 40 UChar *utf16 = ret.getBuffer(capacity); in intl_stringFromChar() local 43 u_strFromUTF8WithSub(utf16, ret.getCapacity(), &utf16_len, in intl_stringFromChar()
|
/PHP-7.1/ext/json/ |
H A D | json_scanner.re | 277 int utf16 = php_json_ucs2_to_int(s, 2); 279 *(s->pstr++) = (char) utf16; 284 int utf16 = php_json_ucs2_to_int(s, 3); 286 *(s->pstr++) = (char) (0xc0 | (utf16 >> 6)); 287 *(s->pstr++) = (char) (0x80 | (utf16 & 0x3f)); 292 int utf16 = php_json_ucs2_to_int(s, 4); 294 *(s->pstr++) = (char) (0xe0 | (utf16 >> 12)); 295 *(s->pstr++) = (char) (0x80 | ((utf16 >> 6) & 0x3f)); 296 *(s->pstr++) = (char) (0x80 | (utf16 & 0x3f));
|
H A D | json_encoder.c | 253 static int php_json_utf8_to_utf16(unsigned short *utf16, char utf8[], size_t len) /* {{{ */ in php_json_utf8_to_utf16() argument 258 if (utf16) { in php_json_utf8_to_utf16() 268 utf16[j++] = (unsigned short)((us >> 10) | 0xd800); in php_json_utf8_to_utf16() 269 utf16[j] = (unsigned short)((us & 0x3ff) | 0xdc00); in php_json_utf8_to_utf16() 271 utf16[j] = (unsigned short)us; in php_json_utf8_to_utf16()
|
H A D | json_scanner.c | 1174 int utf16 = php_json_ucs2_to_int(s, 2); in php_json_scan() local 1176 *(s->pstr++) = (char) utf16; in php_json_scan() 1183 int utf16 = php_json_ucs2_to_int(s, 3); in php_json_scan() local 1185 *(s->pstr++) = (char) (0xc0 | (utf16 >> 6)); in php_json_scan() 1186 *(s->pstr++) = (char) (0x80 | (utf16 & 0x3f)); in php_json_scan() 1193 int utf16 = php_json_ucs2_to_int(s, 4); in php_json_scan() local 1195 *(s->pstr++) = (char) (0xe0 | (utf16 >> 12)); in php_json_scan() 1196 *(s->pstr++) = (char) (0x80 | ((utf16 >> 6) & 0x3f)); in php_json_scan() 1197 *(s->pstr++) = (char) (0x80 | (utf16 & 0x3f)); in php_json_scan()
|
/PHP-7.1/ext/intl/tests/ |
H A D | bug75317.phpt | 10 $utf16 = UConverter::getAliases('utf-16')[0]; 25 printResult($c->getDestinationEncoding(), $utf16);
|
/PHP-7.1/ext/mysqli/tests/ |
H A D | mysqli_character_set.phpt | 47 /* The server currently 16.08.2010 can't handle data sent in utf16 and utf32 */ 49 …if ($charset['Charset'] == 'ucs2' || $charset['Charset'] == 'utf16' || $charset['Charset'] == 'utf…
|
H A D | mysqli_options.phpt | 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…
|
H A D | mysqli_set_charset.phpt | 105 …if ('ucs2' == $tmp['Charset'] || 'utf16' == $tmp['Charset'] || 'utf32' == $tmp['Charset'] || 'utf1…
|
/PHP-7.1/ext/mysqlnd/ |
H A D | mysqlnd_charset.c | 413 static uint 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.1/ext/mbstring/oniguruma/ |
H A D | HISTORY | 1054 2004/05/24: [impl] divide enc/utf16.c to utf16_be.c and utf16_le.c.
|
Completed in 23 milliseconds