/PHP-7.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 | 37 int ret_len, tmp_len; in php_win32_cp_to_w_int() local 47 ret_len = MultiByteToWideChar(cp, flags, in, tmp_len, NULL, 0); in php_win32_cp_to_w_int() 48 if (ret_len == 0) { in php_win32_cp_to_w_int() 53 ret = malloc(ret_len * sizeof(wchar_t)); in php_win32_cp_to_w_int() 59 tmp_len = MultiByteToWideChar(cp, flags, in, tmp_len, ret, ret_len); in php_win32_cp_to_w_int() 66 assert(ret ? tmp_len == ret_len : 1); in php_win32_cp_to_w_int() 67 assert(ret && !in_len ? wcslen(ret) == ret_len - 1 : 1); in php_win32_cp_to_w_int() 69 ret[ret_len-1] = L'\0'; in php_win32_cp_to_w_int() 72 *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.3/ext/intl/grapheme/ |
H A D | grapheme_util.c | 223 int ret_len = len; in grapheme_ascii_check() local 229 return ret_len; in grapheme_ascii_check() 239 int ret_len, pos; in grapheme_split_string() local 252 for ( ret_len = 0; pos != UBRK_DONE; ) { in grapheme_split_string() 258 if ( NULL != boundary_array && ret_len < boundary_array_len ) { in grapheme_split_string() 259 boundary_array[ret_len] = pos; in grapheme_split_string() 262 ret_len++; in grapheme_split_string() 268 return ret_len; in grapheme_split_string() 275 int ret_len = 0; in grapheme_count_graphemes() local 286 ret_len++; in grapheme_count_graphemes() [all …]
|
H A D | grapheme_string.c | 64 zend_long ret_len; in PHP_FUNCTION() local 73 ret_len = grapheme_ascii_check((unsigned char *)string, string_len); in PHP_FUNCTION() 75 if ( ret_len >= 0 ) in PHP_FUNCTION() 94 ret_len = grapheme_split_string(ustring, ustring_len, NULL, 0 ); in PHP_FUNCTION() 100 if (ret_len >= 0) { in PHP_FUNCTION() 101 RETVAL_LONG(ret_len); in PHP_FUNCTION()
|
/PHP-7.3/ext/mbstring/ |
H A D | php_unicode.c | 386 int case_mode, const char *srcstr, size_t srclen, size_t *ret_len, in php_unicode_convert_case() argument 446 *ret_len = result.len; in php_unicode_convert_case()
|
H A D | mbstring.c | 3289 case_mode, str, str_len, ret_len, enc, in mbstring_convert_case() 3302 size_t ret_len; in PHP_FUNCTION() local 3325 RETVAL_STRINGL(newstr, ret_len); in PHP_FUNCTION() 3340 size_t ret_len; in PHP_FUNCTION() local 3357 RETVAL_STRINGL(newstr, ret_len); in PHP_FUNCTION() 3374 size_t ret_len; in PHP_FUNCTION() local 3391 RETVAL_STRINGL(newstr, ret_len); in PHP_FUNCTION() 4982 size_t ret_len; in php_mb_chr() local 4993 ret = zend_string_init(ret_str, ret_len, 0); in php_mb_chr() 5042 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.3/ext/intl/converter/ |
H A D | converter.c | 665 int32_t temp_len, ret_len; in php_converter_do_convert() local 694 ret_len = ucnv_fromUChars(dest_cnv, NULL, 0, temp, temp_len, &error); in php_converter_do_convert() 701 ret = zend_string_alloc(ret_len, 0); in php_converter_do_convert() 705 ZSTR_LEN(ret) = ucnv_fromUChars(dest_cnv, ZSTR_VAL(ret), ret_len+1, temp, temp_len, &error); in php_converter_do_convert()
|
/PHP-7.3/Zend/ |
H A D | zend_virtual_cwd.c | 185 size_t ret_len, targetw_len, offset = 0; in php_sys_readlink() local 235 ret = php_win32_ioutil_conv_w_to_any(targetw + offset, targetw_len - offset, &ret_len); in php_sys_readlink() 236 if (!ret || ret_len >= MAXPATHLEN) { in php_sys_readlink() 242 memcpy(target, ret, ret_len + 1); in php_sys_readlink() 248 return (ssize_t)ret_len; in php_sys_readlink()
|