/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/ |
H A D | NS.c | 339 printer = (ns_printer_t *)malloc(sizeof (*printer)); 344 addr = (ns_bsd_addr_t *)malloc(sizeof (*addr)); 429 printer = (ns_printer_t *)malloc(sizeof (*printer)); 471 cred = (ns_cred_t *)malloc(sizeof (*cred)); 492 printer->nsdata = malloc(sizeof (NS_LDAPDATA)); 514 printer->nsdata = malloc(sizeof (NS_LDAPDATA)); 539 printer = (ns_printer_t *)malloc(sizeof (*printer)); 552 item = (char *)malloc(strlen("bsdaddr") + 557 item = (char *)malloc(strlen("bsdaddr") + 578 item = (char *)malloc(strle [all...] |
/illumos-gate/usr/src/tools/stabs/ |
H A D | stabs.c | 227 tdp = malloc(sizeof (*tdp)); 292 new = malloc(len); 366 tdp = malloc(sizeof (*tdp)); 380 *rtdp = malloc(sizeof (**rtdp)); 435 ntdp = malloc(sizeof (*ntdp)); 440 *rtdp = malloc(sizeof (**rtdp)); 451 *rtdp = malloc(sizeof (**rtdp)); 459 *rtdp = malloc(sizeof (**rtdp)); 469 *rtdp = malloc(sizeof (**rtdp)); 479 *rtdp = malloc(sizeo [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | make_random_key.c | 66 if ((bytes = (unsigned char *) malloc(keybytes)) == NULL) 68 if ((random_key->contents = (krb5_octet *) malloc(keylength)) == NULL) {
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | full_ipadr.c | 47 if (!(retaddr = (krb5_address *)malloc(sizeof(*retaddr)))) { 55 if (!(retaddr->contents = (krb5_octet *)malloc(retaddr->length))) {
|
H A D | get_krbhst.c | 104 rethosts = malloc(sizeof(char *) * (count + 1)); 111 rethosts[i] = malloc(len);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | utf8_conv.c | 145 *ucs2s = (krb5_ucs2 *)malloc((chars + 1) * sizeof(krb5_ucs2)); 174 *ucs2s = (krb5_ucs2 *)malloc((chars + 1) * sizeof(krb5_ucs2)); 203 *ucs2les = (unsigned char *)malloc((chars + 1) * sizeof(krb5_ucs2)); 233 *ucs2les = (unsigned char *)malloc((chars + 1) * sizeof(krb5_ucs2)); 341 *utf8s = (char *)malloc((size_t)len + 1); 371 *utf8s = (char *)malloc((size_t)len + 1); 406 *utf8s = (char *)malloc((size_t)len + 1); 442 *utf8s = (char *)malloc((size_t)len + 1);
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | newkey.c | 68 (((keys = (_KEY_MAP **) malloc(sizeof (_KEY_MAP *) * 75 if ((key_info = (_KEY_MAP *) malloc(sizeof (_KEY_MAP) + len)) ==
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | link_addr.c | 54 ((buf = malloc(3 * size)) == NULL)) 109 if ((netaddr = malloc(numcolons + 1)) == NULL) {
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | strngmem.c | 42 unsigned long nmalloc; /* The number of strings allocated with malloc */ 74 sm = (StringMem *) malloc(sizeof(StringMem)); 147 int was_malloc; /* True if malloc was used to allocate the string */ 164 string = (char *) malloc(length+1); /* Leave room for the flag byte */ 168 * Count malloc allocations. 175 * allocated with malloc or from the free-list. Then return the rest 194 int was_malloc; /* True if the string originally came from malloc() */ 204 * from malloc().
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rpc_td.c | 64 t_optreq.opt.buf = malloc(MAXOPTSIZE); 82 t_optret.opt.buf = malloc(MAXOPTSIZE);
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | scandir.c | 58 names = (struct direct **)malloc(arraysz * sizeof(struct direct *)); 69 p = (struct direct *)malloc(DIRSIZ(d));
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/ |
H A D | setvbuf.c | 37 extern char *malloc(); 76 buf = malloc((unsigned)size);
|
H A D | tempnam.c | 38 extern char *malloc(), *getenv(), *mktemp(); 61 if((p=malloc((unsigned)(max(max(x,y),z)+16))) == NULL)
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | strcoll.c | 73 if ((t1 = malloc(sz1 * sizeof (wchar_t))) == NULL) 81 if ((t2 = malloc(sz2 * sizeof (wchar_t))) == NULL)
|
/illumos-gate/usr/src/lib/libc/port/print/ |
H A D | asprintf.c | 50 if ((newstr = malloc(len)) == NULL) 51 return (-1); /* retain errno from malloc() */ 67 if ((newstr = malloc(len)) == NULL) 68 return (-1); /* retain errno from malloc() */
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | _findbuf.c | 44 * If buffer space has been pre-allocated use it otherwise malloc space. 48 * If malloc() fails stdio bails out; assumption being the system is in trouble. 68 else if ((buf = (Uchar *)malloc(_SMBFSZ * sizeof (Uchar))) != 88 if ((buf = (Uchar *)malloc(sizeof (Uchar)*(size+_SMBFSZ))) != 95 return (NULL); /* malloc() failed */
|
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | sized_array.c | 34 #include <malloc.h> 62 sa = malloc(total);
|
/illumos-gate/usr/src/lib/libmalloc/ |
H A D | Makefile.com | 31 OBJECTS= malloc.o
|
/illumos-gate/usr/src/cmd/ypcmd/ypupdated/ |
H A D | openchild.c | 50 extern void *malloc(); 105 com = malloc((unsigned)strlen(command) + 6);
|
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema_test_subr.c | 45 (struct mtest_alloc_ent *)malloc(sizeof (struct mtest_alloc_ent)); 49 new_ent->buf = malloc(size);
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | add_recip.c | 83 if ((p = malloc (sizeof(struct recip))) == (char *)NULL) { 84 errmsg(E_MEM,"first malloc failed in add_recip()"); 89 if ((r->name = malloc (strlen(name)+1)) == (char *)NULL) { 90 errmsg(E_MEM,"second malloc failed in add_recip()");
|
/illumos-gate/usr/src/cmd/man/ |
H A D | stringlist.c | 47 if ((sl = malloc(sizeof (stringlist))) == NULL) 48 err(1, "malloc"); 52 sl->sl_str = malloc(sl->sl_max * sizeof (char *)); 54 err(1, "malloc");
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/vars/ |
H A D | tst.ucaller.ksh | 31 # implementation of malloc(3C). If you're reading this comment because 47 pid\$target:ld.so.1:malloc:entry
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | alloc.c | 64 * alloc_malloc -- a malloc() with checks 72 void *retval = malloc(nbytes); 75 outfl(O_DIE, fname, line, "malloc: out of memory"); 139 retval = malloc(nbytes); 141 out(O_DIE, "malloc: out of memory");
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | combine_keys.c | 118 if ((r1 = (unsigned char *) malloc(keybytes)) == NULL) 121 if ((r2 = (unsigned char *) malloc(keybytes)) == NULL) { 126 if ((rnd = (unsigned char *) malloc(keybytes)) == NULL) { 132 if ((combined = (unsigned char *) malloc(keybytes * 2)) == NULL) { 139 if ((output = (unsigned char *) malloc(keylength)) == NULL) { 248 outkey->contents = (krb5_octet *) malloc(keylength); 317 if ((inblockdata = (unsigned char *) malloc(blocksize)) == NULL) 320 if ((outblockdata = (unsigned char *) malloc(blocksize)) == NULL) {
|