Home
last modified time | relevance | path

Searched refs:xcalloc (Results 1 – 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/cmd/backup/include/
H A Dmemutils.h37 extern void *xcalloc(size_t, size_t);
41 extern void *xcalloc();
46 NOTE(ALIGNMENT(xcalloc, 8))
/illumos-gate/usr/src/cmd/csh/
H A Dsh.parse.c267 t = (struct command *)xcalloc(1, sizeof (*t)); in syn0()
274 t = (struct command *)xcalloc(1, sizeof (*t)); in syn0()
318 t = (struct command *)xcalloc(1, sizeof (*t)); in syn1()
359 t = (struct command *)xcalloc(1, sizeof (*t)); in syn1a()
400 t = (struct command *)xcalloc(1, sizeof (*t)); in syn1b()
443 t = (struct command *)xcalloc(1, sizeof (*t)); in syn2()
545 t = (struct command *)xcalloc(1, sizeof (*t)); in syn3()
546 av = (tchar **)xcalloc((unsigned)(n + 1), sizeof (tchar **)); in syn3()
H A Dsh.misc.c150 (tchar **)xcalloc((unsigned)(blklen(v) + 1), in saveblk()
191 (tchar **)xcalloc((unsigned)(blklen(up) + blklen(vp) + 1), in blkspl()
333 (tchar **)xcalloc((unsigned)(blklen(v) + 1), in copyblk()
425 (char **)xcalloc((unsigned)(blklen_(up) + blklen_(vp) + 1), in blkspl_()
528 xcalloc(size_t i, size_t j) in xcalloc() function
H A Dsh.dir.c70 dp = (struct directory *)xcalloc(sizeof (struct directory), 1); in dinit()
155 dp = (struct directory *)xcalloc(sizeof (struct directory), 1); in dochngd()
401 dp = (struct directory *)xcalloc(sizeof (struct directory), 1); in dopushd()
H A Dsh.lex.c742 struct wordent *new = (struct wordent *)xcalloc(1, sizeof *wdp); in dosub()
1273 (tchar **)xcalloc((unsigned)(fblocks + 2), sizeof (tchar **)); in expand_fbuf()
1280 fbuf[fblocks] = (tchar *)xcalloc(BUFSIZ + MB_LEN_MAX, in expand_fbuf()
1447 fbuf = (tchar **)xcalloc(2, sizeof (tchar **));
1449 fbuf[0] = (tchar *)xcalloc(BUFSIZ + MB_LEN_MAX, sizeof (tchar));
H A Dsh.h446 extern void *xcalloc(size_t, size_t);
H A Dsh.exec.c322 xcalloc((uint_t)(len + 1), sizeof (char **)); in tconvert()
H A Dsh.c595 pv = (tchar **)xcalloc((unsigned)(i + 2), sizeof (tchar **)); in importpath()
1196 (tchar **)xcalloc((unsigned)(num+ 1), sizeof (tchar **)); in strblktotsblk()
H A Dsh.func.c536 nwp = (struct whyle *)xcalloc(1, sizeof (*nwp)); in doforeach()
577 struct whyle *nwp = (struct whyle *)xcalloc(1, sizeof (*nwp)); in dowhile()
H A Dsh.exp.c603 struct wordent *new = (struct wordent *)xcalloc(1, sizeof *wdp); in evalav()
H A Dsh.file.c570 items = (tchar **)xcalloc(sizeof (items[1]), in search2()
/illumos-gate/usr/src/cmd/sgs/m4/common/
H A Dm4.c69 static void *xcalloc(size_t, size_t);
459 hshtab = xcalloc(hshsize, sizeof (struct nlist *)); in initalloc()
460 callst = xcalloc(stksize/3+1, sizeof (struct call)); in initalloc()
461 Ap = argstk = xcalloc(stksize+3, sizeof (wchar_t *)); in initalloc()
462 ipstk[0] = ipflr = ip = ibuf = xcalloc(bufsize+1, sizeof (wchar_t)); in initalloc()
463 op = obuf = xcalloc(bufsize+1, sizeof (wchar_t)); in initalloc()
464 token = xcalloc(toksize+1, sizeof (wchar_t)); in initalloc()
493 np = xcalloc(1, sizeof (*np)); in install()
498 cp = xcalloc((l = wcslen(val))+1, sizeof (*val)); in install()
868 xcalloc(size_t nbr, size_t size) in xcalloc() function
/illumos-gate/usr/src/tools/ctf/common/
H A Dmemory.h41 void *xcalloc(size_t);
H A Dmemory.c56 xcalloc(size_t size) in xcalloc() function
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpmain.c850 clrmap = (uchar_t *)xcalloc(msiz, sizeof (*clrmap)); in main()
851 filmap = (uchar_t *)xcalloc(msiz, sizeof (*filmap)); in main()
852 dirmap = (uchar_t *)xcalloc(msiz, sizeof (*dirmap)); in main()
853 nodmap = (uchar_t *)xcalloc(msiz, sizeof (*nodmap)); in main()
854 shamap = (uchar_t *)xcalloc(msiz, sizeof (*shamap)); in main()
855 activemap = (uchar_t *)xcalloc(msiz, sizeof (*activemap)); in main()
881 (struct cg *)xcalloc((uint_t)sblock->fs_cgsize, 1); in main()
H A Ddumpitime.c132 idp = (struct idates *)xcalloc(1, sizeof (*idp)); in readitimes()
251 (struct idates *)xcalloc(1, sizeof (*itwalk)); in putitime()
H A Ddumponline.c106 freeinodesc = (struct inodesc *)xcalloc(nused, sizeof (*freeinodesc)); in allocino()
/illumos-gate/usr/src/cmd/backup/lib/
H A Dmemutils.c52 xcalloc(nelem, size) in xcalloc() function
/illumos-gate/usr/src/tools/find_elf/
H A Dfind_elf.c108 static void *xcalloc(size_t, size_t);
386 obj = xcalloc(1, sizeof (*obj)); in process_file()
626 newn = xcalloc(newamt, sizeof (name_t)); in name_new()
856 xcalloc(size_t nelem, size_t elsize) in xcalloc() function
/illumos-gate/usr/src/cmd/cron/
H A Dcron.h119 extern void *xcalloc(size_t, size_t);
H A Dfuncs.c127 xcalloc(size_t nElements, size_t size) in xcalloc() function
/illumos-gate/usr/src/lib/libdemangle/common/
H A Dutil.c47 xcalloc(sysdem_ops_t *ops, size_t n, size_t elsize) in xcalloc() function
H A Ddemangle_int.h104 void *xcalloc(sysdem_ops_t *, size_t, size_t);
H A Drust-v0puny.c90 buf = xcalloc(st->rs_ops, bufalloc, sizeof (uint32_t)); in rustv0_puny_decode()
/illumos-gate/usr/src/tools/ctf/stabs/common/
H A Dfth_struct.c433 mem = xcalloc(sizeof (fth_str_mem_t)); in fth_struct_members_cb()

12