Home
last modified time | relevance | path

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

1234

/php-src/ext/sodium/
H A Dlibsodium.c47 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 Dsodium_pwhash.c75 ret = zend_string_alloc(crypto_pwhash_STRBYTES - 1, 0); in php_sodium_argon2_hash()
/php-src/ext/bcmath/libbcmath/src/
H A Dnum2str.c49 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 Dnet.c58 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 Dquot_print.c91 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 Dmetaphone.c183 *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 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()
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 Dbase64.c566 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 Didn.c70 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 Dodbc_utils.c63 zend_string *new_string = zend_string_alloc(new_size, 0); in PHP_FUNCTION()
/php-src/ext/com_dotnet/
H A Dcom_olechar.c81 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 Dphp_libmagic.c38 t = zend_string_alloc(j + 4, 0); in convert_libmagic_pattern()
/php-src/ext/dba/
H A Ddba_cdb.c162 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 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-src/Zend/
H A Dzend_string.h174 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 Dzend_smart_str.c36 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 Dzend_string.c106 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 Dsanitizing_filters.c111 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 Dphpdbg_print.c158 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 Dopenssl_pwhash.c161 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 Drulebasedbreakiterator_methods.cpp197 zend_string *ret_rules = zend_string_alloc(rules_len, 0); in PHP_METHOD()
/php-src/ext/libxml/
H A Dmime_sniff.c86 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 Drandomizer.c294 retval = zend_string_alloc(length, 0); in PHP_METHOD()
447 retval = zend_string_alloc(length, 0); in PHP_METHOD()

Completed in 57 milliseconds

1234