Home
last modified time | relevance | path

Searched refs:ustr_len (Results 1 – 4 of 4) sorted by relevance

/PHP-5.5/ext/intl/transliterator/
H A Dtransliterator_methods.c305 int32_t ustr_len = 0, in PHP_FUNCTION() local
384 intl_convert_utf8_to_utf16( &ustr, &ustr_len, str, str_len, in PHP_FUNCTION()
390 if( ( start > ustr_len ) || (( limit != -1 ) && (limit > ustr_len ) ) ) in PHP_FUNCTION()
396 "(in this case, %d)", (int) ustr_len ); in PHP_FUNCTION()
407 uresult = safe_emalloc( ustr_len, sizeof( UChar ), 1 * sizeof( UChar ) ); in PHP_FUNCTION()
408 capacity = ustr_len + 1; in PHP_FUNCTION()
412 int32_t temp_limit = ( limit == -1 ? ustr_len : (int32_t) limit ); in PHP_FUNCTION()
413 memcpy( uresult, ustr, ustr_len * sizeof( UChar ) ); in PHP_FUNCTION()
414 uresult_len = ustr_len; in PHP_FUNCTION()
/PHP-5.5/ext/intl/collator/
H A Dcollator_convert.c222 int ustr_len = 0; in collator_convert_zstr_utf8_to_utf16() local
227 &ustr, &ustr_len, in collator_convert_zstr_utf8_to_utf16()
235 ZVAL_STRINGL( zstr, (char*)ustr, UBYTES(ustr_len), FALSE ); in collator_convert_zstr_utf8_to_utf16()
249 int ustr_len = 0; in collator_convert_object_to_string() local
300 &ustr, &ustr_len, in collator_convert_object_to_string()
310 ZVAL_STRINGL( zstr, (char*)ustr, UBYTES(ustr_len), FALSE ); in collator_convert_object_to_string()
H A Dcollator_sort.c551 int ustr_len = 0; in PHP_FUNCTION() local
585 &ustr, &ustr_len, str, str_len, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION()
600 key_len = ucol_getSortKey(co->ucoll, ustr, ustr_len, key, 0); in PHP_FUNCTION()
606 key_len = ucol_getSortKey(co->ucoll, ustr, ustr_len, key, key_len); in PHP_FUNCTION()
/PHP-5.5/ext/intl/grapheme/
H A Dgrapheme_string.c405 int str_len, sub_str_len, ustr_len; in PHP_FUNCTION() local
447 ustr_len = 0; in PHP_FUNCTION()
449 intl_convert_utf8_to_utf16(&ustr, &ustr_len, (char *)str, str_len, &status); in PHP_FUNCTION()
469 ubrk_setText(bi, ustr, ustr_len, &status); in PHP_FUNCTION()
493 if ( 0 != start || sub_str_start_pos >= ustr_len ) { in PHP_FUNCTION()
511 …intl_convert_utf16_to_utf8((char **)&sub_str, &sub_str_len, ustr + sub_str_start_pos, ustr_len - s… in PHP_FUNCTION()
578 sub_str_end_pos = ustr_len; in PHP_FUNCTION()
815 int str_len, ustr_len; in PHP_FUNCTION() local
905 ustr_len = 0; in PHP_FUNCTION()
907 intl_convert_utf8_to_utf16(&ustr, &ustr_len, (char *)pstr, str_len, &status ); in PHP_FUNCTION()
[all …]

Completed in 15 milliseconds