Home
last modified time | relevance | path

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

12345

/PHP-8.3/sapi/fpm/fpm/events/
H A Dport.c79 events = malloc(sizeof(port_event_t) * max); in fpm_event_port_init()
H A Dkqueue.c82 kevents = malloc(sizeof(struct kevent) * max); in fpm_event_kqueue_init()
H A Depoll.c77 epollfds = malloc(sizeof(struct epoll_event) * max); in fpm_event_epoll_init()
/PHP-8.3/ext/fileinfo/libmagic/
H A Dis_csv.c187 if ((p = CAST(char *, malloc(st.st_size))) == NULL) in main()
/PHP-8.3/ext/soap/
H A Dphp_sdl.c2460 pheaders = malloc(sizeof(HashTable)); in make_persistent_sdl_function_headers()
2524 pparams = malloc(sizeof(HashTable)); in make_persistent_sdl_parameters()
2528 pparam = malloc(sizeof(sdlParam)); in make_persistent_sdl_parameters()
2566 pfaults = malloc(sizeof(HashTable)); in make_persistent_sdl_function_faults()
2570 pfault = malloc(sizeof(sdlFault)); in make_persistent_sdl_function_faults()
2611 pattr = malloc(sizeof(sdlAttribute)); in make_persistent_sdl_attribute()
2718 ptype = malloc(sizeof(sdlType)); in make_persistent_sdl_type()
2842 penc = malloc(sizeof(encode)); in make_persistent_sdl_encoder()
2865 pbind = malloc(sizeof(sdlBinding)); in make_persistent_sdl_binding()
2893 pfunc = malloc(sizeof(sdlFunction)); in make_persistent_sdl_function()
[all …]
/PHP-8.3/sapi/fpm/fpm/
H A Dfpm_children.c45 ret = malloc(sizeof(struct fpm_child_s)); in fpm_child_alloc()
498 wp->ondemand_event = (struct fpm_event_s *)malloc(sizeof(struct fpm_event_s)); in fpm_children_create_initial()
522 last_faults = malloc(sizeof(time_t) * fpm_global_config.emergency_restart_threshold); in fpm_children_init_main()
H A Dfpm_scoreboard.c275 mem = malloc(scoreboard_size + scoreboard_nprocs_size); in fpm_scoreboard_copy()
277 mem = malloc(sizeof(struct fpm_scoreboard_s)); in fpm_scoreboard_copy()
H A Dzlog.c597 …stream->msg_prefix = stream->msg_prefix_len ? realloc(stream->msg_prefix, len + 1) : malloc(len + … in zlog_stream_set_msg_prefix()
625 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()
/PHP-8.3/Zend/
H A Dzend_gdb.c66 entry = malloc(sizeof(zend_gdbjit_code_entry) + size); in zend_gdb_register_code()
H A Dzend.c708 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor()
713 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor()
719 compiler_globals->auto_globals = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor()
975 GLOBAL_FUNCTION_TABLE = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
976 GLOBAL_CLASS_TABLE = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
977 GLOBAL_AUTO_GLOBALS_TABLE = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
978 GLOBAL_CONSTANTS_TABLE = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
998 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
999 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
1242 new_info = (char *) malloc(new_info_length + 1); in zend_append_version_info()
H A Dzend_vm_execute.skl99 zend_handlers_table = malloc(sizeof(HashTable));
/PHP-8.3/win32/
H A Dcodepage.c57 ret = malloc(ret_len * sizeof(wchar_t)); in php_win32_cp_to_w_int()
174 ret = malloc((in_len+1)*sizeof(wchar_t)); in php_win32_cp_conv_ascii_to_w()
264 target = malloc(target_len); in php_win32_cp_from_w_int()
455 envw = (wchar_t *) malloc((bin_len + 3) * sizeof(wchar_t)); in php_win32_cp_env_any_to_w()
H A Dregistry.c102 ht = (HashTable*)malloc(sizeof(HashTable)); in LoadDirectory()
190 PW32G(registry_directories) = (HashTable*)malloc(sizeof(HashTable)); in UpdateIniFromRegistry()
H A Dcodepage.h129 aa = (char **) malloc(aw_len * sizeof(char *)); \
H A Dioutil.c309 wchar_t *tmp = (wchar_t *) malloc((path_len + 1) * sizeof(wchar_t)); in php_win32_ioutil_mkdir_w()
322 …wchar_t *_tmp = (wchar_t *) malloc((path_len + PHP_WIN32_IOUTIL_LONG_PATH_PREFIX_LENW + 1) * sizeo… in php_win32_ioutil_mkdir_w()
502 tmp_buf = (wchar_t *)malloc((tmp_len)*sizeof(wchar_t)); in php_win32_ioutil_getcwd_w()
748 *resolved = (wchar_t *) malloc((ret_len + 1)*sizeof(wchar_t)); in php_win32_ioutil_realpath_h()
/PHP-8.3/ext/opcache/
H A Dzend_accelerator_blacklist.c174 it = (zend_regexp_list*)malloc(sizeof(zend_regexp_list)); in zend_accel_blacklist_update_regexp()
305 blacklist->entries[blacklist->pos].path = (char *)malloc(path_length + 1); in zend_accel_blacklist_loadone()
/PHP-8.3/build/
H A Dax_gcc_func_attribute.m449 # malloc
160 [malloc], [
/PHP-8.3/ext/readline/
H A Dreadline_cli.c457 retval = malloc(strlen(tmp) + 2); in cli_completion_generator_var()
471 retval = malloc(strlen(tmp) + 2); in cli_completion_generator_ini()
586 char *tmp = malloc(len); in cli_completion_generator()
/PHP-8.3/sapi/fuzzer/
H A Dfuzzer-sapi.c147 char *p = malloc(ini_len + 1); in fuzzer_init_php()
/PHP-8.3/main/
H A Dsnprintf.c78 if ((rve = s = (char *)malloc(ndigit?siz:2)) == NULL) { in __cvt()
99 if ((s = (char *)malloc(siz+1)) == NULL) { in __cvt()
1160 if ((*buf = malloc(++cc)) != NULL) { in ap_php_vasprintf()
H A Dfastcgi.c258 h->buckets = (fcgi_hash_buckets*)malloc(sizeof(fcgi_hash_buckets)); in fcgi_hash_init()
261 h->data = (fcgi_data_seg*)malloc(sizeof(fcgi_data_seg) - 1 + FCGI_HASH_SEG_SIZE); in fcgi_hash_init()
314 fcgi_data_seg *p = (fcgi_data_seg*)malloc(sizeof(fcgi_data_seg) - 1 + seg_size); in fcgi_hash_strndup()
346 fcgi_hash_buckets *b = (fcgi_hash_buckets*)malloc(sizeof(fcgi_hash_buckets)); in fcgi_hash_set()
587 acl = malloc(req_acl_size); in prepare_named_pipe_acl()
782 allowed_clients = malloc(sizeof(sa_t) * (n+2));
842 allowed_clients = malloc(sizeof(sa_t) * (n+2));
/PHP-8.3/ext/mysqlnd/
H A Dmysqlnd_auth.c582 ret = malloc(SCRAMBLE_LENGTH); in mysqlnd_native_auth_get_auth_data()
722 ret = malloc(*auth_data_len); in mysqlnd_sha256_public_encrypt()
811 ret = malloc(*auth_data_len); in mysqlnd_sha256_public_encrypt()
918 ret = malloc(passwd_len + 1); in mysqlnd_sha256_auth_get_auth_data()
1111 ret = malloc(SHA256_LENGTH + 1); in mysqlnd_caching_sha2_get_auth_data()
/PHP-8.3/ext/iconv/
H A Dconfig.m4128 char *out = malloc(out_left);
/PHP-8.3/TSRM/
H A Dtsrm_win32.c169 pResultSid = malloc(sid_len); in tsrm_win32_get_token_sid()
322 psec_desc = (BYTE *)malloc(sec_desc_length); in tsrm_win32_access()
480 cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /s /c ")+2); in popen_ex()
/PHP-8.3/sapi/phpdbg/
H A Dphpdbg_btree.c28 # define pemalloc(size, persistent) malloc(size)

Completed in 85 milliseconds

12345