Home
last modified time | relevance | path

Searched refs:zend_string_alloc (Results 1 – 25 of 88) sorted by relevance

1234

/PHP-8.0/ext/bcmath/libbcmath/src/
H A Dnum2str.c55 str = zend_string_alloc(num->n_len + scale + signch + 1, 0);
57 str = zend_string_alloc(num->n_len + signch, 0);
/PHP-8.0/ext/sodium/
H A Dlibsodium.c572 msg = zend_string_alloc in PHP_FUNCTION()
612 hash = zend_string_alloc(hash_len, 0); in PHP_FUNCTION()
657 state = zend_string_alloc(state_len, 0); in PHP_FUNCTION()
735 hash = zend_string_alloc(hash_len, 0); in PHP_FUNCTION()
762 keypair = zend_string_alloc(keypair_len, 0); in PHP_FUNCTION()
792 keypair = zend_string_alloc(keypair_len, 0); in PHP_FUNCTION()
830 keypair = zend_string_alloc(keypair_len, 0); in PHP_FUNCTION()
1751 hash_str = zend_string_alloc in PHP_FUNCTION()
2325 bin = zend_string_alloc(bin_len, 0); in PHP_FUNCTION()
2396 bin = zend_string_alloc(bin_len, 0); in PHP_FUNCTION()
[all …]
H A Dsodium_pwhash.c85 ret = zend_string_alloc(crypto_pwhash_STRBYTES - 1, 0); in php_sodium_argon2_hash()
/PHP-8.0/ext/standard/
H A Dnet.c60 zend_string *ret = zend_string_alloc(INET6_ADDRSTRLEN, 0); in php_inet_ntop()
70 zend_string *ret = zend_string_alloc(INET_ADDRSTRLEN, 0); in php_inet_ntop()
89 zend_string *ret = zend_string_alloc(NI_MAXHOST, 0); in php_inet_ntop()
207 zend_string *mac = zend_string_alloc(p->PhysicalAddressLength * 3, 0); in PHP_FUNCTION()
H A Dmetaphone.c173 *phoned_word = zend_string_alloc(sizeof(char) * word_len + 1, 0); in metaphone()
176 *phoned_word = zend_string_alloc(sizeof(char) * max_phonemes + 1, 0); in metaphone()
H A Dquot_print.c95 retval = zend_string_alloc(buf_size, 0); in php_quot_print_decode()
214 str_out = zend_string_alloc(ZSTR_LEN(arg1), 0); in PHP_FUNCTION()
H A Dpassword.c86 buffer = zend_string_alloc(length * 3 / 4 + 1, 0); in php_password_make_salt()
93 ret = zend_string_alloc(length, 0); in php_password_make_salt()
202 hash = zend_string_alloc(ZSTR_LEN(salt) + hash_format_len, 0); in php_password_bcrypt_hash()
341 out = zend_string_alloc(32, 0); in php_password_argon2_hash()
351 encoded = zend_string_alloc(encoded_len - 1, 0); in php_password_argon2_hash()
H A Duuencode.c140 dest = zend_string_alloc((size_t) ceil(src_len * 0.75), 0); in php_uudecode()
H A Drandom.c228 bytes = zend_string_alloc(size, 0); in PHP_FUNCTION()
H A Dbase64.c790 result = zend_string_alloc(length, 0); in php_base64_decode_ex()
866 result = zend_string_alloc(length, 0); in php_base64_decode_ex_ssse3()
914 result = zend_string_alloc(length, 0); in php_base64_decode_ex_default()
H A Dmd5.c61 RETVAL_NEW_STR(zend_string_alloc(32, 0)); in PHP_FUNCTION()
112 RETVAL_NEW_STR(zend_string_alloc(32, 0)); in PHP_FUNCTION()
H A Dsha1.c49 RETVAL_NEW_STR(zend_string_alloc(40, 0)); in PHP_FUNCTION()
94 RETVAL_NEW_STR(zend_string_alloc(40, 0)); in PHP_FUNCTION()
/PHP-8.0/ext/intl/
H A Dintl_convertcpp.cpp71 u8res = zend_string_alloc(capacity, 0); in intl_charFromString()
H A Dintl_convert.c135 dst = zend_string_alloc(dst_len, 0); in intl_convert_utf16_to_utf8()
/PHP-8.0/ext/intl/idn/
H A Didn.c135 buffer = zend_string_alloc(buffer_capac, 0); in php_intl_idn_to_46()
145 buffer = zend_string_alloc(buffer_capac, 0); in php_intl_idn_to_46()
/PHP-8.0/Zend/
H A Dzend_smart_str.c35 str->s = zend_string_alloc(str->a, 0); in smart_str_erealloc()
49 str->s = zend_string_alloc(str->a, 1); in smart_str_realloc()
H A Dzend_string.h142 static zend_always_inline zend_string *zend_string_alloc(size_t len, bool persistent) in zend_string_alloc() function
166 zend_string *ret = zend_string_alloc(len, persistent); in zend_string_init()
226 ret = zend_string_alloc(len, persistent); in zend_string_realloc()
247 ret = zend_string_alloc(len, persistent); in zend_string_extend()
268 ret = zend_string_alloc(len, persistent); in zend_string_truncate()
H A Dzend_string.c96 str = zend_string_alloc(sizeof("")-1, 1); in zend_interned_strings_init()
470 zend_string *res = zend_string_alloc(len, 0); in zend_string_concat2()
485 zend_string *res = zend_string_alloc(len, 0); in zend_string_concat3()
/PHP-8.0/ext/filter/
H A Dsanitizing_filters.c110 buf = zend_string_alloc(Z_STRLEN_P(value), 0); in php_filter_strip()
152 buf = zend_string_alloc(Z_STRLEN_P(value), 0); in filter_map_apply()
/PHP-8.0/ext/com_dotnet/
H A Dcom_olechar.c140 string = zend_string_alloc(mb_len - 1, 0); in php_com_bstr_to_string()
/PHP-8.0/ext/intl/breakiterator/
H A Drulebasedbreakiterator_methods.cpp200 zend_string *ret_rules = zend_string_alloc(rules_len, 0); in PHP_METHOD()
H A Dbreakiterator_iterators.cpp173 res = zend_string_alloc(next - cur, 0); in _breakiterator_parts_move_forward()
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_print.c187 zend_string *lcname = zend_string_alloc(strlen(param->method.name), 0); in PHPDBG_PRINT()
236 lcname = zend_string_alloc(func_name_len, 0); in PHPDBG_PRINT()
/PHP-8.0/ext/hash/
H A Dhash.c395 digest = zend_string_alloc(ops->digest_size, 0); in php_hash_do_hash()
518 digest = zend_string_alloc(ops->digest_size, 0); in php_hash_do_hash_hmac()
783 digest = zend_string_alloc(digest_len, 0); in PHP_FUNCTION()
930 returnval = zend_string_alloc(length, 0); in PHP_FUNCTION()
1083 returnval = zend_string_alloc(length, 0); in PHP_FUNCTION()
/PHP-8.0/ext/soap/
H A Dphp_http.c1137 zend_string *s = zend_string_alloc((p - t) + ZSTR_LEN(new_url->path) + 2, 0); in make_http_soap_request()
1145 zend_string *s = zend_string_alloc(ZSTR_LEN(new_url->path) + 2, 0); in make_http_soap_request()
1477 http_buf = zend_string_alloc(buf_size, 0); in get_http_body()
1537 http_buf = zend_string_alloc(header_length, 0); in get_http_body()
1551 http_buf = zend_string_alloc(4096, 0); in get_http_body()

Completed in 89 milliseconds

1234