Home
last modified time | relevance | path

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

/php-src/ext/intl/grapheme/
H A Dgrapheme_util.c217 int ret_len = len; in grapheme_ascii_check() local
223 return ret_len; in grapheme_ascii_check()
233 int ret_len, pos; in grapheme_split_string() local
246 for ( ret_len = 0; pos != UBRK_DONE; ) { in grapheme_split_string()
252 if ( NULL != boundary_array && ret_len < boundary_array_len ) { in grapheme_split_string()
253 boundary_array[ret_len] = pos; in grapheme_split_string()
256 ret_len++; in grapheme_split_string()
262 return ret_len; in grapheme_split_string()
269 int ret_len = 0; in grapheme_count_graphemes() local
280 ret_len++; in grapheme_count_graphemes()
[all …]
H A Dgrapheme_string.c39 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-src/win32/
H A Dioutil.c590 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 Dcodepage.c41 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-src/ext/intl/converter/
H A Dconverter.c626 int32_t temp_len, ret_len; in php_converter_do_convert() local
655 ret_len = ucnv_fromUChars(dest_cnv, NULL, 0, temp, temp_len, &error); in php_converter_do_convert()
662 ret = zend_string_alloc(ret_len, 0); in php_converter_do_convert()
666 ZSTR_LEN(ret) = ucnv_fromUChars(dest_cnv, ZSTR_VAL(ret), ret_len+1, temp, temp_len, &error); in php_converter_do_convert()

Completed in 21 milliseconds