malloc 257 TSRM/TSRM.c p->storage[j] = (void *) malloc(resource_types_table[j].size); malloc 279 TSRM/TSRM.c (*thread_resources_ptr) = (tsrm_tls_entry *) malloc(sizeof(tsrm_tls_entry)); malloc 282 TSRM/TSRM.c (*thread_resources_ptr)->storage = (void **) malloc(sizeof(void *)*id_count); malloc 299 TSRM/TSRM.c (*thread_resources_ptr)->storage[i] = (void *) malloc(resource_types_table[i].size); malloc 602 TSRM/TSRM.c mutexp = malloc(sizeof(CRITICAL_SECTION)); malloc 605 TSRM/TSRM.c mutexp = (MUTEX_T) malloc(sizeof(*mutexp)); malloc 608 TSRM/TSRM.c mutexp = (pthread_mutex_t *)malloc(sizeof(pthread_mutex_t)); malloc 617 TSRM/TSRM.c mutexp = (beos_ben*)malloc(sizeof(beos_ben)); malloc 59 TSRM/tsrm_config_common.h ((use_heap = ((size) > (limit))) ? malloc(size) : alloca(size)) malloc 66 TSRM/tsrm_config_common.h # define tsrm_do_alloca(p, use_heap) malloc(p) malloc 130 TSRM/tsrm_nw.c command = (char*)malloc(ptrLen + 1); malloc 142 TSRM/tsrm_nw.c argv[argc] = (char*)malloc(ptrLen + 1); malloc 176 TSRM/tsrm_win32.c pResultSid = malloc(sid_len); malloc 219 TSRM/tsrm_win32.c real_path = (char *)malloc(MAX_PATH); malloc 288 TSRM/tsrm_win32.c real_path = (char *)malloc(MAX_PATH); malloc 332 TSRM/tsrm_win32.c psec_desc = (BYTE *)malloc(sec_desc_length); malloc 536 TSRM/tsrm_win32.c cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /c ")+2); malloc 482 Zend/zend.c compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); malloc 486 Zend/zend.c compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); malloc 492 Zend/zend.c compiler_globals->auto_globals = (HashTable *) malloc(sizeof(HashTable)); malloc 701 Zend/zend.c GLOBAL_FUNCTION_TABLE = (HashTable *) malloc(sizeof(HashTable)); malloc 702 Zend/zend.c GLOBAL_CLASS_TABLE = (HashTable *) malloc(sizeof(HashTable)); malloc 703 Zend/zend.c GLOBAL_AUTO_GLOBALS_TABLE = (HashTable *) malloc(sizeof(HashTable)); malloc 704 Zend/zend.c GLOBAL_CONSTANTS_TABLE = (HashTable *) malloc(sizeof(HashTable)); malloc 724 Zend/zend.c compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); malloc 725 Zend/zend.c compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); malloc 920 Zend/zend.c new_info = (char *) malloc(new_info_length + 1); malloc 1924 Zend/zend_API.c module_request_startup_handlers = (zend_module_entry**)malloc( malloc 1956 Zend/zend_API.c class_cleanup_handlers = (zend_class_entry**)malloc( malloc 2244 Zend/zend_API.c reg_function = malloc(sizeof(zend_internal_function)); malloc 2649 Zend/zend_API.c zend_class_entry *class_entry = malloc(sizeof(zend_class_entry)); malloc 2590 Zend/zend_alloc.c p = (char *) malloc(length + 1); malloc 2646 Zend/zend_alloc.c alloc_globals->mm_heap = malloc(sizeof(zend_mm_heap)); malloc 2649 Zend/zend_alloc.c alloc_globals->mm_heap->custom_heap.std._malloc = malloc; malloc 2866 Zend/zend_alloc.c void *tmp = malloc(len); malloc 107 Zend/zend_constants.c EG(zend_constants) = (HashTable *) malloc(sizeof(HashTable)); malloc 212 Zend/zend_gc.c GC_G(buf) = (gc_root_buffer*) malloc(sizeof(gc_root_buffer) * GC_ROOT_BUFFER_MAX_ENTRIES); malloc 107 Zend/zend_ini.c registered_zend_ini_directives = (HashTable *) malloc(sizeof(HashTable)); malloc 175 Zend/zend_ini.c EG(ini_directives) = (HashTable *) malloc(sizeof(HashTable)); malloc 45 Zend/zend_ini_parser.y #define YYMALLOC malloc malloc 40 Zend/zend_language_parser.y #define YYMALLOC malloc malloc 282 Zend/zend_list.c lde = malloc(sizeof(zend_rsrc_list_dtors_entry)); malloc 116 Zend/zend_string.c new_data = malloc(HT_SIZE(&CG(interned_strings))); malloc 226 Zend/zend_strtod.c #define MALLOC malloc malloc 674 Zend/zend_types.h (zend_array *) malloc(sizeof(zend_array)); \ malloc 707 Zend/zend_types.h (zend_resource *) malloc(sizeof(zend_resource)); \ malloc 746 Zend/zend_types.h (zend_reference *) malloc(sizeof(zend_reference)); \ malloc 334 Zend/zend_virtual_cwd.c tmp = (char*)malloc(len); malloc 688 Zend/zend_virtual_cwd.c realpath_cache_bucket *bucket = malloc(size); malloc 131 ext/com_dotnet/com_dotnet.c stuff = malloc(sizeof(*stuff)); malloc 1245 ext/curl/interface.c php_curl_openssl_tsl = malloc(c * sizeof(MUTEX_T)); malloc 34 ext/date/lib/timelib.h # define timelib_malloc malloc malloc 539 ext/dom/php_dom.c Z_PTR_P(zv) = malloc(sizeof(dom_prop_handler)); malloc 633 ext/fileinfo/libmagic/cdf.c if ((buf = CAST(char *, malloc(ss))) == NULL) { malloc 837 ext/fileinfo/libmagic/cdf.c malloc(*maxcount * sizeof(*inp))); malloc 1055 ext/fileinfo/libmagic/cdf.c malloc(sizeof(cdf_catalog_t) + nr * sizeof(*ce))); malloc 187 ext/fileinfo/libmagic/magic.c dllpath = malloc(sizeof(*dllpath) * (MAX_PATH + 1)); malloc 166 ext/gd/gdcache.c map = (key_value_t *)malloc(sizeof(key_value_t)); malloc 993 ext/interbase/interbase.c ib_link = (ibase_db_link *) malloc(sizeof(ibase_db_link)); malloc 31 ext/json/json_parser.y #define YYMALLOC malloc malloc 76 ext/mbstring/libmbfl/mbfl/mbfl_allocators.c return malloc(sz); malloc 37 ext/mbstring/libmbfl/mbfl/mbfl_allocators.h void *(*malloc)(unsigned int); malloc 48 ext/mbstring/libmbfl/mbfl/mbfl_allocators.h #define mbfl_malloc (__mbfl_allocators->malloc) malloc 104 ext/mbstring/oniguruma/regint.h #define xmalloc malloc malloc 259 ext/mbstring/ucgendat/ucgendat.c malloc(sizeof(ac_uint4) << 3); malloc 367 ext/mbstring/ucgendat/ucgendat.c malloc(sizeof(ac_uint4) << 3); malloc 482 ext/mbstring/ucgendat/ucgendat.c *pdecomps = (_decomp_t *) malloc(sizeof(_decomp_t) << 3); malloc 508 ext/mbstring/ucgendat/ucgendat.c malloc(sizeof(ac_uint4) * size); malloc 544 ext/mbstring/ucgendat/ucgendat.c title = (_case_t *) malloc(sizeof(_case_t) << 3); malloc 591 ext/mbstring/ucgendat/ucgendat.c upper = (_case_t *) malloc(sizeof(_case_t) << 3); malloc 638 ext/mbstring/ucgendat/ucgendat.c lower = (_case_t *) malloc(sizeof(_case_t) << 3); malloc 673 ext/mbstring/ucgendat/ucgendat.c ccl = (ac_uint4 *) malloc(sizeof(ac_uint4) * 24); malloc 754 ext/mbstring/ucgendat/ucgendat.c nums = (_num_t *) malloc(sizeof(_num_t) << 3); malloc 792 ext/mbstring/ucgendat/ucgendat.c ncodes = (_codeidx_t *) malloc(sizeof(_codeidx_t) << 3); malloc 1258 ext/mbstring/ucgendat/ucgendat.c comps = (_comp_t *) malloc(comps_used * sizeof(_comp_t)); malloc 411 ext/mysqlnd/mysqlnd_alloc.c ret = malloc(REAL_SIZE(size)); malloc 713 ext/mysqlnd/mysqlnd_alloc.c return malloc(size); malloc 381 ext/mysqlnd/mysqlnd_auth.c ret = malloc(SCRAMBLE_LENGTH); malloc 587 ext/mysqlnd/mysqlnd_auth.c ret = malloc(passwd_len); malloc 614 ext/mysqlnd/mysqlnd_auth.c ret = malloc(*auth_data_len); malloc 173 ext/opcache/zend_accelerator_blacklist.c it = (zend_regexp_list*)malloc(sizeof(zend_regexp_list)); malloc 293 ext/opcache/zend_accelerator_blacklist.c blacklist->entries[blacklist->pos].path = (char *)malloc(path_length + 1); malloc 929 ext/pcre/pcrelib/pcre_compile.c newspace = (PUBL(malloc))(IN_UCHARS(newsize)); malloc 7160 ext/pcre/pcrelib/pcre_compile.c named_group *newspace = (PUBL(malloc)) malloc 9342 ext/pcre/pcrelib/pcre_compile.c re = (REAL_PCRE *)(PUBL(malloc))(size); malloc 1788 ext/pcre/pcrelib/pcre_exec.c (int *)(PUBL(malloc))(new_recursive.saved_max * sizeof(int)); malloc 6664 ext/pcre/pcrelib/pcre_exec.c md->offset_vector = (int *)(PUBL(malloc))(ocount * sizeof(int)); malloc 460 ext/pcre/pcrelib/pcre_get.c stringlist = (pcre_uchar **)(PUBL(malloc))(size); malloc 560 ext/pcre/pcrelib/pcre_get.c substring = (pcre_uchar *)(PUBL(malloc))(IN_UCHARS(yield + 1)); malloc 62 ext/pcre/pcrelib/pcre_globals.c return malloc(aSize); malloc 68 ext/pcre/pcrelib/pcre_globals.c PCRE_EXP_DATA_DEFN void *(*PUBL(malloc))(size_t) = LocalPcreMalloc; malloc 76 ext/pcre/pcrelib/pcre_globals.c PCRE_EXP_DATA_DEFN void *(*PUBL(malloc))(size_t) = malloc; malloc 78 ext/pcre/pcrelib/pcre_globals.c PCRE_EXP_DATA_DEFN void *(*PUBL(stack_malloc))(size_t) = malloc; malloc 55 ext/pcre/pcrelib/pcre_jit_compile.c #define SLJIT_MALLOC(size, allocator_data) (PUBL(malloc))(size) malloc 82 ext/pcre/pcrelib/pcre_maketables.c yield = (unsigned char*)(PUBL(malloc))(tables_length); malloc 84 ext/pcre/pcrelib/pcre_maketables.c yield = (unsigned char*)malloc(tables_length); malloc 1570 ext/pcre/pcrelib/pcre_study.c extra = (PUBL(extra) *)(PUBL(malloc)) malloc 352 ext/pcre/pcrelib/pcreposix.c ovector = (int *)malloc(sizeof(int) * nmatch * 3); malloc 206 ext/pcre/pcrelib/sljit/sljitConfigInternal.h #define SLJIT_MALLOC(size, allocator_data) malloc(size) malloc 96 ext/pdo_odbc/pdo_odbc.c char *env = malloc(sizeof("DB2INSTANCE=") + strlen(instance)); malloc 495 ext/readline/readline.c matches = malloc(sizeof(char *) * 2); malloc 438 ext/readline/readline_cli.c retval = malloc(strlen(tmp) + 2); malloc 452 ext/readline/readline_cli.c retval = malloc(strlen(tmp) + 2); malloc 566 ext/readline/readline_cli.c char *tmp = malloc(len); malloc 2382 ext/soap/php_sdl.c prest = malloc(sizeof(sdlRestrictionInt)); malloc 2392 ext/soap/php_sdl.c prest = malloc(sizeof(sdlRestrictionChar)); malloc 2443 ext/soap/php_sdl.c pheaders = malloc(sizeof(HashTable)); malloc 2447 ext/soap/php_sdl.c pheader = malloc(sizeof(sdlSoapBindingFunctionHeader)); malloc 2507 ext/soap/php_sdl.c pparams = malloc(sizeof(HashTable)); malloc 2511 ext/soap/php_sdl.c pparam = malloc(sizeof(sdlParam)); malloc 2549 ext/soap/php_sdl.c pfaults = malloc(sizeof(HashTable)); malloc 2553 ext/soap/php_sdl.c pfault = malloc(sizeof(sdlFault)); malloc 2567 ext/soap/php_sdl.c soap_binding = malloc(sizeof(sdlSoapBindingFunctionFault)); malloc 2594 ext/soap/php_sdl.c pattr = malloc(sizeof(sdlAttribute)); malloc 2623 ext/soap/php_sdl.c pattr->extraAttributes = malloc(sizeof(HashTable)); malloc 2628 ext/soap/php_sdl.c pextra = malloc(sizeof(sdlExtraAttribute)); malloc 2653 ext/soap/php_sdl.c pmodel = malloc(sizeof(sdlContentModel)); malloc 2667 ext/soap/php_sdl.c pmodel->u.content = malloc(sizeof(HashTable)); malloc 2701 ext/soap/php_sdl.c ptype = malloc(sizeof(sdlType)); malloc 2728 ext/soap/php_sdl.c ptype->restrictions = malloc(sizeof(sdlRestrictions)); malloc 2767 ext/soap/php_sdl.c ptype->restrictions->enumeration = malloc(sizeof(HashTable)); malloc 2776 ext/soap/php_sdl.c ptype->elements = malloc(sizeof(HashTable)); malloc 2794 ext/soap/php_sdl.c ptype->attributes = malloc(sizeof(HashTable)); malloc 2819 ext/soap/php_sdl.c penc = malloc(sizeof(encode)); malloc 2842 ext/soap/php_sdl.c pbind = malloc(sizeof(sdlBinding)); malloc 2857 ext/soap/php_sdl.c soap_binding = malloc(sizeof(sdlSoapBinding)); malloc 2870 ext/soap/php_sdl.c pfunc = malloc(sizeof(sdlFunction)); malloc 2896 ext/soap/php_sdl.c soap_binding = malloc(sizeof(sdlSoapBindingFunction)); malloc 2932 ext/soap/php_sdl.c psdl = malloc(sizeof(*sdl)); malloc 2946 ext/soap/php_sdl.c psdl->groups = malloc(sizeof(HashTable)); malloc 2965 ext/soap/php_sdl.c psdl->types = malloc(sizeof(HashTable)); malloc 2984 ext/soap/php_sdl.c psdl->elements = malloc(sizeof(HashTable)); malloc 3003 ext/soap/php_sdl.c psdl->encoders = malloc(sizeof(HashTable)); malloc 3045 ext/soap/php_sdl.c psdl->bindings = malloc(sizeof(HashTable)); malloc 3082 ext/soap/php_sdl.c psdl->requests = malloc(sizeof(HashTable)); malloc 3329 ext/soap/php_sdl.c SOAP_GLOBAL(mem_cache) = malloc(sizeof(HashTable)); malloc 17085 ext/sqlite3/libsqlite/sqlite3.c #define SQLITE_MALLOC(x) malloc(x) malloc 17563 ext/sqlite3/libsqlite/sqlite3.c p = malloc(totalSize); malloc 101968 ext/sqlite3/libsqlite/sqlite3.c void *(*malloc)(int); malloc 102214 ext/sqlite3/libsqlite/sqlite3.c #define sqlite3_malloc sqlite3_api->malloc malloc 113 ext/sqlite3/libsqlite/sqlite3ext.h void *(*malloc)(int); malloc 359 ext/sqlite3/libsqlite/sqlite3ext.h #define sqlite3_malloc sqlite3_api->malloc malloc 782 ext/standard/proc_open.c child_argv = (char**) malloc((command_num_args + 1) * sizeof(char*)); malloc 65 ext/standard/url_scanner_ex.c ctx->tags = malloc(sizeof(HashTable)); malloc 26 ext/xmlrpc/libxmlrpc/base64.c b->data = malloc(sizeof(char)*(b->length)); malloc 77 ext/xmlrpc/libxmlrpc/encodings.c outbuf = (char*)malloc(outlen + 1); malloc 292 ext/xmlrpc/libxmlrpc/queue.c p = malloc(sizeof(datanode)); malloc 344 ext/xmlrpc/libxmlrpc/queue.c n = malloc(sizeof(datanode)); malloc 793 ext/xmlrpc/libxmlrpc/queue.c index = malloc(q->size * sizeof(q->cursor->data)); malloc 797 ext/xmlrpc/libxmlrpc/queue.c posn_index = malloc(q->size * sizeof(q->cursor)); malloc 114 ext/xmlrpc/libxmlrpc/simplestring.c string->str = (char*)malloc(SIMPLESTRING_INCR); malloc 350 ext/xmlrpc/libxmlrpc/xml_element.c NewBuffer= malloc(iLength+1); malloc 610 ext/xmlrpc/libxmlrpc/xml_element.c xml_element_attr* attr = malloc(sizeof(xml_element_attr)); malloc 183 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c xml_element_attr* attr_type = bNoAddType ? NULL : malloc(sizeof(xml_element_attr)); malloc 194 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c xml_element_attr* attr_id = malloc(sizeof(xml_element_attr)); malloc 285 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c xml_element_attr* version = malloc(sizeof(xml_element_attr)); malloc 69 ext/xmlrpc/libxmlrpc/xml_to_soap.c xml_element_attr* attr = malloc(sizeof(xml_element_attr)); malloc 1058 ext/xmlrpc/libxmlrpc/xmlrpc.c value->v->q = (queue*)malloc(sizeof(queue)); malloc 2442 ext/xmlrpc/libxmlrpc/xmlrpc.c server_method* sm = malloc(sizeof(server_method)); malloc 151 ext/zip/lib/zip_buffer.c if ((data = (zip_uint8_t *)malloc(size)) == NULL) { malloc 156 ext/zip/lib/zip_buffer.c if ((buffer = (zip_buffer_t *)malloc(sizeof(*buffer))) == NULL) { malloc 99 ext/zip/lib/zip_close.c if ((filelist=(zip_filelist_t *)malloc(sizeof(filelist[0])*(size_t)survivors)) == NULL) malloc 65 ext/zip/lib/zip_dir_add.c if ((s=(char *)malloc(len+2)) == NULL) { malloc 70 ext/zip/lib/zip_dirent.c if ((cd=(zip_cdir_t *)malloc(sizeof(*cd))) == NULL) { malloc 77 ext/zip/lib/zip_dirent.c else if ((nentry > SIZE_MAX/sizeof(*(cd->entry))) || (cd->entry=(zip_entry_t *)malloc(sizeof(*(cd->entry))*(size_t)nentry)) == NULL) { malloc 194 ext/zip/lib/zip_dirent.c if ((tde=(zip_dirent_t *)malloc(sizeof(*tde))) == NULL) malloc 279 ext/zip/lib/zip_dirent.c if ((de=(zip_dirent_t *)malloc(sizeof(*de))) == NULL) malloc 75 ext/zip/lib/zip_error_strerror.c if ((s=(char *)malloc(strlen(ss) malloc 188 ext/zip/lib/zip_extra_field.c if ((ef=(zip_extra_field_t *)malloc(sizeof(*ef))) == NULL) malloc 75 ext/zip/lib/zip_fopen_index_encrypted.c if ((zf=(zip_file_t *)malloc(sizeof(struct zip_file))) == NULL) { malloc 61 ext/zip/lib/zip_hash.c if ((hash=(zip_hash_t *)malloc(sizeof(zip_hash_t))) == NULL) { malloc 147 ext/zip/lib/zip_hash.c if ((entry=(zip_hash_entry_t *)malloc(sizeof(zip_hash_entry_t))) == NULL) { malloc 72 ext/zip/lib/zip_io_util.c r = (zip_uint8_t *)malloc(length + (nulp ? 1 : 0)); malloc 48 ext/zip/lib/zip_memdup.c ret = malloc(len); malloc 49 ext/zip/lib/zip_new.c za = (zip_t *)malloc(sizeof(struct zip)); malloc 95 ext/zip/lib/zip_source_buffer.c if ((ctx=(struct read_data *)malloc(sizeof(*ctx))) == NULL) { malloc 264 ext/zip/lib/zip_source_buffer.c if ((buffer = malloc(sizeof(*buffer))) == NULL) { malloc 292 ext/zip/lib/zip_source_buffer.c if ((buffer->fragments = malloc(sizeof(*(buffer->fragments)))) == NULL) { malloc 316 ext/zip/lib/zip_source_buffer.c if ((buffer->fragments = malloc(sizeof(*(buffer->fragments)))) == NULL) { malloc 408 ext/zip/lib/zip_source_buffer.c if ((buffer->fragments[buffer->nfragments] = malloc(buffer->fragment_size)) == NULL) { malloc 64 ext/zip/lib/zip_source_crc.c if ((ctx=(struct crc_context *)malloc(sizeof(*ctx))) == NULL) { malloc 70 ext/zip/lib/zip_source_deflate.c if ((ctx=(struct deflate *)malloc(sizeof(*ctx))) == NULL) { malloc 123 ext/zip/lib/zip_source_filep.c if ((ctx=(struct read_file *)malloc(sizeof(struct read_file))) == NULL) { malloc 183 ext/zip/lib/zip_source_filep.c if ((temp=(char *)malloc(strlen(ctx->fname)+8)) == NULL) { malloc 83 ext/zip/lib/zip_source_function.c if ((src=(zip_source_t *)malloc(sizeof(*src))) == NULL) { malloc 75 ext/zip/lib/zip_source_pkware.c if ((ctx=(struct trad_pkware *)malloc(sizeof(*ctx))) == NULL) { malloc 97 ext/zip/lib/zip_source_win32a.c if ((*temp = malloc(sizeof(char) * len)) == NULL) { malloc 83 ext/zip/lib/zip_source_win32handle.c if ((ctx = (_zip_source_win32_read_file_t *)malloc(sizeof(_zip_source_win32_read_file_t))) == NULL) { malloc 437 ext/zip/lib/zip_source_win32handle.c if ((psd = (PSECURITY_DESCRIPTOR)malloc(len)) == NULL) { malloc 69 ext/zip/lib/zip_source_win32utf8.c if ((wfname = (wchar_t *)malloc(sizeof(wchar_t) * size)) == NULL) { malloc 97 ext/zip/lib/zip_source_win32w.c if ((*temp = malloc(sizeof(wchar_t) * len)) == NULL) { malloc 70 ext/zip/lib/zip_source_window.c if ((ctx=(struct window *)malloc(sizeof(*ctx))) == NULL) { malloc 152 ext/zip/lib/zip_string.c if ((s=(zip_string_t *)malloc(sizeof(*s))) == NULL) { malloc 157 ext/zip/lib/zip_string.c if ((s->raw=(zip_uint8_t *)malloc((size_t)(length+1))) == NULL) { malloc 235 ext/zip/lib/zip_utf-8.c if ((utf8buf=(zip_uint8_t*)malloc(buflen)) == NULL) { malloc 205 main/alloca.c register pointer new = malloc (sizeof (header) + size); malloc 260 main/fastcgi.c h->buckets = (fcgi_hash_buckets*)malloc(sizeof(fcgi_hash_buckets)); malloc 263 main/fastcgi.c h->data = (fcgi_data_seg*)malloc(sizeof(fcgi_data_seg) - 1 + FCGI_HASH_SEG_SIZE); malloc 316 main/fastcgi.c fcgi_data_seg *p = (fcgi_data_seg*)malloc(sizeof(fcgi_data_seg) - 1 + seg_size); malloc 348 main/fastcgi.c fcgi_hash_buckets *b = (fcgi_hash_buckets*)malloc(sizeof(fcgi_hash_buckets)); malloc 589 main/fastcgi.c acl = malloc(req_acl_size); malloc 780 main/fastcgi.c allowed_clients = malloc(sizeof(sa_t) * (n+2)); malloc 840 main/fastcgi.c allowed_clients = malloc(sizeof(sa_t) * (n+2)); malloc 237 main/main.c binary_location = (char *)malloc(MAXPATHLEN); malloc 244 main/main.c binary_location = (char *)malloc(MAXPATHLEN); malloc 129 main/mergesort.c if ((list2 = malloc(nmemb * size + PSIZE)) == NULL) malloc 101 main/php_scandir.c newdp = (struct dirent *) malloc(dsize); malloc 87 main/snprintf.c if ((rve = s = (char *)malloc(ndigit?siz:2)) == NULL) { malloc 108 main/snprintf.c if ((s = (char *)malloc(siz+1)) == NULL) { malloc 1320 main/snprintf.c if ((*buf = malloc(++cc)) != NULL) { malloc 34 main/streams/php_streams_int.h #define pemalloc_rel_orig(size, persistent) ((persistent) ? malloc((size)) : emalloc_rel_orig((size))) malloc 141 sapi/apache2handler/apache_config.c php_dir_entry *npe = malloc(sizeof(php_dir_entry)); malloc 570 sapi/cgi/cgi_main.c buf = (char *) malloc(len); malloc 714 sapi/cgi/cgi_main.c char *buf = malloc(len+2); malloc 2285 sapi/cgi/cgi_main.c s = malloc(len); malloc 1315 sapi/cli/php_cli.c ini_entries = malloc(sizeof(HARDCODED_INI)); malloc 189 sapi/cli/ps_title.c new_environ = (char **) malloc((i + 1) * sizeof(char *)); malloc 190 sapi/cli/ps_title.c frozen_environ = (char **) malloc((i + 1) * sizeof(char *)); malloc 221 sapi/cli/ps_title.c new_argv = (char **) malloc((argc + 1) * sizeof(char *)); malloc 193 sapi/embed/php_embed.c php_embed_module.ini_entries = malloc(sizeof(HARDCODED_INI)); malloc 89 sapi/fpm/fpm/events/devpoll.c pollfds = malloc(sizeof(struct pollfd) * max); malloc 102 sapi/fpm/fpm/events/devpoll.c active_pollfds = malloc(sizeof(struct pollfd) * max); malloc 82 sapi/fpm/fpm/events/epoll.c epollfds = malloc(sizeof(struct epoll_event) * max); malloc 86 sapi/fpm/fpm/events/kqueue.c kevents = malloc(sizeof(struct kevent) * max); malloc 81 sapi/fpm/fpm/events/poll.c pollfds = malloc(sizeof(struct pollfd) * max); malloc 94 sapi/fpm/fpm/events/poll.c active_pollfds = malloc(sizeof(struct pollfd) * max); malloc 83 sapi/fpm/fpm/events/port.c events = malloc(sizeof(port_event_t) * max); malloc 23 sapi/fpm/fpm/fpm_arrays.h a = malloc(sizeof(struct fpm_array_s)); malloc 47 sapi/fpm/fpm/fpm_children.c ret = malloc(sizeof(struct fpm_child_s)); malloc 438 sapi/fpm/fpm/fpm_children.c wp->ondemand_event = (struct fpm_event_s *)malloc(sizeof(struct fpm_event_s)); malloc 462 sapi/fpm/fpm/fpm_children.c last_faults = malloc(sizeof(time_t) * fpm_global_config.emergency_restart_threshold); malloc 552 sapi/fpm/fpm/fpm_conf.c kv = malloc(sizeof(*kv)); malloc 605 sapi/fpm/fpm/fpm_conf.c wp->config = malloc(sizeof(struct fpm_worker_pool_config_s)); malloc 1047 sapi/fpm/fpm/fpm_conf.c wp->limit_extensions = malloc(sizeof(char *) * (nb_ext + 1)); malloc 28 sapi/fpm/fpm/fpm_env.c char *malloc(); malloc 36 sapi/fpm/fpm/fpm_env.c if ((cp = malloc(strlen(name) + strlen(value) + 2)) == 0) { malloc 259 sapi/fpm/fpm/fpm_env.c if ((new_environ = malloc((1U + env_nb) * sizeof (char *))) == NULL) { malloc 155 sapi/fpm/fpm/fpm_events.c if (!(elt = malloc(sizeof(struct fpm_event_queue_s)))) { malloc 648 sapi/fpm/fpm/fpm_main.c char *buf = malloc(len + 2); malloc 269 sapi/fpm/fpm/fpm_process_ctl.c saved_argv = malloc(sizeof(char *) * (saved_argc + 1)); malloc 419 sapi/fpm/fpm/fpm_unix.c new_con = malloc(strlen(con) + strlen(wp->config->apparmor_hat) + 3); // // + 0 Byte malloc 59 sapi/fpm/fpm/fpm_worker_pool.c ret = malloc(sizeof(struct fpm_worker_pool_s)); malloc 660 sapi/litespeed/lsapilib.c s_lve = malloc(rc); malloc 1285 sapi/litespeed/lsapilib.c pReq->m_pRespBuf = pReq->m_pRespBufPos = (char *)malloc( LSAPI_RESP_BUF_SIZE ); malloc 2504 sapi/litespeed/lsapilib.c g_prefork_server = (lsapi_prefork_server *)malloc( sizeof( lsapi_prefork_server ) ); malloc 1422 sapi/phpdbg/phpdbg.c } else zend_extensions = malloc(sizeof(char*) * zend_extensions_len); malloc 1567 sapi/phpdbg/phpdbg.c ini_entries = malloc(sizeof(phpdbg_ini_hardcoded)); malloc 28 sapi/phpdbg/phpdbg_btree.c # define emalloc malloc malloc 27 sapi/phpdbg/phpdbg_parser.y #define YYMALLOC malloc malloc 100 sapi/phpdbg/phpdbg_parser.y $$.file.name = malloc($1.len + $2.len + 1); malloc 110 sapi/phpdbg/phpdbg_parser.y $$.file.name = malloc($1.len + $2.len + 1); malloc 250 sapi/phpdbg/phpdbg_prompt.c state->code = malloc(cmd_len + 1); malloc 832 sapi/phpdbg/phpdbg_watch.c dump = malloc(MEMDUMP_SIZE(size)); malloc 722 win32/glob.c malloc(newsize); malloc 743 win32/glob.c if ((copy = malloc(len)) != NULL) { malloc 34 win32/readdir.c filespec = (char *)malloc(strlen(resolved_path_buff) + 2 + 1); malloc 45 win32/readdir.c dp = (DIR *) malloc(sizeof(DIR)); malloc 148 win32/readdir.c filespec = (char *)malloc(strlen(dp->dir) + 2 + 1); malloc 104 win32/registry.c ht = (HashTable*)malloc(sizeof(HashTable)); malloc 192 win32/registry.c PW32G(registry_directories) = (HashTable*)malloc(sizeof(HashTable));