Searched refs:malloc (Results 126 - 150 of 2509) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Dpro_alloc.c47 #include <malloc.h>
85 lp = (memory_list_t *) malloc(size + sizeof(memory_list_t));
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dsetbuffer.c69 } else if ((buf = (Uchar *)malloc(_SMBFSZ * sizeof (Uchar))) !=
79 return; /* malloc() failed */
98 buf = (char *)malloc(128);
/illumos-gate/usr/src/lib/watchmalloc/
H A DMakefile.com29 OBJECTS = malloc.o
/illumos-gate/usr/src/lib/krb5/ss/
H A Derror.c29 ret_val = malloc((unsigned)
40 ret_val = malloc((unsigned)sizeof(char) *
/illumos-gate/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) *
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPUtils.c234 if (!(predicate = malloc(hintlen + predlen + 1))) {
448 if (!(buf = malloc(strlen(pcInbuf) * 3 + 1))) {
499 if (!(buf = malloc(strlen(pcInbuf) * 3 + 1))) {
567 if (!(pe = malloc(sizeof (*pe)))) {
628 pe = malloc(sizeof (*pe));
633 pe = malloc(sizeof (*pe));
638 pe = malloc(sizeof (*pe));
643 pe = malloc(sizeof (*pe));
648 pe = malloc(sizeof (*pe));
653 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)))) {
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_service_rights.c321 subtree = (char **) malloc(sizeof(char *) * (subtreecount + 1));
351 seccontacls[0] = (char *)malloc(strlen(security_container[i][0]) +
384 krbcontacls[0] = (char *)malloc(strlen(kerberos_container[i][0]) + strlen(serviceobjdn)
413 realmdn = (char *)malloc(strlen("cn=") + strlen(realmname) +
426 realmacls[0] = (char *)malloc(strlen(kdcrights_realmcontainer[i][0])
453 realmacls[0] = (char *) malloc(strlen(adminrights_realmcontainer[i][0]) +
480 realmacls[0] = (char *) malloc(strlen(pwdrights_realmcontainer[i][0]) +
518 subtreeacls[0] = (char *) malloc(strlen(kdcrights_subtree[i][0]) +
548 subtreeacls[0] = (char *) malloc(strlen(adminrights_subtree[i][0])
578 subtreeacls[0] = (char *)malloc(strle
[all...]
/illumos-gate/usr/src/lib/libgss/
H A Dg_acquire_cred_with_pw.c54 actual_mechs = (gss_OID_set) malloc(sizeof (gss_OID_set_desc));
59 malloc(sizeof (gss_OID_desc) * count);
69 malloc(mechs_array[i].length);
156 creds = (gss_union_cred_t)malloc(sizeof (gss_union_cred_desc));
288 union_cred = malloc(sizeof (gss_union_cred_desc));
346 malloc(sizeof (gss_OID_desc) * (union_cred->count+1));
349 malloc(sizeof (gss_cred_id_t) * (union_cred->count+1));
373 malloc(mech->mech_type.length)) == NULL)
393 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);
/illumos-gate/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);
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dcert.c384 id_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE));
385 issuer_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE));
386 serial_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE));
H A Dhwf_obj.c405 value_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE));
427 value_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE));
428 hasreset_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE) +
430 resetoninit_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE) +
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dcopy_tick.c38 if (!(tempto = (krb5_enc_tkt_part *)malloc(sizeof(*tempto))))
58 malloc(partfrom->transited.tr_contents.length);
101 if (!(tempto = (krb5_ticket *)malloc(sizeof(*tempto))))
H A Ddecrypt_tk.c54 if (!(scratch.data = malloc(ticket->enc_part.ciphertext.length)))
H A Denc_helper.c42 if ((cipher->ciphertext.data = (char *) malloc(enclen)) == NULL) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dhostaddr.c83 addrs = malloc ((i+1) * sizeof(*addrs));
113 addrs[i] = (krb5_address *) malloc(sizeof(krb5_address));
121 addrs[i]->contents = malloc(addrs[i]->length);
/illumos-gate/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)))
/illumos-gate/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);
/illumos-gate/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));
/illumos-gate/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)
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dselfcheck.c31 #include <malloc.h>
139 lifc = (struct lifconf *)malloc(sizeof (struct lifconf));
142 "statd:getmyaddrs, malloc for lifconf failed: %m");
146 buf = (char *)malloc(numifs * sizeof (struct lifreq));
149 "statd:getmyaddrs, malloc for lifreq failed: %m");
/illumos-gate/usr/src/lib/libadm/common/
H A Ddevtab.c87 * recbuf Addr of malloc() buffer for reading records
88 * xtndcnt Number of malloc()/realloc() calls on record buffer
260 * The address of malloc()ed space that contains the possibly quoted
283 if (rtn = malloc(strlen(p)+1)) { /* Malloc() space */
308 * The address of a malloc()ed structure containing the attribute and the
333 if (rtn = malloc(sizeof (struct attrval))) {
336 if (rtn->attr = malloc(strlen(p)+1)) {
421 if (recbuf = malloc(DTAB_BUFSIZ)) {
550 if (rtnval = malloc(strlen(path)+1))
558 if (rtnval = malloc(strle
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelUtil.c168 elem = malloc(sizeof (kmh_elem_t));
268 cipherKey = malloc(OBJ_SEC(key_p)->sk_value_len);
326 if ((ptr = malloc(big->big_value_len)) == NULL) {
340 if ((ptr = malloc(big->big_value_len)) == NULL) {
352 if ((ptr = malloc(big->big_value_len)) == NULL) {
363 if ((ptr = malloc(big->big_value_len)) == NULL) {
374 if ((ptr = malloc(big->big_value_len)) == NULL) {
386 if ((ptr = malloc(big->big_value_len)) == NULL) {
398 if ((ptr = malloc(big->big_value_len)) == NULL) {
449 if ((ptr = malloc(bi
[all...]

Completed in 370 milliseconds

1234567891011>>