Searched refs:malloc (Results 1251 - 1275 of 2509) sorted by relevance

<<51525354555657585960>>

/illumos-gate/usr/src/boot/sys/boot/efi/loader/
H A Dmain.c120 hin = (EFI_HANDLE *)malloc(sz);
482 map = malloc(sz);
682 if ((data = malloc(datasz)) == NULL)
857 if ((buffer = malloc(bufsz)) == NULL) {
984 if ((buffer = malloc(bufsz)) == NULL) {
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgethostent.c358 if (be->buf == 0 && (be->buf = malloc(be->minbuf)) == 0) {
397 * This check avoids a malloc()/free() for the common
452 abuf = (char *)malloc(args->buf.buflen);
549 h_name = malloc(namelen + 1);
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dauthtok_check.c376 buff = malloc(len);
377 ubuff = malloc(len);
378 pubuff = malloc(len);
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11SlotToken.c78 pinfo = malloc(sizeof (CK_SLOT_INFO));
473 cur_slot->sl_wfse_args = malloc(sizeof (wfse_args_t));
632 pmech_list = malloc(tmpmech_count * sizeof (CK_MECHANISM_TYPE));
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDESCrypt.c840 soft_des_ctx = malloc(sizeof (soft_des_ctx_t));
1009 pEncrypted = malloc(sizeof (CK_BYTE) * ulEncryptedLen);
1085 /* Avoid the malloc if we won't be encrypting any data */
1096 pEncrypted = malloc(sizeof (CK_BYTE) * ulEncryptedLen);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Ddeltat.c285 #if 0 /* No need for malloc.h, which pollutes the namespace;
287 #include <malloc.h>
293 /* #include <malloc.h> */
314 #define YYSTACK_ALLOC malloc
918 msg = (char *) malloc(size + 15);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dplugins.c392 tempnames[i+j] = malloc (len * sizeof (char));
449 filepath = malloc (dirnamelen + strlen (filenames[j]) + 1); /* NULL */
491 filepath = malloc (dirnamelen + len + 1); /* NULL */
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_principal.c269 malloc(sizeof(kadm5_principal_ent_rec_v1))))
507 *key = (krb5_keyblock *) malloc(
568 malloc(r->n_keys*sizeof(krb5_keyblock));
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dcommon.c113 (sasl_malloc_t *) &malloc,
124 (pthread_mutex_t *)malloc(sizeof (pthread_mutex_t));
451 gctx->sasl_allocation_utils.malloc=m;
457 _sasl_allocation_utils.malloc=m;
1950 utils=alloc.malloc(sizeof(sasl_utils_t));
1970 utils->malloc=alloc.malloc;
1980 utils->malloc=_sasl_allocation_utils.malloc;
2562 gctx->sasl_allocation_utils.malloc
[all...]
/illumos-gate/usr/src/lib/libsec/common/
H A Daclutils.c79 acep = malloc(sizeof (ace_t) * aclcnt);
161 malloc(acl_info->acl_cnt * acl_info->acl_entry_size);
340 newaclp->acl_aclp = malloc(aclp->acl_entry_size * aclp->acl_cnt);
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_xaction.c137 xaction_list = malloc(sizeof (sip_conn_cache_t));
347 trans = (sip_xaction_t *)malloc(sizeof (sip_xaction_t));
363 trans->sip_xaction_branch_id = (char *)malloc(strlen(branchid)
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dnbns_rq.c143 nai = malloc(sizeof (*nai));
245 dest = malloc(len);
376 rqp = malloc(sizeof (*rqp));
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo.c611 if ((result = malloc(sizeof (struct node_list))) == NULL) {
612 DPRINTF((DI_ERR, "malloc of node_list failed\n"));
620 if ((tmp->next = malloc(sizeof (struct node_list))) == NULL) {
621 DPRINTF((DI_ERR, "malloc of node_list failed\n"));
792 if ((head = malloc(sizeof (struct node_list))) == NULL) {
793 DPRINTF((DI_ERR, "malloc of node_list failed\n"));
869 if ((head = malloc(sizeof (struct node_list))) == NULL) {
870 DPRINTF((DI_ERR, "malloc of node_list failed\n"));
1107 if ((buf = malloc(len)) == NULL) {
2840 if ((p = malloc(sizeo
[all...]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dtest3.c495 aRoot = malloc( sizeof(int)*(argc-2) );
820 zBuf = malloc( n+1 );
858 zBuf = malloc( n+1 );
/illumos-gate/usr/src/lib/libtecla/common/
H A Dcplmatch.c173 cpl = (WordCompletion *) malloc(sizeof(WordCompletion));
215 cpl->result.matches = (CplMatch *) malloc(sizeof(cpl->result.matches[0]) *
852 cfc = (CplFileConf *)malloc(sizeof(CplFileConf));
/illumos-gate/usr/src/lib/libnsl/netdir/
H A Dnetdir.c56 #include <malloc.h>
656 t = malloc(sizeof (struct translator));
715 *xlastp = malloc(sizeof (struct xlate_list));
/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_sec_mechs.c315 if (!(cp = malloc(bufsiz))) {
395 if (!(m = malloc(sizeof (mechanism_t)))) {
940 if (!(m = malloc(sizeof (mfent_t)))) {
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_door.c102 if ((l = malloc(sizeof (*l))) == NULL)
395 su = malloc(sizeof (*su));
477 if ((su = malloc(sizeof (struct svc_door_data))) == NULL) {
H A Dsvcauth_des.c445 entry->rname = malloc(strlen(cred->adc_fullname.name) + 1);
483 malloc(sizeof (struct cache_entry) * authdes_cachesz);
652 cred = malloc(bsdcred_sz);
/illumos-gate/usr/src/lib/libpkg/common/
H A Dvfpops.c107 #define _VFP_MALLOC 0x00020000 /* malloc used */
144 * - VFP_NOMALLOC - do not use malloc to buffer file
238 * and (malloc not forbidden or size is > minumum size to mmap)
291 /* if map failed (or not allowed) attempt malloc (if allowed) */
340 /* set malloc used flag in vfp */
581 * Currently only a file that is in malloc()ed memory can
590 * "malloc" to allocate the initial memory for the file data.
609 /* if malloc not used don't know how to set size right now */
639 np = (char *)malloc(a_vfp->_vfpSize+1);
811 * returns failure - only malloc()e
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dmalloc.c30 * file: malloc.c
393 * malloc(nbytes)
422 malloc(uint nbytes) function
547 } /*malloc*/
738 * a block freed since the LAST call of malloc(). Thus the old
747 * dummy = malloc(1);
769 return (malloc(nbytes));
902 ptr = malloc(nbytes);
1208 * load /usr/lib/malloc.debug.o with your program.
1228 * done by malloc() an
[all...]
/illumos-gate/usr/src/cmd/ucodeadm/
H A Ducodeadm.c607 if ((buf = malloc(filestat.st_size)) == NULL) {
639 if ((path = malloc(PATH_MAX)) == NULL) {
641 ucode_perror("malloc", rc);
679 malloc(cpuid_max * sizeof (uint32_t))) == NULL) {
681 ucode_perror("malloc", rc);
/illumos-gate/usr/src/cmd/vntsd/
H A Dvntsdvcc.c279 consp = (vntsd_cons_t *)malloc(sizeof (vntsd_cons_t));
334 groupp = (vntsd_group_t *)malloc(sizeof (vntsd_group_t));
703 consp = malloc(num_cons*sizeof (vcc_console_t));
/illumos-gate/usr/src/cmd/picl/plugins/common/memcfg/
H A Dpiclmemcfg_comm.c627 if ((mmghdl = malloc(sizeof (*mmghdl))) == NULL)
797 if ((msegh_info = malloc(nsegments * sizeof (picl_nodehdl_t))) ==
940 if ((msegh_info = malloc(nsegments * sizeof (picl_nodehdl_t))) ==
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/
H A Dfru_access.c88 cont_obj = malloc(sizeof (container_obj_t));
93 hash_obj = malloc(sizeof (hash_obj_t));
117 sec_obj = malloc(sizeof (section_obj_t));
122 hash_obj = malloc(sizeof (hash_obj_t));
147 seg_obj = malloc(sizeof (segment_obj_t));
152 hash_obj = malloc(sizeof (hash_obj_t));
177 pkt_obj = malloc(sizeof (packet_obj_t));
182 hash_obj = malloc(sizeof (hash_obj_t));
528 offset_tbl = malloc((segcnt + 2) * sizeof (seg_info_t));
1813 payload = malloc(pkt_has
[all...]

Completed in 354 milliseconds

<<51525354555657585960>>