Searched refs:newbuffer (Results 1 – 3 of 3) sorted by relevance
50 unsigned char * newbuffer; /* newly allocated buffer */ member138 if (dest->newbuffer != NULL) in empty_mem_output_buffer()139 free(dest->newbuffer); in empty_mem_output_buffer()141 dest->newbuffer = nextbuffer; in empty_mem_output_buffer()258 dest->newbuffer = NULL; in jpeg_mem_dest()262 dest->newbuffer = *outbuffer = (unsigned char *) malloc(OUTPUT_BUF_SIZE); in jpeg_mem_dest()263 if (dest->newbuffer == NULL) in jpeg_mem_dest()
969 unsigned char *newbuffer = NULL; in ensure() local1009 newbuffer = (unsigned char *)p->hooks.reallocate(p->buffer, newsize); in ensure()1010 if (newbuffer == NULL) { in ensure()1019 newbuffer = (unsigned char *)p->hooks.allocate(newsize); in ensure()1020 if (!newbuffer) { in ensure()1027 if (newbuffer) { in ensure()1028 memcpy(newbuffer, p->buffer, p->offset + 1); in ensure()1033 p->buffer = newbuffer; in ensure()1035 return newbuffer + p->offset; in ensure()
375 unsigned char *newbuffer = NULL; in ensure() local426 newbuffer = (unsigned char*)p->hooks.reallocate(p->buffer, newsize); in ensure()427 if (newbuffer == NULL) in ensure()439 newbuffer = (unsigned char*)p->hooks.allocate(newsize); in ensure()440 if (!newbuffer) in ensure()448 if (newbuffer) in ensure()450 memcpy(newbuffer, p->buffer, p->offset + 1); in ensure()455 p->buffer = newbuffer; in ensure()457 return newbuffer + p->offset; in ensure()
Completed in 12 milliseconds