Home
last modified time | relevance | path

Searched refs:ret_len (Results 1 – 8 of 8) sorted by relevance

/PHP-7.4/ext/intl/grapheme/
H A Dgrapheme_util.c236 int ret_len = len; in grapheme_ascii_check() local
242 return ret_len; in grapheme_ascii_check()
252 int ret_len, pos; in grapheme_split_string() local
265 for ( ret_len = 0; pos != UBRK_DONE; ) { in grapheme_split_string()
271 if ( NULL != boundary_array && ret_len < boundary_array_len ) { in grapheme_split_string()
272 boundary_array[ret_len] = pos; in grapheme_split_string()
275 ret_len++; in grapheme_split_string()
281 return ret_len; in grapheme_split_string()
288 int ret_len = 0; in grapheme_count_graphemes() local
299 ret_len++; in grapheme_count_graphemes()
[all …]
H A Dgrapheme_string.c62 zend_long ret_len; in PHP_FUNCTION() local
71 ret_len = grapheme_ascii_check((unsigned char *)string, string_len); in PHP_FUNCTION()
73 if ( ret_len >= 0 ) in PHP_FUNCTION()
92 ret_len = grapheme_split_string(ustring, ustring_len, NULL, 0 ); in PHP_FUNCTION()
98 if (ret_len >= 0) { in PHP_FUNCTION()
99 RETVAL_LONG(ret_len); in PHP_FUNCTION()
/PHP-7.4/win32/
H A Dioutil.c592 ret = php_win32_ioutil_conv_w_to_any(startw, ret_len, &ret_len); in php_win32_ioutil_dirname()
599 return ret_len; in php_win32_ioutil_dirname()
606 size_t ret_len = len; in php_win32_ioutil_normalize_path_w() local
630 if (ret_len != len) { in php_win32_ioutil_normalize_path_w()
631 if (ret_len > len) { in php_win32_ioutil_normalize_path_w()
643 *new_len = ret_len; in php_win32_ioutil_normalize_path_w()
736 DWORD ret_len, ret_real_len; in php_win32_ioutil_realpath_h() local
739 if (0 == ret_len) { in php_win32_ioutil_realpath_h()
758 ret_real_len = ret_len; in php_win32_ioutil_realpath_h()
780 size_t ret_len; in php_win32_ioutil_realpath_w_ex0() local
[all …]
H A Dcodepage.c39 int ret_len, tmp_len; in php_win32_cp_to_w_int() local
49 ret_len = MultiByteToWideChar(cp, flags, in, tmp_len, NULL, 0); in php_win32_cp_to_w_int()
50 if (ret_len == 0) { in php_win32_cp_to_w_int()
55 ret = malloc(ret_len * sizeof(wchar_t)); in php_win32_cp_to_w_int()
61 tmp_len = MultiByteToWideChar(cp, flags, in, tmp_len, ret, ret_len); in php_win32_cp_to_w_int()
68 assert(ret ? tmp_len == ret_len : 1); in php_win32_cp_to_w_int()
69 assert(ret && !in_len ? wcslen(ret) == ret_len - 1 : 1); in php_win32_cp_to_w_int()
71 ret[ret_len-1] = L'\0'; in php_win32_cp_to_w_int()
74 *out_len = ret_len - 1; in php_win32_cp_to_w_int()
634 size_t subj_len, ret_len, tmpw_len; in PHP_FUNCTION() local
[all …]
/PHP-7.4/ext/mbstring/
H A Dphp_unicode.c384 int case_mode, const char *srcstr, size_t srclen, size_t *ret_len, in php_unicode_convert_case() argument
444 *ret_len = result.len; in php_unicode_convert_case()
H A Dmbstring.c3430 case_mode, str, str_len, ret_len, enc, in mbstring_convert_case()
3443 size_t ret_len; in PHP_FUNCTION() local
3466 RETVAL_STRINGL(newstr, ret_len); in PHP_FUNCTION()
3481 size_t ret_len; in PHP_FUNCTION() local
3498 RETVAL_STRINGL(newstr, ret_len); in PHP_FUNCTION()
3515 size_t ret_len; in PHP_FUNCTION() local
3532 RETVAL_STRINGL(newstr, ret_len); in PHP_FUNCTION()
5122 size_t ret_len; in php_mb_chr() local
5133 ret = zend_string_init(ret_str, ret_len, 0); in php_mb_chr()
5180 size_t ret_len; in PHP_FUNCTION() local
[all …]
H A Dphp_unicode.h90 int case_mode, const char *srcstr, size_t srclen, size_t *ret_len,
/PHP-7.4/ext/intl/converter/
H A Dconverter.c668 int32_t temp_len, ret_len; in php_converter_do_convert() local
697 ret_len = ucnv_fromUChars(dest_cnv, NULL, 0, temp, temp_len, &error); in php_converter_do_convert()
704 ret = zend_string_alloc(ret_len, 0); in php_converter_do_convert()
708 ZSTR_LEN(ret) = ucnv_fromUChars(dest_cnv, ZSTR_VAL(ret), ret_len+1, temp, temp_len, &error); in php_converter_do_convert()

Completed in 40 milliseconds