Home
last modified time | relevance | path

Searched refs:malloc (Results 26 – 50 of 100) sorted by relevance

1234

/PHP-7.4/Zend/
H A Dzend.c634 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor()
638 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor()
644 compiler_globals->auto_globals = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor()
869 GLOBAL_FUNCTION_TABLE = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
870 GLOBAL_CLASS_TABLE = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
871 GLOBAL_AUTO_GLOBALS_TABLE = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
872 GLOBAL_CONSTANTS_TABLE = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
892 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
893 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
1148 new_info = (char *) malloc(new_info_length + 1); in END_EXTERN_C()
H A Dzend_vm_execute.skl87 zend_handlers_table = malloc(sizeof(HashTable));
H A Dzend_list.c274 lde = malloc(sizeof(zend_rsrc_list_dtors_entry)); in zend_register_list_destructors_ex()
H A Dzend_ini.c94 registered_zend_ini_directives = (HashTable *) malloc(sizeof(HashTable)); in zend_ini_startup()
166 EG(ini_directives) = (HashTable *) malloc(sizeof(HashTable)); in zend_copy_ini_directives()
/PHP-7.4/win32/
H A Dcodepage.c55 ret = malloc(ret_len * sizeof(wchar_t)); in php_win32_cp_to_w_int()
159 ret = malloc((in_len+1)*sizeof(wchar_t)); in php_win32_cp_conv_ascii_to_w()
236 target = malloc(target_len); in php_win32_cp_from_w_int()
427 envw = (wchar_t *) malloc((bin_len + 3) * sizeof(wchar_t)); in php_win32_cp_env_any_to_w()
H A Dregistry.c104 ht = (HashTable*)malloc(sizeof(HashTable)); in LoadDirectory()
192 PW32G(registry_directories) = (HashTable*)malloc(sizeof(HashTable)); in UpdateIniFromRegistry()
H A Dcodepage.h131 aa = (char **) malloc(aw_len * sizeof(char *)); \
H A Dioutil.c311 wchar_t *tmp = (wchar_t *) malloc((path_len + 1) * sizeof(wchar_t)); in php_win32_ioutil_mkdir_w()
324 …wchar_t *_tmp = (wchar_t *) malloc((path_len + PHP_WIN32_IOUTIL_LONG_PATH_PREFIX_LENW + 1) * sizeo… in php_win32_ioutil_mkdir_w()
504 tmp_buf = (wchar_t *)malloc((tmp_len)*sizeof(wchar_t)); in php_win32_ioutil_getcwd_w()
750 *resolved = (wchar_t *) malloc((ret_len + 1)*sizeof(wchar_t)); in php_win32_ioutil_realpath_h()
H A Dioutil.h196 ret = (wchar_t *) malloc((mb_len + PHP_WIN32_IOUTIL_LONG_PATH_PREFIX_LENW + 1) * sizeof(wchar_t)); in php_win32_ioutil_conv_any_to_w()
667 resolved = (char *) malloc(reta_len + 1); in php_win32_ioutil_realpath_ex0()
/PHP-7.4/sapi/fpm/fpm/events/
H A Depoll.c80 epollfds = malloc(sizeof(struct epoll_event) * max); in fpm_event_epoll_init()
/PHP-7.4/ext/opcache/
H A Dzend_accelerator_blacklist.c174 it = (zend_regexp_list*)malloc(sizeof(zend_regexp_list)); in zend_accel_blacklist_update_regexp()
302 blacklist->entries[blacklist->pos].path = (char *)malloc(path_length + 1); in zend_accel_blacklist_loadone()
/PHP-7.4/sapi/embed/
H A Dphp_embed.c189 php_embed_module.ini_entries = malloc(sizeof(HARDCODED_INI)); in php_embed_init()
/PHP-7.4/sapi/fpm/fpm/
H A Dzlog.c295 buf = malloc(size); in zlog_stream_buf_alloc_ex()
600 …stream->msg_prefix = stream->msg_prefix_len ? realloc(stream->msg_prefix, len + 1) : malloc(len + … in zlog_stream_set_msg_prefix()
628 stream->msg_suffix = malloc(len); in zlog_stream_set_msg_suffix()
640 stream->msg_suffix = malloc(len); in zlog_stream_set_msg_suffix()
653 stream->msg_final_suffix = malloc(len); in zlog_stream_set_msg_suffix()
H A Dfpm_stdio.c143 log_stream = child->log_stream = malloc(sizeof(struct zlog_stream));
/PHP-7.4/build/
H A Dax_gcc_func_attribute.m449 # malloc
160 [malloc], [
/PHP-7.4/ext/readline/
H A Dreadline_cli.c444 retval = malloc(strlen(tmp) + 2); in cli_completion_generator_var()
458 retval = malloc(strlen(tmp) + 2); in cli_completion_generator_ini()
571 char *tmp = malloc(len); in cli_completion_generator()
/PHP-7.4/main/
H A Dalloca.c199 register pointer new = malloc (sizeof (header) + size);
H A Dfastcgi.c260 h->buckets = (fcgi_hash_buckets*)malloc(sizeof(fcgi_hash_buckets)); in fcgi_hash_init()
263 h->data = (fcgi_data_seg*)malloc(sizeof(fcgi_data_seg) - 1 + FCGI_HASH_SEG_SIZE); in fcgi_hash_init()
316 fcgi_data_seg *p = (fcgi_data_seg*)malloc(sizeof(fcgi_data_seg) - 1 + seg_size); in fcgi_hash_strndup()
348 fcgi_hash_buckets *b = (fcgi_hash_buckets*)malloc(sizeof(fcgi_hash_buckets)); in fcgi_hash_set()
594 acl = malloc(req_acl_size); in prepare_named_pipe_acl()
785 allowed_clients = malloc(sizeof(sa_t) * (n+2)); in fcgi_listen()
845 allowed_clients = malloc(sizeof(sa_t) * (n+2)); in fcgi_set_allowed_clients()
H A Dsnprintf.c81 if ((rve = s = (char *)malloc(ndigit?siz:2)) == NULL) { in __cvt()
102 if ((s = (char *)malloc(siz+1)) == NULL) { in __cvt()
1311 if ((*buf = malloc(++cc)) != NULL) { in ap_php_vasprintf()
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_alloc.c388 ret = malloc(REAL_SIZE(size)); in _mysqlnd_malloc()
393 ret = malloc(REAL_SIZE(size)); in _mysqlnd_malloc()
719 return malloc(size); in mysqlnd_zend_mm_malloc()
H A Dmysqlnd_auth.c602 ret = malloc(SCRAMBLE_LENGTH); in mysqlnd_native_auth_get_auth_data()
742 ret = malloc(*auth_data_len); in mysqlnd_sha256_public_encrypt()
823 ret = malloc(*auth_data_len); in mysqlnd_sha256_public_encrypt()
928 ret = malloc(passwd_len); in mysqlnd_sha256_auth_get_auth_data()
1110 ret = malloc(SHA256_LENGTH + 1); in mysqlnd_caching_sha2_get_auth_data()
/PHP-7.4/sapi/apache2handler/
H A Dapache_config.c139 php_dir_entry *npe = malloc(sizeof(php_dir_entry)); in config_entry_ctor()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_btree.c30 # define pemalloc(size, persistent) malloc(size)
/PHP-7.4/TSRM/
H A Dtsrm_win32.c172 pResultSid = malloc(sid_len); in tsrm_win32_get_token_sid()
325 psec_desc = (BYTE *)malloc(sec_desc_length); in tsrm_win32_access()
483 cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /c ")+2); in popen_ex()
/PHP-7.4/ext/json/
H A Djson_parser.y31 #define YYMALLOC malloc

Completed in 100 milliseconds

1234