Searched refs:malloc (Results 176 - 200 of 2509) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/sed/
H A Dmisc.c62 if ((oe = malloc(s)) == NULL)
63 err(1, "malloc");
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Dmailq.c48 newargv = (char **)malloc((argc + 2) * sizeof (char *));
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dprintlist.c52 slp = malloc(sizeof (struct stringlist));
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Ddemangle.c97 * present buffer size. Use malloc() rather than realloc() so
101 ((_str = malloc(_size)) == 0)) {
/illumos-gate/usr/src/cmd/backup/lib/
H A Dmemutils.c44 cp = malloc(bytes);
/illumos-gate/usr/src/cmd/gettxt/
H A Dgettxt.c68 if ((dfltp = malloc(strlen(argv[2] + 1))) == (char *)NULL) {
69 (void) fprintf(stderr, gettext("malloc failed\n"));
/illumos-gate/usr/src/tools/cscope-fast/
H A Dalloc.c55 /* version of malloc that only returns if successful */
60 return (alloctest(malloc(size)));
/illumos-gate/usr/src/ucblib/libcurses/
H A Ddelwin.c25 #include <malloc.h>
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dscandir.c93 names = (struct direct64 **)malloc(arraysz *
105 p = (struct direct64 *)malloc(DIRSIZ64(d));
164 names = (struct direct **)malloc(arraysz * sizeof (struct direct *));
175 p = (struct direct *)malloc(DIRSIZ(d));
/illumos-gate/usr/src/lib/libast/common/disc/
H A Dmemfatal.c25 * install error message handler for fatal malloc exceptions
67 * initialize the malloc exception handler
75 malloc(0);
H A Dsfdcslow.c69 if(!(disc = (Sfdisc_t*)malloc(sizeof(Sfdisc_t))) )
/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dvfwprintf.c40 if (m = malloc(n + 1))
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmexit.c68 if(!(e = (Exit_t*)malloc(sizeof(Exit_t))) )
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dalloc.h42 * Do not mix usage of these macros with malloc/free functions.
46 * these functions instead of malloc/free/kmem_*.
62 #define MEM_MALLOC(AREA, SIZE) malloc(SIZE)
/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_hash.h60 #define malloc bkmem_alloc macro
/illumos-gate/usr/src/test/libc-tests/tests/
H A Daligned_alloc.c18 * relying on the implementation of the current libc malloc. Specifically we go
64 if (malloc(16) == NULL)
/illumos-gate/usr/src/common/ficl/ficlplatform/
H A Dunix.c21 return (malloc(size));
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_lib.c322 (*in) = malloc(sizeof(krb5_pa_pk_as_req));
334 (*in) = malloc(sizeof(krb5_pa_pk_as_req_draft9));
348 (*in) = malloc(sizeof(krb5_reply_key_pack));
359 (*in) = malloc(sizeof(krb5_reply_key_pack_draft9));
368 (*in) = malloc(sizeof(krb5_auth_pack));
380 (*in) = malloc(sizeof(krb5_auth_pack_draft9));
388 (*in) = malloc(sizeof(krb5_pa_pk_as_rep));
401 (*in) = malloc(sizeof(krb5_pa_pk_as_rep_draft9));
412 (*in) = malloc(sizeof(krb5_typed_data));
422 (*in) = malloc(sizeo
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dcopy_addrs.c38 if (!(tmpad = (krb5_address *)malloc(sizeof(*tmpad))))
41 if (!(tmpad->contents = (krb5_octet *)malloc(inad->length))) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dutil_buffer_set.c45 set = (gss_buffer_set_desc *) malloc(sizeof(*set));
89 p->value = malloc(member_buffer->length);
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dmbtranslate.c81 if ((buf = malloc(bufsize * sizeof (char))) == NULL)
122 if ((buf = (wchar_t *)malloc(bufsize * sizeof (wchar_t))) ==
H A Dstart_col.c82 (_Color_pair *) malloc((COLOR_PAIRS+1) *
101 (_Color *) malloc(COLORS * sizeof (_Color)))) == NULL)
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_dim.c53 if ((idim = (idim_t)malloc(sizeof (*idim))) == NULL)
100 if ((devices = (char *)malloc(mlen)) == NULL)
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dsetenv.c89 p = malloc((size_t)(sizeof(char *) * (cnt + 2)));
100 malloc((size_t)((int)(c - name) + l_value + 2))))
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dftw.c103 extern char *malloc(), *strcpy();
171 subpath = malloc((unsigned)(n+MAXNAMLEN+2));

Completed in 177 milliseconds

1234567891011>>