Home
last modified time | relevance | path

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

/PHP-7.1/ext/standard/
H A Dbase64.c62 result = zend_string_safe_alloc(((length + 2) / 3), 4 * sizeof(char), 0, 0); in php_base64_encode()
H A Dexec.c295 cmd = zend_string_safe_alloc(2, l, 0, 0); in php_escape_shell_cmd()
399 cmd = zend_string_safe_alloc(4, l, 2, 0); /* worst case */ in php_escape_shell_arg()
H A Duuencode.c77 dest = zend_string_safe_alloc(src_len/2, 3, 46, 0); in php_uuencode()
H A Dquot_print.c155 ret = zend_string_safe_alloc(3, (length + (((3 * length)/(PHP_QPRINT_MAXL-9)) + 1)), 0, 0); in php_quot_print_encode()
H A Dstring.c141 result = zend_string_safe_alloc(oldlen, 2 * sizeof(char), 0, 0); in php_bin2hex()
1232 str = zend_string_safe_alloc(numelems - 1, ZSTR_LEN(delim), len, 0); in php_implode()
2308 result = zend_string_safe_alloc(ZSTR_LEN(str), 1, endlen, 0);
2614 result = zend_string_safe_alloc(1, result_len, 0, 0);
2621 result = zend_string_safe_alloc(1, result_len, 0, 0);
2629 result = zend_string_safe_alloc(1, result_len, 0, 0);
2673 str = zend_string_safe_alloc(2, ZSTR_LEN(old), 0, 0);
3757 zend_string *new_str = zend_string_safe_alloc(4, ZSTR_LEN(str), 0, 0);
4952 result = zend_string_safe_alloc(ZSTR_LEN(input_str), mult, 0, 0);
5292 result = zend_string_safe_alloc(1, ZSTR_LEN(input), num_pad_chars, 0);
[all …]
H A Diptc.c221 spoolbuf = zend_string_safe_alloc(1, iptcdata_len + sizeof(psheader) + 1024 + 1, sb.st_size, 0); in PHP_FUNCTION()
H A Durl.c459 start = zend_string_safe_alloc(3, len, 0, 0); in php_url_encode()
565 str = zend_string_safe_alloc(3, len, 0, 0);
H A Ddns_win32.c224 txt = zend_string_safe_alloc(txt_len, 2, 0, 0); in php_parserr()
H A Dvar_unserializer.c250 zend_string *str = zend_string_safe_alloc(1, len, 0, 0); in unserialize_str()
H A Dvar_unserializer.re248 zend_string *str = zend_string_safe_alloc(1, len, 0, 0);
/PHP-7.1/Zend/
H A Dzend_string.h138 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
255 ret = zend_string_safe_alloc(n, m, l, persistent); in zend_string_safe_realloc()
/PHP-7.1/ext/filter/
H A Dsanitizing_filters.c90 str = zend_string_safe_alloc(Z_STRLEN_P(value), 3, 0, 0); in php_filter_encode_url()
/PHP-7.1/ext/hash/
H A Dhash.c167 zend_string *hex_digest = zend_string_safe_alloc(ops->digest_size, 2, 0, 0); in php_hash_do_hash()
297 zend_string *hex_digest = zend_string_safe_alloc(ops->digest_size, 2, 0, 0); in php_hash_do_hash_hmac()
538 zend_string *hex_digest = zend_string_safe_alloc(digest_len, 2, 0, 0); in PHP_FUNCTION()
/PHP-7.1/ext/interbase/
H A Dibase_blobs.c102 bl_data = zend_string_safe_alloc(1, max_len, 0, 0); in _php_ibase_blob_get()
/PHP-7.1/ext/bz2/
H A Dbz2.c592 dest = zend_string_safe_alloc(source_len, 2, 1, 0); in PHP_FUNCTION()
/PHP-7.1/ext/zip/
H A Dphp_zip.c1295 buffer = zend_string_safe_alloc(1, len, 0, 0); in PHP_NAMED_FUNCTION()
2746 buffer = zend_string_safe_alloc(1, len, 0, 0); in php_zip_get_from()
/PHP-7.1/ext/wddx/
H A Dwddx.c1066 str = zend_string_safe_alloc(Z_STRLEN(ent->data), 1, len, 0); in php_wddx_process_data()
/PHP-7.1/ext/xml/
H A Dxml.c587 str = zend_string_safe_alloc(len, 4, 0, 0); in xml_utf8_encode()
/PHP-7.1/ext/gmp/
H A Dgmp.c1153 zend_string *out_string = zend_string_safe_alloc(count, size, 0, 0); in ZEND_FUNCTION()
/PHP-7.1/ext/pcre/
H A Dphp_pcre.c1987 out_str = zend_string_safe_alloc(4, in_str_len, 0, 0); in PHP_FUNCTION()
/PHP-7.1/ext/imap/
H A Dphp_imap.c2999 out = zend_string_safe_alloc(1, outlen, 0, 0); in PHP_FUNCTION()
/PHP-7.1/ext/pgsql/
H A Dpgsql.c4389 to = zend_string_safe_alloc(ZSTR_LEN(from), 2, 0, 0);

Completed in 106 milliseconds