Home
last modified time | relevance | path

Searched refs:utf16_len (Results 1 – 3 of 3) sorted by relevance

/PHP-5.5/ext/intl/
H A Dintl_convertcpp.cpp36 int32_t utf16_len = 0; in intl_stringFromChar() local
38 u_strFromUTF8WithSub(utf16, ret.getCapacity(), &utf16_len, in intl_stringFromChar()
41 ret.releaseBuffer(utf16_len); in intl_stringFromChar()
/PHP-5.5/ext/intl/collator/
H A Dcollator_sort.c379 int utf16_len = 0; /* length of converted string */ in PHP_FUNCTION() local
426 utf16_len = utf16_buf_size; in PHP_FUNCTION()
431 …intl_convert_utf8_to_utf16( &utf16_buf, &utf16_len, Z_STRVAL_PP( hashData ), Z_STRLEN_PP( hashData… in PHP_FUNCTION()
450 utf16_len = 0; in PHP_FUNCTION()
451 utf16_buf[utf16_len] = 0; in PHP_FUNCTION()
454 if( (utf16_len + 1) > utf16_buf_size ) in PHP_FUNCTION()
455 utf16_buf_size = utf16_len + 1; in PHP_FUNCTION()
462 utf16_len, in PHP_FUNCTION()
476 …sortKeyLen = ucol_getSortKey( co->ucoll, utf16_buf, utf16_len, (uint8_t*)sortKeyBuf + sortKeyBufOf… in PHP_FUNCTION()
/PHP-5.5/ext/json/
H A Djson.c664 int utf16_len; in php_json_decode_ex() local
671 utf16_len = json_utf8_to_utf16(utf16, str, str_len); in php_json_decode_ex()
672 if (utf16_len <= 0) { in php_json_decode_ex()
688 if (parse_JSON_ex(jp, z, utf16, utf16_len, options TSRMLS_CC)) { in php_json_decode_ex()

Completed in 9 milliseconds