malloc 253 TSRM/TSRM.c p->storage[j] = (void *) malloc(resource_types_table[j].size); malloc 275 TSRM/TSRM.c (*thread_resources_ptr) = (tsrm_tls_entry *) malloc(sizeof(tsrm_tls_entry)); malloc 276 TSRM/TSRM.c (*thread_resources_ptr)->storage = (void **) malloc(sizeof(void *)*id_count); malloc 292 TSRM/TSRM.c (*thread_resources_ptr)->storage[i] = (void *) malloc(resource_types_table[i].size); malloc 595 TSRM/TSRM.c mutexp = malloc(sizeof(CRITICAL_SECTION)); malloc 598 TSRM/TSRM.c mutexp = (MUTEX_T) malloc(sizeof(*mutexp)); malloc 601 TSRM/TSRM.c mutexp = (pthread_mutex_t *)malloc(sizeof(pthread_mutex_t)); malloc 610 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 152 TSRM/tsrm_virtual_cwd.c (d)->cwd = (char *) malloc((s)->cwd_length+1); \ malloc 325 TSRM/tsrm_virtual_cwd.c tmp = (char*)malloc(len); malloc 503 TSRM/tsrm_virtual_cwd.c retval = (char *) malloc(2); malloc 518 TSRM/tsrm_virtual_cwd.c retval = (char *) malloc(*length+1); malloc 653 TSRM/tsrm_virtual_cwd.c realpath_cache_bucket *bucket = malloc(size); malloc 1407 TSRM/tsrm_virtual_cwd.c new_state.cwd = (char*)malloc(1); malloc 1420 TSRM/tsrm_virtual_cwd.c new_state.cwd = (char*)malloc(1); malloc 1885 TSRM/tsrm_virtual_cwd.c ptr = command_line = (char *) malloc(command_length + sizeof("cd '' ; ") + dir_length + extra+1+1); malloc 1932 TSRM/tsrm_virtual_cwd.c new_state.cwd = (char*)malloc(1); malloc 1946 TSRM/tsrm_virtual_cwd.c new_state.cwd = (char*)malloc(1); malloc 172 TSRM/tsrm_win32.c pResultSid = malloc(sid_len); malloc 216 TSRM/tsrm_win32.c real_path = (char *)malloc(MAX_PATH); malloc 286 TSRM/tsrm_win32.c real_path = (char *)malloc(MAX_PATH); malloc 330 TSRM/tsrm_win32.c psec_desc = (BYTE *)malloc(sec_desc_length); malloc 535 TSRM/tsrm_win32.c cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /c ")+2); malloc 510 Zend/zend.c compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); malloc 514 Zend/zend.c compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); malloc 522 Zend/zend.c compiler_globals->auto_globals = (HashTable *) malloc(sizeof(HashTable)); malloc 699 Zend/zend.c GLOBAL_FUNCTION_TABLE = (HashTable *) malloc(sizeof(HashTable)); malloc 700 Zend/zend.c GLOBAL_CLASS_TABLE = (HashTable *) malloc(sizeof(HashTable)); malloc 701 Zend/zend.c GLOBAL_AUTO_GLOBALS_TABLE = (HashTable *) malloc(sizeof(HashTable)); malloc 702 Zend/zend.c GLOBAL_CONSTANTS_TABLE = (HashTable *) malloc(sizeof(HashTable)); malloc 727 Zend/zend.c compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); malloc 728 Zend/zend.c compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); malloc 890 Zend/zend.c new_info = (char *) malloc(new_info_length + 1); malloc 1829 Zend/zend_API.c module_request_startup_handlers = (zend_module_entry**)malloc( malloc 1865 Zend/zend_API.c class_cleanup_handlers = (zend_class_entry**)malloc( malloc 2494 Zend/zend_API.c zend_class_entry *class_entry = malloc(sizeof(zend_class_entry)); malloc 139 Zend/zend_alloc.c return malloc(sizeof(zend_mm_storage)); malloc 208 Zend/zend_alloc.c return malloc(sizeof(zend_mm_storage)); malloc 243 Zend/zend_alloc.c storage = (zend_mm_storage*)malloc(sizeof(zend_mm_storage)); malloc 287 Zend/zend_alloc.c return (zend_mm_segment*)malloc(size); malloc 1098 Zend/zend_alloc.c heap = malloc(sizeof(struct _zend_mm_heap)); malloc 2671 Zend/zend_alloc.c p = (char *) malloc(length+1); malloc 2726 Zend/zend_alloc.c alloc_globals->mm_heap = malloc(sizeof(struct _zend_mm_heap)); malloc 2729 Zend/zend_alloc.c alloc_globals->mm_heap->_malloc = malloc; malloc 95 Zend/zend_alloc.h void *tmp = malloc(len); malloc 88 Zend/zend_constants.c EG(zend_constants) = (HashTable *) malloc(sizeof(HashTable)); malloc 124 Zend/zend_gc.c GC_G(buf) = (gc_root_buffer*) malloc(sizeof(gc_root_buffer) * GC_ROOT_BUFFER_MAX_ENTRIES); malloc 198 Zend/zend_gc.h (z) = (zval*)malloc(sizeof(zval_gc_info)); \ malloc 91 Zend/zend_ini.c registered_zend_ini_directives = (HashTable *) malloc(sizeof(HashTable)); malloc 138 Zend/zend_ini.c EG(ini_directives) = (HashTable *) malloc(sizeof(HashTable)); malloc 162 Zend/zend_ini_parser.c Z_STRVAL_P(result) = (char *) malloc(Z_STRLEN_P(result)+1); malloc 173 Zend/zend_ini_parser.c Z_STRVAL_P(result) = malloc(1); malloc 531 Zend/zend_ini_parser.c && ! ((defined YYMALLOC || defined malloc) \ malloc 539 Zend/zend_ini_parser.c # define YYMALLOC malloc malloc 540 Zend/zend_ini_parser.c # if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ malloc 542 Zend/zend_ini_parser.c void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ malloc 85 Zend/zend_ini_parser.y Z_STRVAL_P(result) = (char *) malloc(Z_STRLEN_P(result)+1); malloc 96 Zend/zend_ini_parser.y Z_STRVAL_P(result) = malloc(1); malloc 568 Zend/zend_language_parser.c && ! ((defined YYMALLOC || defined malloc) \ malloc 576 Zend/zend_language_parser.c # define YYMALLOC malloc malloc 577 Zend/zend_language_parser.c # if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ malloc 579 Zend/zend_language_parser.c void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ malloc 28 Zend/zend_static_allocator.h #define emalloc(s) malloc(s) malloc 48 Zend/zend_string.c CG(interned_strings_start) = malloc(size); malloc 200 Zend/zend_strtod.c #define MALLOC malloc malloc 131 ext/com_dotnet/com_dotnet.c stuff = malloc(sizeof(*stuff)); malloc 1203 ext/curl/interface.c php_curl_openssl_tsl = malloc(c * sizeof(MUTEX_T)); malloc 320 ext/date/lib/parse_date.c uchar *buf = (uchar*) malloc(((s->lim - s->bot) + BSIZE)*sizeof(uchar)); malloc 24649 ext/date/lib/parse_date.c in.errors = malloc(sizeof(struct timelib_error_container)); malloc 24677 ext/date/lib/parse_date.c in.str = malloc((e - s) + YYMAXFILL); malloc 24764 ext/date/lib/parse_date.c in.errors = malloc(sizeof(struct timelib_error_container)); malloc 1017 ext/date/lib/parse_iso_intervals.c in.errors = malloc(sizeof(struct timelib_error_container)); malloc 1043 ext/date/lib/parse_iso_intervals.c in.str = malloc((e - s) + YYMAXFILL); malloc 91 ext/date/lib/parse_tz.c buffer = (int32_t*) malloc(tz->timecnt * sizeof(int32_t)); malloc 101 ext/date/lib/parse_tz.c cbuffer = (unsigned char*) malloc(tz->timecnt * sizeof(unsigned char)); malloc 120 ext/date/lib/parse_tz.c buffer = (unsigned char*) malloc(tz->typecnt * sizeof(unsigned char) * 6); malloc 127 ext/date/lib/parse_tz.c tz->type = (ttinfo*) malloc(tz->typecnt * sizeof(struct ttinfo)); malloc 141 ext/date/lib/parse_tz.c tz->timezone_abbr = (char*) malloc(tz->charcnt); malloc 149 ext/date/lib/parse_tz.c leap_buffer = (int32_t *) malloc(tz->leapcnt * 2 * sizeof(int32_t)); malloc 156 ext/date/lib/parse_tz.c tz->leap_times = (tlinfo*) malloc(tz->leapcnt * sizeof(tlinfo)); malloc 169 ext/date/lib/parse_tz.c buffer = (unsigned char*) malloc(tz->ttisstdcnt * sizeof(unsigned char)); malloc 183 ext/date/lib/parse_tz.c buffer = (unsigned char*) malloc(tz->ttisgmtcnt * sizeof(unsigned char)); malloc 210 ext/date/lib/parse_tz.c tz->location.comments = malloc(comments_len + 1); malloc 126 ext/date/lib/timelib.c tmp->trans = (int32_t *) malloc(tz->timecnt * sizeof(int32_t)); malloc 127 ext/date/lib/timelib.c tmp->trans_idx = (unsigned char*) malloc(tz->timecnt * sizeof(unsigned char)); malloc 131 ext/date/lib/timelib.c tmp->type = (ttinfo*) malloc(tz->typecnt * sizeof(struct ttinfo)); malloc 134 ext/date/lib/timelib.c tmp->timezone_abbr = (char*) malloc(tz->charcnt); malloc 137 ext/date/lib/timelib.c tmp->leap_times = (tlinfo*) malloc(tz->leapcnt * sizeof(tlinfo)); malloc 1075 ext/date/php_date.c offset->abbr = malloc(9); /* GMT�xxxx\0 */ malloc 1286 ext/date/php_date.c offset->abbr = malloc(9); /* GMT�xxxx\0 */ malloc 146 ext/ereg/regex/engine.c m->pmatch = (regmatch_t *)malloc((m->g->nsub + 1) * malloc 159 ext/ereg/regex/engine.c m->lastpos = (unsigned char **)malloc((g->nplus+1) * malloc 116 ext/ereg/regex/regcomp.c g = (struct re_guts *)malloc(sizeof(struct re_guts) + malloc 121 ext/ereg/regex/regcomp.c p->strip = (sop *)malloc(p->ssize * sizeof(sop)); malloc 1016 ext/ereg/regex/regcomp.c p->g->sets = (cset *)malloc(nc * sizeof(cset)); malloc 1021 ext/ereg/regex/regcomp.c p->g->setbits = (uch *)malloc(nbytes); malloc 1162 ext/ereg/regex/regcomp.c cs->multis = malloc(cs->smultis); malloc 1562 ext/ereg/regex/regcomp.c g->must = malloc((size_t)g->mlen + 1); malloc 78 ext/ereg/regex/regexec.c #define STATESETUP(m, nv) { (m)->space = malloc((nv)*(m)->g->nstates); \ malloc 614 ext/fileinfo/libmagic/cdf.c if ((buf = CAST(char *, malloc(ss))) == NULL) { malloc 797 ext/fileinfo/libmagic/cdf.c malloc(*maxcount * sizeof(*inp))); 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 1002 ext/interbase/interbase.c ib_link = (ibase_db_link *) malloc(sizeof(ibase_db_link)); 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 692 ext/mssql/php_mssql.c mssql_ptr = (mssql_link *) malloc(sizeof(mssql_link)); malloc 866 ext/mysql/php_mysql.c mysql = (php_mysql_conn *) malloc(sizeof(php_mysql_conn)); 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 590 ext/mysqlnd/mysqlnd_auth.c ret = malloc(passwd_len); malloc 617 ext/mysqlnd/mysqlnd_auth.c ret = malloc(*auth_data_len); malloc 1712 ext/opcache/ZendAccelerator.c new_state.cwd = (char*)malloc(1); malloc 1731 ext/opcache/ZendAccelerator.c new_state.cwd = (char*)malloc(1); malloc 81 ext/opcache/zend_accelerator_blacklist.c errbuf = malloc(errsize); malloc 189 ext/opcache/zend_accelerator_blacklist.c it = (zend_regexp_list*)malloc(sizeof(zend_regexp_list)); malloc 314 ext/opcache/zend_accelerator_blacklist.c blacklist->entries[blacklist->pos].path = (char *)malloc(path_length + 1); malloc 701 ext/pcre/pcrelib/pcre_compile.c newspace = (PUBL(malloc))(IN_UCHARS(newsize)); malloc 8055 ext/pcre/pcrelib/pcre_compile.c re = (REAL_PCRE *)(PUBL(malloc))(size); malloc 1781 ext/pcre/pcrelib/pcre_exec.c (int *)(PUBL(malloc))(new_recursive.saved_max * sizeof(int)); malloc 6539 ext/pcre/pcrelib/pcre_exec.c md->offset_vector = (int *)(PUBL(malloc))(ocount * sizeof(int)); malloc 462 ext/pcre/pcrelib/pcre_get.c stringlist = (pcre_uchar **)(PUBL(malloc))(size); malloc 562 ext/pcre/pcrelib/pcre_get.c substring = (pcre_uchar *)(PUBL(malloc))(IN_UCHARS(yield + 1)); malloc 64 ext/pcre/pcrelib/pcre_globals.c return malloc(aSize); malloc 77 ext/pcre/pcrelib/pcre_globals.c PCRE_EXP_DATA_DEFN void *(*PUBL(malloc))(size_t) = malloc; malloc 79 ext/pcre/pcrelib/pcre_globals.c PCRE_EXP_DATA_DEFN void *(*PUBL(stack_malloc))(size_t) = malloc; malloc 84 ext/pcre/pcrelib/pcre_maketables.c yield = (unsigned char*)(PUBL(malloc))(tables_length); malloc 86 ext/pcre/pcrelib/pcre_maketables.c yield = (unsigned char*)malloc(tables_length); malloc 1448 ext/pcre/pcrelib/pcre_study.c extra = (PUBL(extra) *)(PUBL(malloc)) malloc 343 ext/pcre/pcrelib/pcreposix.c ovector = (int *)malloc(sizeof(int) * nmatch * 3); malloc 100 ext/pdo_odbc/pdo_odbc.c char *env = malloc(sizeof("DB2INSTANCE=") + strlen(instance)); malloc 958 ext/pgsql/pgsql.c field_escaped = (char *)malloc(field_escaped_len); malloc 984 ext/pgsql/pgsql.c new = (char *) malloc(len + 1); malloc 84 ext/phar/phar_internal.h (z) = (zval*)malloc(sizeof(zval)) malloc 501 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 2391 ext/soap/php_sdl.c prest = malloc(sizeof(sdlRestrictionInt)); malloc 2402 ext/soap/php_sdl.c prest = malloc(sizeof(sdlRestrictionChar)); malloc 2449 ext/soap/php_sdl.c pheaders = malloc(sizeof(HashTable)); malloc 2454 ext/soap/php_sdl.c pheader = malloc(sizeof(sdlSoapBindingFunctionHeader)); malloc 2517 ext/soap/php_sdl.c pparams = malloc(sizeof(HashTable)); malloc 2522 ext/soap/php_sdl.c pparam = malloc(sizeof(sdlParam)); malloc 2564 ext/soap/php_sdl.c pfaults = malloc(sizeof(HashTable)); malloc 2569 ext/soap/php_sdl.c pfault = malloc(sizeof(sdlFault)); malloc 2583 ext/soap/php_sdl.c soap_binding = malloc(sizeof(sdlSoapBindingFunctionFault)); malloc 2613 ext/soap/php_sdl.c pattr = malloc(sizeof(sdlAttribute)); malloc 2642 ext/soap/php_sdl.c pattr->extraAttributes = malloc(sizeof(HashTable)); malloc 2648 ext/soap/php_sdl.c pextra = malloc(sizeof(sdlExtraAttribute)); malloc 2674 ext/soap/php_sdl.c pmodel = malloc(sizeof(sdlContentModel)); malloc 2688 ext/soap/php_sdl.c pmodel->u.content = malloc(sizeof(HashTable)); malloc 2726 ext/soap/php_sdl.c ptype = malloc(sizeof(sdlType)); malloc 2753 ext/soap/php_sdl.c ptype->restrictions = malloc(sizeof(sdlRestrictions)); malloc 2794 ext/soap/php_sdl.c ptype->restrictions->enumeration = malloc(sizeof(HashTable)); malloc 2803 ext/soap/php_sdl.c ptype->elements = malloc(sizeof(HashTable)); malloc 2822 ext/soap/php_sdl.c ptype->attributes = malloc(sizeof(HashTable)); malloc 2848 ext/soap/php_sdl.c penc = malloc(sizeof(encode)); malloc 2871 ext/soap/php_sdl.c pbind = malloc(sizeof(sdlBinding)); malloc 2886 ext/soap/php_sdl.c soap_binding = malloc(sizeof(sdlSoapBinding)); malloc 2899 ext/soap/php_sdl.c pfunc = malloc(sizeof(sdlFunction)); malloc 2925 ext/soap/php_sdl.c soap_binding = malloc(sizeof(sdlSoapBindingFunction)); malloc 2963 ext/soap/php_sdl.c psdl = malloc(sizeof(*sdl)); malloc 2977 ext/soap/php_sdl.c psdl->groups = malloc(sizeof(HashTable)); malloc 2997 ext/soap/php_sdl.c psdl->types = malloc(sizeof(HashTable)); malloc 3017 ext/soap/php_sdl.c psdl->elements = malloc(sizeof(HashTable)); malloc 3037 ext/soap/php_sdl.c psdl->encoders = malloc(sizeof(HashTable)); malloc 3084 ext/soap/php_sdl.c psdl->bindings = malloc(sizeof(HashTable)); malloc 3122 ext/soap/php_sdl.c psdl->requests = malloc(sizeof(HashTable)); malloc 3371 ext/soap/php_sdl.c SOAP_GLOBAL(mem_cache) = malloc(sizeof(HashTable)); malloc 14772 ext/sqlite3/libsqlite/sqlite3.c p = malloc( nByte+8 ); malloc 15137 ext/sqlite3/libsqlite/sqlite3.c p = malloc(totalSize); malloc 31606 ext/sqlite3/libsqlite/sqlite3.c zWideFilename = malloc( nChar*sizeof(zWideFilename[0]) ); malloc 31627 ext/sqlite3/libsqlite/sqlite3.c zFilename = malloc( nByte ); malloc 31653 ext/sqlite3/libsqlite/sqlite3.c zMbcsFilename = malloc( nByte*sizeof(zMbcsFilename[0]) ); malloc 31678 ext/sqlite3/libsqlite/sqlite3.c zFilename = malloc( nByte ); malloc 33910 ext/sqlite3/libsqlite/sqlite3.c zTemp = malloc( nByte*sizeof(zTemp[0]) ); malloc 33927 ext/sqlite3/libsqlite/sqlite3.c zTemp = malloc( nByte*sizeof(zTemp[0]) ); malloc 87131 ext/sqlite3/libsqlite/sqlite3.c void *(*malloc)(int); malloc 87332 ext/sqlite3/libsqlite/sqlite3.c #define sqlite3_malloc sqlite3_api->malloc malloc 103 ext/sqlite3/libsqlite/sqlite3ext.h void *(*malloc)(int); malloc 304 ext/sqlite3/libsqlite/sqlite3ext.h #define sqlite3_malloc sqlite3_api->malloc malloc 783 ext/standard/proc_open.c child_argv = (char**) malloc((command_num_args + 1) * sizeof(char*)); malloc 60 ext/standard/url_scanner_ex.c ctx->tags = malloc(sizeof(HashTable)); malloc 779 ext/sybase_ct/php_sybase_ct.c sybase_ptr = (sybase_link *) malloc(sizeof(sybase_link)); malloc 26 ext/xmlrpc/libxmlrpc/base64.c b->data = malloc(sizeof(char)*(b->length)); malloc 76 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 1051 ext/xmlrpc/libxmlrpc/xmlrpc.c value->v->q = (queue*)malloc(sizeof(queue)); malloc 2435 ext/xmlrpc/libxmlrpc/xmlrpc.c server_method* sm = malloc(sizeof(server_method)); malloc 67 ext/zip/lib/zip_add_dir.c if ((s=(char *)malloc(len+2)) == NULL) { malloc 108 ext/zip/lib/zip_close.c if ((filelist=(struct filelist *)malloc(sizeof(filelist[0])*survivors)) malloc 229 ext/zip/lib/zip_close.c if ((de.extrafield=malloc(za->entry[i].ch_extra_len)) == NULL) { malloc 608 ext/zip/lib/zip_close.c if ((temp=(char *)malloc(len)) == NULL) { malloc 99 ext/zip/lib/zip_dirent.c if ((cd=(struct zip_cdir *)malloc(sizeof(*cd))) == NULL) { malloc 104 ext/zip/lib/zip_dirent.c if ((cd->entry=(struct zip_dirent *)malloc(sizeof(*(cd->entry))*nentry)) malloc 532 ext/zip/lib/zip_dirent.c r = (char *)malloc(nulp ? len+1 : len); malloc 562 ext/zip/lib/zip_dirent.c r = (char *)malloc(nulp ? len+1 : len); malloc 47 ext/zip/lib/zip_entry_new.c ze = (struct zip_entry *)malloc(sizeof(struct zip_entry)); malloc 78 ext/zip/lib/zip_error_strerror.c if ((s=(char *)malloc(strlen(ss) malloc 165 ext/zip/lib/zip_fopen_index_encrypted.c if ((zf=(struct zip_file *)malloc(sizeof(struct zip_file))) == NULL) { malloc 46 ext/zip/lib/zip_memdup.c ret = malloc(len); malloc 51 ext/zip/lib/zip_new.c za = (struct zip *)malloc(sizeof(struct zip)); malloc 128 ext/zip/lib/zip_open.c if ((za->entry=(struct zip_entry *)malloc(sizeof(*(za->entry)) malloc 528 ext/zip/lib/zip_open.c if ((buf=(unsigned char *)malloc(CDBUFSIZE)) == NULL) { malloc 65 ext/zip/lib/zip_source_buffer.c if ((f=(struct read_data *)malloc(sizeof(*f))) == NULL) { malloc 64 ext/zip/lib/zip_source_crc.c if ((ctx=(struct crc *)malloc(sizeof(*ctx))) == NULL) { malloc 75 ext/zip/lib/zip_source_deflate.c if ((ctx=(struct deflate *)malloc(sizeof(*ctx))) == NULL) { malloc 91 ext/zip/lib/zip_source_filep.c if ((f=(struct read_file *)malloc(sizeof(struct read_file))) == NULL) { malloc 66 ext/zip/lib/zip_source_function.c if ((src=(struct zip_source *)malloc(sizeof(*src))) == NULL) { malloc 86 ext/zip/lib/zip_source_pkware.c if ((ctx=(struct trad_pkware *)malloc(sizeof(*ctx))) == NULL) { malloc 85 ext/zip/lib/zip_source_zip.c if ((p=(struct read_zip *)malloc(sizeof(*p))) == NULL) { malloc 157 ext/zip/php_zip.c new_state.cwd = (char*)malloc(1); malloc 205 main/alloca.c register pointer new = malloc (sizeof (header) + size); malloc 267 main/main.c binary_location = (char *)malloc(MAXPATHLEN); malloc 274 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 82 main/snprintf.c if ((rve = s = (char *)malloc(ndigit?siz:2)) == NULL) { malloc 103 main/snprintf.c if ((s = (char *)malloc(siz+1)) == NULL) { malloc 1285 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 609 sapi/aolserver/aolserver.c ctx = malloc(sizeof *ctx); malloc 726 sapi/apache/mod_php5.c per_dir_entry->key = (char *) malloc(tmp.key_length+1); malloc 730 sapi/apache/mod_php5.c per_dir_entry->value = (char *) malloc(tmp.value_length+1); malloc 770 sapi/apache/mod_php5.c per_dir_info = (HashTable *) malloc(sizeof(HashTable)); malloc 818 sapi/apache/mod_php5.c per_dir_entry.key = (char *) malloc(per_dir_entry.key_length+1); malloc 822 sapi/apache/mod_php5.c per_dir_entry.value = (char *) malloc(per_dir_entry.value_length+1); malloc 779 sapi/apache_hooks/mod_php5.c per_dir_entry->key = (char *) malloc(tmp.key_length+1); malloc 783 sapi/apache_hooks/mod_php5.c per_dir_entry->value = (char *) malloc(tmp.value_length+1); malloc 839 sapi/apache_hooks/mod_php5.c conf = (php_per_server_config *) malloc(sizeof(php_per_server_config)); malloc 855 sapi/apache_hooks/mod_php5.c conf = (php_per_dir_config *) malloc(sizeof(php_per_dir_config)); malloc 856 sapi/apache_hooks/mod_php5.c conf->ini_settings = (HashTable *) malloc(sizeof(HashTable)); malloc 916 sapi/apache_hooks/mod_php5.c per_dir_entry.key = (char *) malloc(per_dir_entry.key_length+1); malloc 920 sapi/apache_hooks/mod_php5.c per_dir_entry.value = (char *) malloc(per_dir_entry.value_length+1); malloc 933 sapi/apache_hooks/mod_php5.c handler = (php_handler *) malloc(sizeof(php_handler)); malloc 952 sapi/apache_hooks/mod_php5.c handler = (php_handler *) malloc(sizeof(php_handler)); malloc 705 sapi/caudium/caudium.c THIS = malloc(sizeof(php_caudium_request)); malloc 584 sapi/cgi/cgi_main.c buf = (char *) malloc(len); malloc 734 sapi/cgi/cgi_main.c char *buf = malloc(len+2); malloc 2292 sapi/cgi/cgi_main.c s = malloc(len); malloc 184 sapi/cgi/fastcgi.c h->buckets = (fcgi_hash_buckets*)malloc(sizeof(fcgi_hash_buckets)); malloc 187 sapi/cgi/fastcgi.c h->data = (fcgi_data_seg*)malloc(sizeof(fcgi_data_seg) - 1 + FCGI_HASH_SEG_SIZE); malloc 240 sapi/cgi/fastcgi.c fcgi_data_seg *p = (fcgi_data_seg*)malloc(sizeof(fcgi_data_seg) - 1 + seg_size); malloc 272 sapi/cgi/fastcgi.c fcgi_hash_buckets *b = (fcgi_hash_buckets*)malloc(sizeof(fcgi_hash_buckets)); malloc 511 sapi/cgi/fastcgi.c acl = malloc(req_acl_size); malloc 698 sapi/cgi/fastcgi.c allowed_clients = malloc(sizeof(in_addr_t) * (n+2)); malloc 1349 sapi/cli/php_cli.c ini_entries = malloc(sizeof(HARDCODED_INI)); malloc 185 sapi/cli/ps_title.c new_environ = (char **) malloc((i + 1) * sizeof(char *)); malloc 186 sapi/cli/ps_title.c frozen_environ = (char **) malloc((i + 1) * sizeof(char *)); malloc 217 sapi/cli/ps_title.c new_argv = (char **) malloc((argc + 1) * sizeof(char *)); malloc 480 sapi/continuity/capi.c request_context = (capi_request_context *) malloc(sizeof(capi_request_context)); malloc 188 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 260 sapi/fpm/fpm/fastcgi.c allowed_clients = malloc(sizeof(in_addr_t) * (n+2)); 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 544 sapi/fpm/fpm/fpm_conf.c kv = malloc(sizeof(*kv)); malloc 595 sapi/fpm/fpm/fpm_conf.c wp->config = malloc(sizeof(struct fpm_worker_pool_config_s)); malloc 1033 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 257 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 672 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 57 sapi/fpm/fpm/fpm_worker_pool.c ret = malloc(sizeof(struct fpm_worker_pool_s)); malloc 616 sapi/litespeed/lsapilib.c pReq->m_pRespBuf = pReq->m_pRespBufPos = (char *)malloc( LSAPI_RESP_BUF_SIZE ); malloc 1589 sapi/litespeed/lsapilib.c g_prefork_server = (lsapi_prefork_server *)malloc( sizeof( lsapi_prefork_server ) ); malloc 190 sapi/phttpd/phttpd.c SG(request_info).path_translated = malloc(MAXPATHLEN); malloc 573 sapi/thttpd/thttpd.c nhc = malloc(sizeof *nhc); malloc 577 sapi/thttpd/thttpd.c m = malloc(sizeof *m); malloc 115 sapi/tux/php_tux.c vec = malloc(sizeof(struct iovec) * max_headers); malloc 116 sapi/tux/php_tux.c status_line = malloc(30); malloc 719 win32/glob.c malloc(newsize); malloc 740 win32/glob.c if ((copy = malloc(len)) != NULL) { malloc 35 win32/readdir.c filespec = (char *)malloc(strlen(resolved_path_buff) + 2 + 1); malloc 46 win32/readdir.c dp = (DIR *) malloc(sizeof(DIR)); malloc 149 win32/readdir.c filespec = (char *)malloc(strlen(dp->dir) + 2 + 1); malloc 81 win32/registry.c ht = (HashTable*)malloc(sizeof(HashTable)); malloc 87 win32/registry.c data = (zval*)malloc(sizeof(zval)); malloc 183 win32/registry.c PW32G(registry_directories) = (HashTable*)malloc(sizeof(HashTable)); malloc 156 win32/time.c struct timer_msg *msg = malloc(sizeof(struct timer_msg));