/php-src/ext/sodium/ |
H A D | libsodium.c | 47 zs = zend_string_alloc(len, persistent); in zend_string_checked_alloc() 388 msg = zend_string_alloc in PHP_FUNCTION() 428 hash = zend_string_alloc(hash_len, 0); in PHP_FUNCTION() 473 state = zend_string_alloc(state_len, 0); in PHP_FUNCTION() 551 hash = zend_string_alloc(hash_len, 0); in PHP_FUNCTION() 578 keypair = zend_string_alloc(keypair_len, 0); in PHP_FUNCTION() 608 keypair = zend_string_alloc(keypair_len, 0); in PHP_FUNCTION() 1692 hash_str = zend_string_alloc in PHP_FUNCTION() 2496 bin = zend_string_alloc(bin_len, 0); in PHP_FUNCTION() 2567 bin = zend_string_alloc(bin_len, 0); in PHP_FUNCTION() [all …]
|
H A D | sodium_pwhash.c | 75 ret = zend_string_alloc(crypto_pwhash_STRBYTES - 1, 0); in php_sodium_argon2_hash()
|
/php-src/ext/bcmath/libbcmath/src/ |
H A D | num2str.c | 49 str = zend_string_alloc(num->n_len + scale + signch + 1, 0); in bc_num2str_ex() 51 str = zend_string_alloc(num->n_len + signch, 0); in bc_num2str_ex()
|
/php-src/ext/standard/ |
H A D | net.c | 58 zend_string *ret = zend_string_alloc(INET6_ADDRSTRLEN, 0); in php_inet_ntop() 68 zend_string *ret = zend_string_alloc(INET_ADDRSTRLEN, 0); in php_inet_ntop() 86 zend_string *ret = zend_string_alloc(NI_MAXHOST, 0); in php_inet_ntop() 204 zend_string *mac = zend_string_alloc(p->PhysicalAddressLength * 3, 0); in PHP_FUNCTION()
|
H A D | quot_print.c | 91 retval = zend_string_alloc(buf_size, 0); in php_quot_print_decode() 210 str_out = zend_string_alloc(ZSTR_LEN(arg1), 0); in PHP_FUNCTION()
|
H A D | metaphone.c | 183 *phoned_word = zend_string_alloc(sizeof(char) * word_len + 1, 0); in metaphone() 186 *phoned_word = zend_string_alloc(sizeof(char) * max_phonemes + 1, 0); in metaphone()
|
H A D | password.c | 86 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() 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 D | uuencode.c | 140 dest = zend_string_alloc((size_t) ceil(src_len * 0.75), 0); in php_uudecode()
|
H A D | base64.c | 566 result = zend_string_alloc(length, 0); in php_base64_decode_ex_avx512_vbmi() 694 result = zend_string_alloc(length, 0); in php_base64_decode_ex_avx512() 1092 result = zend_string_alloc(length, 0); in php_base64_decode_ex() 1168 result = zend_string_alloc(length, 0); in php_base64_decode_ex_ssse3() 1216 result = zend_string_alloc(length, 0); in php_base64_decode_ex_default()
|
/php-src/ext/intl/idn/ |
H A D | idn.c | 70 buffer = zend_string_alloc(buffer_capac, 0); in php_intl_idn_to_46() 80 buffer = zend_string_alloc(buffer_capac, 0); in php_intl_idn_to_46()
|
/php-src/ext/odbc/ |
H A D | odbc_utils.c | 63 zend_string *new_string = zend_string_alloc(new_size, 0); in PHP_FUNCTION()
|
/php-src/ext/com_dotnet/ |
H A D | com_olechar.c | 81 string = zend_string_alloc(length - 1, /* persistent */ false); in php_com_olestring_to_string() 135 string = zend_string_alloc(mb_len - 1, 0); in php_com_bstr_to_string()
|
/php-src/ext/fileinfo/ |
H A D | php_libmagic.c | 38 t = zend_string_alloc(j + 4, 0); in convert_libmagic_pattern()
|
/php-src/ext/dba/ |
H A D | dba_cdb.c | 162 fetched_val = zend_string_alloc(len, /* persistent */ false); in DBA_FETCH_FUNC() 265 key = zend_string_alloc(klen, /* persistent */ false); in DBA_FIRSTKEY_FUNC() 296 key = zend_string_alloc(klen, /* persistent */ false); in DBA_NEXTKEY_FUNC()
|
/php-src/ext/intl/ |
H A D | intl_convertcpp.cpp | 71 u8res = zend_string_alloc(capacity, 0); in intl_charFromString()
|
H A D | intl_convert.c | 135 dst = zend_string_alloc(dst_len, 0); in intl_convert_utf16_to_utf8()
|
/php-src/Zend/ |
H A D | zend_string.h | 174 static zend_always_inline zend_string *zend_string_alloc(size_t len, bool persistent) in zend_string_alloc() function 198 zend_string *ret = zend_string_alloc(len, persistent); in zend_string_init() 258 ret = zend_string_alloc(len, persistent); in zend_string_realloc() 279 ret = zend_string_alloc(len, persistent); in zend_string_extend() 300 ret = zend_string_alloc(len, persistent); in zend_string_truncate()
|
H A D | zend_smart_str.c | 36 str->s = zend_string_alloc(str->a, 0); in smart_str_erealloc() 50 str->s = zend_string_alloc(str->a, 1); in smart_str_realloc()
|
H A D | zend_string.c | 106 str = zend_string_alloc(sizeof("")-1, 1); in zend_interned_strings_init() 483 zend_string *res = zend_string_alloc(len, 0); in zend_string_concat2() 498 zend_string *res = zend_string_alloc(len, 0); in zend_string_concat3()
|
/php-src/ext/filter/ |
H A D | sanitizing_filters.c | 111 buf = zend_string_alloc(Z_STRLEN_P(value), 0); in php_filter_strip() 153 buf = zend_string_alloc(Z_STRLEN_P(value), 0); in filter_map_apply()
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_print.c | 158 zend_string *lcname = zend_string_alloc(strlen(param->method.name), 0); in PHPDBG_PRINT() 207 lcname = zend_string_alloc(func_name_len, 0); in PHPDBG_PRINT()
|
/php-src/ext/openssl/ |
H A D | openssl_pwhash.c | 161 digest = zend_string_alloc(PHP_OPENSSL_DIGEST_SIZE, 0); in php_openssl_argon2_hash() 232 new = zend_string_alloc(ZSTR_LEN(hash), 0); in php_openssl_argon2_verify()
|
/php-src/ext/intl/breakiterator/ |
H A D | rulebasedbreakiterator_methods.cpp | 197 zend_string *ret_rules = zend_string_alloc(rules_len, 0); in PHP_METHOD()
|
/php-src/ext/libxml/ |
H A D | mime_sniff.c | 86 zend_string *value = zend_string_alloc(end - position /* can't be longer than this */, false); in collect_an_http_quoted_string_with_extract_value()
|
/php-src/ext/random/ |
H A D | randomizer.c | 294 retval = zend_string_alloc(length, 0); in PHP_METHOD() 447 retval = zend_string_alloc(length, 0); in PHP_METHOD()
|