Searched refs:ustr_len (Results 1 – 4 of 4) sorted by relevance
/PHP-7.4/ext/intl/transliterator/ |
H A D | transliterator_methods.c | 301 int32_t ustr_len = 0, in PHP_FUNCTION() local 379 intl_convert_utf8_to_utf16( &ustr, &ustr_len, str, str_len, in PHP_FUNCTION() 385 if( ( start > ustr_len ) || (( limit != -1 ) && (limit > ustr_len ) ) ) in PHP_FUNCTION() 391 "(in this case, %d)", (int) ustr_len ); in PHP_FUNCTION() 402 uresult = safe_emalloc( ustr_len, sizeof( UChar ), 1 * sizeof( UChar ) ); in PHP_FUNCTION() 403 capacity = ustr_len + 1; in PHP_FUNCTION() 407 int32_t temp_limit = ( limit == -1 ? ustr_len : (int32_t) limit ); in PHP_FUNCTION() 408 memcpy( uresult, ustr, ustr_len * sizeof( UChar ) ); in PHP_FUNCTION() 409 uresult_len = ustr_len; in PHP_FUNCTION()
|
/PHP-7.4/ext/intl/collator/ |
H A D | collator_convert.c | 191 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 D | collator_sort.c | 556 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.4/ext/intl/grapheme/ |
H A D | grapheme_string.c | 382 int32_t ustr_len; in PHP_FUNCTION() local 433 ustr_len = 0; in PHP_FUNCTION() 435 intl_convert_utf8_to_utf16(&ustr, &ustr_len, str, str_len, &status); in PHP_FUNCTION() 455 ubrk_setText(bi, ustr, ustr_len, &status); in PHP_FUNCTION() 479 if ( 0 != start || sub_str_start_pos >= ustr_len ) { in PHP_FUNCTION() 496 …u8_sub_str = intl_convert_utf16_to_utf8(ustr + sub_str_start_pos, ustr_len - sub_str_start_pos, &s… in PHP_FUNCTION() 560 sub_str_end_pos = ustr_len; in PHP_FUNCTION()
|
Completed in 19 milliseconds