Home
last modified time | relevance | path

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

/PHP-7.1/ext/intl/transliterator/
H A Dtransliterator_methods.c301 int32_t ustr_len = 0, in PHP_FUNCTION() local
380 intl_convert_utf8_to_utf16( &ustr, &ustr_len, str, str_len, in PHP_FUNCTION()
386 if( ( start > ustr_len ) || (( limit != -1 ) && (limit > ustr_len ) ) ) in PHP_FUNCTION()
392 "(in this case, %d)", (int) ustr_len ); in PHP_FUNCTION()
403 uresult = safe_emalloc( ustr_len, sizeof( UChar ), 1 * sizeof( UChar ) ); in PHP_FUNCTION()
404 capacity = ustr_len + 1; in PHP_FUNCTION()
408 int32_t temp_limit = ( limit == -1 ? ustr_len : (int32_t) limit ); in PHP_FUNCTION()
409 memcpy( uresult, ustr, ustr_len * sizeof( UChar ) ); in PHP_FUNCTION()
410 uresult_len = ustr_len; in PHP_FUNCTION()
/PHP-7.1/ext/intl/collator/
H A Dcollator_convert.c191 int32_t ustr_len = 0; in collator_convert_zstr_utf8_to_utf16() local
196 &ustr, &ustr_len, in collator_convert_zstr_utf8_to_utf16()
204 ZVAL_STRINGL( zstr, (char*)ustr, UBYTES(ustr_len)); in collator_convert_zstr_utf8_to_utf16()
220 int32_t ustr_len = 0; in collator_convert_object_to_string() local
271 &ustr, &ustr_len, in collator_convert_object_to_string()
281 ZVAL_STRINGL( zstr, (char*)ustr, UBYTES(ustr_len)); in collator_convert_object_to_string()
H A Dcollator_sort.c556 int32_t ustr_len = 0; in PHP_FUNCTION() local
590 &ustr, &ustr_len, str, str_len, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION()
605 key_len = ucol_getSortKey(co->ucoll, ustr, ustr_len, NULL, 0); in PHP_FUNCTION()
611 key_len = ucol_getSortKey(co->ucoll, ustr, ustr_len, (uint8_t*)ZSTR_VAL(key_str), key_len); in PHP_FUNCTION()
/PHP-7.1/ext/intl/grapheme/
H A Dgrapheme_string.c380 int32_t ustr_len; in PHP_FUNCTION() local
431 ustr_len = 0; in PHP_FUNCTION()
433 intl_convert_utf8_to_utf16(&ustr, &ustr_len, str, str_len, &status); in PHP_FUNCTION()
453 ubrk_setText(bi, ustr, ustr_len, &status); in PHP_FUNCTION()
477 if ( 0 != start || sub_str_start_pos >= ustr_len ) { in PHP_FUNCTION()
494 …u8_sub_str = intl_convert_utf16_to_utf8(ustr + sub_str_start_pos, ustr_len - sub_str_start_pos, &s… in PHP_FUNCTION()
558 sub_str_end_pos = ustr_len; in PHP_FUNCTION()

Completed in 14 milliseconds