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

/PHP_TRUNK/ext/intl/
H A Dintl_convertcpp.cpp41 int32_t utf16_len = 0; local
43 u_strFromUTF8WithSub(utf16, ret.getCapacity(), &utf16_len,
46 ret.releaseBuffer(utf16_len);
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_sort.c386 int utf16_len = 0; /* length of converted string */ local
431 utf16_len = utf16_buf_size;
436 intl_convert_utf8_to_utf16( &utf16_buf, &utf16_len, Z_STRVAL_P( hashData ), Z_STRLEN_P( hashData ), COLLATOR_ERROR_CODE_P( co ) );
455 utf16_len = 0;
456 utf16_buf[utf16_len] = 0;
459 if( (utf16_len + 1) > utf16_buf_size )
460 utf16_buf_size = utf16_len + 1;
467 utf16_len,
481 sortKeyLen = ucol_getSortKey( co->ucoll, utf16_buf, utf16_len, (uint8_t*)sortKeyBuf + sortKeyBufOffset, bufLeft );
/PHP_TRUNK/ext/json/
H A Djson.c696 size_t utf16_len; local
702 utf16_len = json_utf8_to_utf16(utf16, str, str_len);
703 if (utf16_len <= 0) {
718 if (!parse_JSON_ex(jp, return_value, utf16, utf16_len, options)) {

Completed in 4 milliseconds