Searched refs:malloc (Results 501 - 525 of 2509) sorted by relevance
<<21222324252627282930>>
/illumos-gate/usr/src/lib/libsqlite/tool/ |
H A D | showdb.c | 28 aData = malloc(pagesize);
|
H A D | showjournal.c | 28 aData = malloc(pagesize);
|
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_alloc.c | 35 void *p = malloc(n); 92 * Duplicate a block of memory. Combines malloc with memcpy, much as 93 * strdup combines malloc, strlen, and strcpy.
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | xdr_array.c | 94 *addrp = target = malloc(nodesize);
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgerr.c | 60 newerr = (PKG_ERR *)malloc(sizeof (PKG_ERR));
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | getgraent.c | 34 #include <malloc.h> 389 ls = (struct list *)malloc(sizeof(struct list)); 390 buf = (char *)malloc(strlen(name) + 1); 417 g->sv->gra_passwd = (char *)malloc(strlen(gra->gra_passwd) + 1);
|
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | write.c | 61 if ((nbuf = (void *)malloc(nsize)) == NULL) { 62 (void) fprintf(stderr, "write: malloc failed\n");
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | fdlist.c | 76 if ((fdnew = (struct fd_lst *)malloc(sizeof(struct fd_lst))) == NULL) { 77 fprintf(stderr,"fd_add: malloc failed\n");
|
H A D | getdents.c | 76 if ((nbuf = (char *)malloc(nbytes)) == NULL) {
|
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | write.c | 57 if ((nbuf = (void *)malloc(nsize)) == NULL) { 58 (void) fprintf(stderr, "write: malloc failed\n");
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getusershell.c | 136 * The +1 in the malloc() below is needed to handle the final 148 ((strings = malloc((size_t)statb.st_size + 1)) == NULL)) {
|
H A D | iconv.c | 92 if ((cd = malloc(sizeof (struct _iconv_info))) == NULL) 98 ipath = malloc(MAXPATHLEN); 136 cd->_conv = malloc(sizeof (struct _iconv_fields)); 342 if ((cdpath = malloc(sizeof (struct _iconv_fields))) == NULL)
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | tempnam.c | 69 if ((p = malloc(max(max(x, y), z)+16)) == NULL)
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | g_dsp_name.c | 123 malloc(union_name->external_name->length + 1)) == NULL) {
|
H A D | g_dup_name.c | 93 dest_union = (gss_union_name_t)malloc(sizeof (gss_union_name_desc));
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sym.c | 89 (pm = (prmap_t*)malloc(statbuf.st_size)) == NULL) 134 if ((ph = (Elf_Phdr*)malloc(size)) == NULL) 150 if ((sh = (Elf_Shdr*)malloc(size)) == NULL) 182 if ((stbuf = (char*)malloc(size)) == NULL)
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | getlist.c | 59 it = (listofnames *) malloc(sizeof (listofnames)); 103 "file %s bad malloc %s\n", filename, name);
|
/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | util.c | 99 if ((g_cpu_table = malloc(cpus_conf * sizeof (processorid_t))) == NULL)
|
/illumos-gate/usr/src/cmd/rctladm/ |
H A D | rctladm.c | 117 if ((gblk = malloc(rctlblk_size())) == NULL) 211 if ((gblk = malloc(rctlblk_size())) == NULL) 267 if ((gblk = malloc(rctlblk_size())) == NULL) 411 if ((gblk = malloc(rctlblk_size())) == NULL)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | defs.h | 96 #define ALLOC(x) (struct x *)malloc(sizeof (struct x))
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | defs.h | 71 #include <malloc.h>
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | mkdead.c | 60 if((hmdead = malloc(strlen(home) + strlen(dead) + 1)) == NULL) { 61 fprintf(stderr, "%s: Can't malloc\n",program); 62 Dout(pn, 0, "Cannot malloc.\n");
|
H A D | pushlist.c | 58 if ((p = malloc(sizeof(struct hdrs))) == (char *)NULL) { 59 errmsg(E_MEM,"malloc failed in pushlist()");
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | myfopen.c | 67 if ((newnode = (NODE *)malloc(sizeof(NODE))) == (NODE *)NULL) {
|
/illumos-gate/usr/src/cmd/mktemp/ |
H A D | mktemp.c | 119 tmp = malloc(len); 121 perror("malloc");
|
Completed in 128 milliseconds
<<21222324252627282930>>