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

/PHP_TRUNK/ext/intl/collator/
H A Dcollator_sort.c379 int utf16_len = 0; /* length of converted string */ local
426 utf16_len = utf16_buf_size;
431 intl_convert_utf8_to_utf16( &utf16_buf, &utf16_len, Z_STRVAL_PP( hashData ), Z_STRLEN_PP( hashData ), COLLATOR_ERROR_CODE_P( co ) );
450 utf16_len = 0;
451 utf16_buf[utf16_len] = 0;
454 if( (utf16_len + 1) > utf16_buf_size )
455 utf16_buf_size = utf16_len + 1;
462 utf16_len,
476 sortKeyLen = ucol_getSortKey( co->ucoll, utf16_buf, utf16_len, (uint8_t*)sortKeyBuf + sortKeyBufOffset, bufLeft );
/PHP_TRUNK/ext/intl/
H A Dintl_convertcpp.cpp36 int32_t utf16_len = 0; local
38 u_strFromUTF8WithSub(utf16, ret.getCapacity(), &utf16_len,
41 ret.releaseBuffer(utf16_len);
/PHP_TRUNK/ext/json/
H A Djson.c668 int utf16_len; local
675 utf16_len = json_utf8_to_utf16(utf16, str, str_len);
676 if (utf16_len <= 0) {
692 if (parse_JSON_ex(jp, z, utf16, utf16_len, options TSRMLS_CC)) {

Completed in 4 milliseconds