Searched refs:ret_len (Results 1 – 5 of 5) sorted by relevance
/PHP-7.0/ext/intl/grapheme/ |
H A D | grapheme_util.c | 224 int ret_len = len; in grapheme_ascii_check() local 230 return ret_len; in grapheme_ascii_check() 240 int ret_len, pos; in grapheme_split_string() local 253 for ( ret_len = 0; pos != UBRK_DONE; ) { in grapheme_split_string() 259 if ( NULL != boundary_array && ret_len < boundary_array_len ) { in grapheme_split_string() 260 boundary_array[ret_len] = pos; in grapheme_split_string() 263 ret_len++; in grapheme_split_string() 269 return ret_len; in grapheme_split_string() 276 int ret_len = 0; in grapheme_count_graphemes() local 287 ret_len++; in grapheme_count_graphemes() [all …]
|
H A D | grapheme_string.c | 61 zend_long ret_len; in PHP_FUNCTION() local 70 ret_len = grapheme_ascii_check((unsigned char *)string, string_len); in PHP_FUNCTION() 72 if ( ret_len >= 0 ) in PHP_FUNCTION() 91 ret_len = grapheme_split_string(ustring, ustring_len, NULL, 0 ); in PHP_FUNCTION() 97 if (ret_len >= 0) { in PHP_FUNCTION() 98 RETVAL_LONG(ret_len); in PHP_FUNCTION()
|
/PHP-7.0/ext/mbstring/ |
H A D | php_unicode.c | 270 …I char *php_unicode_convert_case(int case_mode, const char *srcstr, size_t srclen, size_t *ret_len, in php_unicode_convert_case() argument 331 newstr = php_mb_convert_encoding(unicode, unicode_len, src_encoding, "UCS-4BE", ret_len); in php_unicode_convert_case()
|
H A D | mbstring.c | 3281 size_t ret_len; in PHP_FUNCTION() local 3289 newstr = php_unicode_convert_case(case_mode, str, (size_t) str_len, &ret_len, from_encoding); in PHP_FUNCTION() 3293 RETVAL_STRINGL(newstr, ret_len); in PHP_FUNCTION() 3308 size_t ret_len; in PHP_FUNCTION() local 3314 …newstr = php_unicode_convert_case(PHP_UNICODE_CASE_UPPER, str, (size_t) str_len, &ret_len, from_en… in PHP_FUNCTION() 3318 RETVAL_STRINGL(newstr, ret_len); in PHP_FUNCTION() 3335 size_t ret_len; in PHP_FUNCTION() local 3341 …newstr = php_unicode_convert_case(PHP_UNICODE_CASE_LOWER, str, (size_t) str_len, &ret_len, from_en… in PHP_FUNCTION() 3345 RETVAL_STRINGL(newstr, ret_len); in PHP_FUNCTION()
|
/PHP-7.0/ext/intl/converter/ |
H A D | converter.c | 660 int32_t temp_len, ret_len; in php_converter_do_convert() local 689 ret_len = ucnv_fromUChars(dest_cnv, NULL, 0, temp, temp_len, &error); in php_converter_do_convert() 696 ret = zend_string_alloc(ret_len, 0); in php_converter_do_convert() 700 ZSTR_LEN(ret) = ucnv_fromUChars(dest_cnv, ZSTR_VAL(ret), ret_len+1, temp, temp_len, &error); in php_converter_do_convert()
|
Completed in 26 milliseconds