/PHP-5.4/ext/intl/grapheme/ |
H A D | grapheme_util.c | 222 int ret_len = len; in grapheme_ascii_check() local 228 return ret_len; in grapheme_ascii_check() 238 int ret_len, pos; in grapheme_split_string() local 251 for ( ret_len = 0; pos != UBRK_DONE; ) { in grapheme_split_string() 257 if ( NULL != boundary_array && ret_len < boundary_array_len ) { in grapheme_split_string() 258 boundary_array[ret_len] = pos; in grapheme_split_string() 261 ret_len++; in grapheme_split_string() 267 return ret_len; in grapheme_split_string() 274 int ret_len = 0; in grapheme_count_graphemes() local 285 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.4/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.4/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 | 3117 size_t ret_len; in PHP_FUNCTION() local 3124 …newstr = php_unicode_convert_case(case_mode, str, (size_t) str_len, &ret_len, from_encoding TSRMLS… in PHP_FUNCTION() 3127 RETVAL_STRINGL(newstr, ret_len, 0); in PHP_FUNCTION() 3141 size_t ret_len; in PHP_FUNCTION() local 3147 …newstr = php_unicode_convert_case(PHP_UNICODE_CASE_UPPER, str, (size_t) str_len, &ret_len, from_en… in PHP_FUNCTION() 3150 RETURN_STRINGL(newstr, ret_len, 0); in PHP_FUNCTION() 3165 size_t ret_len; in PHP_FUNCTION() local 3171 …newstr = php_unicode_convert_case(PHP_UNICODE_CASE_LOWER, str, (size_t) str_len, &ret_len, from_en… in PHP_FUNCTION() 3174 RETURN_STRINGL(newstr, ret_len, 0); in PHP_FUNCTION()
|
/PHP-5.4/ext/standard/ |
H A D | string.c | 1504 size_t ret_len; local 1511 RETURN_STRINGL(ret, (int)ret_len, 0); 1530 size_t ret_len; local 1537 ret_len = php_dirname(ret, str_len); 1539 RETURN_STRINGL(ret, ret_len, 0); 1550 size_t ret_len; local 1573 php_basename(path, path_len, NULL, 0, &ret, &ret_len TSRMLS_CC); 1574 add_assoc_stringl(tmp, "basename", ret, ret_len, 0); 1585 p = zend_memrchr(ret, '.', ret_len); 1602 p = zend_memrchr(ret, '.', ret_len); [all …]
|
/PHP-5.4/ext/phar/ |
H A D | util.c | 261 int arch_len, entry_len, fname_len, ret_len; in phar_find_in_include_path() local 329 ret_len = strlen(ret); in phar_find_in_include_path() 332 …if (SUCCESS != phar_split_fname(ret, ret_len, &arch, &arch_len, &entry, &entry_len, 1, 0 TSRMLS_CC… in phar_find_in_include_path() 490 int arch_len, entry_len, ret_len; in phar_find_in_include_path() 492 ret_len = strlen(trypath); in phar_find_in_include_path() 495 …if (SUCCESS != phar_split_fname(trypath, ret_len, &arch, &arch_len, &entry, &entry_len, 1, 0 TSRML… in phar_find_in_include_path() 496 return estrndup(trypath, ret_len); in phar_find_in_include_path() 508 return estrndup(trypath, ret_len); in phar_find_in_include_path()
|
/PHP-5.4/ext/mysqli/ |
H A D | mysqli_prop.c | 91 int ret_len = spprintf(&ret, 0, __ret_type_sprint_mod, l); \ 92 ZVAL_STRINGL(*retval, ret, ret_len, 0); \
|