Searched refs:utf16_len (Results 1 - 2 of 2) 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 );

Completed in 3 milliseconds