Searched refs:ret_len (Results 1 – 5 of 5) sorted by relevance
/PHP-8.3/ext/intl/grapheme/ |
H A D | grapheme_util.c | 219 int ret_len = len; in grapheme_ascii_check() local 225 return ret_len; in grapheme_ascii_check() 235 int ret_len, pos; in grapheme_split_string() local 248 for ( ret_len = 0; pos != UBRK_DONE; ) { in grapheme_split_string() 254 if ( NULL != boundary_array && ret_len < boundary_array_len ) { in grapheme_split_string() 255 boundary_array[ret_len] = pos; in grapheme_split_string() 258 ret_len++; in grapheme_split_string() 264 return ret_len; in grapheme_split_string() 271 int ret_len = 0; in grapheme_count_graphemes() local 282 ret_len++; in grapheme_count_graphemes() [all …]
|
H A D | grapheme_string.c | 39 zend_long ret_len; in PHP_FUNCTION() local 46 ret_len = grapheme_ascii_check((unsigned char *)string, string_len); in PHP_FUNCTION() 48 if ( ret_len >= 0 ) in PHP_FUNCTION() 67 ret_len = grapheme_split_string(ustring, ustring_len, NULL, 0 ); in PHP_FUNCTION() 73 if (ret_len >= 0) { in PHP_FUNCTION() 74 RETVAL_LONG(ret_len); in PHP_FUNCTION()
|
/PHP-8.3/win32/ |
H A D | ioutil.c | 590 ret = php_win32_ioutil_conv_w_to_any(startw, ret_len, &ret_len); in php_win32_ioutil_dirname() 597 return ret_len; in php_win32_ioutil_dirname() 604 size_t ret_len = len; in php_win32_ioutil_normalize_path_w() local 628 if (ret_len != len) { in php_win32_ioutil_normalize_path_w() 629 if (ret_len > len) { in php_win32_ioutil_normalize_path_w() 641 *new_len = ret_len; in php_win32_ioutil_normalize_path_w() 734 DWORD ret_len, ret_real_len; in php_win32_ioutil_realpath_h() local 737 if (0 == ret_len) { in php_win32_ioutil_realpath_h() 756 ret_real_len = ret_len; in php_win32_ioutil_realpath_h() 778 size_t ret_len; in php_win32_ioutil_realpath_w_ex0() local [all …]
|
H A D | codepage.c | 41 int ret_len, tmp_len; in php_win32_cp_to_w_int() local 51 ret_len = MultiByteToWideChar(cp, flags, in, tmp_len, NULL, 0); in php_win32_cp_to_w_int() 52 if (ret_len == 0) { in php_win32_cp_to_w_int() 57 ret = malloc(ret_len * sizeof(wchar_t)); in php_win32_cp_to_w_int() 63 tmp_len = MultiByteToWideChar(cp, flags, in, tmp_len, ret, ret_len); in php_win32_cp_to_w_int() 70 assert(ret ? tmp_len == ret_len : 1); in php_win32_cp_to_w_int() 71 assert(ret && !in_len ? wcslen(ret) == ret_len - 1 : 1); in php_win32_cp_to_w_int() 73 ret[ret_len-1] = L'\0'; in php_win32_cp_to_w_int() 76 *out_len = ret_len - 1; in php_win32_cp_to_w_int() 661 size_t ret_len, tmpw_len; in PHP_FUNCTION() local [all …]
|
/PHP-8.3/ext/intl/converter/ |
H A D | converter.c | 625 int32_t temp_len, ret_len; in php_converter_do_convert() local 654 ret_len = ucnv_fromUChars(dest_cnv, NULL, 0, temp, temp_len, &error); in php_converter_do_convert() 661 ret = zend_string_alloc(ret_len, 0); in php_converter_do_convert() 665 ZSTR_LEN(ret) = ucnv_fromUChars(dest_cnv, ZSTR_VAL(ret), ret_len+1, temp, temp_len, &error); in php_converter_do_convert()
|
Completed in 19 milliseconds