Lines Matching refs:cidx
59 t_chunk_info *cidx; in _gd2GetHeader() local
152 cidx = gdCalloc(sidx, 1); in _gd2GetHeader()
153 if (cidx == NULL) { in _gd2GetHeader()
158 if (gdGetInt(&cidx[i].offset, in) != 1) { in _gd2GetHeader()
159 gdFree(cidx); in _gd2GetHeader()
162 if (gdGetInt(&cidx[i].size, in) != 1) { in _gd2GetHeader()
163 gdFree(cidx); in _gd2GetHeader()
166 if (cidx[i].offset < 0 || cidx[i].size < 0) { in _gd2GetHeader()
167 gdFree(cidx); in _gd2GetHeader()
171 *chunkIdx = cidx; in _gd2GetHeader()
182 …txPtr in, int *sx, int *sy, int *cs, int *vers, int *fmt, int *ncx, int *ncy, t_chunk_info ** cidx) in _gd2CreateFromFile() argument
186 if (_gd2GetHeader (in, sx, sy, cs, vers, fmt, ncx, ncy, cidx) != 1) { in _gd2CreateFromFile()
212 gdFree(*cidx); in _gd2CreateFromFile()