Lines Matching refs:malloc

34 extern void *malloc();
339 freelist = (struct action *)malloc( sizeof(struct action)*amt );
437 acttab *p = malloc( sizeof(*p) );
454 fprintf(stderr,"malloc failed\n");
496 fprintf(stderr,"malloc failed\n");
1046 freelist = (struct config *)malloc( sizeof(struct config)*amt );
2027 rp = (struct rule *)malloc( sizeof(struct rule) +
2309 filebuf = (char *)malloc( filesize+1 );
2434 plink_freelist = (struct plink *)malloc( sizeof(struct plink)*amt );
2493 ** name comes from malloc() and must be freed by the calling
2503 name = malloc( strlen(lemp->filename) + strlen(suffix) + 5 );
2726 path = (char *)malloc( strlen(argv0) + strlen(name) + 2 );
2733 path = (char *)malloc( strlen(pathlist)+strlen(name)+2 );
3027 types = (char**)malloc( arraysize * sizeof(char*) );
3040 stddt = (char*)malloc( maxdtlength*2 + 1 );
3085 types[hash] = (char*)malloc( strlen(stddt)+1 );
3275 ax = malloc( sizeof(ax[0])*lemp->nstate*2 );
3277 fprintf(stderr,"malloc failed\n");
3660 s = (char*)malloc( size );
3735 if( z==0 && (z=malloc( strlen(y)+1 ))!=0 ){
3770 x1a = (struct s_x1*)malloc( sizeof(struct s_x1) );
3774 x1a->tbl = (x1node*)malloc(
3813 array.tbl = (x1node*)malloc(
3815 if( array.tbl==0 ) return 0; /* Fail due to malloc failure */
3871 sp = (struct symbol *)malloc( sizeof(struct symbol) );
3932 x2a = (struct s_x2*)malloc( sizeof(struct s_x2) );
3936 x2a->tbl = (x2node*)malloc(
3976 array.tbl = (x2node*)malloc(
3978 if( array.tbl==0 ) return 0; /* Fail due to malloc failure */
4046 ** The array is obtained from malloc. Return NULL if memory allocation
4054 array = (struct symbol **)malloc( sizeof(struct symbol *)*size );
4105 new = (struct state *)malloc( sizeof(struct state) );
4138 x3a = (struct s_x3*)malloc( sizeof(struct s_x3) );
4142 x3a->tbl = (x3node*)malloc(
4182 array.tbl = (x3node*)malloc(
4184 if( array.tbl==0 ) return 0; /* Fail due to malloc failure */
4233 ** The array is obtained from malloc. Return NULL if memory allocation
4241 array = (struct state **)malloc( sizeof(struct state *)*size );
4284 x4a = (struct s_x4*)malloc( sizeof(struct s_x4) );
4288 x4a->tbl = (x4node*)malloc(
4327 array.tbl = (x4node*)malloc(
4329 if( array.tbl==0 ) return 0; /* Fail due to malloc failure */