Lines Matching refs:zend_string_safe_alloc
143 result = zend_string_safe_alloc(oldlen, 2 * sizeof(char), 0, 0); in php_bin2hex()
1001 newtext = zend_string_safe_alloc(chk, breakchar_len, ZSTR_LEN(text), 0); in PHP_FUNCTION()
1006 newtext = zend_string_safe_alloc(ZSTR_LEN(text), breakchar_len + 1, 0, 0); in PHP_FUNCTION()
1251 str = zend_string_safe_alloc(numelems - 1, ZSTR_LEN(glue), len, 0); in php_implode()
2348 result = zend_string_safe_alloc(ZSTR_LEN(str), 1, endlen, 0);
2557 result = zend_string_safe_alloc(1, Z_STRLEN_P(str) - l + ZSTR_LEN(repl_str), 0, 0);
2666 result = zend_string_safe_alloc(1, result_len, 0, 0);
2673 result = zend_string_safe_alloc(1, result_len, 0, 0);
2681 result = zend_string_safe_alloc(1, result_len, 0, 0);
2725 str = zend_string_safe_alloc(2, ZSTR_LEN(old), 0, 0);
3139 result = zend_string_safe_alloc(char_count, to_len - 1, ZSTR_LEN(str), 0);
3221 new_str = zend_string_safe_alloc(count, str_len - needle_len, ZSTR_LEN(haystack), 0);
3310 new_str = zend_string_safe_alloc(count, str_len - ZSTR_LEN(lc_needle), ZSTR_LEN(haystack), 0);
3392 new_str = zend_string_safe_alloc(count, str_len - needle_len, length, 0);
3815 zend_string *new_str = zend_string_safe_alloc(4, ZSTR_LEN(str), 0, 0);
3890 new_str = zend_string_safe_alloc(2, ZSTR_LEN(str) - offset, offset, 0);
4403 result = zend_string_safe_alloc(repl_cnt, repl_len, ZSTR_LEN(str), 0);
5041 result = zend_string_safe_alloc(ZSTR_LEN(input_str), mult, 0, 0);
5392 result = zend_string_safe_alloc(1, ZSTR_LEN(input), num_pad_chars, 0);
5638 str = zend_string_safe_alloc(format_len, 1, 1024, 0);
5786 str = zend_string_safe_alloc(len, 2, 0, 0);