Searched refs:malloc (Results 551 - 575 of 2509) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfprints.c96 { if(!(*sp = (char*)malloc(n = strlen(s)+1)) )
H A Dsfungetc.c91 if(!(data = (uchar*)malloc(f->size+16)))
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A DSys_malloc.c78 alloc_type ret = malloc(size);
/illumos-gate/usr/src/cmd/lp/model/netpr/
H A Dmisc.c80 outstr = (char *)malloc(strlen(instr) + 1);
H A Dnetpr.h89 printf("malloc: size: <%d>, for <%s>\n"); \
90 malloc(size); \
/illumos-gate/usr/src/cmd/make/lib/makestate/
H A Dld_file.c72 if (!(newstr = malloc(strlen(str) + 1))) {
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Ddoor.c240 req->req_data.data = (xmlChar **) malloc(sizeof (xmlChar *));
445 req->req_data.data = (xmlChar **) malloc(sizeof (xmlChar *));
525 (assoc_pair_t **)malloc(sizeof (assoc_pair_t *));
548 malloc(sizeof (assoc_pair_t));
579 (assoc_pair_t **)malloc(sizeof (assoc_pair_t *));
602 malloc(sizeof (assoc_pair_t));
630 req->req_data.data = (xmlChar **) malloc(sizeof (xmlChar *));
715 (assoc_pair_t **)malloc(sizeof (assoc_pair_t *));
738 malloc(sizeof (assoc_pair_t));
768 (assoc_pair_t **)malloc(sizeo
[all...]
/illumos-gate/usr/src/head/iso/
H A Dstdlib_iso.h142 extern void *malloc(size_t);
/illumos-gate/usr/src/tools/btxld/
H A Dversion.c74 buf = malloc(buf_size);
76 perror("malloc");
/illumos-gate/usr/src/boot/lib/libstand/
H A Dopen.c86 f->f_rabuf = malloc(SOPEN_RASIZE);
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dbcache.c123 struct bcache *bc = malloc(sizeof (struct bcache));
143 bc->bcache_data = malloc(bc->bcache_nblks * bcache_blksize);
147 bc->bcache_data = malloc(bc->bcache_nblks * bcache_blksize);
150 bc->bcache_ctl = malloc(bc->bcache_nblks * sizeof(struct bcachectl));
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Defipart.c95 hin = (EFI_HANDLE *)malloc(sz * 3);
111 pdinfo = malloc(nin * sizeof(*pdinfo));
146 devpathcpy = malloc(devpathlen);
348 blkbuf = malloc(blkio->Media->BlockSize);
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetservent.c38 #include <malloc.h>
178 char *key = malloc(len);
301 if ((key = malloc(len)) == 0) {
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Deventlog_log.c246 if ((node = malloc(sizeof (logr_syslog_node_t))) == NULL) {
381 ctx->lc_cached_read_data = malloc(sizeof (logr_read_data_t));
385 data->rd_log = (logr_info_t *)malloc(sizeof (logr_info_t));
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dccbase.c158 if (!(t = (struct krb5_cc_typelist *) malloc(sizeof(*t)))) {
214 pfx = malloc (pfxlen+1);
306 n = malloc(sizeof(*n));
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Drd_cred.c10 #include <stdlib.h> /* malloc */
27 if (!(scratch.data = (char *)malloc(scratch.length)))
91 (krb5_creds **)malloc((size_t)(sizeof(krb5_creds *) *
107 if ((pcur = (krb5_creds *)malloc(sizeof(krb5_creds))) == NULL) {
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_crypt.c95 char *theRes = malloc(strlen(anHexaStr) /2 + 1);
170 if ((s = (char *)malloc(2 * len + 1)) != NULL) {
210 ev = malloc(len);
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dnetshareenum.c127 srvnamestr = malloc(strlen(addrstr) + 3);
309 rpbuf = malloc(bufsize);
319 entry_list = malloc(entries * sizeof (struct share_info));
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcp_stable.c59 * note: memory returned is from malloc; caller must free.
73 (duid = malloc(sb.st_size)) != NULL) {
126 * note: memory returned is from malloc; caller must free.
151 if ((dllt = malloc(sizeof (*dllt) + len)) == NULL) {
172 den = malloc(sizeof (*den) + UUID_LEN);
/illumos-gate/usr/src/lib/libgss/
H A Dg_accept_sec_context.c155 malloc(sizeof (gss_union_ctx_id_desc));
266 d_u_cred = malloc(sizeof (gss_union_cred_desc));
286 d_u_cred->cred_array = malloc(
H A Dg_inquire_cred.c170 *mechanisms = (gss_OID_set) malloc(sizeof (gss_OID_set_desc));
176 (gss_OID) malloc(sizeof (gss_OID_desc) *
187 malloc(union_cred->mechs_array[i].length);
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dinterface_id.c161 buf = malloc(bufsize);
248 buf = malloc(bufsize);
271 interface_list = malloc((numifs + 1) * sizeof (struct if_nameindex));
H A Druserpass.c126 *aname = malloc(MAXANAME + 1);
187 *aname = malloc(strlen(d->tokval) + 1);
206 *apass = malloc(strlen(d->tokval) + 1);
/illumos-gate/usr/src/lib/libndmp/common/
H A Dlibndmp_door_data.c52 ndmp_door_ctx_t *ctx = malloc(sizeof (ndmp_door_ctx_t));
75 ndmp_door_ctx_t *ctx = malloc(sizeof (ndmp_door_ctx_t));
132 buf = malloc(len +1);
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_rexd.c69 r = malloc(l);
242 if ((tbuf = malloc(tlen)) == NULL) {
359 if ((tbuf = malloc(tlen)) == NULL) {

Completed in 200 milliseconds

<<21222324252627282930>>