/PHP-7.4/ext/xmlrpc/libxmlrpc/ |
H A D | simplestring.c | 114 string->str = (char*)emalloc(SIMPLESTRING_INCR); in simplestring_init_str()
|
H A D | base64.c | 25 b->data = emalloc(sizeof(char)*(b->length)); in buffer_new()
|
/PHP-7.4/ext/enchant/ |
H A D | enchant.c | 360 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 D | pdo.c | 68 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 D | http.c | 99 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 D | zend_objects_API.h | 91 void *obj = emalloc(obj_size + zend_object_properties_size(ce)); in zend_object_alloc()
|
H A D | zend_virtual_cwd.c | 110 (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 D | zend_alloc.h | 157 #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 D | zend_objects_API.c | 29 objects->object_buckets = (zend_object **) emalloc(init_size * sizeof(zend_object*)); in zend_objects_store_init()
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | bug49442.phpt | 69 … '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 D | posix.c | 579 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 D | zip_stream.c | 239 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 D | breakiterator_iterators.cpp | 112 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 D | resourcebundle_iterator.c | 153 ResourceBundle_iterator *iterator = emalloc( sizeof( ResourceBundle_iterator ) ); in resourcebundle_get_iterator()
|
/PHP-7.4/ext/sockets/ |
H A D | multicast.c | 642 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 D | output.c | 154 temp = (stk_rec *) emalloc (sizeof(stk_rec)); in bc_out_num()
|
/PHP-7.4/ext/intl/dateformat/ |
H A D | dateformat_format.c | 45 formatted=(UChar*)emalloc(sizeof(UChar) * resultlengthneeded); in internal_format()
|
/PHP-7.4/ext/zlib/ |
H A D | zlib_fopen_wrapper.c | 134 self = emalloc(sizeof(*self)); in php_stream_gzopen()
|
/PHP-7.4/main/ |
H A D | SAPI.c | 323 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 D | network.c | 237 *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 D | fopen_wrappers.c | 385 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 D | phpdbg_out.c | 520 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 D | phpdbg_list.c | 265 *(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 D | com_handlers.c | 373 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 D | firebird_driver.c | 252 *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()
|