Home
last modified time | relevance | path

Searched refs:zend_string_safe_alloc (Results 1 – 21 of 21) sorted by relevance

/php-src/ext/standard/
H A Dexec.c300 cmd = zend_string_safe_alloc(2, l, 0, 0); in php_escape_shell_cmd()
407 cmd = zend_string_safe_alloc(4, l, 2, 0); /* worst case */ in php_escape_shell_arg()
H A Duuencode.c74 dest = zend_string_safe_alloc(src_len/2, 3, 46, 0); in php_uuencode()
H A Dbase64.c521 result = zend_string_safe_alloc(((length + 2) / 3), 4 * sizeof(char), 0, 0); in php_base64_encode_avx512_vbmi()
631 result = zend_string_safe_alloc(((length + 2) / 3), 4 * sizeof(char), 0, 0); in php_base64_encode_avx512()
918 result = zend_string_safe_alloc(((length + 2) / 3), 4 * sizeof(char), 0, 0); in php_base64_encode_ex()
959 result = zend_string_safe_alloc(((length + 2) / 3), 4 * sizeof(char), 0, 0); in php_base64_encode_ssse3()
1195 result = zend_string_safe_alloc(((length + 2) / 3), 4 * sizeof(char), 0, 0); in php_base64_encode_default()
H A Dquot_print.c147 ret = zend_string_safe_alloc(3, (length + (((3 * length)/(PHP_QPRINT_MAXL-9)) + 1)), 0, 0); in php_quot_print_encode()
H A Dstring.c67 result = zend_string_safe_alloc(oldlen, 2 * sizeof(char), 0, 0); in php_bin2hex()
1016 str = zend_string_safe_alloc(numelems - 1, ZSTR_LEN(glue), len, 0); in php_implode()
2174 dest = zend_string_safe_alloc(chunks, endlen, srclen, 0);
2217 result = zend_string_safe_alloc(ZSTR_LEN(str), 1, endlen, 0);
2569 result = zend_string_safe_alloc(1, result_len, 0, 0);
2576 result = zend_string_safe_alloc(1, result_len, 0, 0);
2584 result = zend_string_safe_alloc(1, result_len, 0, 0);
2627 str = zend_string_safe_alloc(2, ZSTR_LEN(old), 0, 0);
3801 zend_string *new_str = zend_string_safe_alloc(4, len, 0, 0);
5486 result = zend_string_safe_alloc(ZSTR_LEN(input_str), mult, 0, 0);
[all …]
H A Diptc.c210 spoolbuf = zend_string_safe_alloc(1, iptcdata_len + sizeof(psheader) + 1024 + 1, sb.st_size, 0); in PHP_FUNCTION()
H A Durl.c457 start = zend_string_safe_alloc(3, len, 0, 0); in php_url_encode_impl()
H A Dvar_unserializer.re326 zend_string *str = zend_string_safe_alloc(1, len, 0, 0);
/php-src/ext/dom/
H A Dxpath.c491 zend_string *const output = zend_string_safe_alloc(1, input_len, 2, false); in PHP_METHOD()
498 zend_string *const output = zend_string_safe_alloc(1, input_len, 2, false); in PHP_METHOD()
H A Dnode.c40 zend_string *str = zend_string_safe_alloc(1, name_len, prefix_len + 1, false); in dom_node_concatenated_name_helper()
/php-src/ext/filter/
H A Dsanitizing_filters.c77 str = zend_string_safe_alloc(Z_STRLEN_P(value), 3, 0, 0); in php_filter_encode_url()
/php-src/Zend/
H A Dzend_string.h185 static zend_always_inline zend_string *zend_string_safe_alloc(size_t n, size_t m, size_t l, bool pe… in zend_string_safe_alloc() function
320 ret = zend_string_safe_alloc(n, m, l, persistent); in zend_string_safe_realloc()
/php-src/ext/bz2/
H A Dbz2.c519 dest = zend_string_safe_alloc(source_len, 2, 1, 0); in PHP_FUNCTION()
/php-src/ext/hash/
H A Dhash.c410 zend_string *hex_digest = zend_string_safe_alloc(ops->digest_size, 2, 0, 0); in php_hash_do_hash()
567 zend_string *hex_digest = zend_string_safe_alloc(ops->digest_size, 2, 0, 0); in php_hash_do_hash_hmac()
826 zend_string *hex_digest = zend_string_safe_alloc(digest_len, 2, 0, 0); in PHP_FUNCTION()
/php-src/ext/random/
H A Drandom.c337 str = zend_string_safe_alloc(len, 2 * sizeof(char), 0, 0);
/php-src/ext/pdo_mysql/
H A Dmysql_driver.c328 …zend_string *quoted_str = zend_string_safe_alloc(2, ZSTR_LEN(unquoted), 3 + (use_national_characte… in mysql_handle_quoter()
/php-src/ext/zip/
H A Dphp_zip.c1351 buffer = zend_string_safe_alloc(1, len, 0, 0); in PHP_FUNCTION()
2929 buffer = zend_string_safe_alloc(1, len, 0, 0);
/php-src/ext/mysqli/
H A Dmysqli_api.c1364 newstr = zend_string_safe_alloc(2, escapestr_len, 0, 0); in PHP_FUNCTION()
/php-src/ext/gmp/
H A Dgmp.c1019 zend_string *out_string = zend_string_safe_alloc(count, size, 0, 0); in ZEND_FUNCTION()
/php-src/ext/pcre/
H A Dphp_pcre.c2823 out_str = zend_string_safe_alloc(1, ZSTR_LEN(str), extra_len, 0); in PHP_FUNCTION()
/php-src/ext/pgsql/
H A Dpgsql.c3500 to = zend_string_safe_alloc(ZSTR_LEN(from), 2, 0, 0); in PHP_FUNCTION()

Completed in 180 milliseconds