Searched refs:malloc (Results 476 - 500 of 2509) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dsharetab.c69 line = (char *)malloc(MAXBUFSIZE+1);
74 sh = (share_t *)malloc(sizeof (*sh));
/illumos-gate/usr/src/cmd/backup/dump/
H A Dlftw.c96 #include <malloc.h>
219 subpath = malloc((unsigned)(sublen+1)); /* +1 for NUL */
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_umem.c28 * These routines simply provide wrappers around malloc(3C) and free(3C)
106 ptr = malloc(nbytes);
182 ptr = malloc(nbytes);
/illumos-gate/usr/src/common/ficl/softcore/
H A Dmakesoftcore.c76 char *uncompressed = (char *)malloc(128 * 1024);
77 unsigned char *compressed = malloc(128 * 1024);
228 " char *ficlSoftcoreUncompressed = malloc(ficlSoftcoreUncompressedSize+1);\n"
/illumos-gate/usr/src/boot/lib/libstand/
H A Dzalloc_malloc.c34 * MALLOC.C - malloc equivalent, runs on top of zalloc and uses sbrk
48 #ifdef malloc
49 #undef malloc macro
/illumos-gate/usr/src/boot/lib/libz/test/
H A Dinfcover.c84 ptr = malloc(len);
90 item = malloc(sizeof(struct mem_item));
162 zone = malloc(sizeof(struct mem_zone));
250 in = malloc((strlen(hex) + 1) >> 1);
301 out = malloc(len); assert(out != NULL);
521 out = malloc(size);
523 win = malloc(32768);
525 prefix = malloc(strlen(id) + 6);
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dls.c121 buf = malloc(strlen(path) + strlen(d->d_name) + 2);
164 path = malloc(strlen(*pathp) + 2);
/illumos-gate/usr/src/lib/lvm/libsvm/common/
H A Dcheck_svm.c62 if ((line = malloc(line_len)) == NULL)
/illumos-gate/usr/src/lib/nsswitch/ad/common/
H A Dgetspent.c49 buffer = be->buffer = malloc(buflen);
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dbootparams_getbyname.c93 (be->buf = (char *)malloc(be->minbuf)) == 0) {
95 return (NSS_UNAVAIL); /* really panic, malloc failed */
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11Sessionlist.c51 pkcs11_session_t *newhandle = malloc(sizeof (pkcs11_session_t));
/illumos-gate/usr/src/lib/sasl_plugins/login/
H A Dlogin.c92 text = sparams->utils->malloc(sizeof(server_context_t));
154 params->utils->malloc(sizeof(sasl_secret_t) + clientinlen + 1);
191 params->utils->malloc(sizeof(sasl_secret_t) + clientinlen + 1);
322 text = params->utils->malloc(sizeof(client_context_t));
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dstring_to_key.c90 if ((key->contents = (krb5_octet *) malloc(keylength)) == NULL)
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dcopy_creds.c43 if (!(tempcred = (krb5_creds *)malloc(sizeof(*tempcred))))
H A Drd_rep.c62 if (!(scratch.data = malloc(scratch.length))) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dmk_faddr.c52 if (!(raddr->contents = (krb5_octet *)malloc(raddr->length)))
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Derror_map.h100 e = malloc(sizeof(*e));
H A Dexport_name.c85 exported_name->value = malloc(exported_name->length);
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dchangepw.c127 addr_p = (struct sockaddr *)malloc(sizeof (struct sockaddr));
223 local_kaddr.contents = malloc(addrs[0]->length);
290 chpw_rep.data = (char *)malloc(chpw_rep.length);
406 cpw_service = malloc(cpwlen);
/illumos-gate/usr/src/lib/librpcsvc/common/
H A Dmountlist_xdr.c32 #include <stdlib.h> /* for malloc() */
87 mb = (mountbody *)malloc(sizeof (struct mountbody));
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_jni_support.c38 #include <malloc.h>
H A Dslp_net_utils.c84 if (!(ifinfo = malloc(sizeof (*ifinfo)))) {
150 if (!(ifinfo = malloc(sizeof (*ifinfo)))) {
192 if (!(ifinfo = malloc(sizeof (*ifinfo)))) {
253 if (!(buf = malloc(bufsize))) {
H A Dslp_search.c91 q = (NODE *) malloc(sizeof (NODE)); /* T5: Not found */
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dkeyfile.c94 if ((filebuf = malloc(filesize)) == NULL) {
96 cryptoerror(LOG_STDERR, gettext("malloc: %s"), strerror(ret));
/illumos-gate/usr/src/lib/libeti/menu/common/
H A Dconnect.c102 if ((Pattern(m) = (char *)malloc((unsigned)MaxName(m)+1)) ==

Completed in 96 milliseconds

<<11121314151617181920>>