emalloc 247 Zend/zend.c Z_STRVAL_P(expr_copy) = (char *) emalloc(sizeof("Resource id #") - 1 + MAX_LENGTH_OF_LONG); emalloc 1193 Zend/zend.c params = (zval ***) emalloc(sizeof(zval **)*5); emalloc 203 Zend/zend.h ((use_heap = (UNEXPECTED((size) > (limit)))) ? emalloc(size) : alloca(size)) emalloc 211 Zend/zend.h # define do_alloca(p, use_heap) emalloc(p) emalloc 1111 Zend/zend_API.c CG(static_members_table)[(zend_intptr_t)(class_type->static_members_table)] = emalloc(sizeof(zval*) * class_type->default_static_members_count); emalloc 1113 Zend/zend_API.c class_type->static_members_table = emalloc(sizeof(zval*) * class_type->default_static_members_count); emalloc 1155 Zend/zend_API.c object->properties_table = emalloc(sizeof(zval*) * class_type->default_properties_count); emalloc 2511 Zend/zend_API.c char *lowercase_name = emalloc(orig_class_entry->name_length + 1); emalloc 2881 Zend/zend_API.c fcc->function_handler = emalloc(sizeof(zend_internal_function)); emalloc 3059 Zend/zend_API.c ptr = *callable_name = emalloc(*callable_name_len + 1); emalloc 3109 Zend/zend_API.c ptr = *callable_name = emalloc(*callable_name_len + 1); emalloc 3139 Zend/zend_API.c ptr = *callable_name = emalloc(*callable_name_len + 1); emalloc 3192 Zend/zend_API.c *callable_name = emalloc(*callable_name_len + 1); emalloc 122 Zend/zend_alloc.h #define pemalloc(size, persistent) ((persistent)?__zend_malloc(size):emalloc(size)) emalloc 166 Zend/zend_alloc.h (z) = (zval *) emalloc(sizeof(zval)) emalloc 179 Zend/zend_alloc.h (ht) = (HashTable *) emalloc(sizeof(HashTable)) emalloc 28 Zend/zend_ast.c zend_ast *ast = emalloc(sizeof(zend_ast) + sizeof(zval)); emalloc 38 Zend/zend_ast.c zend_ast *ast = emalloc(sizeof(zend_ast)); emalloc 47 Zend/zend_ast.c zend_ast *ast = emalloc(sizeof(zend_ast) + sizeof(zend_ast*)); emalloc 57 Zend/zend_ast.c zend_ast *ast = emalloc(sizeof(zend_ast) + sizeof(zend_ast*) * 2); emalloc 68 Zend/zend_ast.c zend_ast *ast = emalloc(sizeof(zend_ast) + sizeof(zend_ast*) * 3); /* use 4 children as deafult */ emalloc 359 Zend/zend_ast.c zend_ast *new = emalloc(sizeof(zend_ast) + sizeof(zend_ast*) * (ast->children - 1)); emalloc 1443 Zend/zend_builtin_functions.c emalloc(leakbytes); emalloc 1808 Zend/zend_builtin_functions.c eval_code = (char *) emalloc(sizeof("function " LAMBDA_TEMP_FUNCNAME) emalloc 1844 Zend/zend_builtin_functions.c function_name = (char *) emalloc(sizeof("0lambda_")+MAX_LENGTH_OF_LONG); emalloc 1974 Zend/zend_builtin_functions.c module_names = emalloc((zend_hash_num_elements(&module_registry) + 2) * sizeof(char *)); emalloc 54 Zend/zend_closures.c arguments = emalloc(sizeof(zval**) * ZEND_NUM_ARGS()); emalloc 150 Zend/zend_closures.c zend_function *invoke = (zend_function*)emalloc(sizeof(zend_function)); emalloc 268 Zend/zend_closures.c closure = emalloc(sizeof(zend_closure)); emalloc 2182 Zend/zend_compile.c Z_STRVAL(tmp.u.constant) = (char *) emalloc(Z_STRLEN(tmp.u.constant)+1); emalloc 3372 Zend/zend_compile.c offset = buf = (char *)emalloc(length * sizeof(char)); emalloc 4005 Zend/zend_compile.c char *lowercase_name = emalloc(ce->name_length + 1); emalloc 4626 Zend/zend_compile.c zend_trait_method_reference *method_ref = emalloc(sizeof(zend_trait_method_reference)); emalloc 4664 Zend/zend_compile.c trait_alias = emalloc(sizeof(zend_trait_alias)); emalloc 4680 Zend/zend_compile.c zend_trait_precedence *trait_precedence = emalloc(sizeof(zend_trait_precedence)); emalloc 5171 Zend/zend_compile.c new_class_entry = emalloc(sizeof(zend_class_entry)); emalloc 6060 Zend/zend_compile.c void** list = emalloc(sizeof(void*) * 2); emalloc 7154 Zend/zend_compile.c CG(current_import) = emalloc(sizeof(HashTable)); emalloc 7188 Zend/zend_compile.c char *c_ns_name = emalloc(Z_STRLEN_P(CG(current_namespace)) + 1 + Z_STRLEN_P(name) + 1); emalloc 7262 Zend/zend_compile.c char *c_ns_name = emalloc(Z_STRLEN_P(CG(current_namespace)) + 1 + Z_STRLEN_P(name) + 1); emalloc 7317 Zend/zend_compile.c CG(current_import_function) = emalloc(sizeof(HashTable)); emalloc 7328 Zend/zend_compile.c CG(current_import_const) = emalloc(sizeof(HashTable)); emalloc 36 Zend/zend_dynamic_array.c da->array = (char *) emalloc(size*element_size); emalloc 481 Zend/zend_exceptions.c s_tmp = emalloc(MAX_LENGTH_OF_DOUBLE + EG(precision) + 1); emalloc 533 Zend/zend_exceptions.c s_tmp = emalloc(1 + MAX_LENGTH_OF_LONG + 1 + 1); emalloc 552 Zend/zend_exceptions.c s_tmp = emalloc(Z_STRLEN_PP(file) + MAX_LENGTH_OF_LONG + 4 + 1); emalloc 600 Zend/zend_exceptions.c s_tmp = emalloc(1 + MAX_LENGTH_OF_LONG + 7 + 1); emalloc 1345 Zend/zend_execute.c Z_STRVAL_P(ptr) = (char*)emalloc(2); emalloc 187 Zend/zend_execute.h zend_vm_stack page = (zend_vm_stack)emalloc(ZEND_MM_ALIGNED_SIZE(sizeof(*page)) + sizeof(void*) * count); emalloc 583 Zend/zend_execute_API.c params_array = (zval ***) emalloc(sizeof(zval **)*param_count); emalloc 1044 Zend/zend_execute_API.c Z_STRVAL(pv) = emalloc(Z_STRLEN(pv) + 1); emalloc 206 Zend/zend_gc.h (z) = (zval*)emalloc(sizeof(zval_gc_info)); \ emalloc 224 Zend/zend_generators.c generator = emalloc(sizeof(zend_generator)); emalloc 267 Zend/zend_generators.c zend_op_array *op_array_copy = (zend_op_array*)emalloc(sizeof(zend_op_array)); emalloc 254 Zend/zend_ini_parser.c error_buf = (char *) emalloc(error_buf_len); emalloc 177 Zend/zend_ini_parser.y error_buf = (char *) emalloc(error_buf_len); emalloc 258 Zend/zend_interfaces.c iterator = emalloc(sizeof(zend_user_iterator)); emalloc 558 Zend/zend_language_scanner.c zend_op_array *op_array = (zend_op_array *) emalloc(sizeof(zend_op_array)); emalloc 720 Zend/zend_language_scanner.c zend_op_array *op_array = (zend_op_array *) emalloc(sizeof(zend_op_array)); emalloc 3874 Zend/zend_language_scanner.c zend_heredoc_label *heredoc_label = emalloc(sizeof(zend_heredoc_label)); emalloc 206 Zend/zend_llist.c elements = (zend_llist_element **) emalloc(l->count * sizeof(zend_llist_element *)); emalloc 1023 Zend/zend_object_handlers.c zend_internal_function *call_user_call = emalloc(sizeof(zend_internal_function)); emalloc 1163 Zend/zend_object_handlers.c zend_internal_function *callstatic_user_call = emalloc(sizeof(zend_internal_function)); emalloc 145 Zend/zend_objects.c *object = emalloc(sizeof(zend_object)); emalloc 166 Zend/zend_objects.c new_object->properties_table = emalloc(sizeof(zval*) * old_object->ce->default_properties_count); emalloc 32 Zend/zend_objects_API.c objects->object_buckets = (zend_object_store_bucket *) emalloc(init_size * sizeof(zend_object_store_bucket)); emalloc 336 Zend/zend_objects_API.c *object_clone = emalloc(sizeof(zend_proxy_object)); emalloc 345 Zend/zend_objects_API.c zend_proxy_object *pobj = emalloc(sizeof(zend_proxy_object)); emalloc 62 Zend/zend_opcode.c op_array->refcount = (zend_uint *) emalloc(sizeof(zend_uint)); emalloc 1972 Zend/zend_operators.c t = (char *) emalloc(Z_STRLEN_P(str)+1+1); emalloc 2151 Zend/zend_operators.c return zend_str_tolower_copy((char *)emalloc(length+1), source, length); emalloc 42 Zend/zend_stack.c stack->elements[stack->top] = (void *) emalloc(size); emalloc 27 Zend/zend_static_allocator.c block->pos = block->bp = (char *) emalloc(block_size); emalloc 47 Zend/zend_static_allocator.c sa->Blocks = (Block *) emalloc(sizeof(Block)); emalloc 259 Zend/zend_stream.c *buf = emalloc(remain); emalloc 77 Zend/zend_string.h char *buf = (char *) emalloc(new_len); emalloc 152 Zend/zend_virtual_cwd.c (d)->cwd = (char *) emalloc((s)->cwd_length+1); \ emalloc 531 Zend/zend_virtual_cwd.c retval = (char *) emalloc(2); emalloc 546 Zend/zend_virtual_cwd.c retval = (char *) emalloc(*length+1); emalloc 1435 Zend/zend_virtual_cwd.c new_state.cwd = (char*)emalloc(1); emalloc 1448 Zend/zend_virtual_cwd.c new_state.cwd = (char*)emalloc(1); emalloc 1914 Zend/zend_virtual_cwd.c ptr = command_line = (char *) emalloc(command_length + sizeof("cd '' ; ") + dir_length + extra+1+1); emalloc 1961 Zend/zend_virtual_cwd.c new_state.cwd = (char*)emalloc(1); emalloc 1975 Zend/zend_virtual_cwd.c new_state.cwd = (char*)emalloc(1); emalloc 2280 Zend/zend_vm_def.h tmp->value.str.val = emalloc(1); emalloc 680 Zend/zend_vm_execute.h tmp->value.str.val = emalloc(1); emalloc 155 ext/bcmath/libbcmath/src/output.c temp = (stk_rec *) emalloc (sizeof(stk_rec)); emalloc 66 ext/bcmath/libbcmath/src/recmul.c temp = (bc_num) emalloc (sizeof(bc_struct)); emalloc 200 ext/bz2/bz2.c self = emalloc(sizeof(*self)); emalloc 352 ext/bz2/bz2.c Z_STRVAL_P(return_value) = emalloc(len + 1); emalloc 512 ext/bz2/bz2.c dest = emalloc(dest_len + 1); emalloc 567 ext/bz2/bz2.c bzs.next_out = dest = emalloc(bzs.avail_out + 1); emalloc 277 ext/com_dotnet/com_extension.c typelib_name_buffer = (char *) emalloc(sizeof(char)*1024); emalloc 358 ext/com_dotnet/com_handlers.c func = emalloc(sizeof(*fptr)); emalloc 646 ext/com_dotnet/com_handlers.c cloneobj = (php_com_dotnet_object*)emalloc(sizeof(php_com_dotnet_object)); emalloc 671 ext/com_dotnet/com_handlers.c obj = emalloc(sizeof(*obj)); emalloc 50 ext/com_dotnet/com_misc.c obj = emalloc(sizeof(*obj)); emalloc 73 ext/com_dotnet/com_misc.c obj = emalloc(sizeof(*obj)); emalloc 58 ext/com_dotnet/com_olechar.c olestring = (OLECHAR*)emalloc(sizeof(OLECHAR)); emalloc 87 ext/com_dotnet/com_olechar.c string = (char*)emalloc(sizeof(char)); emalloc 716 ext/com_dotnet/com_persist.c clone = emalloc(sizeof(*object)); emalloc 741 ext/com_dotnet/com_persist.c helper = emalloc(sizeof(*helper)); emalloc 425 ext/com_dotnet/com_saproxy.c cloneproxy = emalloc(sizeof(*cloneproxy)); emalloc 517 ext/com_dotnet/com_saproxy.c ptr_ptr = emalloc(sizeof(*ptr_ptr)); emalloc 106 ext/com_dotnet/com_typeinfo.c keyname = emalloc(MaxSubKeyLength); emalloc 107 ext/com_dotnet/com_typeinfo.c libname = emalloc(strlen(search_string) + 1); emalloc 279 ext/com_dotnet/com_wrapper.c params[i] = (zval**)emalloc(sizeof(zval**)); emalloc 1804 ext/curl/interface.c *ch = emalloc(sizeof(php_curl)); emalloc 1827 ext/curl/interface.c (*ch)->to_free->slist = emalloc(sizeof(HashTable)); emalloc 1468 ext/date/php_date.c initial_ts = emalloc(25); emalloc 1700 ext/date/php_date.c buf = (char *) emalloc(buf_len); emalloc 1993 ext/date/php_date.c date_period_it *iterator = emalloc(sizeof(date_period_it)); emalloc 2126 ext/date/php_date.c intern = emalloc(sizeof(php_date_obj)); emalloc 2249 ext/date/php_date.c char *tmpstr = emalloc(sizeof("UTC+05:00")); emalloc 2275 ext/date/php_date.c intern = emalloc(sizeof(php_timezone_obj)); emalloc 2350 ext/date/php_date.c char *tmpstr = emalloc(sizeof("UTC+05:00")); emalloc 2374 ext/date/php_date.c intern = emalloc(sizeof(php_interval_obj)); emalloc 2463 ext/date/php_date.c intern = emalloc(sizeof(php_period_obj)); emalloc 2823 ext/date/php_date.c char *tmp = emalloc(Z_STRLEN_PP(z_date) + Z_STRLEN_PP(z_timezone) + 2); emalloc 3818 ext/date/php_date.c char *tmpstr = emalloc(sizeof("UTC+05:00")); emalloc 82 ext/dba/libcdb/cdb_make.c head = (struct cdb_hplist *) emalloc(sizeof(struct cdb_hplist)); emalloc 110 ext/dba/libflatfile/flatfile.c char *buf = emalloc(buf_size); emalloc 160 ext/dba/libflatfile/flatfile.c char *buf = emalloc(buf_size); emalloc 205 ext/dba/libflatfile/flatfile.c char *buf = emalloc(buf_size); emalloc 248 ext/dba/libflatfile/flatfile.c char *buf = emalloc(buf_size); emalloc 90 ext/dom/dom_iterators.c iter = emalloc(sizeof(nodeIterator)); emalloc 111 ext/dom/dom_iterators.c iter = emalloc(sizeof(notationIterator)); emalloc 271 ext/dom/dom_iterators.c iterator = emalloc(sizeof(php_dom_iterator)); emalloc 161 ext/dom/php_dom.c doc_props = emalloc(sizeof(libxml_doc_props)); emalloc 1149 ext/dom/php_dom.c intern = emalloc(sizeof(dom_xpath_object)); emalloc 1152 ext/dom/php_dom.c intern = emalloc(sizeof(dom_object)); emalloc 1294 ext/dom/php_dom.c intern->ptr = emalloc(sizeof(dom_nnodemap_object)); emalloc 367 ext/enchant/enchant.c broker = (enchant_broker *) emalloc(sizeof(enchant_broker)); emalloc 557 ext/enchant/enchant.c pbroker->dict = (enchant_dict **)emalloc(sizeof(enchant_dict *)); emalloc 561 ext/enchant/enchant.c dict = pbroker->dict[pos] = (enchant_dict *)emalloc(sizeof(enchant_dict)); emalloc 613 ext/enchant/enchant.c pbroker->dict = (enchant_dict **)emalloc(sizeof(enchant_dict *)); emalloc 617 ext/enchant/enchant.c dict = pbroker->dict[pos] = (enchant_dict *)emalloc(sizeof(enchant_dict)); emalloc 355 ext/ereg/ereg.c buf = emalloc(string_len); emalloc 476 ext/ereg/ereg.c nbuf = emalloc(buf_len); emalloc 572 ext/ereg/ereg.c pattern = emalloc(2); emalloc 585 ext/ereg/ereg.c replace = emalloc(2); emalloc 75 ext/exif/exif.c # define safe_emalloc(a,b,c) emalloc((a)*(b)+(c)) emalloc 102 ext/fileinfo/fileinfo.c intern = emalloc(sizeof(struct finfo_object)); emalloc 335 ext/fileinfo/fileinfo.c finfo = emalloc(sizeof(struct php_fileinfo)); emalloc 374 ext/fileinfo/libmagic/apprentice.c if ((ml = CAST(struct mlist *, emalloc(sizeof(*ml)))) == NULL) emalloc 481 ext/fileinfo/libmagic/apprentice.c if ((ms->c.li = CAST(struct level_info *, emalloc(len))) == NULL) emalloc 1115 ext/fileinfo/libmagic/apprentice.c if ((*ma = CAST(struct magic *, emalloc(slen))) == NULL) { emalloc 1557 ext/fileinfo/libmagic/apprentice.c if ((m = CAST(struct magic *, emalloc(len))) == NULL) { emalloc 2653 ext/fileinfo/libmagic/apprentice.c if ((map->p = CAST(void *, emalloc(map->len))) == NULL) { emalloc 2692 ext/fileinfo/libmagic/apprentice.c map->p = emalloc(sizeof(php_magic_database)); emalloc 142 ext/fileinfo/libmagic/ascmagic.c if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) { emalloc 347 ext/fileinfo/libmagic/compress.c if ((*newch = CAST(unsigned char *, emalloc(HOWMANY + 1))) == NULL) { emalloc 474 ext/fileinfo/libmagic/compress.c *newch = (unsigned char *) emalloc(HOWMANY + 1); emalloc 419 ext/fileinfo/libmagic/funcs.c emalloc(len) : emalloc 367 ext/fileinfo/libmagic/magic.c buf = emalloc(HOWMANY + SLOP); emalloc 340 ext/filter/logical_filters.c num = p = emalloc(len+1); emalloc 1456 ext/gd/gd.c font = (gdFontPtr) emalloc(sizeof(gdFont)); emalloc 1499 ext/gd/gd.c font->data = emalloc(body_size); emalloc 3966 ext/gd/gd.c font = (int *) emalloc(sizeof(int)); emalloc 141 ext/gd/gd_ctx.c ctx = emalloc(sizeof(gdIOCtx)); emalloc 154 ext/gd/gd_ctx.c ctx = emalloc(sizeof(gdIOCtx)); emalloc 16 ext/gd/libgd/gdhelpers.h #define gdMalloc(size) emalloc(size) emalloc 394 ext/gmp/gmp.c gmp_object *intern = emalloc(sizeof(gmp_object)); emalloc 801 ext/gmp/gmp.c out_string = emalloc(num_len + 1); emalloc 1186 ext/gmp/gmp.c char *out_string = emalloc(out_len + 1); emalloc 156 ext/hash/hash.c context = emalloc(ops->context_size); emalloc 171 ext/hash/hash.c digest = emalloc(ops->digest_size + 1); emalloc 273 ext/hash/hash.c context = emalloc(ops->context_size); emalloc 275 ext/hash/hash.c K = emalloc(ops->block_size); emalloc 276 ext/hash/hash.c digest = emalloc(ops->digest_size + 1); emalloc 364 ext/hash/hash.c context = emalloc(ops->context_size); emalloc 367 ext/hash/hash.c hash = emalloc(sizeof(php_hash_data)); emalloc 374 ext/hash/hash.c char *K = emalloc(ops->block_size); emalloc 510 ext/hash/hash.c digest = emalloc(digest_len + 1); emalloc 572 ext/hash/hash.c context = emalloc(hash->ops->context_size); emalloc 581 ext/hash/hash.c copy_hash = emalloc(sizeof(php_hash_data)); emalloc 650 ext/hash/hash.c context = emalloc(ops->context_size); emalloc 653 ext/hash/hash.c K1 = emalloc(ops->block_size); emalloc 654 ext/hash/hash.c K2 = emalloc(ops->block_size); emalloc 655 ext/hash/hash.c digest = emalloc(ops->digest_size); emalloc 656 ext/hash/hash.c temp = emalloc(ops->digest_size); emalloc 784 ext/hash/hash.c unsigned char *dummy = emalloc(hash->ops->digest_size); emalloc 972 ext/hash/hash.c context = emalloc(ops->context_size); emalloc 976 ext/hash/hash.c digest = emalloc(ops->digest_size + 1); emalloc 583 ext/iconv/iconv.c out_buffer = (char *) emalloc(out_size + 1); emalloc 649 ext/iconv/iconv.c out_buf = (char *) emalloc(bsz+1); emalloc 1248 ext/imap/php_imap.c imap_le_struct = emalloc(sizeof(pils)); emalloc 2816 ext/imap/php_imap.c out = emalloc(outlen + 1); emalloc 2932 ext/imap/php_imap.c out = emalloc(outlen + 1); emalloc 3780 ext/imap/php_imap.c tmp = emalloc(SENDBUFLEN + 1); emalloc 3791 ext/imap/php_imap.c tempstring = emalloc(l); emalloc 3804 ext/imap/php_imap.c mystring = emalloc(l + CRLF_LEN + 1); emalloc 3913 ext/imap/php_imap.c bufferHeader = (char *)emalloc(bufferLen + 1); emalloc 220 ext/interbase/ibase_blobs.c ib_blob = (ibase_blob *) emalloc(sizeof(ibase_blob)); emalloc 264 ext/interbase/ibase_blobs.c ib_blob = (ibase_blob *) emalloc(sizeof(ibase_blob)); emalloc 345 ext/interbase/ibase_query.c ib_query->out_sqlda = (XSQLDA *) emalloc(XSQLDA_LENGTH(1)); emalloc 375 ext/interbase/ibase_query.c ib_query->in_sqlda = emalloc(XSQLDA_LENGTH(1)); emalloc 774 ext/interbase/ibase_query.c void *array_data = emalloc(ar->ar_size); emalloc 824 ext/interbase/ibase_query.c var->sqldata = emalloc(sizeof(short)); emalloc 827 ext/interbase/ibase_query.c var->sqldata = emalloc(sizeof(ISC_LONG)); emalloc 830 ext/interbase/ibase_query.c var->sqldata = emalloc(sizeof(float)); emalloc 833 ext/interbase/ibase_query.c var->sqldata = emalloc(sizeof(double)); emalloc 836 ext/interbase/ibase_query.c var->sqldata = emalloc(sizeof(ISC_INT64)); emalloc 839 ext/interbase/ibase_query.c var->sqldata = emalloc(sizeof(ISC_TIMESTAMP)); emalloc 842 ext/interbase/ibase_query.c var->sqldata = emalloc(sizeof(ISC_DATE)); emalloc 845 ext/interbase/ibase_query.c var->sqldata = emalloc(sizeof(ISC_TIME)); emalloc 849 ext/interbase/ibase_query.c var->sqldata = emalloc(sizeof(ISC_QUAD)); emalloc 854 ext/interbase/ibase_query.c var->sqlind = emalloc(sizeof(short)); emalloc 895 ext/interbase/ibase_query.c trans = (ibase_trans *) emalloc(sizeof(ibase_trans)); emalloc 902 ext/interbase/ibase_query.c ib_query->link->tr_list = (ibase_tr_list *) emalloc(sizeof(ibase_tr_list)); emalloc 909 ext/interbase/ibase_query.c *l = (ibase_tr_list *) emalloc(sizeof(ibase_tr_list)); emalloc 945 ext/interbase/ibase_query.c res = emalloc(sizeof(ibase_result)+sizeof(ibase_array)*max(0,ib_query->out_array_cnt-1)); emalloc 955 ext/interbase/ibase_query.c out_sqlda = res->out_sqlda = emalloc(XSQLDA_LENGTH(ib_query->out_sqlda->sqld)); emalloc 967 ext/interbase/ibase_query.c in_sqlda = emalloc(XSQLDA_LENGTH(ib_query->in_sqlda->sqld)); emalloc 1126 ext/interbase/ibase_query.c ib_link = (ibase_db_link *) emalloc(sizeof(ibase_db_link)); emalloc 1611 ext/interbase/ibase_query.c void *ar_data = emalloc(ib_array->ar_size); emalloc 1769 ext/interbase/ibase_query.c ib_query = (ibase_query *) emalloc(sizeof(ibase_query)); emalloc 243 ext/interbase/ibase_service.c svm = (ibase_service*)emalloc(sizeof(ibase_service)); emalloc 995 ext/interbase/interbase.c ib_link = (ibase_db_link *) emalloc(sizeof(ibase_db_link)); emalloc 1257 ext/interbase/interbase.c ib_link[i]->tr_list = (ibase_tr_list *) emalloc(sizeof(ibase_tr_list)); emalloc 1264 ext/interbase/interbase.c *l = (ibase_tr_list *) emalloc(sizeof(ibase_tr_list)); emalloc 1282 ext/interbase/interbase.c ib_link->tr_list = (ibase_tr_list *) emalloc(sizeof(ibase_tr_list)); emalloc 1291 ext/interbase/interbase.c tr = (ibase_trans *) emalloc(sizeof(ibase_trans)); emalloc 116 ext/intl/breakiterator/breakiterator_iterators.cpp static_cast<zoi_with_current*>(emalloc(sizeof *zoi_iter)); emalloc 185 ext/intl/breakiterator/breakiterator_iterators.cpp res = static_cast<char*>(emalloc(len + 1)); emalloc 229 ext/intl/breakiterator/breakiterator_iterators.cpp ii->iterator = (zend_object_iterator*)emalloc(sizeof(zoi_break_iter_parts)); emalloc 215 ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp char *ret_rules = static_cast<char*>(emalloc(rules_len + 1)); emalloc 605 ext/intl/collator/collator_sort.c key = emalloc(key_len); emalloc 147 ext/intl/common/common_enum.cpp ii->iterator = (zend_object_iterator*)emalloc(sizeof(zoi_with_current)); emalloc 44 ext/intl/dateformat/dateformat_format.c formatted=(UChar*)emalloc(sizeof(UChar) * resultlengthneeded); emalloc 143 ext/intl/idn/idn.c char *buffer = emalloc(buffer_capac); emalloc 130 ext/intl/intl_convert.c dst_buf = emalloc( dst_len+1 ); emalloc 65 ext/intl/intl_convertcpp.cpp *res = (char*)emalloc(1); emalloc 71 ext/intl/intl_convertcpp.cpp *res = (char*)emalloc(capacity); emalloc 86 ext/intl/msgformat/msgformat_data.c UChar *npattern = emalloc(sizeof(UChar)*(2*(*spattern_len)+1)); emalloc 156 ext/intl/resourcebundle/resourcebundle_iterator.c ResourceBundle_iterator *iterator = emalloc( sizeof( ResourceBundle_iterator ) ); emalloc 244 ext/json/JSON_parser.c JSON_parser jp = (JSON_parser)emalloc(sizeof(struct JSON_parser_struct)); emalloc 369 ext/ldap/ldap.c url = emalloc(urllen); emalloc 967 ext/ldap/ldap.c resultentry = emalloc(sizeof(ldap_resultentry)); emalloc 996 ext/ldap/ldap.c resultentry_next = emalloc(sizeof(ldap_resultentry)); emalloc 1386 ext/ldap/ldap.c ldap_mods[i] = emalloc(sizeof(LDAPMod)); emalloc 1421 ext/ldap/ldap.c ldap_mods[i]->mod_bvalues[0] = (struct berval *) emalloc (sizeof(struct berval)); emalloc 1434 ext/ldap/ldap.c ldap_mods[i]->mod_bvalues[j] = (struct berval *) emalloc (sizeof(struct berval)); emalloc 2227 ext/ldap/ldap.c ctrl = *ctrlp = emalloc(sizeof(**ctrlp)); emalloc 2356 ext/ldap/ldap.c resultentry = emalloc(sizeof(ldap_resultentry)); emalloc 2385 ext/ldap/ldap.c resultentry_next = emalloc(sizeof(ldap_resultentry)); emalloc 992 ext/libxml/libxml.c LIBXML(error_list) = (zend_llist *) emalloc(sizeof(zend_llist)); emalloc 1208 ext/libxml/libxml.c object->node = emalloc(sizeof(php_libxml_node_ptr)); emalloc 1248 ext/libxml/libxml.c object->document = emalloc(sizeof(php_libxml_ref_obj)); emalloc 635 ext/mbstring/mbstring.c return emalloc(sz); emalloc 1096 ext/mbstring/mbstring.c char *result = emalloc(len + 2); emalloc 3859 ext/mbstring/mbstring.c tmp_ptr = emalloc((str)->a + 1); \ emalloc 543 ext/mcrypt/mcrypt.c pm = emalloc(sizeof(php_mcrypt)); emalloc 576 ext/mcrypt/mcrypt.c key_s = emalloc(key_len); emalloc 579 ext/mcrypt/mcrypt.c iv_s = emalloc(iv_size + 1); emalloc 654 ext/mcrypt/mcrypt.c data_s = emalloc(data_size + 1); emalloc 659 ext/mcrypt/mcrypt.c data_s = emalloc(data_size + 1); emalloc 699 ext/mcrypt/mcrypt.c data_s = emalloc(data_size + 1); emalloc 704 ext/mcrypt/mcrypt.c data_s = emalloc(data_size + 1); emalloc 1281 ext/mcrypt/mcrypt.c data_s = emalloc(data_size + 1); emalloc 1286 ext/mcrypt/mcrypt.c data_s = emalloc(data_size + 1); emalloc 228 ext/mcrypt/mcrypt_filter.c iv = emalloc(iv_len + 1); emalloc 574 ext/mssql/php_mssql.c hashed_details = (char *) emalloc(hashed_details_length+1); emalloc 826 ext/mssql/php_mssql.c mssql_ptr = (mssql_link *) emalloc(sizeof(mssql_link)); emalloc 1031 ext/mssql/php_mssql.c res_buf = (unsigned char *) emalloc(res_length+1); emalloc 1082 ext/mssql/php_mssql.c res_buf = (unsigned char *) emalloc(res_length+1); emalloc 1111 ext/mssql/php_mssql.c res_buf = (unsigned char *) emalloc(res_length+1); emalloc 1378 ext/mssql/php_mssql.c result = (mssql_result *) emalloc(sizeof(mssql_result)); emalloc 2175 ext/mssql/php_mssql.c result = (mssql_result *) emalloc(sizeof(mssql_result)); emalloc 990 ext/mysql/php_mysql.c mysql = (php_mysql_conn *) emalloc(sizeof(php_mysql_conn)); emalloc 495 ext/mysqli/mysqli.c intern = emalloc(sizeof(mysqli_object)); emalloc 80 ext/mysqli/mysqli_api.c p_copy = ret = emalloc(strlen(name) + 1 + 2 + 2 + 1); /* space, open, close, NullS */ emalloc 406 ext/mysqli/mysqli_api.c char *p= emalloc(size= var_cnt * (sizeof(char) + sizeof(VAR_BUFFER))); emalloc 422 ext/mysqli/mysqli_api.c stmt->result.buf[ofs].val = (char *)emalloc(sizeof(float)); emalloc 434 ext/mysqli/mysqli_api.c stmt->result.buf[ofs].val = (char *)emalloc(sizeof(double)); emalloc 461 ext/mysqli/mysqli_api.c stmt->result.buf[ofs].val = (char *)emalloc(sizeof(int)); emalloc 474 ext/mysqli/mysqli_api.c stmt->result.buf[ofs].val = (char *)emalloc(stmt->result.buf[ofs].buflen); emalloc 532 ext/mysqli/mysqli_api.c stmt->result.buf[ofs].val = (char *)emalloc(stmt->result.buf[ofs].buflen); emalloc 1047 ext/mysqli/mysqli_api.c tmp= emalloc(11); emalloc 1942 ext/mysqli/mysqli_api.c stmt->query = (char *)emalloc(query_len + 1); emalloc 649 ext/mysqlnd/mysqlnd_alloc.c return emalloc(size); emalloc 114 ext/mysqlnd/mysqlnd_bt.c s_tmp = emalloc(MAX_LENGTH_OF_DOUBLE + EG(precision) + 1); emalloc 169 ext/mysqlnd/mysqlnd_bt.c s_tmp = emalloc(1 + MAX_LENGTH_OF_LONG + 1 + 1); emalloc 179 ext/mysqlnd/mysqlnd_bt.c s_tmp = emalloc(Z_STRLEN_PP(file) + MAX_LENGTH_OF_LONG + 4 + 1); emalloc 220 ext/mysqlnd/mysqlnd_bt.c s_tmp = emalloc(1 + MAX_LENGTH_OF_LONG + 7 + 1); emalloc 420 ext/mysqlnd/mysqlnd_wireprotocol.c zend_uchar * new_auth_plugin_data = emalloc(packet->auth_plugin_data_len); emalloc 55 ext/oci8/oci8_collection.c collection = emalloc(sizeof(php_oci_collection)); emalloc 1649 ext/oci8/oci8_statement.c bind = emalloc(sizeof(php_oci_bind)); emalloc 1708 ext/oci8/oci8_statement.c bind = emalloc(sizeof(php_oci_bind)); emalloc 1747 ext/oci8/oci8_statement.c bind = emalloc(sizeof(php_oci_bind)); emalloc 1787 ext/oci8/oci8_statement.c bind = emalloc(sizeof(php_oci_bind)); emalloc 316 ext/odbc/birdstep.c new = (VConn *)emalloc(sizeof(VConn)); emalloc 363 ext/odbc/birdstep.c res = (Vresult *)emalloc(sizeof(Vresult)); emalloc 415 ext/odbc/birdstep.c res->values[i].value = (char *)emalloc(coldesc+1); emalloc 524 ext/odbc/birdstep.c res->values[indx].value = emalloc(4096); emalloc 985 ext/odbc/php_odbc.c result->values[i].value = (char *)emalloc(27); emalloc 1020 ext/odbc/php_odbc.c result->values[i].value = (char *)emalloc(displaysize + 1); emalloc 1507 ext/odbc/php_odbc.c cursorname = emalloc(max_len + 1); emalloc 1768 ext/odbc/php_odbc.c buf = emalloc(result->longreadlen + 1); emalloc 1925 ext/odbc/php_odbc.c buf = emalloc(result->longreadlen + 1); emalloc 2154 ext/odbc/php_odbc.c field = emalloc(fieldsize); emalloc 2203 ext/odbc/php_odbc.c field = emalloc(fieldsize); emalloc 2307 ext/odbc/php_odbc.c buf = emalloc(result->longreadlen); emalloc 2416 ext/odbc/php_odbc.c char *lpszConnStr = emalloc(CONNSTRSIZE); emalloc 2487 ext/odbc/php_odbc.c ldb = (char*) emalloc(ldb_len); emalloc 320 ext/opcache/Optimizer/block_pass.c zend_block_source *__t = emalloc(sizeof(zend_block_source)); \ emalloc 920 ext/opcache/Optimizer/block_pass.c char *tmp = emalloc(l + 1); emalloc 964 ext/opcache/Optimizer/block_pass.c char *tmp = emalloc(l + 1); emalloc 1191 ext/opcache/Optimizer/block_pass.c zend_op *new_opcodes = emalloc(op_array->last * sizeof(zend_op)); emalloc 1881 ext/opcache/Optimizer/block_pass.c defined_here = emalloc(op_array->T); emalloc 2058 ext/opcache/Optimizer/block_pass.c usage = emalloc(op_array->T); emalloc 359 ext/opcache/Optimizer/compact_literals.c key = emalloc(key_len); emalloc 364 ext/opcache/Optimizer/compact_literals.c key = emalloc(key_len); emalloc 86 ext/opcache/Optimizer/optimize_temp_vars_5.c taken_T = (char *) emalloc(T); emalloc 87 ext/opcache/Optimizer/optimize_temp_vars_5.c start_of_T = (zend_op **) emalloc(T * sizeof(zend_op *)); emalloc 88 ext/opcache/Optimizer/optimize_temp_vars_5.c valid_T = (char *) emalloc(T); emalloc 89 ext/opcache/Optimizer/optimize_temp_vars_5.c map_T = (int *) emalloc(T * sizeof(int)); emalloc 176 ext/opcache/Optimizer/pass1_5.c ptr = (char *)emalloc(final_length + 1); emalloc 43 ext/opcache/Optimizer/zend_optimizer.c *constants = emalloc(sizeof(HashTable)); emalloc 1674 ext/opcache/ZendAccelerator.c char *fname = emalloc(sizeof("phar://") + persistent_script->full_path_len); emalloc 1719 ext/opcache/ZendAccelerator.c new_state.cwd = (char*)emalloc(1); emalloc 1746 ext/opcache/ZendAccelerator.c new_state.cwd = (char*)emalloc(1); emalloc 1773 ext/opcache/ZendAccelerator.c real_path = emalloc(new_state.cwd_length + 1); emalloc 76 ext/opcache/zend_accelerator_util_funcs.c zend_persistent_script *persistent_script = (zend_persistent_script *) emalloc(sizeof(zend_persistent_script)); emalloc 232 ext/opcache/zend_accelerator_util_funcs.c node = emalloc(sizeof(zend_ast) + sizeof(zval)); emalloc 258 ext/opcache/zend_accelerator_util_funcs.c node = emalloc(sizeof(zend_ast) + sizeof(zend_ast*) * (ast->children - 1)); emalloc 362 ext/opcache/zend_accelerator_util_funcs.c q = (Bucket *) emalloc(sizeof(Bucket)); emalloc 365 ext/opcache/zend_accelerator_util_funcs.c q = (Bucket *) emalloc(sizeof(Bucket)); emalloc 368 ext/opcache/zend_accelerator_util_funcs.c q = (Bucket *) emalloc(sizeof(Bucket) + p->nKeyLength); emalloc 373 ext/opcache/zend_accelerator_util_funcs.c q = (Bucket *) emalloc(sizeof(Bucket) - 1 + p->nKeyLength); emalloc 489 ext/opcache/zend_accelerator_util_funcs.c q = (Bucket *) emalloc(sizeof(Bucket)); emalloc 492 ext/opcache/zend_accelerator_util_funcs.c q = (Bucket *) emalloc(sizeof(Bucket)); emalloc 495 ext/opcache/zend_accelerator_util_funcs.c q = (Bucket *) emalloc(sizeof(Bucket) + p->nKeyLength); emalloc 500 ext/opcache/zend_accelerator_util_funcs.c q = (Bucket *) emalloc(sizeof(Bucket) - 1 + p->nKeyLength); emalloc 524 ext/opcache/zend_accelerator_util_funcs.c q->pData = (void *) emalloc(sizeof(zend_function)); emalloc 600 ext/opcache/zend_accelerator_util_funcs.c q = (Bucket *) emalloc(sizeof(Bucket)); emalloc 603 ext/opcache/zend_accelerator_util_funcs.c q = (Bucket *) emalloc(sizeof(Bucket)); emalloc 606 ext/opcache/zend_accelerator_util_funcs.c q = (Bucket *) emalloc(sizeof(Bucket) + p->nKeyLength); emalloc 611 ext/opcache/zend_accelerator_util_funcs.c q = (Bucket *) emalloc(sizeof(Bucket) - 1 + p->nKeyLength); emalloc 635 ext/opcache/zend_accelerator_util_funcs.c q->pData = (void *) emalloc(sizeof(zend_property_info)); emalloc 700 ext/opcache/zend_accelerator_util_funcs.c *pce = ce = emalloc(sizeof(zend_class_entry)); emalloc 713 ext/opcache/zend_accelerator_util_funcs.c ce->default_properties_table = emalloc(sizeof(zval*) * old_ce->default_properties_count); emalloc 733 ext/opcache/zend_accelerator_util_funcs.c ce->default_static_members_table = emalloc(sizeof(zval*) * old_ce->default_static_members_count); emalloc 758 ext/opcache/zend_accelerator_util_funcs.c ce->interfaces = emalloc(sizeof(zend_class_entry *) * ce->num_interfaces); emalloc 812 ext/opcache/zend_accelerator_util_funcs.c trait_aliases = emalloc(sizeof(zend_trait_alias*) * (i + 1)); emalloc 815 ext/opcache/zend_accelerator_util_funcs.c trait_aliases[i] = emalloc(sizeof(zend_trait_alias)); emalloc 817 ext/opcache/zend_accelerator_util_funcs.c trait_aliases[i]->trait_method = emalloc(sizeof(zend_trait_method_reference)); emalloc 850 ext/opcache/zend_accelerator_util_funcs.c trait_precedences = emalloc(sizeof(zend_trait_precedence*) * (i + 1)); emalloc 853 ext/opcache/zend_accelerator_util_funcs.c trait_precedences[i] = emalloc(sizeof(zend_trait_precedence)); emalloc 855 ext/opcache/zend_accelerator_util_funcs.c trait_precedences[i]->trait_method = emalloc(sizeof(zend_trait_method_reference)); emalloc 872 ext/opcache/zend_accelerator_util_funcs.c exclude_from_classes = emalloc(sizeof(zend_class_entry*) * (j + 1)); emalloc 1002 ext/opcache/zend_accelerator_util_funcs.c op_array = (zend_op_array *) emalloc(sizeof(zend_op_array)); emalloc 258 ext/opcache/zend_shared_alloc.c tmp_shared_segments = emalloc(shared_segments_array_size); emalloc 1519 ext/openssl/openssl.c s = emalloc(strlen(spkac) + strlen(spkstr) + 1); emalloc 1567 ext/openssl/openssl.c spkstr_cleaned = emalloc(spkstr_len + 1); emalloc 1628 ext/openssl/openssl.c spkstr_cleaned = emalloc(spkstr_len + 1); emalloc 1686 ext/openssl/openssl.c spkstr_cleaned = emalloc(spkstr_len + 1); emalloc 1784 ext/openssl/openssl.c *out = emalloc(*out_len + 1); emalloc 3495 ext/openssl/openssl.c char *str = emalloc(len + 1); \ emalloc 4001 ext/openssl/openssl.c out_buffer = emalloc(key_length + 1); emalloc 4471 ext/openssl/openssl.c cryptedbuf = emalloc(cryptedlen + 1); emalloc 4529 ext/openssl/openssl.c crypttemp = emalloc(cryptedlen + 1); emalloc 4540 ext/openssl/openssl.c cryptedbuf = emalloc(cryptedlen + 1); emalloc 4594 ext/openssl/openssl.c cryptedbuf = emalloc(cryptedlen + 1); emalloc 4653 ext/openssl/openssl.c crypttemp = emalloc(cryptedlen + 1); emalloc 4664 ext/openssl/openssl.c cryptedbuf = emalloc(cryptedlen + 1); emalloc 4756 ext/openssl/openssl.c sigbuf = emalloc(siglen + 1); emalloc 4885 ext/openssl/openssl.c eks[i] = emalloc(EVP_PKEY_size(pkeys[i]) + 1); emalloc 4899 ext/openssl/openssl.c iv = ivlen ? emalloc(ivlen + 1) : NULL; emalloc 4902 ext/openssl/openssl.c buf = emalloc(data_len + EVP_CIPHER_CTX_block_size(&ctx)); emalloc 4995 ext/openssl/openssl.c buf = emalloc(data_len + 1); emalloc 5088 ext/openssl/openssl.c sigbuf = emalloc(siglen + 1); emalloc 5098 ext/openssl/openssl.c char *digest_str = emalloc(digest_str_len + 1); emalloc 5169 ext/openssl/openssl.c key = emalloc(keylen); emalloc 5183 ext/openssl/openssl.c outbuf = emalloc(outlen + 1); emalloc 5266 ext/openssl/openssl.c key = emalloc(keylen); emalloc 5276 ext/openssl/openssl.c outbuf = emalloc(outlen + 1); emalloc 5358 ext/openssl/openssl.c data = emalloc(DH_size(pkey->pkey.dh) + 1); emalloc 5395 ext/openssl/openssl.c buffer = emalloc(buffer_length + 1); emalloc 688 ext/openssl/xp_ssl.c server_name = emalloc((num_wchars * sizeof(WCHAR)) + sizeof(WCHAR)); emalloc 2110 ext/openssl/xp_ssl.c clisockdata = emalloc(sizeof(*clisockdata)); emalloc 778 ext/pcntl/pcntl.c argv = emalloc(2 * sizeof(char *)); emalloc 794 ext/pcntl/pcntl.c key = emalloc(101); emalloc 807 ext/pcntl/pcntl.c *pair = emalloc(pair_length); emalloc 864 ext/pcntl/pcntl.c psig = emalloc(sizeof(*psig)); emalloc 1210 ext/pcre/php_pcre.c new_buf = emalloc(alloc_len); emalloc 69 ext/pdo/pdo.c char *dest = emalloc(len + 1); emalloc 281 ext/pdo/pdo.c char *new_val = (char *) emalloc(vlen - n_semicolumns + 1); emalloc 1331 ext/pdo/pdo_dbh.c lc_name = emalloc(namelen+1); emalloc 1356 ext/pdo/pdo_dbh.c lc_method_name = emalloc(method_len + 1); emalloc 1574 ext/pdo/pdo_dbh.c dbh = emalloc(sizeof(*dbh)); emalloc 448 ext/pdo/pdo_sql_parser.c plc = emalloc(sizeof(*plc)); emalloc 612 ext/pdo/pdo_sql_parser.c newbuffer = emalloc(newbuffer_len + 1); emalloc 761 ext/pdo/pdo_sql_parser.c *outquery = (char *) emalloc(newbuffer_len + 1); emalloc 364 ext/pdo/pdo_stmt.c char *temp = emalloc(++param->namelen + 1); emalloc 2257 ext/pdo/pdo_stmt.c lc_method_name = emalloc(method_len + 1); emalloc 2424 ext/pdo/pdo_stmt.c stmt = emalloc(sizeof(*stmt)); emalloc 2689 ext/pdo/pdo_stmt.c lc_method_name = emalloc(method_len + 1); emalloc 240 ext/pdo_dblib/dblib_driver.c id = emalloc(32); emalloc 243 ext/pdo_dblib/dblib_stmt.c tmp_ptr = emalloc(*len + 1); emalloc 259 ext/pdo_dblib/dblib_stmt.c tmp_ptr = emalloc(*len + 1); emalloc 270 ext/pdo_dblib/dblib_stmt.c tmp_ptr = emalloc(tmp_len); emalloc 284 ext/pdo_firebird/firebird_driver.c *quoted = emalloc(*quotedlen+1); emalloc 294 ext/pdo_firebird/firebird_driver.c *quoted = c = emalloc(*quotedlen+1); emalloc 425 ext/pdo_firebird/firebird_driver.c new_sql = c = emalloc(sql_len+1); emalloc 201 ext/pdo_firebird/firebird_statement.c col->name = cp = emalloc(colname_len + 1); emalloc 216 ext/pdo_firebird/firebird_statement.c emalloc((len) ? (len * sizeof(type)) : ((*(unsigned long*)lenvar) = sizeof(type)))) emalloc 508 ext/pdo_firebird/firebird_statement.c var->sqlind = (void*)emalloc(var->sqllen + 2*sizeof(short)); emalloc 248 ext/pdo_mysql/mysql_statement.c S->bound_result[i].buffer = emalloc(S->bound_result[i].buffer_length); emalloc 379 ext/pdo_oci/oci_driver.c *quoted = emalloc(*quotedlen+1); emalloc 389 ext/pdo_oci/oci_driver.c *quoted = c = emalloc(*quotedlen+1); emalloc 554 ext/pdo_oci/oci_statement.c S->cols[colno].data = emalloc(S->cols[colno].datalen + 1); emalloc 588 ext/pdo_oci/oci_statement.c S->cols[colno].data = emalloc(S->cols[colno].datalen + 1); emalloc 228 ext/pdo_odbc/odbc_stmt.c buf = emalloc(8192); emalloc 337 ext/pdo_odbc/odbc_stmt.c P = emalloc(sizeof(*P)); emalloc 364 ext/pdo_odbc/odbc_stmt.c P->outbuf = emalloc(P->len + (P->is_unicode ? 2:1)); emalloc 592 ext/pdo_odbc/odbc_stmt.c S->cols[colno].data = emalloc(colsize+1); emalloc 607 ext/pdo_odbc/odbc_stmt.c S->cols[colno].data = emalloc(256); emalloc 651 ext/pdo_odbc/odbc_stmt.c buf2 = emalloc(256); emalloc 733 ext/pdo_odbc/odbc_stmt.c *ptr = emalloc(ulen + 1); emalloc 339 ext/pdo_pgsql/pgsql_driver.c *quoted = emalloc(*quotedlen + 1); emalloc 351 ext/pdo_sqlite/sqlite_driver.c zargs[1] = emalloc(sizeof(zval*)); emalloc 357 ext/pdo_sqlite/sqlite_driver.c zargs[i + is_agg] = emalloc(sizeof(zval *)); emalloc 965 ext/pgsql/pgsql.c notice = (php_pgsql_notice *)emalloc(sizeof(php_pgsql_notice)); emalloc 1886 ext/pgsql/pgsql.c pg_result = (pgsql_result_handle *) emalloc(sizeof(pgsql_result_handle)); emalloc 2026 ext/pgsql/pgsql.c pg_result = (pgsql_result_handle *) emalloc(sizeof(pgsql_result_handle)); emalloc 2109 ext/pgsql/pgsql.c pg_result = (pgsql_result_handle *) emalloc(sizeof(pgsql_result_handle)); emalloc 2233 ext/pgsql/pgsql.c pg_result = (pgsql_result_handle *) emalloc(sizeof(pgsql_result_handle)); emalloc 3400 ext/pgsql/pgsql.c pgsql_lofp = (pgLofp *) emalloc(sizeof(pgLofp)); emalloc 4219 ext/pgsql/pgsql.c query = (char *)emalloc(Z_STRLEN_P(value) + 2); emalloc 4247 ext/pgsql/pgsql.c query = (char *)emalloc(Z_STRLEN_P(value) + 2); emalloc 4418 ext/pgsql/pgsql.c buffer = (unsigned char *) emalloc(buflen); /* isn't NULL terminated */ emalloc 5208 ext/pgsql/pgsql.c pg_result = (pgsql_result_handle *) emalloc(sizeof(pgsql_result_handle)); emalloc 6337 ext/pgsql/pgsql.c Z_STRVAL_P(new_val) = emalloc(to_len); emalloc 6725 ext/pgsql/pgsql.c pgsql_handle = (pgsql_result_handle *) emalloc(sizeof(pgsql_result_handle)); emalloc 720 ext/phar/phar.c buffer = (char *)emalloc(manifest_len); emalloc 796 ext/phar/phar.c sig = (char *) emalloc(signature_len); emalloc 2130 ext/phar/phar.c newpath = emalloc(strlen(path) + newpath_len + 1); emalloc 2133 ext/phar/phar.c newpath = emalloc(strlen(path) + 2); emalloc 626 ext/phar/phar_object.c path_info = emalloc(Z_STRLEN_PP(z_script_name) + entry_len + 1); emalloc 922 ext/phar/stream.c new_str_key = emalloc(new_key_len+1); emalloc 946 ext/phar/stream.c new_str_key = emalloc(new_key_len+1); emalloc 966 ext/phar/stream.c new_str_key = emalloc(new_key_len+1); emalloc 439 ext/phar/util.c *ret = (phar_entry_data *) emalloc(sizeof(phar_entry_data)); emalloc 488 ext/phar/util.c *ret = (phar_entry_data *) emalloc(sizeof(phar_entry_data)); emalloc 553 ext/phar/util.c ret = (phar_entry_data *) emalloc(sizeof(phar_entry_data)); emalloc 1877 ext/phar/util.c sigbuf = emalloc(siglen + 1); emalloc 2023 ext/phar/util.c phar = (phar_archive_data *) emalloc(sizeof(phar_archive_data)); emalloc 429 ext/phar/zip.c sig = (char *) emalloc(entry.uncompressed_filesize); emalloc 749 ext/posix/posix.c p = emalloc(buflen); emalloc 1011 ext/posix/posix.c buf = emalloc(buflen); emalloc 1062 ext/posix/posix.c grbuf = emalloc(grbuflen); emalloc 1130 ext/posix/posix.c buf = emalloc(buflen); emalloc 1179 ext/posix/posix.c pwbuf = emalloc(pwbuflen); emalloc 590 ext/readline/readline_cli.c char *code = emalloc(size); emalloc 123 ext/reflection/php_reflection.c str->string = (char *) emalloc(1024); emalloc 261 ext/reflection/php_reflection.c copy_fptr = emalloc(sizeof(zend_function)); emalloc 1262 ext/reflection/php_reflection.c reference = (parameter_reference*) emalloc(sizeof(parameter_reference)); emalloc 1358 ext/reflection/php_reflection.c reference = (property_reference*) emalloc(sizeof(property_reference)); emalloc 2306 ext/reflection/php_reflection.c ref = (parameter_reference*) emalloc(sizeof(parameter_reference)); emalloc 4887 ext/reflection/php_reflection.c reference = (property_reference*) emalloc(sizeof(property_reference)); emalloc 379 ext/session/mod_files.c *val = emalloc(sbuf.st_size); emalloc 294 ext/session/mod_mm.c ps_mm_path = emalloc(save_path_len + 1 + (sizeof(PS_MM_FILE) - 1) + mod_name_len + euid_len + 1); emalloc 380 ext/session/mod_mm.c *val = emalloc(sd->datalen + 1); emalloc 333 ext/session/session.c hash_context = emalloc(PS(hash_ops)->context_size); emalloc 400 ext/session/session.c digest = emalloc(digest_len + 1); emalloc 423 ext/session/session.c outid = emalloc((size_t)((digest_len + 2) * ((8.0f / PS(hash_bits_per_character)) + 0.5))); emalloc 175 ext/shmop/shmop.c shmop = emalloc(sizeof(struct php_shmop)); emalloc 267 ext/shmop/shmop.c return_string = emalloc(bytes+1); emalloc 2345 ext/simplexml/simplexml.c iterator = emalloc(sizeof(php_sxe_iterator)); emalloc 496 ext/snmp/snmp.c intern = emalloc(sizeof(php_snmp_object)); emalloc 581 ext/snmp/snmp.c dbuf = (char *)emalloc(val_len + 1); emalloc 596 ext/snmp/snmp.c if ((dbuf = (char *)emalloc(val_len + 1))) { emalloc 1008 ext/snmp/snmp.c objid_query->vars = (snmpobjarg *)emalloc(sizeof(snmpobjarg)); emalloc 1037 ext/snmp/snmp.c objid_query->vars = (snmpobjarg *)emalloc(sizeof(snmpobjarg) * zend_hash_num_elements(Z_ARRVAL_PP(oid))); emalloc 1136 ext/snmp/snmp.c *session_p = (php_snmp_session *)emalloc(sizeof(php_snmp_session)); emalloc 1149 ext/snmp/snmp.c session->peername = emalloc(MAX_NAME_LEN); emalloc 1341 ext/snmp/snmp.c u_char *ebuf = (u_char *) emalloc(ebuf_len); emalloc 836 ext/soap/php_encoding.c str = emalloc(str_len+1); emalloc 905 ext/soap/php_encoding.c char *err = emalloc(new_len + 8); emalloc 2461 ext/soap/php_encoding.c dims = emalloc(sizeof(int)); emalloc 2620 ext/soap/php_encoding.c dims = emalloc(sizeof(int)); emalloc 2649 ext/soap/php_encoding.c dims = emalloc(sizeof(int)); emalloc 2672 ext/soap/php_encoding.c dims = emalloc(sizeof(int)); emalloc 2703 ext/soap/php_encoding.c dims = emalloc(sizeof(int)); emalloc 3003 ext/soap/php_encoding.c buf = (char *) emalloc(buf_len); emalloc 3575 ext/soap/php_encoding.c SOAP_GLOBAL(ref_map) = emalloc(sizeof(HashTable)); emalloc 1108 ext/soap/php_http.c char *s = emalloc((p - t) + strlen(new_url->path) + 2); emalloc 1116 ext/soap/php_http.c char *s = emalloc(strlen(new_url->path) + 2); emalloc 1188 ext/soap/php_http.c php_url *new_url = emalloc(sizeof(php_url)); emalloc 1392 ext/soap/php_http.c http_buf = emalloc(1); emalloc 1469 ext/soap/php_http.c http_buf = emalloc(1); emalloc 55 ext/soap/php_schema.c sdl->encoders = emalloc(sizeof(HashTable)); emalloc 72 ext/soap/php_schema.c enc = emalloc(sizeof(encode)); emalloc 169 ext/soap/php_schema.c ctx->sdl->types = emalloc(sizeof(HashTable)); emalloc 173 ext/soap/php_schema.c ctx->attributes = emalloc(sizeof(HashTable)); emalloc 177 ext/soap/php_schema.c ctx->attributeGroups = emalloc(sizeof(HashTable)); emalloc 320 ext/soap/php_schema.c newType = emalloc(sizeof(sdlType)); emalloc 334 ext/soap/php_schema.c sdl->encoders = emalloc(sizeof(HashTable)); emalloc 337 ext/soap/php_schema.c cur_type->encode = emalloc(sizeof(encode)); emalloc 351 ext/soap/php_schema.c newType = emalloc(sizeof(sdlType)); emalloc 361 ext/soap/php_schema.c cur_type->elements = emalloc(sizeof(HashTable)); emalloc 426 ext/soap/php_schema.c newType = emalloc(sizeof(sdlType)); emalloc 435 ext/soap/php_schema.c cur_type->elements = emalloc(sizeof(HashTable)); emalloc 456 ext/soap/php_schema.c newType = emalloc(sizeof(sdlType)); emalloc 470 ext/soap/php_schema.c cur_type->elements = emalloc(sizeof(HashTable)); emalloc 521 ext/soap/php_schema.c newType = emalloc(sizeof(sdlType)); emalloc 530 ext/soap/php_schema.c cur_type->elements = emalloc(sizeof(HashTable)); emalloc 552 ext/soap/php_schema.c newType = emalloc(sizeof(sdlType)); emalloc 566 ext/soap/php_schema.c cur_type->elements = emalloc(sizeof(HashTable)); emalloc 658 ext/soap/php_schema.c cur_type->restrictions = emalloc(sizeof(sdlRestrictions)); emalloc 699 ext/soap/php_schema.c cur_type->restrictions->enumeration = emalloc(sizeof(HashTable)); emalloc 808 ext/soap/php_schema.c (*valptr) = emalloc(sizeof(sdlRestrictionInt)); emalloc 835 ext/soap/php_schema.c (*valptr) = emalloc(sizeof(sdlRestrictionChar)); emalloc 1018 ext/soap/php_schema.c newModel = emalloc(sizeof(sdlContentModel)); emalloc 1020 ext/soap/php_schema.c newModel->u.content = emalloc(sizeof(HashTable)); emalloc 1097 ext/soap/php_schema.c newModel = emalloc(sizeof(sdlContentModel)); emalloc 1104 ext/soap/php_schema.c newModel = emalloc(sizeof(sdlContentModel)); emalloc 1106 ext/soap/php_schema.c newModel->u.content = emalloc(sizeof(HashTable)); emalloc 1118 ext/soap/php_schema.c newType = emalloc(sizeof(sdlType)); emalloc 1122 ext/soap/php_schema.c sdl->groups = emalloc(sizeof(HashTable)); emalloc 1194 ext/soap/php_schema.c newModel = emalloc(sizeof(sdlContentModel)); emalloc 1196 ext/soap/php_schema.c newModel->u.content = emalloc(sizeof(HashTable)); emalloc 1244 ext/soap/php_schema.c newModel = emalloc(sizeof(sdlContentModel)); emalloc 1246 ext/soap/php_schema.c newModel->u.content = emalloc(sizeof(HashTable)); emalloc 1296 ext/soap/php_schema.c newModel = emalloc(sizeof(sdlContentModel)); emalloc 1373 ext/soap/php_schema.c newType = emalloc(sizeof(sdlType)); emalloc 1387 ext/soap/php_schema.c sdl->encoders = emalloc(sizeof(HashTable)); emalloc 1390 ext/soap/php_schema.c cur_type->encode = emalloc(sizeof(encode)); emalloc 1404 ext/soap/php_schema.c newType = emalloc(sizeof(sdlType)); emalloc 1507 ext/soap/php_schema.c newType = emalloc(sizeof(sdlType)); emalloc 1546 ext/soap/php_schema.c sdl->elements = emalloc(sizeof(HashTable)); emalloc 1555 ext/soap/php_schema.c cur_type->elements = emalloc(sizeof(HashTable)); emalloc 1573 ext/soap/php_schema.c sdlContentModelPtr newModel = emalloc(sizeof(sdlContentModel)); emalloc 1742 ext/soap/php_schema.c newAttr = emalloc(sizeof(sdlAttribute)); emalloc 1789 ext/soap/php_schema.c cur_type->attributes = emalloc(sizeof(HashTable)); emalloc 1862 ext/soap/php_schema.c ext = emalloc(sizeof(sdlExtraAttribute)); emalloc 1876 ext/soap/php_schema.c newAttr->extraAttributes = emalloc(sizeof(HashTable)); emalloc 1922 ext/soap/php_schema.c dummy_type = emalloc(sizeof(sdlType)); emalloc 1965 ext/soap/php_schema.c newType = emalloc(sizeof(sdlType)); emalloc 1987 ext/soap/php_schema.c cur_type->attributes = emalloc(sizeof(HashTable)); emalloc 1990 ext/soap/php_schema.c newAttr = emalloc(sizeof(sdlAttribute)); emalloc 2052 ext/soap/php_schema.c new_attr = emalloc(sizeof(sdlExtraAttribute)); emalloc 2110 ext/soap/php_schema.c attr->extraAttributes = emalloc(sizeof(HashTable)); emalloc 2149 ext/soap/php_schema.c newAttr = emalloc(sizeof(sdlAttribute)); emalloc 2157 ext/soap/php_schema.c HashTable *ht = emalloc(sizeof(HashTable)); emalloc 85 ext/soap/php_sdl.c char *nscat = emalloc(len + 1); emalloc 118 ext/soap/php_sdl.c nscat = emalloc(len + 1); emalloc 137 ext/soap/php_sdl.c enc_nscat = emalloc(enc_len + 1); emalloc 297 ext/soap/php_sdl.c Z_STRVAL(new_header) = emalloc(Z_STRLEN_PP(header) + 1); emalloc 480 ext/soap/php_sdl.c h = emalloc(sizeof(sdlSoapBindingFunctionHeader)); emalloc 538 ext/soap/php_sdl.c h->headerfaults = emalloc(sizeof(HashTable)); emalloc 605 ext/soap/php_sdl.c x_param = emalloc(sizeof(sdlParam)); emalloc 643 ext/soap/php_sdl.c binding->headers = emalloc(sizeof(HashTable)); emalloc 681 ext/soap/php_sdl.c parameters = emalloc(sizeof(HashTable)); emalloc 700 ext/soap/php_sdl.c param = emalloc(sizeof(sdlParam)); emalloc 737 ext/soap/php_sdl.c ctx.sdl = emalloc(sizeof(sdl)); emalloc 781 ext/soap/php_sdl.c tmpbinding = emalloc(sizeof(sdlBinding)); emalloc 853 ext/soap/php_sdl.c soapBinding = emalloc(sizeof(sdlSoapBinding)); emalloc 946 ext/soap/php_sdl.c function = emalloc(sizeof(sdlFunction)); emalloc 956 ext/soap/php_sdl.c soapFunctionBinding = emalloc(sizeof(sdlSoapBindingFunction)); emalloc 1032 ext/soap/php_sdl.c function->responseName = emalloc(len + sizeof("Response")); emalloc 1066 ext/soap/php_sdl.c f = emalloc(sizeof(sdlFault)); emalloc 1084 ext/soap/php_sdl.c binding = f->bindingAttributes = emalloc(sizeof(sdlSoapBindingFunctionFault)); emalloc 1121 ext/soap/php_sdl.c function->faults = emalloc(sizeof(HashTable)); emalloc 1143 ext/soap/php_sdl.c ctx.sdl->requests = emalloc(sizeof(HashTable)); emalloc 1156 ext/soap/php_sdl.c ctx.sdl->bindings = emalloc(sizeof(HashTable)); emalloc 1207 ext/soap/php_sdl.c s = emalloc(len+1); emalloc 1242 ext/soap/php_sdl.c attr->extraAttributes = emalloc(sizeof(HashTable)); emalloc 1245 ext/soap/php_sdl.c sdlExtraAttributePtr x = emalloc(sizeof(sdlExtraAttribute)); emalloc 1257 ext/soap/php_sdl.c sdlRestrictionIntPtr x = emalloc(sizeof(sdlRestrictionInt)); emalloc 1271 ext/soap/php_sdl.c sdlRestrictionCharPtr x = emalloc(sizeof(sdlRestrictionChar)); emalloc 1285 ext/soap/php_sdl.c sdlContentModelPtr model = emalloc(sizeof(sdlContentModel)); emalloc 1299 ext/soap/php_sdl.c model->u.content = emalloc(sizeof(HashTable)); emalloc 1339 ext/soap/php_sdl.c type->restrictions = emalloc(sizeof(sdlRestrictions)); emalloc 1354 ext/soap/php_sdl.c type->restrictions->enumeration = emalloc(sizeof(HashTable)); emalloc 1372 ext/soap/php_sdl.c type->elements = emalloc(sizeof(HashTable)); emalloc 1375 ext/soap/php_sdl.c sdlTypePtr t = emalloc(sizeof(sdlType)); emalloc 1386 ext/soap/php_sdl.c type->attributes = emalloc(sizeof(HashTable)); emalloc 1389 ext/soap/php_sdl.c sdlAttributePtr attr = emalloc(sizeof(sdlAttribute)); emalloc 1435 ext/soap/php_sdl.c enc_nscat = emalloc(enc_len + 1); emalloc 1464 ext/soap/php_sdl.c body->headers = emalloc(sizeof(HashTable)); emalloc 1467 ext/soap/php_sdl.c sdlSoapBindingFunctionHeaderPtr tmp = emalloc(sizeof(sdlSoapBindingFunctionHeader)); emalloc 1485 ext/soap/php_sdl.c tmp->headerfaults = emalloc(sizeof(HashTable)); emalloc 1488 ext/soap/php_sdl.c sdlSoapBindingFunctionHeaderPtr tmp2 = emalloc(sizeof(sdlSoapBindingFunctionHeader)); emalloc 1517 ext/soap/php_sdl.c ht = emalloc(sizeof(HashTable)); emalloc 1520 ext/soap/php_sdl.c sdlParamPtr param = emalloc(sizeof(sdlParam)); emalloc 1556 ext/soap/php_sdl.c buf = in = emalloc(st.st_size); emalloc 1587 ext/soap/php_sdl.c sdl = emalloc(sizeof(*sdl)); emalloc 1602 ext/soap/php_sdl.c types[i] = emalloc(sizeof(sdlType)); emalloc 1616 ext/soap/php_sdl.c encoders[i] = emalloc(sizeof(encode)); emalloc 1628 ext/soap/php_sdl.c sdl->groups = emalloc(sizeof(HashTable)); emalloc 1638 ext/soap/php_sdl.c sdl->types = emalloc(sizeof(HashTable)); emalloc 1648 ext/soap/php_sdl.c sdl->elements = emalloc(sizeof(HashTable)); emalloc 1659 ext/soap/php_sdl.c sdl->encoders = emalloc(sizeof(HashTable)); emalloc 1672 ext/soap/php_sdl.c sdl->bindings = emalloc(sizeof(HashTable)); emalloc 1675 ext/soap/php_sdl.c sdlBindingPtr binding = emalloc(sizeof(sdlBinding)); emalloc 1682 ext/soap/php_sdl.c sdlSoapBindingPtr soap_binding = binding->bindingAttributes = emalloc(sizeof(sdlSoapBinding)); emalloc 1699 ext/soap/php_sdl.c sdlFunctionPtr func = emalloc(sizeof(sdlFunction)); emalloc 1712 ext/soap/php_sdl.c sdlSoapBindingFunctionPtr binding = func->bindingAttributes = emalloc(sizeof(sdlSoapBindingFunction)); emalloc 1730 ext/soap/php_sdl.c func->faults = emalloc(sizeof(HashTable)); emalloc 1734 ext/soap/php_sdl.c sdlFaultPtr fault = emalloc(sizeof(sdlFault)); emalloc 1740 ext/soap/php_sdl.c sdlSoapBindingFunctionFaultPtr binding = fault->bindingAttributes = emalloc(sizeof(sdlSoapBindingFunctionFault)); emalloc 1764 ext/soap/php_sdl.c sdl->requests = emalloc(sizeof(HashTable)); emalloc 1982 ext/soap/php_sdl.c tmp_elements = emalloc(sizeof(HashTable)); emalloc 3240 ext/soap/php_sdl.c key = emalloc(len+sizeof("/wsdl-")-1+user_len+sizeof(md5str)); emalloc 1055 ext/soap/soap.c new_enc = emalloc(sizeof(encode)); emalloc 1073 ext/soap/soap.c new_enc->details.map = emalloc(sizeof(soapMapping)); emalloc 1092 ext/soap/soap.c typemap = emalloc(sizeof(HashTable)); emalloc 1132 ext/soap/soap.c service = emalloc(sizeof(soapService)); emalloc 1212 ext/soap/soap.c service->soap_functions.ft = emalloc(sizeof(HashTable)); emalloc 1417 ext/soap/soap.c service->soap_functions.ft = emalloc(sizeof(HashTable)); emalloc 1433 ext/soap/soap.c key = emalloc(key_len + 1); emalloc 1455 ext/soap/soap.c key = emalloc(key_len + 1); emalloc 1464 ext/soap/soap.c service->soap_functions.ft = emalloc(sizeof(HashTable)); emalloc 1721 ext/soap/soap.c char *class_name = emalloc(class_name_len+1); emalloc 1900 ext/soap/soap.c response_name = emalloc(Z_STRLEN(function_name) + sizeof("Response")); emalloc 2054 ext/soap/soap.c *p = emalloc(sizeof(soapHeader)); emalloc 2901 ext/soap/soap.c soap_headers = emalloc(sizeof(HashTable)); emalloc 2916 ext/soap/soap.c HashTable *t = emalloc(sizeof(HashTable)); emalloc 3653 ext/soap/soap.c h = emalloc(sizeof(soapHeader)); emalloc 3677 ext/soap/soap.c h->parameters = emalloc(sizeof(zval*)); emalloc 120 ext/sockets/conversions.c void *ret = emalloc(alloc_size); emalloc 1514 ext/sockets/conversions.c *allocations = emalloc(sizeof **allocations); emalloc 642 ext/sockets/multicast.c addr_table = emalloc(size); emalloc 647 ext/sockets/multicast.c addr_table = emalloc(size); emalloc 682 ext/sockets/multicast.c addr_table = emalloc(size); emalloc 687 ext/sockets/multicast.c addr_table = emalloc(size); emalloc 389 ext/sockets/sockets.c php_socket *php_sock = emalloc(sizeof *php_sock); emalloc 1137 ext/sockets/sockets.c tmpbuf = emalloc(length + 1); emalloc 1580 ext/sockets/sockets.c recv_buf = emalloc(len + 1); emalloc 1663 ext/sockets/sockets.c recv_buf = emalloc(arg3 + 2); emalloc 778 ext/spl/php_spl.c hash = emalloc(33); emalloc 175 ext/spl/spl_array.c intern = emalloc(sizeof(spl_array_object)); emalloc 1177 ext/spl/spl_array.c iterator = emalloc(sizeof(spl_array_it)); emalloc 152 ext/spl/spl_directory.c intern = emalloc(sizeof(spl_filesystem_object)); emalloc 2951 ext/spl/spl_directory.c Z_STRVAL_P(return_value) = emalloc(length + 1); emalloc 125 ext/spl/spl_dllist.c spl_ptr_llist *llist = emalloc(sizeof(spl_ptr_llist)); emalloc 188 ext/spl/spl_dllist.c spl_ptr_llist_element *elem = emalloc(sizeof(spl_ptr_llist_element)); emalloc 212 ext/spl/spl_dllist.c spl_ptr_llist_element *elem = emalloc(sizeof(spl_ptr_llist_element)); emalloc 1266 ext/spl/spl_dllist.c spl_ptr_llist_element *elem = emalloc(sizeof(spl_ptr_llist_element)); emalloc 1316 ext/spl/spl_dllist.c iterator = emalloc(sizeof(spl_dllist_it)); emalloc 247 ext/spl/spl_fixedarray.c intern->array = emalloc(sizeof(spl_fixedarray)); emalloc 602 ext/spl/spl_fixedarray.c intern->array = emalloc(sizeof(spl_fixedarray)); emalloc 624 ext/spl/spl_fixedarray.c intern->array = emalloc(sizeof(spl_fixedarray)); emalloc 1081 ext/spl/spl_fixedarray.c iterator = emalloc(sizeof(spl_fixedarray_it)); emalloc 226 ext/spl/spl_heap.c spl_ptr_heap *heap = emalloc(sizeof(spl_ptr_heap)); emalloc 319 ext/spl/spl_heap.c spl_ptr_heap *heap = emalloc(sizeof(spl_ptr_heap)); emalloc 1114 ext/spl/spl_heap.c iterator = emalloc(sizeof(spl_heap_it)); emalloc 1138 ext/spl/spl_heap.c iterator = emalloc(sizeof(spl_heap_it)); emalloc 439 ext/spl/spl_iterators.c iterator = emalloc(sizeof(spl_recursive_it_iterator)); emalloc 533 ext/spl/spl_iterators.c intern->iterators = emalloc(sizeof(spl_sub_iterator)); emalloc 944 ext/spl/spl_iterators.c intern = emalloc(sizeof(spl_recursive_it_object)); emalloc 1223 ext/spl/spl_iterators.c str = (char *) emalloc(str_len + 1U); emalloc 1282 ext/spl/spl_iterators.c str = (char *) emalloc(str_len + 1U); emalloc 1577 ext/spl/spl_iterators.c _spl_cbfilter_it_intern *cfi = emalloc(sizeof(*cfi)); emalloc 2407 ext/spl/spl_iterators.c intern = emalloc(sizeof(spl_dual_it_object)); emalloc 127 ext/spl/spl_observer.c char *hash = emalloc((hash_len+1)*sizeof(char)); emalloc 156 ext/spl/spl_observer.c char *hash = emalloc(hash_len + 1); emalloc 266 ext/spl/spl_observer.c intern = emalloc(sizeof(spl_SplObjectStorage)); emalloc 483 ext/spl/spl_observer.c hash = emalloc(33); emalloc 501 ext/sqlite3/sqlite3.c free_item = emalloc(sizeof(php_sqlite3_free_list)); emalloc 572 ext/sqlite3/sqlite3.c free_item = emalloc(sizeof(php_sqlite3_free_list)); emalloc 738 ext/sqlite3/sqlite3.c zargs[1] = emalloc(sizeof(zval*)); emalloc 744 ext/sqlite3/sqlite3.c zargs[i + is_agg] = emalloc(sizeof(zval *)); emalloc 896 ext/sqlite3/sqlite3.c zargs[0] = emalloc(sizeof(zval*)); emalloc 897 ext/sqlite3/sqlite3.c zargs[1] = emalloc(sizeof(zval*)); emalloc 1256 ext/sqlite3/sqlite3.c sqlite3_stream = emalloc(sizeof(php_stream_sqlite3_data)); emalloc 1422 ext/sqlite3/sqlite3.c char *temp = emalloc(++param->name_len + 1); emalloc 1686 ext/sqlite3/sqlite3.c free_item = emalloc(sizeof(php_sqlite3_free_list)); emalloc 2191 ext/sqlite3/sqlite3.c intern = emalloc(sizeof(php_sqlite3_db_object)); emalloc 2214 ext/sqlite3/sqlite3.c intern = emalloc(sizeof(php_sqlite3_stmt)); emalloc 2235 ext/sqlite3/sqlite3.c intern = emalloc(sizeof(php_sqlite3_result)); emalloc 1268 ext/standard/array.c Z_STRVAL_P(result) = emalloc(Z_STRLEN_P(result) + 1); emalloc 4023 ext/standard/basic_functions.c ptr = emalloc(size); emalloc 5725 ext/standard/basic_functions.c BG(user_tick_functions) = (zend_llist *) emalloc(sizeof(zend_llist)); emalloc 5761 ext/standard/basic_functions.c tick_fe.arguments = (zval **) emalloc(sizeof(zval *)); emalloc 6011 ext/standard/basic_functions.c string = (char *) emalloc(str_len + ZEND_MMAP_AHEAD); emalloc 168 ext/standard/crypt.c output = emalloc(PHP_MAX_SALT_LEN); emalloc 183 ext/standard/crypt.c output = emalloc(PHP_MAX_SALT_LEN); emalloc 60 ext/standard/datetime.c str = emalloc(81); emalloc 538 ext/standard/dns.c tp = emalloc(dlen + 1); emalloc 88 ext/standard/exec.c buf = (char *) emalloc(EXEC_INPUT_BUF); emalloc 1765 ext/standard/file.c Z_STRVAL_P(return_value) = emalloc(len + 1); emalloc 2034 ext/standard/file.c buf = emalloc(len + 1); emalloc 2066 ext/standard/file.c temp = emalloc(temp_len + line_end_len + 1); emalloc 2392 ext/standard/file.c md->token_data = (char *) emalloc(md->token_len + 1); emalloc 2426 ext/standard/file.c md->token_data = (char *) emalloc(md->token_len + 1); emalloc 401 ext/standard/filestat.c grbuf = emalloc(grbuflen); emalloc 538 ext/standard/filestat.c pwbuf = emalloc(pwbuflen); emalloc 436 ext/standard/formatted_print.c result = emalloc(size); emalloc 761 ext/standard/ftp_fopen_wrapper.c dirsdata = emalloc(sizeof *dirsdata); emalloc 111 ext/standard/head.c cookie = emalloc(len + 100); emalloc 1120 ext/standard/html.c ret = emalloc(new_size); emalloc 1279 ext/standard/html.c replaced = emalloc(maxlen + 1); /* adding 1 is safe: maxlen is even */ emalloc 91 ext/standard/http.c newprefix = emalloc(newprefix_len + 1); emalloc 115 ext/standard/http.c newprefix = emalloc(newprefix_len + 1); emalloc 366 ext/standard/http_fopen_wrapper.c scratch = emalloc(scratch_len); emalloc 381 ext/standard/http_fopen_wrapper.c scratch = emalloc(scratch_len); emalloc 606 ext/standard/http_fopen_wrapper.c ua = emalloc(ua_len + 1); emalloc 739 ext/standard/http_fopen_wrapper.c http_header_line = emalloc(HTTP_HEADER_BLOCK_SIZE); emalloc 453 ext/standard/image.c buffer = emalloc(length); emalloc 817 ext/standard/image.c ifd_data = emalloc(ifd_size); emalloc 1128 ext/standard/math.c resbuf = (char *) emalloc(reslen+1); /* +1 for NUL terminator */ emalloc 340 ext/standard/pack.c output = emalloc(outputsize + 1); emalloc 829 ext/standard/pack.c buf = emalloc(len + 1); emalloc 344 ext/standard/password.c hash_format = emalloc(8); emalloc 99 ext/standard/quot_print.c retval = emalloc(buf_size + 1); emalloc 218 ext/standard/quot_print.c str_out = emalloc(arg1_len + 1); emalloc 1065 ext/standard/string.c char **positions = emalloc(allocated * sizeof(char *)); emalloc 1493 ext/standard/string.c ret = emalloc(len + 1); emalloc 2217 ext/standard/string.c result = emalloc(result_len + 1); emalloc 2417 ext/standard/string.c result = emalloc(result_len + 1); emalloc 2559 ext/standard/string.c result = emalloc(result_len + 1); emalloc 2568 ext/standard/string.c result = emalloc(result_len + 1); emalloc 2576 ext/standard/string.c result = emalloc(result_len + 1); emalloc 2918 ext/standard/string.c *allocs = emalloc(sizeof **allocs); emalloc 2978 ext/standard/string.c PPRES *res = emalloc(sizeof *res); emalloc 3189 ext/standard/string.c n = emalloc(str_len+1); emalloc 3725 ext/standard/string.c new_str = emalloc(length + 1); emalloc 4079 ext/standard/string.c heb_str = (char *) emalloc(str_len+1); emalloc 4158 ext/standard/string.c broken_str = (char *) emalloc(str_len+1); emalloc 4515 ext/standard/string.c norm = emalloc(len+1); emalloc 4610 ext/standard/string.c tbuf = emalloc(PHP_TAG_BUF_SIZE + 1); emalloc 5277 ext/standard/string.c result = (char *)emalloc(input_len + num_pad_chars + 1); emalloc 5520 ext/standard/string.c str = emalloc(str_len); emalloc 312 ext/standard/user_filters.c char *wildcard = emalloc(len + 3); emalloc 603 ext/standard/user_filters.c BG(user_filter_map) = (HashTable*) emalloc(sizeof(HashTable)); emalloc 44 ext/standard/var_unserializer.c var_hash = emalloc(sizeof(var_entries)); emalloc 74 ext/standard/var_unserializer.c var_hash = emalloc(sizeof(var_entries)); emalloc 99 ext/standard/var_unserializer.c var_hash = emalloc(sizeof(var_entries)); emalloc 881 ext/sybase_ct/php_sybase_ct.c sybase_ptr = (sybase_link *) emalloc(sizeof(sybase_link)); emalloc 1312 ext/sybase_ct/php_sybase_ct.c result = (sybase_result *) emalloc(sizeof(sybase_result)); emalloc 1384 ext/sybase_ct/php_sybase_ct.c result->tmp_buffer[i] = (char *)emalloc(result->datafmt[i].maxlength); emalloc 261 ext/sysvmsg/sysvmsg.c mq = (sysvmsg_queue_t *) emalloc(sizeof(sysvmsg_queue_t)); emalloc 287 ext/sysvsem/sysvsem.c sem_ptr = (sysvsem_sem *) emalloc(sizeof(sysvsem_sem)); emalloc 164 ext/sysvshm/sysvshm.c shm_list_ptr = (sysvshm_shm *) emalloc(sizeof(sysvshm_shm)); emalloc 474 ext/tidy/tidy.c return emalloc(len); emalloc 578 ext/tidy/tidy.c errbuf = emalloc(sizeof(TidyBuffer)); emalloc 679 ext/tidy/tidy.c intern = emalloc(sizeof(PHPTidyObj)); emalloc 689 ext/tidy/tidy.c intern->ptdoc = emalloc(sizeof(PHPTidyDoc)); emalloc 693 ext/tidy/tidy.c intern->ptdoc->errbuf = emalloc(sizeof(TidyBuffer)); emalloc 193 ext/wddx/wddx.c stack->elements[stack->top] = (void *) emalloc(size); emalloc 634 ext/wddx/wddx.c tmp_buf = emalloc(name_esc_len + sizeof(WDDX_VAR_S)); emalloc 1098 ext/wddx/wddx.c tmp = emalloc(len + 1); emalloc 1221 ext/wddx/wddx.c packet = (smart_str *)emalloc(sizeof(smart_str)); emalloc 469 ext/xml/compat.c parser = (XML_Parser) emalloc(sizeof(struct _XML_Parser)); emalloc 298 ext/xml/xml.c return emalloc(sz); emalloc 628 ext/xml/xml.c newbuf = emalloc(len + 1); emalloc 667 ext/xml/xml.c char *newbuf = emalloc(len + 1); emalloc 722 ext/xml/xml.c char *buf = emalloc(Z_STRLEN_P(val) + 1); emalloc 396 ext/xmlreader/php_xmlreader.c intern = emalloc(sizeof(xmlreader_object)); emalloc 871 ext/xmlrpc/xmlrpc-epi-php.c xmlrpc_server_data *server = emalloc(sizeof(xmlrpc_server_data)); emalloc 148 ext/xmlwriter/php_xmlwriter.c intern = emalloc(sizeof(ze_xmlwriter_object)); emalloc 1809 ext/xmlwriter/php_xmlwriter.c intern = emalloc(sizeof(xmlwriter_object)); emalloc 1862 ext/xmlwriter/php_xmlwriter.c intern = emalloc(sizeof(xmlwriter_object)); emalloc 119 ext/xsl/php_xsl.c intern = emalloc(sizeof(xsl_object)); emalloc 525 ext/xsl/xsltprocessor.c intern->doc = emalloc(sizeof(php_libxml_node_object)); emalloc 159 ext/zip/php_zip.c # define CWD_STATE_ALLOC(l) emalloc(l) emalloc 1134 ext/zip/php_zip.c intern = emalloc(sizeof(ze_zip_object)); emalloc 1266 ext/zip/php_zip.c rsrc_int = (zip_rsrc *)emalloc(sizeof(zip_rsrc)); emalloc 1317 ext/zip/php_zip.c zr_rsrc = emalloc(sizeof(zip_read_rsrc)); emalloc 1691 ext/zip/php_zip.c s=(char *)emalloc(dirname_len+2); emalloc 1908 ext/zip/php_zip.c ze_obj->buffers = (char **)emalloc(sizeof(char *)); emalloc 1912 ext/zip/php_zip.c ze_obj->buffers[pos] = (char *)emalloc(buffer_len + 1); emalloc 230 ext/zip/zip_stream.c self = emalloc(sizeof(*self)); emalloc 309 ext/zip/zip_stream.c self = emalloc(sizeof(*self)); emalloc 142 ext/zlib/zlib.c output_context->out.data = emalloc(output_context->out.size); emalloc 328 ext/zlib/zlib.c *out_buf = emalloc(*out_len); emalloc 137 ext/zlib/zlib_fopen_wrapper.c self = emalloc(sizeof(*self)); emalloc 335 main/SAPI.c content_type = (char*)emalloc(*len + 1); emalloc 344 main/SAPI.c content_type = (char*)emalloc(*len + 1); emalloc 388 main/SAPI.c newtype = emalloc(newlen + 1); emalloc 804 main/SAPI.c newheader = emalloc(newlen); emalloc 871 main/SAPI.c default_header.header = emalloc(default_header.header_len + 1); emalloc 384 main/fopen_wrappers.c pwbuf = emalloc(pwbuflen); emalloc 414 main/fopen_wrappers.c filename = emalloc(length + path_len + 2); emalloc 654 main/fopen_wrappers.c pathbuf = (char *) emalloc(exec_fname_length + path_length + 1 + 1); emalloc 1314 main/main.c pwbuf = emalloc(pwbuflen); emalloc 240 main/network.c *sap = emalloc(sai->ai_addrlen); emalloc 269 main/network.c *sap = emalloc(sizeof(struct sockaddr_in)); emalloc 605 main/network.c *addr = emalloc(sl); emalloc 646 main/network.c *textaddr = emalloc(len + 1); emalloc 844 main/network.c struct sockaddr_in *in4 = emalloc(sizeof(struct sockaddr_in)); emalloc 859 main/network.c struct sockaddr_in6 *in6 = emalloc(sizeof(struct sockaddr_in6)); emalloc 791 main/output.c context = emalloc(sizeof(php_output_context)); emalloc 887 main/output.c handler->buffer.data = emalloc(handler->buffer.size); emalloc 458 main/php_ini.c php_ini_search_path = (char *) emalloc(search_path_size); emalloc 509 main/php_ini.c default_location = (char *) emalloc(MAXPATHLEN + 1); emalloc 516 main/php_variables.c t = (t == buf ? emalloc(alloc_size): erealloc(t, alloc_size)); emalloc 522 main/rfc1867.c char *result = emalloc(len + 1); emalloc 938 main/rfc1867.c param = emalloc(MAX_SIZE_ANONNAME); emalloc 268 main/streams/filter.c wildname = emalloc(n+3); emalloc 61 main/streams/memory.c tmp = emalloc(ms->fpos + count); emalloc 298 main/streams/memory.c self = emalloc(sizeof(*self)); emalloc 39 main/streams/php_streams_int.h # define emalloc_rel_orig(size) emalloc((size)) emalloc 1477 main/streams/plain_wrapper.c pathbuf = (char *) emalloc(exec_fname_length + path_length +1 +1); emalloc 206 main/streams/streams.c msg = emalloc(l + 1); emalloc 586 main/streams/streams.c chunk_buf = emalloc(stream->chunk_size); emalloc 1100 main/streams/streams.c ret_buf = emalloc(tent_ret_len + 1); emalloc 364 main/streams/userspace.c us = emalloc(sizeof(*us)); emalloc 458 main/streams/userspace.c us = emalloc(sizeof(*us)); emalloc 724 main/streams/xp_socket.c clisockdata = emalloc(sizeof(*clisockdata)); emalloc 871 sapi/cgi/cgi_main.c path = emalloc(path_len + 2); emalloc 1317 sapi/cgi/cgi_main.c path_translated = (char *) emalloc(path_translated_len + 1); emalloc 1336 sapi/cgi/cgi_main.c path_translated = (char *) emalloc(path_translated_len + 1); emalloc 1608 sapi/cgi/cgi_main.c t = (t == buf ? emalloc(alloc_size): erealloc(t, alloc_size)); emalloc 1622 sapi/cgi/cgi_main.c t = (t == buf ? emalloc(alloc_size): erealloc(t, alloc_size)); emalloc 480 sapi/fpm/fpm/fastcgi.c tmp = (tmp == buf ? emalloc(buf_size): erealloc(tmp, buf_size)); emalloc 636 sapi/fpm/fpm/fpm_main.c php_self = emalloc(php_self_len + 1); emalloc 804 sapi/fpm/fpm/fpm_main.c path = emalloc(path_len + 2); emalloc 1286 sapi/fpm/fpm/fpm_main.c path_translated = (char *) emalloc(path_translated_len + 1); emalloc 1305 sapi/fpm/fpm/fpm_main.c path_translated = (char *) emalloc(path_translated_len + 1); emalloc 176 sapi/isapi/php5isapi.c tmp_variable_buf = (char *) emalloc(variable_len); emalloc 259 sapi/isapi/php5isapi.c combined_headers = (char *) emalloc(total_length+1); emalloc 293 sapi/isapi/php5isapi.c status_buf = emalloc(MAX_STATUS_LENGTH + 1); emalloc 366 sapi/isapi/php5isapi.c char *tmp_variable_buf = (char *) emalloc(variable_len+1); emalloc 578 sapi/isapi/php5isapi.c variable_buf = (char *) emalloc(variable_len+1); emalloc 294 sapi/litespeed/lsapi_main.c t = (t == buf ? emalloc(alloc_size): erealloc(t, alloc_size)); emalloc 1330 sapi/phpdbg/phpdbg.c SG(request_info).argv = emalloc(SG(request_info).argc * sizeof(char *)); emalloc 725 sapi/phpdbg/phpdbg_bp.c Z_STRVAL(pv) = emalloc(Z_STRLEN(pv) + 1); emalloc 157 sapi/phpdbg/phpdbg_btree.c phpdbg_btree_branch *memory = *branch = emalloc((i + 2) * sizeof(phpdbg_btree_branch)); emalloc 78 sapi/phpdbg/phpdbg_help.c new = emalloc(size); emalloc 618 sapi/phpdbg/phpdbg_prompt.c char **argv = emalloc(5 * sizeof(char *)); emalloc 177 sapi/phpdbg/phpdbg_watch.c phpdbg_watchpoint_t *new_watch = emalloc(sizeof(phpdbg_watchpoint_t)); emalloc 201 sapi/phpdbg/phpdbg_watch.c phpdbg_watchpoint_t *new_watch = emalloc(sizeof(phpdbg_watchpoint_t)); emalloc 336 sapi/phpdbg/phpdbg_watch.c zval *key = emalloc(sizeof(zval)); emalloc 337 sapi/phpdbg/phpdbg_watch.c phpdbg_watchpoint_t *watch = emalloc(sizeof(phpdbg_watchpoint_t)); emalloc 370 sapi/phpdbg/phpdbg_watch.c phpdbg_watchpoint_t *watch = emalloc(sizeof(phpdbg_watchpoint_t)); emalloc 96 sapi/pi3web/pi3web_sapi.c tmp_variable_buf = (char *) emalloc(variable_len); emalloc 179 sapi/pi3web/pi3web_sapi.c combined_headers = (char *) emalloc(total_length+1); emalloc 254 sapi/pi3web/pi3web_sapi.c char *tmp_variable_buf = (char *) emalloc(variable_len+1); emalloc 301 sapi/pi3web/pi3web_sapi.c variable_buf = (char *) emalloc(variable_len); emalloc 194 sapi/webjames/webjames.c SG(request_info).auth_user = emalloc(colon-WG(conn)->authorization+1); emalloc 38 win32/registry.c reg_key = emalloc(main_key_len + sub_key_len + 1); emalloc 70 win32/registry.c char *name = (char*)emalloc(max_name+1); emalloc 71 win32/registry.c char *value = (char*)emalloc(max_value+1); emalloc 130 win32/registry.c char *name = (char*)emalloc(max_key+1); emalloc 131 win32/registry.c char *new_path = (char*)emalloc(path_len+max_key+2); emalloc 288 win32/registry.c reg_location = emalloc(MAXPATHLEN+1);