/illumos-gate/usr/src/cmd/sgs/gprof/common/ |
H A D | readelf.c | 222 if ((modules.name = malloc(strlen(filename) + 1)) == NULL) { 223 (void) fprintf(stderr, "%s: can't malloc %d bytes", 275 textspace = malloc(textsize); 307 if ((orig_list = malloc(sizeof (nltype) * *sym_count)) == NULL) { 309 "gprof: remove_dup_syms: malloc failed\n");
|
/illumos-gate/usr/src/cmd/acctadm/ |
H A D | aconf.c | 78 if ((buf = malloc(AC_BUFSIZE)) == NULL) 180 if ((buf = malloc(AC_BUFSIZE)) == NULL) { 536 if ((p = malloc(sizeof (props_t))) != NULL) {
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | add_allocatable.c | 444 if (nopts = (char *)malloc(nlen)) { 460 if (nopts = (char *)malloc(nlen)) { 476 if (nopts = (char *)malloc(nlen)) {
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioFile.cc | 33 #include <malloc.h> 113 tmpdir = (char *)malloc(strlen(path) + 1); 144 tmpstr = (char *)malloc(1 + strlen(TMPFILE) +
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | glob.c | 121 agargv = (char **)malloc(GAVSIZ * sizeof (char *)); 721 register char *ep = malloc((unsigned)(strlen(cp) + strlen(dp) + 1)); 733 register char **nv = (char **)malloc((unsigned)((blklen(v) + 1) *
|
/illumos-gate/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_util.c | 331 cmd_argv = (char **) malloc(sizeof(char *)*argc); 516 passwd = (char *)malloc(MAX_PASSWD_LEN); 523 prompt = (char *)malloc(MAX_PASSWD_PROMPT_LEN);
|
/illumos-gate/usr/src/cmd/last/ |
H A D | last.c | 145 names = malloc(argc * sizeof (char *)); 436 ttnames[i] = (char *)malloc(LMAX + HMAX + NMAX + 3); 513 char *res = malloc(ressize);
|
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | nlist.c | 310 if ((ddst = (Elf_Data *)malloc(sizeof (Elf_Data))) == 0) 313 if ((p = malloc(maxsize)) == 0) { 426 (strtab = (char *)malloc(
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios_datagram.c | 337 if ((buffer = malloc(MAX_DATAGRAM_LENGTH * 4)) == NULL) { 417 if ((buffer = malloc(MAX_DATAGRAM_LENGTH * 4)) == NULL) { 860 if ((datagram = malloc(sizeof (struct datagram))) == NULL) {
|
/illumos-gate/usr/src/lib/libast/amd64/include/ast/ |
H A D | ast_map.h | 418 /* cannot override local malloc */ 429 #undef malloc macro 430 #define malloc _ast_malloc macro 431 extern __MANGLE__ __V_* malloc __PROTO__((size_t));
|
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/ |
H A D | ast_map.h | 397 /* cannot override local malloc */ 408 #undef malloc macro 409 #define malloc _ast_malloc macro 410 extern __MANGLE__ __V_* malloc __PROTO__((size_t));
|
/illumos-gate/usr/src/lib/libast/common/disc/ |
H A D | sfdcdos.c | 173 if(dp->maptable=(struct map*)malloc((MINMAP+1)*sizeof(struct map))) 186 dp->buff = malloc(count); 401 if(!(dos = (Dosdisc_t*)malloc(sizeof(Dosdisc_t))) )
|
/illumos-gate/usr/src/lib/libast/i386/include/ast/ |
H A D | ast_map.h | 418 /* cannot override local malloc */ 429 #undef malloc macro 430 #define malloc _ast_malloc macro 431 extern __MANGLE__ __V_* malloc __PROTO__((size_t));
|
/illumos-gate/usr/src/lib/libast/i386/src/lib/libast/ |
H A D | ast_map.h | 397 /* cannot override local malloc */ 408 #undef malloc macro 409 #define malloc _ast_malloc macro 410 extern __MANGLE__ __V_* malloc __PROTO__((size_t));
|
/illumos-gate/usr/src/lib/libast/sparc/include/ast/ |
H A D | ast_map.h | 418 /* cannot override local malloc */ 429 #undef malloc macro 430 #define malloc _ast_malloc macro 431 extern __MANGLE__ __V_* malloc __PROTO__((size_t));
|
/illumos-gate/usr/src/lib/libast/sparc/src/lib/libast/ |
H A D | ast_map.h | 397 /* cannot override local malloc */ 408 #undef malloc macro 409 #define malloc _ast_malloc macro 410 extern __MANGLE__ __V_* malloc __PROTO__((size_t));
|
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | ast_map.h | 418 /* cannot override local malloc */ 429 #undef malloc macro 430 #define malloc _ast_malloc macro 431 extern __MANGLE__ __V_* malloc __PROTO__((size_t));
|
/illumos-gate/usr/src/lib/libast/sparcv9/src/lib/libast/ |
H A D | ast_map.h | 397 /* cannot override local malloc */ 408 #undef malloc macro 409 #define malloc _ast_malloc macro 410 extern __MANGLE__ __V_* malloc __PROTO__((size_t));
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_kmod.c | 166 if ((ioc = malloc(ioclen)) != NULL) { 191 if ((ioc = malloc(ioclen)) != NULL) { 274 if ((ioc = malloc(ioclen)) == NULL) {
|
/illumos-gate/usr/src/cmd/lofiadm/ |
H A D | main.c | 202 return (malloc(size)); 665 kciphers = malloc(sizeof (crypto_get_mechanism_list_t) + 686 kciphers = malloc(sizeof (crypto_get_mechanism_list_t) + 735 kinfo = malloc(sizeof (crypto_get_all_mechanism_info_t) + 755 kinfo = malloc( 840 if (((fld) = malloc(n)) != NULL) { \ 876 ti = malloc(sizeof (token_spec_t)); 984 *key = malloc(*ksz); 1026 *key = malloc(*ksz); 1328 die("malloc"); [all...] |
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | stand.h | 251 extern void *malloc(size_t bytes); 412 #define malloc(x) Malloc(x, __FILE__, __LINE__) macro 417 #define malloc(x) Malloc(x, NULL, 0) macro
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | scf_tmpl.c | 182 char *buf = malloc(sz); 223 char *buf = malloc(sz); 253 char *buf = malloc(sz); 408 ret = malloc(rsize); 603 vals->values.v_astring[count] = malloc(rsize); 725 lname = malloc(lsz); 765 name = malloc(limit); 816 char *buf = malloc(sz); 856 name = malloc(limit); 1744 if ((fmribuf = malloc(fbufs [all...] |
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/ |
H A D | digestmd5.c | 485 char *ret = (char *) utils->malloc(NONCE_SIZE); 508 base64buf = (unsigned char *) utils->malloc(base64len + 1); 831 c = (des_context_t *) text->utils->malloc(2 * sizeof(des_context_t)); 958 c = (des_context_t *) text->utils->malloc(2 * sizeof(des_context_t)); 1117 (cipher_context_t *) text->utils->malloc(sizeof(rc4_context_t)); 1121 (cipher_context_t *) text->utils->malloc(sizeof(rc4_context_t)); 1291 enc_context = text->utils->malloc(sizeof (uef_context_t)); 1330 dec_context = text->utils->malloc(sizeof(uef_context_t)); 1853 text->buffer=text->utils->malloc(text->size+5); 2204 text->buffer=text->utils->malloc(tex [all...] |
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_nfs.c | 451 new = (struct mapfs *)malloc(sizeof (struct mapfs)); 886 path = malloc(strlen(dir) + 2); 899 malloc(sizeof (struct nfs_args)); 985 path = malloc(strlen(dir) + 2); 1178 malloc(sizeof (struct nfs_args)); 1598 argp->fh = malloc((sizeof (fhandle))); 1772 argp->fh = malloc(sizeof (nfs_fh3)); 2033 malloc(sizeof (struct netbuf)); 2035 malloc(syncaddr->len); 2231 if ((mnttabtext = malloc(mnttabcn [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_runtime.c | 256 line_bufferp = (char *)malloc(line_buffer_size); 259 "%s: malloc failed\n"), function_namep); 260 syslog(LOG_ERR, dgettext(TEXT_DOMAIN, "%s: malloc failed\n"),
|