Home
last modified time | relevance | path

Searched refs:emalloc (Results 26 – 50 of 193) sorted by relevance

12345678

/PHP-7.4/ext/xmlrpc/libxmlrpc/
H A Dsimplestring.c114 string->str = (char*)emalloc(SIMPLESTRING_INCR); in simplestring_init_str()
H A Dbase64.c25 b->data = emalloc(sizeof(char)*(b->length)); in buffer_new()
/PHP-7.4/ext/enchant/
H A Denchant.c360 broker = (enchant_broker *) emalloc(sizeof(enchant_broker)); in PHP_FUNCTION()
556 pbroker->dict = (enchant_dict **)emalloc(sizeof(enchant_dict *)); in PHP_FUNCTION()
560 dict = pbroker->dict[pos] = (enchant_dict *)emalloc(sizeof(enchant_dict)); in PHP_FUNCTION()
603 pbroker->dict = (enchant_dict **)emalloc(sizeof(enchant_dict *)); in PHP_FUNCTION()
607 dict = pbroker->dict[pos] = (enchant_dict *)emalloc(sizeof(enchant_dict)); in PHP_FUNCTION()
/PHP-7.4/ext/pdo/
H A Dpdo.c68 char *dest = emalloc(len + 1); in php_pdo_str_tolower_dup()
240 char *new_val = (char *) emalloc(vlen - n_semicolumns + 1); in php_pdo_parse_data_source()
/PHP-7.4/ext/standard/
H A Dhttp.c99 newprefix = emalloc(newprefix_len + 1); in php_url_encode_hash_ex()
125 newprefix = emalloc(newprefix_len + 1); in php_url_encode_hash_ex()
/PHP-7.4/Zend/
H A Dzend_objects_API.h91 void *obj = emalloc(obj_size + zend_object_properties_size(ce)); in zend_object_alloc()
H A Dzend_virtual_cwd.c110 (d)->cwd = (char *) emalloc((s)->cwd_length+1); \
268 retval = (char *) emalloc(2); in virtual_getcwd_ex()
280 retval = (char *) emalloc(*length+1); in virtual_getcwd_ex()
1249 new_state.cwd = (char*)emalloc(1); in virtual_realpath()
1258 new_state.cwd = (char*)emalloc(1); in virtual_realpath()
1675 …ptr = command_line = (char *) emalloc(command_length + sizeof("cd '' ; ") + dir_length + extra+1+1… in virtual_popen()
1719 new_state.cwd = (char*)emalloc(1); in tsrm_realpath()
1730 new_state.cwd = (char*)emalloc(1); in tsrm_realpath()
H A Dzend_alloc.h157 #define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC) macro
193 #define pemalloc(size, persistent) ((persistent)?__zend_malloc(size):emalloc(size))
234 (ht) = (HashTable *) emalloc(sizeof(HashTable))
H A Dzend_objects_API.c29 objects->object_buckets = (zend_object **) emalloc(init_size * sizeof(zend_object*)); in zend_objects_store_init()
/PHP-7.4/ext/mysqli/tests/
H A Dbug49442.phpt69 … 'persistent' means that mysqlnd uses malloc() instead of emalloc(). nothing else. ext/mysqli will
71 Its only about malloc() vs. emalloc().
/PHP-7.4/ext/posix/
H A Dposix.c579 gidlist = emalloc(sizeof(gid_t) * result); in PHP_FUNCTION()
827 p = emalloc(buflen); in PHP_FUNCTION()
1101 buf = emalloc(buflen); in PHP_FUNCTION()
1159 grbuf = emalloc(grbuflen); in PHP_FUNCTION()
1233 buf = emalloc(buflen); in PHP_FUNCTION()
1289 pwbuf = emalloc(pwbuflen); in PHP_FUNCTION()
/PHP-7.4/ext/zip/
H A Dzip_stream.c239 self = emalloc(sizeof(*self)); in php_stream_zip_open()
325 self = emalloc(sizeof(*self)); in php_stream_zip_opener()
/PHP-7.4/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp112 zoi_with_current *zoi_iter = static_cast<zoi_with_current*>(emalloc(sizeof *zoi_iter)); in _breakiterator_get_iterator()
216 ii->iterator = (zend_object_iterator*)emalloc(sizeof(zoi_break_iter_parts)); in IntlIterator_from_BreakIterator_parts()
/PHP-7.4/ext/intl/resourcebundle/
H A Dresourcebundle_iterator.c153 ResourceBundle_iterator *iterator = emalloc( sizeof( ResourceBundle_iterator ) ); in resourcebundle_get_iterator()
/PHP-7.4/ext/sockets/
H A Dmulticast.c642 addr_table = emalloc(size); in php_if_index_to_addr4()
647 addr_table = emalloc(size); in php_if_index_to_addr4()
685 addr_table = emalloc(size); in php_add4_to_if_index()
690 addr_table = emalloc(size); in php_add4_to_if_index()
/PHP-7.4/ext/bcmath/libbcmath/src/
H A Doutput.c154 temp = (stk_rec *) emalloc (sizeof(stk_rec)); in bc_out_num()
/PHP-7.4/ext/intl/dateformat/
H A Ddateformat_format.c45 formatted=(UChar*)emalloc(sizeof(UChar) * resultlengthneeded); in internal_format()
/PHP-7.4/ext/zlib/
H A Dzlib_fopen_wrapper.c134 self = emalloc(sizeof(*self)); in php_stream_gzopen()
/PHP-7.4/main/
H A DSAPI.c323 content_type = (char*)emalloc(*len + 1); in get_default_content_type()
332 content_type = (char*)emalloc(*len + 1); in get_default_content_type()
376 newtype = emalloc(newlen + 1); in sapi_apply_default_charset()
788 newheader = emalloc(newlen); in sapi_header_op()
861 default_header.header = emalloc(default_header.header_len + 1); in sapi_send_headers()
H A Dnetwork.c237 *sap = emalloc(sai->ai_addrlen); in php_network_getaddresses()
269 *sap = emalloc(sizeof(struct sockaddr_in)); in php_network_getaddresses()
618 *addr = emalloc(sl);
862 struct sockaddr_in *in4 = emalloc(sizeof(struct sockaddr_in));
877 struct sockaddr_in6 *in6 = emalloc(sizeof(struct sockaddr_in6));
H A Dfopen_wrappers.c385 pwbuf = emalloc(pwbuflen);
415 filename = emalloc(length + path_len + 2);
681 pathbuf = (char *) emalloc(exec_fname_length + path_length + 1 + 1);
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_out.c520 free_s = s_ptr = s = emalloc(old_slen * 6 + 1); in format_converter()
855 *buf = emalloc(++cc); in phpdbg_xml_vasprintf()
880 char *tmp = *buf = emalloc(msglen * tolen); in phpdbg_encode_xml()
908 tmp = tmpptr = emalloc(*buflen * 5); in phpdbg_encode_ctrl_chars()
1015 memcpy(buf = emalloc(buflen + 1), ZSTR_VAL(encoded), buflen); in phpdbg_process_print()
H A Dphpdbg_list.c265 *(dataptr = emalloc(sizeof(phpdbg_file_source) + sizeof(uint32_t) * data.len)) = data; in phpdbg_compile_file()
333 dataptr = emalloc(sizeof(phpdbg_file_source) + sizeof(uint32_t) * Z_STRLEN_P(source_string)); in phpdbg_compile_string()
/PHP-7.4/ext/com_dotnet/
H A Dcom_handlers.c373 func = emalloc(sizeof(*fptr)); in com_method_get()
651 cloneobj = (php_com_dotnet_object*)emalloc(sizeof(php_com_dotnet_object)); in php_com_object_clone()
675 obj = emalloc(sizeof(*obj)); in php_com_object_new()
/PHP-7.4/ext/pdo_firebird/
H A Dfirebird_driver.c252 *quoted = emalloc(*quotedlen+1); in firebird_handle_quoter()
262 *quoted = c = emalloc(*quotedlen+1); in firebird_handle_quoter()
393 new_sql = c = emalloc(sql_len+1); in firebird_alloc_prepare_stmt()

Completed in 89 milliseconds

12345678