Searched refs:ret_len (Results 1 – 8 of 8) sorted by relevance
/PHP-7.4/ext/intl/grapheme/ |
H A D | grapheme_util.c | 236 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 D | grapheme_string.c | 62 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 D | ioutil.c | 592 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 D | codepage.c | 39 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 D | php_unicode.c | 384 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 D | mbstring.c | 3430 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 D | php_unicode.h | 90 int case_mode, const char *srcstr, size_t srclen, size_t *ret_len,
|
/PHP-7.4/ext/intl/converter/ |
H A D | converter.c | 668 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 37 milliseconds