Home
last modified time | relevance | path

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

/PHP-8.0/ext/intl/transliterator/
H A Dtransliterator_methods.c271 int32_t ustr_len = 0, in PHP_FUNCTION() local
339 intl_convert_utf8_to_utf16(&ustr, &ustr_len, str, str_len, TRANSLITERATOR_ERROR_CODE_P(to)); in PHP_FUNCTION()
344 if( ( start > ustr_len ) || (( limit != -1 ) && (limit > ustr_len ) ) ) in PHP_FUNCTION()
350 "(in this case, %d)", (int) ustr_len ); in PHP_FUNCTION()
360 uresult = safe_emalloc( ustr_len, sizeof( UChar ), 1 * sizeof( UChar ) ); in PHP_FUNCTION()
361 capacity = ustr_len + 1; in PHP_FUNCTION()
365 int32_t temp_limit = ( limit == -1 ? ustr_len : (int32_t) limit ); in PHP_FUNCTION()
366 memcpy( uresult, ustr, ustr_len * sizeof( UChar ) ); in PHP_FUNCTION()
367 uresult_len = ustr_len; in PHP_FUNCTION()
/PHP-8.0/ext/intl/collator/
H A Dcollator_convert.c189 int32_t ustr_len = 0; in collator_convert_zstr_utf8_to_utf16() local
194 &ustr, &ustr_len, in collator_convert_zstr_utf8_to_utf16()
203 ZVAL_STRINGL( zstr, (char*)ustr, UBYTES(ustr_len)); in collator_convert_zstr_utf8_to_utf16()
219 int32_t ustr_len = 0; in collator_convert_object_to_string() local
245 &ustr, &ustr_len, in collator_convert_object_to_string()
256 ZVAL_STRINGL( zstr, (char*)ustr, UBYTES(ustr_len)); in collator_convert_object_to_string()
H A Dcollator_sort.c508 int32_t ustr_len = 0; in PHP_FUNCTION() local
539 &ustr, &ustr_len, str, str_len, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION()
554 key_len = ucol_getSortKey(co->ucoll, ustr, ustr_len, NULL, 0); in PHP_FUNCTION()
560 key_len = ucol_getSortKey(co->ucoll, ustr, ustr_len, (uint8_t*)ZSTR_VAL(key_str), key_len); in PHP_FUNCTION()
/PHP-8.0/ext/intl/grapheme/
H A Dgrapheme_string.c339 int32_t ustr_len; in PHP_FUNCTION() local
386 ustr_len = 0; in PHP_FUNCTION()
388 intl_convert_utf8_to_utf16(&ustr, &ustr_len, str, str_len, &status); in PHP_FUNCTION()
408 ubrk_setText(bi, ustr, ustr_len, &status); in PHP_FUNCTION()
451 …u8_sub_str = intl_convert_utf16_to_utf8(ustr + sub_str_start_pos, ustr_len - sub_str_start_pos, &s… in PHP_FUNCTION()
513 sub_str_end_pos = ustr_len; in PHP_FUNCTION()

Completed in 27 milliseconds