Lines Matching defs:MALLOC
447 #define MALLOC(size) malloc((size), M_TEMP, M_WAITOK)
451 #define MALLOC(size) malloc((size))
987 good = (unsigned char *) MALLOC(req_comp * x * y);
1027 float *output = (float *) MALLOC(x * y * comp * sizeof(float));
1045 stbi_uc *output = (stbi_uc *) MALLOC(x * y * comp);
1722 z->img_comp[i].raw_data = MALLOC(z->img_comp[i].w2 * z->img_comp[i].h2+15);
1985 z->img_comp[k].linebuf = (uint8 *) MALLOC(z->s.img_x + 3);
2003 output = (uint8 *) MALLOC(n * z->s.img_x * z->s.img_y + 1);
2076 jpeg *j = (jpeg *) MALLOC(sizeof(*j));
2514 char *p = (char *) MALLOC(initial_size);
2535 char *p = (char *) MALLOC(initial_size);
2562 char *p = (char *) MALLOC(16384);
2659 a->out = (uint8 *) MALLOC(x * y * out_n);
2739 final = (uint8 *) MALLOC(a->s.img_x * a->s.img_y * out_n);
2799 p = (uint8 *) MALLOC(pixel_count * pal_img_n);
3309 out = (stbi_uc *) MALLOC(target * s->img_x * s->img_y);
3598 tga_data = (unsigned char*)MALLOC( tga_width * tga_height * req_comp );
3608 tga_palette = (unsigned char*)MALLOC( tga_palette_len * tga_palette_bits / 8 );
3872 out = (stbi_uc *) MALLOC(4 * w*h);
4182 result = (stbi_uc *) MALLOC(x*y*4);
4478 g->out = (uint8 *) MALLOC(4 * g->w * g->h);
4485 g->out = (uint8 *) MALLOC(4 * g->w * g->h);
4607 pg = (stbi_gif *) MALLOC(sizeof(*pg));
4792 hdr_data = (float *) MALLOC(height * width * req_comp * sizeof(float));
4831 if (scanline == NULL) scanline = (stbi_uc *) MALLOC(width * 4);