Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 25 of 2773) sorted by relevance

12345678910>>...111

/titanic_51/usr/src/man/man3malloc/
H A DMakefile19 MANSECT= 3malloc
21 MANFILES= bsdmalloc.3malloc \
22 malloc.3malloc \
23 mapmalloc.3malloc \
24 mtmalloc.3malloc \
25 umem_alloc.3malloc \
26 umem_cache_create.3malloc \
27 umem_debug.3malloc \
28 watchmalloc.3malloc
[all...]
/titanic_51/usr/src/pkg/manifests/
H A Dsystem-library.man3malloc.inc17 file path=usr/share/man/man3malloc/bsdmalloc.3malloc
18 file path=usr/share/man/man3malloc/malloc.3malloc
19 file path=usr/share/man/man3malloc/mapmalloc.3malloc
20 file path=usr/share/man/man3malloc/mtmalloc.3malloc
21 file path=usr/share/man/man3malloc/umem_alloc.3malloc
22 file path=usr/share/man/man3malloc/umem_cache_create.3malloc
23 file path=usr/share/man/man3malloc/umem_debug.3malloc
24 file path=usr/share/man/man3malloc/watchmalloc.3malloc
25 link path=usr/share/man/man3malloc/calloc.3malloc targe
[all...]
/titanic_51/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dkey.c325 id_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE)); in key_object_set_default_attributes()
326 sdate_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE)); in key_object_set_default_attributes()
327 edate_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE)); in key_object_set_default_attributes()
328 derive_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE) + in key_object_set_default_attributes()
330 local_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE) + in key_object_set_default_attributes()
427 class_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE) + in publ_key_set_default_attributes()
429 subject_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE)); in publ_key_set_default_attributes()
430 encrypt_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE) + in publ_key_set_default_attributes()
432 verify_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE) + in publ_key_set_default_attributes()
434 verify_recover_attr = (CK_ATTRIBUTE *)malloc(sizeo in publ_key_set_default_attributes()
[all...]
/titanic_51/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DNS.c339 printer = (ns_printer_t *)malloc(sizeof (*printer)); in _updateoldyp()
344 addr = (ns_bsd_addr_t *)malloc(sizeof (*addr)); in _updateoldyp()
429 printer = (ns_printer_t *)malloc(sizeof (*printer)); in _updateoldyp()
471 cred = (ns_cred_t *)malloc(sizeof (*cred)); in _updateldap()
492 printer->nsdata = malloc(sizeof (NS_LDAPDATA)); in _updateldap()
514 printer->nsdata = malloc(sizeof (NS_LDAPDATA)); in _updateldap()
539 printer = (ns_printer_t *)malloc(sizeof (*printer)); in _updateldap()
552 item = (char *)malloc(strlen("bsdaddr") + in _updateldap()
557 item = (char *)malloc(strlen("bsdaddr") + in _updateldap()
578 item = (char *)malloc(strle in _updateldap()
[all...]
/titanic_51/usr/src/lib/libadm/common/
H A Dlistdev.c164 if (list = malloc(n*sizeof (char *))) { in listdev()
167 if (*pp = malloc(strlen(DTAB_ALIAS)+1)) in listdev()
172 if (*pp = malloc(strlen(DTAB_BDEVICE)+1)) in listdev()
178 if (*pp = malloc(strlen(DTAB_CDEVICE)+1)) in listdev()
184 if (*pp = malloc(strlen(DTAB_PATHNAME)+1)) in listdev()
191 if (*pp = malloc(strlen(attrval->attr)+1)) in listdev()
H A Ddgrpent.c84 * recbuf Addr of malloc() buffer for reading records
228 if (recbuf = malloc(DGRP_BUFSIZ)) { in getnextrec()
354 if (rtnval = malloc(strlen(path)+1)) in _dgrptabpath()
362 if (rtnval = malloc(strlen(DGRP_PATH)+1)) in _dgrptabpath()
443 if (!(ent = malloc(sizeof (struct dgrptabent)))) { in _getdgrptabent()
461 if (ent->dataspace = malloc(strlen(record)+1)) { in _getdgrptabent()
483 /* Copy device group name into malloc()ed space */ in _getdgrptabent()
484 if (!(ent->name = malloc(strlen(p)+1))) { in _getdgrptabent()
500 if (!(q = malloc(sizeof (struct member)))) { in _getdgrptabent()
506 if (!(q->name = malloc(strle in _getdgrptabent()
[all...]
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 */ in getquoted()
308 * The address of a malloc()ed structure containing the attribute and the
333 if (rtn = malloc(sizeof (struct attrval))) { in getattrval()
336 if (rtn->attr = malloc(strlen(p)+1)) { in getattrval()
421 if (recbuf = malloc(DTAB_BUFSIZ)) { in getnextrec()
550 if (rtnval = malloc(strlen(path)+1)) in _devtabpath()
558 if (rtnval = malloc(strle in _devtabpath()
[all...]
/titanic_51/usr/src/contrib/ast/src/lib/libast/features/
H A Dvmalloc14 hdr alloca,malloc,stat,stdlib,unistd
15 mem mallinfo.arena,mstats.bytes_total malloc.h
47 tst map_malloc note{ map malloc to _ast_malloc }end noexecute{
74 extern void* malloc(unsigned int n) { MALLOC(n); }
83 extern void* malloc(n) unsigned int n; { MALLOC(n); }
93 tst map_malloc note{ map malloc to _ast_malloc -- wimp-o mach? }end noexecute{
118 tst mal_alloca note{ alloca is based on malloc() }end execute{
126 void* malloc(unsigned int size)
128 void* malloc(size) unsigned int size;
155 tst malloc_hook note{ gnu malloc hook
[all...]
/titanic_51/usr/src/tools/stabs/
H A Dstabs.c227 tdp = malloc(sizeof (*tdp)); in parseline()
292 new = malloc(len); in name()
366 tdp = malloc(sizeof (*tdp)); in tagdecl()
380 *rtdp = malloc(sizeof (**rtdp)); in tagdecl()
435 ntdp = malloc(sizeof (*ntdp)); in tdefdecl()
440 *rtdp = malloc(sizeof (**rtdp)); in tdefdecl()
451 *rtdp = malloc(sizeof (**rtdp)); in tdefdecl()
459 *rtdp = malloc(sizeof (**rtdp)); in tdefdecl()
469 *rtdp = malloc(sizeof (**rtdp)); in tdefdecl()
479 *rtdp = malloc(sizeo in tdefdecl()
[all...]
/titanic_51/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...]
/titanic_51/usr/src/lib/krb5/dyn/
H A Ddyn_create.c33 obj = (DynObjectP) malloc(sizeof(DynObjectRecP));
38 obj->array = (DynPtr) malloc(1);
40 obj->array = (DynPtr) malloc(0);
55 obj1 = (DynObjectP) malloc(sizeof(DynObjectRecP));
66 obj1->array = (char *) malloc(obj1->el_size * obj1->size);
/titanic_51/usr/src/cmd/listen/
H A Dnlsaddr.c118 extern char *malloc(), *t_alloc();
120 extern char *malloc();
134 if (!(p = malloc(size)))
140 if (!(p = malloc(size)))
146 if (!(p = malloc(size)))
154 DEBUG((1, "nlscalloc: malloc failed!"));
/titanic_51/usr/src/lib/libast/common/features/
H A Dvmalloc14 hdr alloca,malloc,stat,stdlib,unistd
15 mem mallinfo.arena,mstats.bytes_total malloc.h
47 tst map_malloc note{ map malloc to _ast_malloc }end noexecute{
74 extern void* malloc(unsigned int n) { MALLOC(n); }
83 extern void* malloc(n) unsigned int n; { MALLOC(n); }
93 tst map_malloc note{ map malloc to _ast_malloc -- wimp-o mach? }end noexecute{
118 tst mal_alloca note{ alloca is based on malloc() }end execute{
126 void* malloc(unsigned int size)
128 void* malloc(size) unsigned int size;
159 #define _std_malloc 1 /* defer to standard malloc */
/titanic_51/usr/src/cmd/krb5/kadmin/ktutil/
H A Dktutil_funcs.c143 entry = (krb5_keytab_entry *) malloc(sizeof(krb5_keytab_entry));
150 lp = (krb5_kt_list) malloc(sizeof(*lp));
155 lp->next = (krb5_kt_list) malloc(sizeof(*lp));
167 password.data = (char *) malloc(pwsize);
208 lp->entry->key.contents = (krb5_octet *) malloc((strlen(buf) + 1) / 2);
270 entry = (krb5_keytab_entry *)malloc(sizeof (krb5_keytab_entry));
281 lp = (krb5_kt_list)malloc(sizeof (*lp));
287 lp->next = (krb5_kt_list)malloc(sizeof (*lp));
400 entry = (krb5_keytab_entry *)malloc(sizeof (krb5_keytab_entry));
426 entry->key.contents = (krb5_octet *)malloc(sizeo
[all...]
/titanic_51/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelUtil.c168 elem = malloc(sizeof (kmh_elem_t)); in kmech_hash_insert()
268 cipherKey = malloc(OBJ_SEC(key_p)->sk_value_len); in get_symmetric_key_value()
326 if ((ptr = malloc(big->big_value_len)) == NULL) { in get_rsa_private_key()
340 if ((ptr = malloc(big->big_value_len)) == NULL) { in get_rsa_private_key()
352 if ((ptr = malloc(big->big_value_len)) == NULL) { in get_rsa_private_key()
363 if ((ptr = malloc(big->big_value_len)) == NULL) { in get_rsa_private_key()
374 if ((ptr = malloc(big->big_value_len)) == NULL) { in get_rsa_private_key()
386 if ((ptr = malloc(big->big_value_len)) == NULL) { in get_rsa_private_key()
398 if ((ptr = malloc(big->big_value_len)) == NULL) { in get_rsa_private_key()
449 if ((ptr = malloc(bi in get_rsa_public_key()
[all...]
/titanic_51/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dutf8_conv.c145 *ucs2s = (krb5_ucs2 *)malloc((chars + 1) * sizeof(krb5_ucs2)); in krb5int_utf8s_to_ucs2s()
174 *ucs2s = (krb5_ucs2 *)malloc((chars + 1) * sizeof(krb5_ucs2)); in krb5int_utf8cs_to_ucs2s()
203 *ucs2les = (unsigned char *)malloc((chars + 1) * sizeof(krb5_ucs2)); in krb5int_utf8s_to_ucs2les()
233 *ucs2les = (unsigned char *)malloc((chars + 1) * sizeof(krb5_ucs2)); in krb5int_utf8cs_to_ucs2les()
341 *utf8s = (char *)malloc((size_t)len + 1); in krb5int_ucs2s_to_utf8s()
371 *utf8s = (char *)malloc((size_t)len + 1); in krb5int_ucs2les_to_utf8s()
406 *utf8s = (char *)malloc((size_t)len + 1); in krb5int_ucs2cs_to_utf8s()
442 *utf8s = (char *)malloc((size_t)len + 1); in krb5int_ucs2lecs_to_utf8s()
/titanic_51/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dcombine_keys.c118 if ((r1 = (unsigned char *) malloc(keybytes)) == NULL) in krb5int_c_combine_keys()
121 if ((r2 = (unsigned char *) malloc(keybytes)) == NULL) { in krb5int_c_combine_keys()
126 if ((rnd = (unsigned char *) malloc(keybytes)) == NULL) { in krb5int_c_combine_keys()
132 if ((combined = (unsigned char *) malloc(keybytes * 2)) == NULL) { in krb5int_c_combine_keys()
139 if ((output = (unsigned char *) malloc(keylength)) == NULL) { in krb5int_c_combine_keys()
248 outkey->contents = (krb5_octet *) malloc(keylength); in krb5int_c_combine_keys()
317 if ((inblockdata = (unsigned char *) malloc(blocksize)) == NULL) in dr()
320 if ((outblockdata = (unsigned char *) malloc(blocksize)) == NULL) { in dr()
/titanic_51/usr/src/lib/libslp/clib/
H A DSLPUtils.c234 if (!(predicate = malloc(hintlen + predlen + 1))) { in SAAdvert_for_scopes()
448 if (!(buf = malloc(strlen(pcInbuf) * 3 + 1))) { in SLPEscape()
499 if (!(buf = malloc(strlen(pcInbuf) * 3 + 1))) { in slp_unescape()
567 if (!(pe = malloc(sizeof (*pe)))) { in SLPSetProperty()
628 pe = malloc(sizeof (*pe)); in setDefaults()
633 pe = malloc(sizeof (*pe)); in setDefaults()
638 pe = malloc(sizeof (*pe)); in setDefaults()
643 pe = malloc(sizeof (*pe)); in setDefaults()
648 pe = malloc(sizeof (*pe)); in setDefaults()
653 pe = malloc(sizeo in setDefaults()
[all...]
/titanic_51/usr/src/lib/krb5/ss/
H A Dutils.c71 string = malloc(size);
90 symbol = malloc((strlen(name)+6) * sizeof(char));
105 result = malloc((size_a + size_b + size_c + 2)*sizeof(char));
119 result = malloc(len+2);
134 new = malloc(len);
/titanic_51/usr/src/lib/libmtmalloc/tests/
H A Ddirtymem.c54 foo = (struct a_struct *)malloc(sizeof (struct_o_death)); in main()
61 * as the last time. Turn the rotor with malloc until in main()
65 leak = malloc(sizeof (struct_o_death)); in main()
67 fprintf(stderr, "malloc struct again\n"); in main()
69 foo = malloc(sizeof (struct_o_death)); in main()
/titanic_51/usr/src/lib/libfru/libfruraw/
H A Dfruraw.c87 node = (raw_list_t *)malloc(sizeof (raw_list_t)); in make_raw()
214 segs = malloc(sizeof (*segs) * (num_segment)); in add_segs_for_section()
230 char *tmp = malloc(sizeof (*tmp) * (sizeof (segs[i].name)+1)); in add_segs_for_section()
266 sects = malloc(sizeof (*sects) * (num_section)); in frt_get_seg_list()
308 segs = malloc(sizeof (*segs) * (num_seg)); in find_seg_in_sect()
354 sect = malloc(sizeof (*sect) * (num_sect)); in find_segment()
444 sects = malloc((num_sect + 1) * sizeof (section_t)); in frt_for_each_segment()
460 segs = malloc((num_segment + 1) * sizeof (segment_t)); in frt_for_each_segment()
473 tmp_list = malloc(sizeof (segment_list_t)); in frt_for_each_segment()
517 sects = malloc(sizeo in frt_get_segment_name()
[all...]
/titanic_51/usr/src/cmd/ypcmd/revnetgroup/
H A Dutil.h40 #define MALLOC(object_type) ((object_type *) malloc(sizeof(object_type)))
45 (dst = malloc((unsigned)strlen(src)+1), (void) strcpy(dst,src))
48 (dst = (char *) malloc((unsigned)(num) + 1),\
52 extern char *malloc();
/titanic_51/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dbld_pr_ext.c58 princ_data = (krb5_data *) malloc(sizeof(krb5_data) * count); in krb5_build_principal_ext()
61 princ_ret = (krb5_principal) malloc(sizeof(krb5_principal_data)); in krb5_build_principal_ext()
68 tmpdata = malloc(rlen+1); in krb5_build_principal_ext()
85 princ_data[i].data = malloc(size+1); in krb5_build_principal_ext()
/titanic_51/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1buf.c68 *buf = (asn1buf*)malloc(sizeof(asn1buf)); in asn1buf_create()
214 *s = (asn1_octet*)malloc(len*sizeof(asn1_octet)); in asn1buf_remove_octetstring()
233 *s = (char*)malloc(len*sizeof(char)); in asn1buf_remove_charstring()
264 (*code)->data = (char*)malloc((((*code)->length)+1)*sizeof(char)); in asn12krb5_buf()
285 *s = malloc(sizeof("<NULL>")); in asn1buf_unparse()
289 *s = malloc(sizeof("<EMPTY>")); in asn1buf_unparse()
314 *s = malloc(sizeof("<NULL>")); in asn1buf_hex_unparse()
318 *s = malloc(sizeof("<EMPTY>")); in asn1buf_hex_unparse()
325 *s = malloc(3*length); in asn1buf_hex_unparse()
377 buf->base = malloc((asn1buf_siz in asn1buf_expand()
[all...]
/titanic_51/usr/src/lib/libpkg/common/
H A Dnhash.c41 #define malloc bkmem_alloc macro
79 if ((*cp = (Cache *) malloc(sizeof (**cp))) == NULL) { in init_cache()
80 (void) fprintf(stderr, pkg_gt("malloc(Cache **cp)")); in init_cache()
84 (Bucket *) malloc(sizeof (*(*cp)->bp) * hsz)) == NULL) { in init_cache()
85 (void) fprintf(stderr, pkg_gt("malloc(Bucket cp->bp)")); in init_cache()
125 (Item **) malloc(sizeof (*bp->itempp) * cp->bsz); in add_cache()
134 (Item **) malloc(sizeof (*bp->itempp) * in add_cache()

12345678910>>...111