Searched refs:malloc (Results 26 – 50 of 107) sorted by relevance
12345
79 events = malloc(sizeof(port_event_t) * max); in fpm_event_port_init()
82 kevents = malloc(sizeof(struct kevent) * max); in fpm_event_kqueue_init()
77 epollfds = malloc(sizeof(struct epoll_event) * max); in fpm_event_epoll_init()
187 if ((p = CAST(char *, malloc(st.st_size))) == NULL) in main()
2460 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 …]
45 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()
275 mem = malloc(scoreboard_size + scoreboard_nprocs_size); in fpm_scoreboard_copy()277 mem = malloc(sizeof(struct fpm_scoreboard_s)); in fpm_scoreboard_copy()
597 …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()
66 entry = malloc(sizeof(zend_gdbjit_code_entry) + size); in zend_gdb_register_code()
708 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()
99 zend_handlers_table = malloc(sizeof(HashTable));
57 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()
102 ht = (HashTable*)malloc(sizeof(HashTable)); in LoadDirectory()190 PW32G(registry_directories) = (HashTable*)malloc(sizeof(HashTable)); in UpdateIniFromRegistry()
129 aa = (char **) malloc(aw_len * sizeof(char *)); \
309 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()
174 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()
49 # malloc160 [malloc], [
457 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()
147 char *p = malloc(ini_len + 1); in fuzzer_init_php()
78 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()
258 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));
582 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()
128 char *out = malloc(out_left);
169 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()
28 # define pemalloc(size, persistent) malloc(size)
Completed in 82 milliseconds