malloc 77 admin/alloc-colors.c allocated = malloc (ncolors * sizeof *allocated); malloc 462 exec/trace.c else if ((tracee = malloc (sizeof *tracee))) malloc 518 exec/trace.c else if ((tracee = malloc (sizeof *tracee))) malloc 1267 exec/trace.c tracee = malloc (sizeof *tracee); malloc 86 lib-src/asset-directory-tool.c ptr = malloc (size); malloc 497 lib-src/ebrowse.c void *p = malloc (nbytes); malloc 206 lib-src/emacsclient.c void *result = malloc (size); malloc 284 lib-src/emacsclient.c char *buf = malloc (buf_size); malloc 8030 lib-src/etags.c void *result = malloc (size); malloc 126 lib-src/make-docfile.c void *result = malloc (size); malloc 120 lib-src/make-fingerprint.c buf = malloc (st.st_size + 1); malloc 153 lib-src/movemail.c void *result = malloc (size); malloc 261 lib-src/pop.c server = (popserver) malloc (sizeof (struct _popserver)); malloc 267 lib-src/pop.c server->buffer = (char *) malloc (GETLINE_MIN); malloc 425 lib-src/pop.c *IDs = (int *) malloc ((how_many + 1) * sizeof (int)); malloc 426 lib-src/pop.c *sizes = (int *) malloc ((how_many + 1) * sizeof (int)); malloc 573 lib-src/pop.c ptr = (char *)malloc (bufsize); malloc 1183 lib-src/pop.c ticket = (KTEXT) malloc (sizeof (KTEXT_ST)); malloc 116 lib-src/update-game-score.c char *name = malloc (sizeof uid * CHAR_BIT / 3 + 4); malloc 222 lib-src/update-game-score.c scorefile = malloc (strlen (prefix) + strlen (argv[optind]) + 2); malloc 246 lib-src/update-game-score.c newscore.user_data = malloc (strlen (user) + 1 + strlen (data) + 1); malloc 320 lib-src/update-game-score.c filedata = malloc (filesize + 1); malloc 433 lib-src/update-game-score.c char *tempfile = malloc (strlen (filename) + strlen (".tempXXXXXX") + 1); malloc 464 lib-src/update-game-score.c char *lockpath = malloc (strlen (filename) + strlen (lockext) + 60); malloc 22 lib/allocator.c struct allocator const stdlib_allocator = { malloc, realloc, free, NULL }; malloc 44 lib/dirfd.c struct dirp_fd_list *new_dirp_fd = malloc (sizeof *new_dirp_fd); malloc 208 lib/file-has-acl.c listbuf = heapbuf = malloc (listbufsize); malloc 375 lib/file-has-acl.c (aclent_t *) malloc (alloc * sizeof (aclent_t)); malloc 448 lib/file-has-acl.c entries = malloced = (ace_t *) malloc (alloc * sizeof (ace_t)); malloc 605 lib/file-has-acl.c acl = malloc (aclsize); malloc 133 lib/get-permissions.c ctx->ace_entries = (ace_t *) malloc (ctx->ace_count * sizeof (ace_t)); malloc 188 lib/get-permissions.c ctx->entries = (aclent_t *) malloc (ctx->count * sizeof (aclent_t)); malloc 91 lib/getgroups.c gbuf = malloc (n * sizeof *gbuf); malloc 111 lib/getgroups.c gbuf = malloc (n * sizeof *gbuf); malloc 255 lib/getopt.c else if ((ambig_set = malloc (n_options)) == NULL) malloc 232 lib/gettext.h : (char *) malloc (msgctxt_len + msgid_len)); malloc 280 lib/gettext.h : (char *) malloc (msgctxt_len + msgid_len)); malloc 58 lib/group-member.c gi->group = malloc (nbytes); malloc 43 lib/malloc.c void *result = malloc (n); malloc 65 lib/malloc/dynarray_emplace_enlarge.c new_array = malloc (new_size); malloc 50 lib/malloc/dynarray_finalize.c void *heap_array = malloc (allocation_size); malloc 55 lib/malloc/dynarray_resize.c new_array = malloc (new_size_bytes); malloc 32 lib/malloc/scratch_buffer_dupfree.c void *copy = malloc (size); malloc 37 lib/malloc/scratch_buffer_grow.c new_ptr = malloc (new_length); malloc 37 lib/malloc/scratch_buffer_grow_preserve.c new_ptr = malloc (new_length); malloc 51 lib/malloc/scratch_buffer_set_array_size.c char *new_ptr = malloc (new_length); malloc 69 lib/md5-stream.c char *buffer = malloc (BLOCKSIZE + 72); malloc 302 lib/mini-gmp.c p = malloc (size); malloc 106 lib/openat-proc.c result = malloc (bufsize); malloc 142 lib/openat-proc.c result = malloc (bufsize); malloc 41 lib/realloc.c return malloc (n); malloc 452 lib/regex_internal.h #define re_malloc(t,n) ((t *) malloc ((n) * sizeof (t))) malloc 99 lib/set-permissions.c entries = malloced = (ace_t *) malloc (alloc * sizeof (ace_t)); malloc 565 lib/stdlib.in.h _GL_FUNCDECL_RPL (malloc, void *, malloc 568 lib/stdlib.in.h _GL_CXXALIAS_RPL (malloc, void *, (size_t size)); malloc 572 lib/stdlib.in.h _GL_FUNCDECL_SYS (malloc, void *, malloc 576 lib/stdlib.in.h _GL_CXXALIAS_SYS (malloc, void *, (size_t size)); malloc 579 lib/stdlib.in.h _GL_CXXALIASWARN (malloc); malloc 582 lib/stdlib.in.h # if @GNULIB_FREE_POSIX@ && __GNUC__ >= 11 && !defined malloc malloc 584 lib/stdlib.in.h _GL_FUNCDECL_SYS (malloc, void *, malloc 591 lib/stdlib.in.h _GL_WARN_ON_USE (malloc, "malloc is not POSIX compliant everywhere - " malloc 69 lib/time_rz.c timezone_t tz = malloc (FLEXSIZEOF (struct tm_zone, abbrs, abbr_size)); malloc 332 oldXMenu/Activate.c feq_tmp = (XMEventQue *)malloc(sizeof(XMEventQue)); malloc 518 oldXMenu/Activate.c feq_tmp = (XMEventQue *)malloc(sizeof(XMEventQue)); malloc 614 oldXMenu/Activate.c feq_tmp = (XMEventQue *)malloc(sizeof(XMEventQue)); malloc 618 oldXMenu/Create.c values = (XGCValues *)malloc(sizeof(XGCValues)); malloc 48 oldXMenu/XCrAssoc.c if ((table = (XAssocTable *)malloc(sizeof(XAssocTable))) == NULL) { malloc 89 oldXMenu/XMakeAssoc.c new_entry = (XAssoc *) malloc(sizeof(XAssoc)); malloc 1243 src/alloc.c base = malloc (ABLOCKS_BYTES); malloc 1420 src/alloc.c void *p = clearit ? calloc (1, size) : malloc (size); malloc 4318 src/alloc.c p = malloc (SPARE_MEMORY); malloc 4363 src/alloc.c spare_memory[0] = malloc (SPARE_MEMORY); malloc 4465 src/alloc.c x = malloc (sizeof *x); malloc 78 src/android-asset.h manager = malloc (sizeof *manager); malloc 394 src/android-asset.h buffer = malloc (length); malloc 628 src/android.c container = malloc (sizeof *container); malloc 1133 src/android.c malloc, realloc, free, NULL, malloc 1353 src/android.c android_site_load_path = malloc (PATH_MAX + 1); malloc 1358 src/android.c android_game_path = malloc (PATH_MAX + 1); malloc 4674 src/android.c image->data = malloc (byte_size); malloc 4654 src/androidterm.c buffer = malloc (size * sizeof *buffer); malloc 4901 src/androidterm.c utf16 = malloc (size); malloc 4924 src/androidterm.c utf16 = malloc (size); malloc 1505 src/emacs-module.c storage->current->next = malloc (sizeof *storage->current->next); malloc 1208 src/emacs.c buffer = malloc (size + 1); malloc 1627 src/emacs.c free (realloc (malloc (4), 4)); malloc 224 src/eval.c union specbinding *pdlvec = malloc ((size + 1) * sizeof *specpdl); malloc 1624 src/eval.c c = malloc (sizeof *c); malloc 585 src/ftfont.c struct OpenTypeSpec *spec = malloc (sizeof *spec); malloc 623 src/ftfont.c : malloc (len * sizeof *spec->features[i])); malloc 89 src/gmalloc.c extern void *malloc (size_t size) ATTRIBUTE_MALLOC_SIZE ((1)); malloc 759 src/gmalloc.c result = malloc (BLOCKSIZE); malloc 927 src/gmalloc.c return malloc (size); malloc 1457 src/gmalloc.c result = malloc (bytes); malloc 1539 src/gmalloc.c result = malloc (size + alignment - 1); malloc 1556 src/gmalloc.c result = malloc (size + adj); malloc 1586 src/gmalloc.c l = malloc (sizeof *l); malloc 1717 src/gmalloc.c return malloc (size); malloc 1794 src/gmalloc.c result = malloc (size); malloc 1945 src/gmalloc.c hdr = malloc (sizeof *hdr + size + 1); malloc 897 src/haiku_font_support.cc array = (haiku_font_family_or_style *) malloc (sizeof *array * families); malloc 123 src/haiku_select.cc value = malloc (nbytes); malloc 178 src/json.c return malloc (size); malloc 1598 src/keymap.c newmodes = malloc (allocsize); malloc 1610 src/keymap.c newmaps = malloc (allocsize); malloc 4820 src/pdumper.c cb->mem = malloc (total_size); malloc 379 src/ralloc.c if (! (new_bloc = malloc (BLOC_PTR_SIZE)) malloc 61 src/sfnt.c ptr = malloc (size); malloc 183 src/sysdep.c char **newargv = malloc ((argc + 2) * sizeof *newargv); malloc 335 src/sysdep.c char *buf = malloc (buf_size); malloc 396 src/unexmacosx.c r = malloc (sizeof *r); malloc 692 src/unexmacosx.c lca = malloc (nlc * sizeof *lca); malloc 701 src/unexmacosx.c lca[i] = malloc (lc.cmdsize); malloc 1332 src/unexmacosx.c p = malloc (size); malloc 1365 src/unexmacosx.c p = malloc (new_size); malloc 3677 src/w32.c if (!(dirp = (DIR *) malloc (sizeof (DIR)))) malloc 2774 src/w32fns.c wchar_t *oldTitle = malloc (1024 * sizeof(wchar_t)); malloc 326 src/w32image.c propertyItem = malloc (size); malloc 233 src/w32notify.c ns = malloc (sizeof(struct notifications_set)); malloc 237 src/w32notify.c ns->notifications = malloc (bytes_ret); malloc 1283 src/w32uniscribe.c font_data = malloc (font_data_size); malloc 55 src/w32xfns.c notifications_set_head = malloc (sizeof(struct notifications_set)); malloc 3919 src/xfns.c call_data->text->string.mbs = malloc (0); malloc 28 test/lisp/cedet/semantic-utest-ia-resources/testsppcomplete.c _type *bla = (_type*) malloc(sizeof(_type)); malloc 31 test/lisp/cedet/semantic-utest-ia-resources/testsppcomplete.c (_type*)malloc(sizeof(_type)); malloc 94 test/manual/etags/c-src/emacs/src/gmalloc.c extern void *malloc (size_t size) ATTRIBUTE_MALLOC_SIZE ((1)); malloc 789 test/manual/etags/c-src/emacs/src/gmalloc.c result = malloc (BLOCKSIZE); malloc 963 test/manual/etags/c-src/emacs/src/gmalloc.c return malloc (size); malloc 1489 test/manual/etags/c-src/emacs/src/gmalloc.c result = malloc (bytes); malloc 1573 test/manual/etags/c-src/emacs/src/gmalloc.c result = malloc (size + alignment - 1); malloc 1590 test/manual/etags/c-src/emacs/src/gmalloc.c result = malloc (size + adj); malloc 1620 test/manual/etags/c-src/emacs/src/gmalloc.c l = malloc (sizeof *l); malloc 1722 test/manual/etags/c-src/emacs/src/gmalloc.c extern void *malloc (size_t size); malloc 1739 test/manual/etags/c-src/emacs/src/gmalloc.c return malloc (size); malloc 1794 test/manual/etags/c-src/emacs/src/gmalloc.c return malloc (size); malloc 1800 test/manual/etags/c-src/emacs/src/gmalloc.c result = malloc (size); malloc 1932 test/manual/etags/c-src/emacs/src/gmalloc.c hdr = malloc (sizeof *hdr + size + 1); malloc 6538 test/manual/etags/c-src/etags.c void *result = malloc (size); malloc 397 test/manual/etags/y-src/cccp.c # define YYSTACK_ALLOC YYSTD (malloc) malloc 476 test/manual/etags/y-src/parse.c # define YYSTACK_ALLOC YYSTD (malloc) malloc 32 test/manual/noverlay/emacs-compat.h return malloc (size); malloc 253 test/src/emacs-module-resources/mod-test.c buf = malloc (size); malloc 511 test/src/emacs-module-resources/mod-test.c emacs_limb_t *magnitude = malloc (count * size); malloc 547 test/src/emacs-module-resources/mod-test.c emacs_limb_t *magnitude = malloc (count * size); malloc 729 test/src/emacs-module-resources/mod-test.c char *buffer = length == 0 ? NULL : malloc (length);