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

/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/intl/collator/
H A Dcollator_sort.c377 int utf16_len = 0; /* length of converted string */ local
422 utf16_len = utf16_buf_size;
427 intl_convert_utf8_to_utf16( &utf16_buf, &utf16_len, Z_STRVAL_P( hashData ), Z_STRLEN_P( hashData ), COLLATOR_ERROR_CODE_P( co ) );
446 utf16_len = 0;
447 utf16_buf[utf16_len] = 0;
450 if( (utf16_len + 1) > utf16_buf_size )
451 utf16_buf_size = utf16_len + 1;
458 utf16_len,
472 sortKeyLen = ucol_getSortKey( co->ucoll, utf16_buf, utf16_len, (uint8_t*)sortKeyBuf + sortKeyBufOffset, bufLeft );
/PHP_TRUNK/ext/json/
H A Djson.c669 size_t utf16_len; local
675 utf16_len = json_utf8_to_utf16(utf16, str, str_len);
676 if (utf16_len <= 0) {
691 if (!parse_JSON_ex(jp, return_value, utf16, utf16_len, options TSRMLS_CC)) {

Completed in 4 milliseconds