Searched refs:bmake_malloc (Results 1 - 18 of 18) sorted by relevance

/freebsd-13-stable/contrib/bmake/
H A Dmake_malloc.h30 void *bmake_malloc(size_t);
36 #define bmake_malloc(n) emalloc(n) macro
H A Dmake_malloc.c47 bmake_malloc(size_t len) function
64 p = bmake_malloc(len);
72 char *p = bmake_malloc(len + 1);
H A Dstr.c82 char *result = bmake_malloc(len1 + len2 + 1);
95 char *result = bmake_malloc(len1 + len2 + len3 + 1);
110 char *result = bmake_malloc(len1 + len2 + len3 + len4 + 1);
146 words_buf = bmake_malloc(str_len + 1);
149 words = bmake_malloc((words_cap + 1) * sizeof(char *));
H A Dhash.c134 HashEntry **buckets = bmake_malloc(sizeof *buckets * n);
208 HashEntry **newBuckets = bmake_malloc(sizeof *newBuckets * newSize);
254 he = bmake_malloc(sizeof *he + keylen);
H A Dlst.c42 ListNode *ln = bmake_malloc(sizeof *ln);
55 List *list = bmake_malloc(sizeof *list);
260 v->items = bmake_malloc(v->cap * v->itemSize);
H A Dbuf.c152 buf->data = bmake_malloc(cap);
H A Darch.c536 ar = bmake_malloc(sizeof *ar);
613 struct ar_hdr *cached_hdr = bmake_malloc(
676 ar->fnametab = bmake_malloc(size);
H A Dnonints.h111 SearchPath *path = bmake_malloc(sizeof *path);
H A Djob.c781 char *esc = bmake_malloc(strlen(cmd) * 2 + 1);
2172 shellErrFlag = bmake_malloc(n);
2222 job_table = bmake_malloc((size_t)opts.maxJobs * sizeof *job_table);
2263 fds = bmake_malloc(sizeof *fds * nfds);
2264 jobByFdIndex = bmake_malloc(sizeof *jobByFdIndex * nfds);
2524 shell = bmake_malloc(sizeof *shell);
H A Dfor.c90 ForLoop *f = bmake_malloc(sizeof *f);
H A Dtarg.c185 gn = bmake_malloc(sizeof *gn);
H A Ddir.c296 CachedDir *dir = bmake_malloc(sizeof *dir);
448 cst = bmake_malloc(sizeof *cst);
748 char *s = bmake_malloc(s_len + 1);
H A Dvar.c335 Var *var = bmake_malloc(sizeof *var);
825 newenv = bmake_malloc(2 * sizeof(char *));
1581 char *errbuf = bmake_malloc(errlen);
1734 words.words = bmake_malloc(
1962 buf = bmake_malloc(9);
2707 pattern = bmake_malloc((size_t)(endpat - (mod + 1)) + 1);
2973 res = bmake_malloc(len + 1);
2987 res = bmake_malloc(len + 1);
H A Dmain.c175 st = nf = bmake_malloc(len * 3 + 1);
229 fname = bmake_malloc(len + 20);
H A Dsuff.c468 Suffix *suff = bmake_malloc(sizeof *suff);
1000 Candidate *cand = bmake_malloc(sizeof *cand);
H A Dcond.c1204 cond_states = bmake_malloc(
H A Dmeta.c1141 buf = bmake_malloc(bufsz);
H A Dparse.c345 lf = bmake_malloc(sizeof *lf);

Completed in 150 milliseconds