Searched refs:malloc (Results 76 - 100 of 1321) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dfull_ipadr.c48 if (!(retaddr = (krb5_address *)malloc(sizeof(*retaddr)))) {
56 if (!(retaddr->contents = (krb5_octet *)malloc(retaddr->length))) {
H A Dget_krbhst.c104 rethosts = malloc(sizeof(char *) * (count + 1));
111 rethosts[i] = malloc(len);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dutf8_conv.c141 *ucs2s = (krb5_ucs2 *)malloc((chars + 1) * sizeof(krb5_ucs2));
170 *ucs2s = (krb5_ucs2 *)malloc((chars + 1) * sizeof(krb5_ucs2));
199 *ucs2les = (unsigned char *)malloc((chars + 1) * sizeof(krb5_ucs2));
229 *ucs2les = (unsigned char *)malloc((chars + 1) * sizeof(krb5_ucs2));
337 *utf8s = (char *)malloc((size_t)len + 1);
367 *utf8s = (char *)malloc((size_t)len + 1);
402 *utf8s = (char *)malloc((size_t)len + 1);
438 *utf8s = (char *)malloc((size_t)len + 1);
/osnet-11/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test_subr.c45 (struct mtest_alloc_ent *)malloc(sizeof (struct mtest_alloc_ent));
49 new_ent->buf = malloc(size);
/osnet-11/usr/src/lib/libc/port/print/
H A Dasprintf.c50 if ((newstr = malloc(len)) == NULL)
51 return (-1); /* retain errno from malloc() */
67 if ((newstr = malloc(len)) == NULL)
68 return (-1); /* retain errno from malloc() */
/osnet-11/usr/src/lib/libc/port/stdio/
H A D_findbuf.c44 * If buffer space has been pre-allocated use it otherwise malloc space.
48 * If malloc() fails stdio bails out; assumption being the system is in trouble.
68 else if ((buf = (Uchar *)malloc(_SMBFSZ * sizeof (Uchar))) !=
88 if ((buf = (Uchar *)malloc(sizeof (Uchar)*(size+_SMBFSZ))) !=
95 return (NULL); /* malloc() failed */
/osnet-11/usr/src/lib/watchmalloc/
H A DMakefile.com28 OBJECTS = malloc.o
/osnet-11/usr/src/lib/libpkg/common/
H A Dnhash.c41 #define malloc bkmem_alloc macro
79 if ((*cp = (Cache *) malloc(sizeof (**cp))) == NULL) {
80 (void) fprintf(stderr, pkg_gt("malloc(Cache **cp)"));
84 (Bucket *) malloc(sizeof (*(*cp)->bp) * hsz)) == NULL) {
85 (void) fprintf(stderr, pkg_gt("malloc(Bucket cp->bp)"));
125 (Item **) malloc(sizeof (*bp->itempp) * cp->bsz);
134 (Item **) malloc(sizeof (*bp->itempp) *
/osnet-11/usr/src/lib/libslp/clib/
H A DSLPUtils.c230 if (!(predicate = malloc(hintlen + predlen + 1))) {
444 if (!(buf = malloc(strlen(pcInbuf) * 3 + 1))) {
495 if (!(buf = malloc(strlen(pcInbuf) * 3 + 1))) {
563 if (!(pe = malloc(sizeof (*pe)))) {
624 pe = malloc(sizeof (*pe));
629 pe = malloc(sizeof (*pe));
634 pe = malloc(sizeof (*pe));
639 pe = malloc(sizeof (*pe));
644 pe = malloc(sizeof (*pe));
649 pe = malloc(sizeo
[all...]
H A Dslp_utf8.c76 if (!(folded = malloc(strlen(s) + 1))) {
151 if (!(wcs1 = malloc(sizeof (*wcs1) * (wcslen1 + 1)))) {
159 if (!(wcs2 = malloc(sizeof (*wcs2) * (wcslen2 + 1)))) {
/osnet-11/usr/src/lib/libgss/
H A Dg_acquire_cred_with_pw.c51 actual_mechs = (gss_OID_set) malloc(sizeof (gss_OID_set_desc));
56 malloc(sizeof (gss_OID_desc) * count);
66 malloc(mechs_array[i].length);
153 creds = (gss_union_cred_t)malloc(sizeof (gss_union_cred_desc));
286 union_cred = malloc(sizeof (gss_union_cred_desc));
347 malloc(sizeof (gss_OID_desc) * (union_cred->count+1));
350 malloc(sizeof (gss_cred_id_t) * (union_cred->count+1));
374 malloc(mech->mech_type.length)) == NULL)
394 new_union_cred = malloc(sizeof (gss_union_cred_desc));
H A Dg_imp_sec_context.c94 ctx = (gss_union_ctx_id_t)malloc(sizeof (gss_union_ctx_id_desc));
98 ctx->mech_type = (gss_OID) malloc(sizeof (gss_OID_desc));
119 ctx->mech_type->elements = malloc(length);
/osnet-11/usr/src/lib/libcurses/screen/
H A Ddupwin.c69 if ((new = (WINDOW *) malloc(sizeof (WINDOW))) == NULL)
76 if ((new->_firstch = (short *)malloc((unsigned)2 * line_size)) == NULL)
81 if ((new->_y = (chtype **) malloc(nlines * sizeof (chtype *))) ==
85 * is because _image free's all the rest of the malloc'ed areas.
H A Dmakenew.c63 if ((win = (WINDOW *) malloc(sizeof (WINDOW))) == NULL)
65 if ((win->_y = (chtype **) malloc(nlines * sizeof (chtype *))) == NULL)
73 if ((win->_firstch = (short *) malloc(2 * nlines * sizeof (short)))
/osnet-11/usr/src/cmd/sendmail/libmilter/
H A Dmain.c40 smfi = (smfiDesc_ptr) malloc(sizeof *smfi);
49 smfi->xxfi_name = (char *) malloc(len);
180 if ((conn = (char *) malloc(l)) == NULL)
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dkeypad.c71 node = (t_decode *) malloc(sizeof *node);
88 node->sibling = (t_decode *) malloc(
108 node->child = (t_decode *) malloc(sizeof *node);
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dkeypad.c73 node = (t_decode *) malloc(sizeof (*node));
91 malloc(sizeof (*node));
109 node->child = (t_decode *) malloc(sizeof (*node));
/osnet-11/usr/src/lib/pam_modules/sample/
H A Dsample_utils.c32 #include <malloc.h>
123 m->msg = (char *)malloc(PAM_MAX_MSG_SIZE);
177 m->msg = (char *)malloc(PAM_MAX_MSG_SIZE);
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dcert.c386 id_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE));
387 issuer_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE));
388 serial_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE));
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dgai_strerror.c83 buf = malloc(EAI_BUFSIZE);
/osnet-11/usr/src/lib/libresolv2/common/sunw/
H A Dsunw_mtctxres.c10 #include <malloc.h>
/osnet-11/usr/src/lib/libsmbios/common/
H A Dsmb_subr.c59 return (len ? malloc(len) : NULL);
/osnet-11/usr/src/lib/libldap4/common/
H A Daddentry.c26 #include <malloc.h>
H A Dgetentry.c27 #include <malloc.h>
/osnet-11/usr/src/lib/libldap4/sec/
H A Dsecutil.c50 char *theRes = malloc(strlen(anHexaStr) /2 + 1);

Completed in 79 milliseconds

1234567891011>>