Home
last modified time | relevance | path

Searched refs:emalloc (Results 1 – 10 of 10) sorted by relevance

/titanic_44/usr/src/cmd/cpc/common/
H A Dstrtoset.c70 static void *emalloc(size_t n);
274 tmp = (tmp_attr_t *)emalloc(sizeof (tmp_attr_t)); in doattr()
356 reqs = (request_t *)emalloc(ncounters * sizeof (request_t)); in cpc_strtoset()
358 attrs = (tmp_attr_t **)emalloc(ncounters * sizeof (tmp_attr_t *)); in cpc_strtoset()
369 attrs[i] = emalloc(sizeof (tmp_attr_t)); in cpc_strtoset()
411 attrlist = (char **)emalloc(nattrs * sizeof (char *)); in cpc_strtoset()
417 toks = (char **)emalloc(ntoks * sizeof (char *)); in cpc_strtoset()
418 tok_info = (tok_info_t *)emalloc(ntoks * sizeof (tok_info_t)); in cpc_strtoset()
420 tok_funcs = (int (**)(int, char *))emalloc(ntoks * in cpc_strtoset()
430 toks[x] = (char *)emalloc(TOK_SIZE); in cpc_strtoset()
[all …]
H A Dsetgrp.c65 static void *emalloc(size_t n);
72 sgrp = emalloc(sizeof (*sgrp)); in cpc_setgrp_new()
152 sgrp->sets[sgrp->nelem].picnums = emalloc(sgrp->sets[sgrp->nelem].nreqs in cpc_setgrp_newset()
155 sgrp->sets[sgrp->nelem].hdr = emalloc((sgrp->sets[sgrp->nelem].nreqs * in cpc_setgrp_newset()
220 new = emalloc(sizeof (*new)); in cpc_setgrp_clone()
221 newa = emalloc(old->nelem * sizeof (*newa)); in cpc_setgrp_clone()
385 emalloc(size_t n) in emalloc() function
H A Dcaps.c85 emalloc(size_t size) in emalloc() function
126 lists = emalloc(npics * sizeof (struct evlist *)); in allpics_equal()
129 lists[i] = emalloc(sizeof (struct evlist)); in allpics_equal()
131 lists[i]->list = emalloc(1); in allpics_equal()
/titanic_44/usr/src/cmd/grpck/
H A Dgrpck.c86 emalloc(size_t size) in emalloc() function
137 t = (struct node *)emalloc(sizeof (*t) + strlen(pwp->pw_name)); in main()
146 emalloc(sizeof (struct group)); in main()
319 emalloc(sizeof (*t) + strlen(nptr)); in main()
328 emalloc(sizeof (struct group)); in main()
357 gp = (struct group *)emalloc(sizeof (struct group)); in main()
/titanic_44/usr/src/cmd/awk_xpg4/
H A Dawk3.c133 np->n_string = (STRING) emalloc(length); in strassign()
172 np->n_string = emalloc(len); in nassign()
203 np->n_string = emalloc(len); in nassign()
334 np->n_string = emalloc(length = (length+1) * sizeof (wchar_t)); in stringnode()
361 new = (STRING)emalloc(len = (wcslen(old)+1) * sizeof (wchar_t)); in strsave()
378 np = (NODE *)emalloc(sizeof (NODE) + in emptynode()
986 cp = emalloc((llen+len+1) * sizeof (wchar_t)); in exprconcat()
1559 fieldbuf = emalloc(NLINE * sizeof (wchar_t)); in fieldsplit()
1616 fieldbuf = emalloc(NLINE * sizeof (wchar_t)); in lfield()
2141 ocp = emalloc(i * sizeof (wchar_t)); in makeindex()
[all …]
H A Dawk1.c93 linebuf = emalloc(NLINE * sizeof (wchar_t)); in main()
249 ofiles = (OFILE *)emalloc(sizeof (OFILE)*NIOSTREAM); in awkvarinit()
1072 p = (char *)emalloc(m); in renode()
1242 emalloc(unsigned n) in emalloc() function
H A Dawk2.c565 cp = emalloc(NLINE * sizeof (wchar_t)); in f_getline()
717 bptr = *cp = emalloc(sizeof (wchar_t) * (cplen + wcslen(fmt))); in xprintf()
H A Dawk.h283 wchar_t *emalloc(unsigned);
H A Dawk4.c631 alist = (NODE **) emalloc(nel*sizeof(NODE *)); in f_asort()
/titanic_44/usr/src/cmd/zic/
H A Dzic.c367 #define emalloc(size) memcheck(imalloc(size)) macro
2077 emalloc((int)((strlen(cp) + 1) * sizeof (*array)));