Searched refs:utf16_len (Results 1 – 2 of 2) sorted by relevance
/PHP-7.0/ext/intl/ |
H A D | intl_convertcpp.cpp | 41 int32_t utf16_len = 0; in intl_stringFromChar() local 43 u_strFromUTF8WithSub(utf16, ret.getCapacity(), &utf16_len, in intl_stringFromChar() 46 ret.releaseBuffer(utf16_len); in intl_stringFromChar()
|
/PHP-7.0/ext/intl/collator/ |
H A D | collator_sort.c | 390 int utf16_len = 0; /* length of converted string */ in PHP_FUNCTION() local 433 utf16_len = utf16_buf_size; in PHP_FUNCTION() 438 …intl_convert_utf8_to_utf16( &utf16_buf, &utf16_len, Z_STRVAL_P( hashData ), Z_STRLEN_P( hashData )… in PHP_FUNCTION() 457 utf16_len = 0; in PHP_FUNCTION() 458 utf16_buf[utf16_len] = 0; in PHP_FUNCTION() 461 if( (utf16_len + 1) > utf16_buf_size ) in PHP_FUNCTION() 462 utf16_buf_size = utf16_len + 1; in PHP_FUNCTION() 469 utf16_len, in PHP_FUNCTION() 483 …sortKeyLen = ucol_getSortKey( co->ucoll, utf16_buf, utf16_len, (uint8_t*)sortKeyBuf + sortKeyBufOf… in PHP_FUNCTION()
|
Completed in 11 milliseconds