Lines Matching refs:compBuf
218 static int _gd2ReadChunk (int offset, char *compBuf, int compSize, char *chunkBuf, uLongf * chunkLe… in _gd2ReadChunk() argument
231 if (gdGetBuf(compBuf, compSize, in) != compSize) { in _gd2ReadChunk()
235 zerr = uncompress((unsigned char *) chunkBuf, chunkLen, (unsigned char *) compBuf, compSize); in _gd2ReadChunk()
282 char *compBuf = NULL; /* So we can gdFree it with impunity. */ in gdImageCreateFromGd2Ctx() local
310 compBuf = gdCalloc(compMax, 1); in gdImageCreateFromGd2Ctx()
329 …if (!_gd2ReadChunk(chunkIdx[chunkNum].offset, compBuf, chunkIdx[chunkNum].size, (char *) chunkBuf,… in gdImageCreateFromGd2Ctx()
386 if (compBuf) { in gdImageCreateFromGd2Ctx()
387 gdFree(compBuf); in gdImageCreateFromGd2Ctx()
402 if (compBuf) { in gdImageCreateFromGd2Ctx()
403 gdFree(compBuf); in gdImageCreateFromGd2Ctx()
451 char *compBuf = NULL; in gdImageCreateFromGd2PartCtx() local
507 compBuf = gdCalloc(compMax, 1); in gdImageCreateFromGd2PartCtx()
569 …if (!_gd2ReadChunk (chunkIdx[chunkNum].offset, compBuf, chunkIdx[chunkNum].size, (char *)chunkBuf,… in gdImageCreateFromGd2PartCtx()
619 if (compBuf) { in gdImageCreateFromGd2PartCtx()
620 gdFree(compBuf); in gdImageCreateFromGd2PartCtx()
634 if (compBuf) { in gdImageCreateFromGd2PartCtx()
635 gdFree(compBuf); in gdImageCreateFromGd2PartCtx()