Home
last modified time | relevance | path

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

/PHP-7.3/ext/intl/
H A Dintl_convertcpp.cpp39 int32_t utf16_len = 0; in intl_stringFromChar() local
41 u_strFromUTF8WithSub(utf16, ret.getCapacity(), &utf16_len, in intl_stringFromChar()
44 ret.releaseBuffer(utf16_len); in intl_stringFromChar()
/PHP-7.3/ext/intl/collator/
H A Dcollator_sort.c392 int utf16_len = 0; /* length of converted string */ in PHP_FUNCTION() local
435 utf16_len = utf16_buf_size; in PHP_FUNCTION()
440 …intl_convert_utf8_to_utf16( &utf16_buf, &utf16_len, Z_STRVAL_P( hashData ), Z_STRLEN_P( hashData )… in PHP_FUNCTION()
459 utf16_len = 0; in PHP_FUNCTION()
460 utf16_buf[utf16_len] = 0; in PHP_FUNCTION()
463 if( (utf16_len + 1) > utf16_buf_size ) in PHP_FUNCTION()
464 utf16_buf_size = utf16_len + 1; in PHP_FUNCTION()
471 utf16_len, in PHP_FUNCTION()
485 …sortKeyLen = ucol_getSortKey( co->ucoll, utf16_buf, utf16_len, (uint8_t*)sortKeyBuf + sortKeyBufOf… in PHP_FUNCTION()

Completed in 12 milliseconds