/PHP-5.3/ext/intl/grapheme/ |
H A D | grapheme_util.c | 385 int ret_len = len; in grapheme_ascii_check() local 391 return ret_len; in grapheme_ascii_check() 401 int ret_len, pos; in grapheme_split_string() local 414 for ( ret_len = 0; pos != UBRK_DONE; ) { in grapheme_split_string() 420 if ( NULL != boundary_array && ret_len < boundary_array_len ) { in grapheme_split_string() 421 boundary_array[ret_len] = pos; in grapheme_split_string() 424 ret_len++; in grapheme_split_string() 430 return ret_len; in grapheme_split_string() 438 int ret_len = 0; in grapheme_count_graphemes() local 449 ret_len++; in grapheme_count_graphemes() [all …]
|
H A D | grapheme_string.c | 61 int ret_len; in PHP_FUNCTION() local 72 ret_len = grapheme_ascii_check(string, string_len); in PHP_FUNCTION() 74 if ( ret_len >= 0 ) in PHP_FUNCTION() 75 RETURN_LONG(ret_len); in PHP_FUNCTION() 93 ret_len = grapheme_split_string(ustring, ustring_len, NULL, 0 TSRMLS_CC ); in PHP_FUNCTION() 99 if (ret_len >= 0) { in PHP_FUNCTION() 100 RETVAL_LONG(ret_len); in PHP_FUNCTION()
|
/PHP-5.3/ext/intl/normalizer/ |
H A D | normalizer_normalize.c | 49 int32_t ret_len = 0; in PHP_FUNCTION() local 152 intl_convert_utf16_to_utf8( &ret_buf, &ret_len, uret_buf, uret_len, &status ); in PHP_FUNCTION() 162 RETVAL_STRINGL( ret_buf, ret_len, FALSE ); in PHP_FUNCTION()
|
/PHP-5.3/ext/mbstring/ |
H A D | php_unicode.c | 270 …I char *php_unicode_convert_case(int case_mode, const char *srcstr, size_t srclen, size_t *ret_len, in php_unicode_convert_case() argument 331 newstr = php_mb_convert_encoding(unicode, unicode_len, src_encoding, "UCS-4BE", ret_len TSRMLS_CC); in php_unicode_convert_case()
|
H A D | mbstring.c | 2938 size_t ret_len; in PHP_FUNCTION() local 2945 …newstr = php_unicode_convert_case(case_mode, str, (size_t) str_len, &ret_len, from_encoding TSRMLS… in PHP_FUNCTION() 2948 RETVAL_STRINGL(newstr, ret_len, 0); in PHP_FUNCTION() 2961 size_t ret_len; in PHP_FUNCTION() local 2967 …newstr = php_unicode_convert_case(PHP_UNICODE_CASE_UPPER, str, (size_t) str_len, &ret_len, from_en… in PHP_FUNCTION() 2970 RETURN_STRINGL(newstr, ret_len, 0); in PHP_FUNCTION() 2984 size_t ret_len; in PHP_FUNCTION() local 2990 …newstr = php_unicode_convert_case(PHP_UNICODE_CASE_LOWER, str, (size_t) str_len, &ret_len, from_en… in PHP_FUNCTION() 2993 RETURN_STRINGL(newstr, ret_len, 0); in PHP_FUNCTION()
|
/PHP-5.3/ext/mysqli/ |
H A D | mysqli_prop.c | 90 int ret_len = spprintf(&ret, 0, __ret_type_sprint_mod, l); \ 91 ZVAL_STRINGL(*retval, ret, ret_len, 0); \
|
/PHP-5.3/ext/standard/ |
H A D | string.c | 1418 size_t ret_len; local 1425 RETURN_STRINGL(ret, (int)ret_len, 0); 1444 size_t ret_len; local 1451 ret_len = php_dirname(ret, str_len); 1453 RETURN_STRINGL(ret, ret_len, 0); 1464 size_t ret_len; local 1487 php_basename(path, path_len, NULL, 0, &ret, &ret_len TSRMLS_CC); 1488 add_assoc_stringl(tmp, "basename", ret, ret_len, 0); 1499 p = zend_memrchr(ret, '.', ret_len); 1516 p = zend_memrchr(ret, '.', ret_len); [all …]
|
/PHP-5.3/ext/phar/ |
H A D | util.c | 262 int arch_len, entry_len, fname_len, ret_len; in phar_find_in_include_path() local 330 ret_len = strlen(ret); in phar_find_in_include_path() 333 …if (SUCCESS != phar_split_fname(ret, ret_len, &arch, &arch_len, &entry, &entry_len, 1, 0 TSRMLS_CC… in phar_find_in_include_path() 491 int arch_len, entry_len, ret_len; in phar_find_in_include_path() 493 ret_len = strlen(trypath); in phar_find_in_include_path() 496 …if (SUCCESS != phar_split_fname(trypath, ret_len, &arch, &arch_len, &entry, &entry_len, 1, 0 TSRML… in phar_find_in_include_path() 497 return estrndup(trypath, ret_len); in phar_find_in_include_path() 509 return estrndup(trypath, ret_len); in phar_find_in_include_path()
|