malloc 1219 dir.c #define GLOB_ALLOC(type) ((type *)malloc(sizeof(type))) malloc 1220 dir.c #define GLOB_ALLOC_N(type, n) ((type *)malloc(sizeof(type) * (n))) malloc 691 ext/nkf/nkf-utf8/nkf.c ptr = malloc(size); malloc 33 ext/psych/yaml/api.c return malloc(size ? size : 1); malloc 43 ext/psych/yaml/api.c return ptr ? realloc(ptr, size ? size : 1) : malloc(size ? size : 1); malloc 961 ext/readline/readline.c result = (char**)malloc((matches + 2)*sizeof(char*)); malloc 969 ext/readline/readline.c result[i + 1] = (char*)malloc(RSTRING_LEN(temp) + 1); malloc 1001 ext/readline/readline.c result[0] = (char*)malloc(low + 1); malloc 1170 ext/ripper/ripper.c && ! ((defined YYMALLOC || defined malloc) \ malloc 1178 ext/ripper/ripper.c # define YYMALLOC malloc malloc 1179 ext/ripper/ripper.c # if ! defined malloc && ! defined EXIT_SUCCESS malloc 1180 ext/ripper/ripper.c void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ malloc 162 ext/sdbm/_sdbm.c if ((dirname = malloc(n)) == NULL) malloc 205 ext/sdbm/_sdbm.c if ((db = (DBM *) malloc(sizeof(DBM))) == NULL) malloc 172 ext/socket/getaddrinfo.c if (((ai)->ai_canonname = (char *)malloc(strlen(str) + 1)) != NULL) {\ malloc 182 ext/socket/getaddrinfo.c if (((ai) = (struct addrinfo *)malloc(sizeof(struct addrinfo) +\ malloc 103 ext/tk/tkutil/tkutil.c char *newptr = malloc(len + 1); malloc 1377 gc.c sorted = heap_pages_sorted = (struct heap_page **)malloc(size); malloc 2322 gc.c th->altstack = malloc(rb_sigaltstack_size()); malloc 3714 gc.c res = malloc(sizeof(stack_chunk_t)); malloc 5963 gc.c ptr = (char *)malloc(strlen(buff) + 1); malloc 6690 gc.c S(malloc); malloc 7604 gc.c res = malloc(alignment + size + sizeof(void*)); malloc 7782 gc.c TRY_WITH_GC(mem = malloc(size)); malloc 7972 gc.c mem = malloc(size); malloc 8523 gc.c objspace->profile.records = malloc(sizeof(gc_profile_record) * objspace->profile.size); malloc 3275 hash.c mem_ptr = malloc(mem_size); malloc 242 nacl/pepper_main.c char* c_str = (char*)malloc(len + 1); malloc 1173 parse.c && ! ((defined YYMALLOC || defined malloc) \ malloc 1181 parse.c # define YYMALLOC malloc malloc 1182 parse.c # if ! defined malloc && ! defined EXIT_SUCCESS malloc 1183 parse.c void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ malloc 844 re.c *reg = (regex_t* )malloc(sizeof(regex_t)); malloc 173 regint.h #define xmalloc malloc malloc 23 ruby-runner.c char *e = malloc(sizeof(builddir)+n+1); malloc 317 siphash.c if (!(h = (sip_hash *) malloc(sizeof(sip_hash)))) return NULL; malloc 347 siphash.c if (!(ret = (uint8_t *)malloc(sizeof(uint64_t)))) return 0; malloc 95 st.c #define st_alloc_entry() (st_table_entry *)malloc(sizeof(st_table_entry)) malloc 97 st.c #define st_alloc_table() (st_table *)malloc(sizeof(st_table)) malloc 922 thread_pthread.c (struct cached_thread_entry *)malloc(sizeof(struct cached_thread_entry)); malloc 2379 vm.c th->altstack = malloc(rb_sigaltstack_size()); malloc 1477 win32/win32.c tmpcurr = (NtCmdLineElement *)malloc(sizeof(NtCmdLineElement)); malloc 1499 win32/win32.c if (!(buf = malloc(patt->len + 1))) return 0; malloc 1769 win32/win32.c buffer = (char *)malloc(len); malloc 1977 win32/win32.c WCHAR *tmppath = malloc((pathlen + len + 1) * sizeof(WCHAR)); malloc 2009 win32/win32.c if (!(ptr = malloc(len))) return 0; malloc 2025 win32/win32.c if (!(ptr = malloc(sizeof(WCHAR) * len))) return 0; malloc 2139 win32/win32.c memcpy(ptr = malloc(len + 1), RSTRING_PTR(str), len); malloc 3646 win32/win32.c proto_buffers = (WSAPROTOCOL_INFO *)malloc(proto_buffers_len); malloc 4571 win32/win32.c p = malloc(len); malloc 5917 win32/win32.c myenvtop = (char **)malloc(sizeof(char *) * (num + 1));