Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/
H A Dexec.c308 cmd = zend_string_safe_alloc(2, l, 0, 0); in php_escape_shell_cmd()
412 cmd = zend_string_safe_alloc(4, l, 2, 0); /* worst case */ in php_escape_shell_arg()
H A Duuencode.c75 dest = zend_string_safe_alloc(src_len/2, 3, 46, 0); in php_uuencode()
H A Dquot_print.c153 ret = zend_string_safe_alloc(3, (length + (((3 * length)/(PHP_QPRINT_MAXL-9)) + 1)), 0, 0); in php_quot_print_encode()
H A Dstring.c121 result = zend_string_safe_alloc(oldlen, 2 * sizeof(char), 0, 0); in php_bin2hex()
1237 str = zend_string_safe_alloc(numelems - 1, ZSTR_LEN(glue), len, 0); in php_implode()
2365 result = zend_string_safe_alloc(ZSTR_LEN(str), 1, endlen, 0);
2689 result = zend_string_safe_alloc(1, result_len, 0, 0);
2696 result = zend_string_safe_alloc(1, result_len, 0, 0);
2704 result = zend_string_safe_alloc(1, result_len, 0, 0);
2748 str = zend_string_safe_alloc(2, ZSTR_LEN(old), 0, 0);
3827 zend_string *new_str = zend_string_safe_alloc(4, len, 0, 0);
5559 result = zend_string_safe_alloc(ZSTR_LEN(input_str), mult, 0, 0);
6223 str = zend_string_safe_alloc(format_len, 1, 1024, 0);
[all …]
H A Dbase64.c615 result = zend_string_safe_alloc(((length + 2) / 3), 4 * sizeof(char), 0, 0); in php_base64_encode()
656 result = zend_string_safe_alloc(((length + 2) / 3), 4 * sizeof(char), 0, 0); in php_base64_encode_ssse3()
892 result = zend_string_safe_alloc(((length + 2) / 3), 4 * sizeof(char), 0, 0); in php_base64_encode_default()
H A Diptc.c224 spoolbuf = zend_string_safe_alloc(1, iptcdata_len + sizeof(psheader) + 1024 + 1, sb.st_size, 0); in PHP_FUNCTION()
H A Durl.c477 start = zend_string_safe_alloc(3, len, 0, 0); in php_url_encode()
584 str = zend_string_safe_alloc(3, len, 0, 0);
H A Dvar_unserializer.re308 zend_string *str = zend_string_safe_alloc(1, len, 0, 0);
/PHP-7.4/Zend/
H A Dzend_string.h145 static zend_always_inline zend_string *zend_string_safe_alloc(size_t n, size_t m, size_t l, int per… in zend_string_safe_alloc() function
256 ret = zend_string_safe_alloc(n, m, l, persistent); in zend_string_safe_realloc()
/PHP-7.4/ext/filter/
H A Dsanitizing_filters.c88 str = zend_string_safe_alloc(Z_STRLEN_P(value), 3, 0, 0); in php_filter_encode_url()
/PHP-7.4/ext/hash/
H A Dhash.c174 zend_string *hex_digest = zend_string_safe_alloc(ops->digest_size, 2, 0, 0); in php_hash_do_hash()
316 zend_string *hex_digest = zend_string_safe_alloc(ops->digest_size, 2, 0, 0); in php_hash_do_hash_hmac()
564 zend_string *hex_digest = zend_string_safe_alloc(digest_len, 2, 0, 0); in PHP_FUNCTION()
/PHP-7.4/ext/bz2/
H A Dbz2.c596 dest = zend_string_safe_alloc(source_len, 2, 1, 0); in PHP_FUNCTION()
/PHP-7.4/ext/zip/
H A Dphp_zip.c1329 buffer = zend_string_safe_alloc(1, len, 0, 0); in PHP_NAMED_FUNCTION()
2744 buffer = zend_string_safe_alloc(1, len, 0, 0);
/PHP-7.4/ext/gmp/
H A Dgmp.c1144 zend_string *out_string = zend_string_safe_alloc(count, size, 0, 0); in ZEND_FUNCTION()
/PHP-7.4/ext/mysqli/
H A Dmysqli_api.c1974 newstr = zend_string_safe_alloc(2, escapestr_len, 0, 0);
/PHP-7.4/ext/pcre/
H A Dphp_pcre.c2810 out_str = zend_string_safe_alloc(1, ZSTR_LEN(str), extra_len, 0); in PHP_FUNCTION()
/PHP-7.4/ext/imap/
H A Dphp_imap.c3018 out = zend_string_safe_alloc(1, outlen, 0, 0); in PHP_FUNCTION()
/PHP-7.4/ext/pgsql/
H A Dpgsql.c4393 to = zend_string_safe_alloc(ZSTR_LEN(from), 2, 0, 0);

Completed in 107 milliseconds