HomeSort by: relevance | last modified time | path
    Searched refs:bmake_malloc (Results 1 - 20 of 20) sorted by relevancy

  /src/usr.bin/make/
make_malloc.h 30 void *bmake_malloc(size_t) MAKE_ATTR_USE;
36 #define bmake_malloc(n) emalloc(n) macro
make_malloc.c 47 bmake_malloc(size_t len) function in typeref:typename:void *
67 p = bmake_malloc(size);
75 char *p = bmake_malloc(len + 1);
str.c 86 char *result = bmake_malloc(len1 + len2 + 1);
99 char *result = bmake_malloc(len1 + len2 + len3 + 1);
138 words_buf = bmake_malloc(str_len + 1);
141 words = bmake_malloc((words_cap + 1) * sizeof(words[0]));
290 words.words = bmake_malloc((swords.len + 1) * sizeof(words.words[0]));
hash.c 139 HashEntry **buckets = bmake_malloc(sizeof *buckets * n);
227 HashEntry **newBuckets = bmake_malloc(sizeof *newBuckets * newSize);
272 he = bmake_malloc(sizeof *he + (size_t)(keyEnd - key));
buf.c 147 buf->data = bmake_malloc(cap);
lst.c 42 ListNode *ln = bmake_malloc(sizeof *ln);
248 v->items = bmake_malloc(v->cap * v->itemSize);
arch.c 434 ar = bmake_malloc(sizeof *ar);
504 struct ar_hdr *cached_hdr = bmake_malloc(
564 ar->fnametab = bmake_malloc(size);
str.h 255 buf->data = bmake_malloc(buf->cap);
targ.c 185 gn = bmake_malloc(sizeof *gn);
for.c 94 ForLoop *f = bmake_malloc(sizeof *f);
dir.c 276 CachedDir *dir = bmake_malloc(sizeof *dir);
428 cst = bmake_malloc(sizeof *cst);
744 char *s = bmake_malloc(s_len + 1);
cond.c 1047 cond_states = bmake_malloc(
1207 guard = bmake_malloc(sizeof(*guard));
1220 guard = bmake_malloc(sizeof(*guard));
job.c 837 char *esc = bmake_malloc(strlen(cmd) * 2 + 1);
2109 job_table = bmake_malloc((size_t)opts.maxJobs * sizeof *job_table);
2142 fds = bmake_malloc(sizeof *fds * nfds);
2143 jobByFdIndex = bmake_malloc(sizeof *jobByFdIndex * nfds);
2365 shell = bmake_malloc(sizeof *shell);
var.c 422 Var *var = bmake_malloc(sizeof *var);
910 newenv = bmake_malloc(2 * sizeof(char *));
1590 char *errbuf = bmake_malloc(errlen);
1745 words.words = bmake_malloc(sizeof(words.words[0]));
1901 buf = bmake_malloc(9);
2774 pattern = bmake_malloc((size_t)(endpat - (mod + 1)) + 1);
3155 char *res = bmake_malloc(n);
3170 char *res = bmake_malloc(n);
3180 char *res = bmake_malloc(n);
make.h 838 SearchPath *path = bmake_malloc(sizeof *path);
suff.c 445 Suffix *suff = bmake_malloc(sizeof *suff);
966 Candidate *cand = bmake_malloc(sizeof *cand);
main.c 167 exploded = bmake_malloc((size_t)(p - flags) * 3 + 1);
217 fname = bmake_malloc(len + 20);
meta.c 1124 buf = bmake_malloc(bufsz);
parse.c 313 List *list = bmake_malloc(sizeof *list);
  /src/usr.bin/make/unit-tests/
directive-include.mk 80 # 2022-01-07, including an empty regular file called bmake_malloc(0), which
82 # Buf_InitSize, which assumes that bmake_malloc never returns NULL, just like

Completed in 32 milliseconds