Lines Matching refs:chunkLen
218 …eadChunk (int offset, char *compBuf, int compSize, char *chunkBuf, uLongf * chunkLen, gdIOCtx * in) in _gd2ReadChunk() argument
234 GD2_DBG(gd_error("Got %d bytes. Uncompressing into buffer of %d bytes", compSize, (int)*chunkLen)); in _gd2ReadChunk()
235 zerr = uncompress((unsigned char *) chunkBuf, chunkLen, (unsigned char *) compBuf, compSize); in _gd2ReadChunk()
278 uLongf chunkLen; in gdImageCreateFromGd2Ctx() local
327 chunkLen = chunkMax; in gdImageCreateFromGd2Ctx()
329 …k(chunkIdx[chunkNum].offset, compBuf, chunkIdx[chunkNum].size, (char *) chunkBuf, &chunkLen, in)) { in gdImageCreateFromGd2Ctx()
448 uLongf chunkLen; in gdImageCreateFromGd2PartCtx() local
568 chunkLen = chunkMax; in gdImageCreateFromGd2PartCtx()
569 …k (chunkIdx[chunkNum].offset, compBuf, chunkIdx[chunkNum].size, (char *)chunkBuf, &chunkLen, in)) { in gdImageCreateFromGd2PartCtx()
668 int chunkLen; in _gdImageGd2() local
751 chunkLen = 0; in _gdImageGd2()
765 chunkData[chunkLen++] = gdTrueColorGetAlpha(p); in _gdImageGd2()
766 chunkData[chunkLen++] = gdTrueColorGetRed(p); in _gdImageGd2()
767 chunkData[chunkLen++] = gdTrueColorGetGreen(p); in _gdImageGd2()
768 chunkData[chunkLen++] = gdTrueColorGetBlue(p); in _gdImageGd2()
770 chunkData[chunkLen++] = im->pixels[y][x]; in _gdImageGd2()
789 …ess((unsigned char *) &compData[0], &compLen, (unsigned char *) &chunkData[0], chunkLen) != Z_OK) { in _gdImageGd2()