Searched refs:malloc (Results 26 - 50 of 163) sorted by relevance

1234567

/ast/src/lib/libast/comp/
H A Dhsearch.c130 (o = (Hash_t*)malloc(sizeof(Hash_t)) ) )
/ast/src/lib/libast/disc/
H A Dsfdctee.c86 if(!(te = (Tee_t*)malloc(sizeof(Tee_t))) )
H A Dsfdcprefix.c131 if (!(pfx = (Prefix_t*)malloc(sizeof(Prefix_t) + n)))
H A Dsfdcdos.c173 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))) )
/ast/src/lib/libast/sfio/
H A Dsfprints.c99 { if(!(*sp = (char*)malloc(n = strlen(s)+1)) )
H A Dsfungetc.c91 if(!(data = (uchar*)malloc(f->size+16)))
H A Dsfexcept.c88 else data = (uchar*)malloc(size);
H A Dsfnew.c97 { if(!(f = (Sfio_t*)malloc(sizeof(Sfio_t))) )
H A Dsfswap.c64 { if(!(f2 = (Sfio_t*)malloc(sizeof(Sfio_t))) )
H A Dsfpoll.c47 if(!(status = (int*)malloc(2*n*sizeof(int))) )
114 if(!(fds = (struct pollfd*)malloc(m*sizeof(struct pollfd))) )
H A Dsfpopen.c69 if(!(cmd = (char*)malloc(strlen(argcmd)+1)) )
72 if(!(argv = (char**)malloc(16*sizeof(char*))) )
/ast/src/cmd/tests/aso/
H A Dtthread.c93 { if(!(obj = malloc(sizeof(Obj_t))) )
94 terror("malloc failed");
/ast/src/cmd/cs/vcs_src/
H A Dmnt_mtab.c45 entry = (entry_t *)malloc(sizeof(entry_t));
/ast/src/lib/libtksh/include/
H A Dnvextra.h23 malloc(sizeof(Namfun_t)); \
/ast/src/lib/libvcodex/Vcwindow/
H A Dvcwfile.c104 if(!(vcwf = (Vcwfile_t*)malloc(sizeof(Vcwfile_t))) )
153 if(!(vcwf->sig = (Grint_t*)malloc(nsig*sizeof(Grint_t))) ||
154 !(vcwf->ssig = (Grint_t**)malloc(nsig*sizeof(Grint_t*))) )
267 if(!(vcwf->work = (Grint_t*)malloc(nwork*sizeof(Grint_t))) )
H A Dvcwmirror.c87 if(!(mir = (Mirror_t*)malloc(sizeof(Mirror_t))) )
/ast/src/lib/libtksh/src/
H A Dlist.c49 newargv = (char **) malloc(size + argc * (sizeof(char *) + 1) );
110 command = (char *) malloc(strlen(list)+strlen(SPLIT_CMD_NAME)+2);
277 npattern = (char *) malloc(len);
/ast/src/lib/libvcodex/Vchuff/
H A Dvchtrie.c71 if(!(node = (short*)malloc(2*s*sizeof(short))) )
163 if(!(sort = (Vcbit_t**)malloc(nsym*sizeof(Vcbit_t*))) )
166 if(!(trie = (Vchtrie_t*)malloc(sizeof(Vchtrie_t))) )
H A Dvchcode.c100 if(!(len = (Vcchar_t*)malloc(nl*sizeof(Vcchar_t*))) )
144 if(!(len = (Vcchar_t*)malloc(nsym*sizeof(Vcchar_t*))) )
H A Dvchsize.c73 if(!(tree = (Vchtree_t*)malloc(nsym*sizeof(Vchtree_t))) ||
74 !(sort = (Vchtree_t**)malloc(nsym*sizeof(Vchtree_t*))) )
/ast/src/cmd/mailx/port/
H A Ddthdr.h136 extern Void_t* malloc _ARG_((int));
/ast/src/cmd/tests/vmalloc/
H A Dtsafemalloc.c50 if(!(tdata->list[k] = malloc(size)) )
51 terror("Thread %d: failed to malloc(%d), total=%d", thread, size, total);
/ast/src/cmd/ksh93/sh/
H A Dtimers.c191 else if(!(tp=(Timer_t*)malloc(sizeof(Timer_t))))
206 Handler_t *hp = (Handler_t*)malloc(sizeof(Handler_t));
/ast/src/lib/libz/
H A Dzutil.h100 # include <malloc.h>
121 #include <malloc.h>
/ast/src/cmd/kshlib/dbm_t/
H A Ddbm_t.c100 *buff = (char*)malloc(olds=news+1);
195 ap->val = (char*)malloc(ap->vallen=40);
404 char *tmp = (char*)malloc(n=sizeof(NV_CLASS)+strlen(tname)+2);

Completed in 119 milliseconds

1234567