Lines Matching refs:cidx
60 t_chunk_info *cidx; in _gd2GetHeader() local
153 cidx = gdCalloc(sidx, 1); in _gd2GetHeader()
154 if (cidx == NULL) { in _gd2GetHeader()
159 if (gdGetInt(&cidx[i].offset, in) != 1) { in _gd2GetHeader()
160 gdFree(cidx); in _gd2GetHeader()
163 if (gdGetInt(&cidx[i].size, in) != 1) { in _gd2GetHeader()
164 gdFree(cidx); in _gd2GetHeader()
167 if (cidx[i].offset < 0 || cidx[i].size < 0) { in _gd2GetHeader()
168 gdFree(cidx); in _gd2GetHeader()
172 *chunkIdx = cidx; in _gd2GetHeader()
183 …txPtr in, int *sx, int *sy, int *cs, int *vers, int *fmt, int *ncx, int *ncy, t_chunk_info ** cidx) in _gd2CreateFromFile() argument
187 if (_gd2GetHeader (in, sx, sy, cs, vers, fmt, ncx, ncy, cidx) != 1) { in _gd2CreateFromFile()
213 gdFree(*cidx); in _gd2CreateFromFile()