Home
last modified time | relevance | path

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

/PHP-5.5/ext/intl/grapheme/
H A Dgrapheme_util.c222 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 Dgrapheme_string.c61 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.5/ext/intl/normalizer/
H A Dnormalizer_normalize.c49 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.5/ext/standard/
H A Dpassword.c85 size_t ret_len = 0; in php_password_salt_to64() local
90 buffer = php_base64_encode((unsigned char*) str, (int) str_len, (int*) &ret_len); in php_password_salt_to64()
91 if (ret_len < out_len) { in php_password_salt_to64()
H A Dstring.c1518 size_t ret_len; local
1525 RETURN_STRINGL(ret, (int)ret_len, 0);
1544 size_t ret_len; local
1551 ret_len = php_dirname(ret, str_len);
1553 RETURN_STRINGL(ret, ret_len, 0);
1564 size_t ret_len; local
1587 php_basename(path, path_len, NULL, 0, &ret, &ret_len TSRMLS_CC);
1588 add_assoc_stringl(tmp, "basename", ret, ret_len, 0);
1599 p = zend_memrchr(ret, '.', ret_len);
1616 p = zend_memrchr(ret, '.', ret_len);
[all …]
/PHP-5.5/ext/mbstring/
H A Dphp_unicode.c270 …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 Dmbstring.c3117 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.5/ext/mysqli/
H A Dmysqli_prop.c91 int ret_len = spprintf(&ret, 0, __ret_type_sprint_mod, l); \
92 ZVAL_STRINGL(*retval, ret, ret_len, 0); \
/PHP-5.5/ext/phar/
H A Dutil.c256 int arch_len, entry_len, fname_len, ret_len; in phar_find_in_include_path() local
324 ret_len = strlen(ret); in phar_find_in_include_path()
327 …if (SUCCESS != phar_split_fname(ret, ret_len, &arch, &arch_len, &entry, &entry_len, 1, 0 TSRMLS_CC… in phar_find_in_include_path()

Completed in 51 milliseconds