JAS_CAST 296 3rdparty/libjasper/jas_icc.c if (tagtabent->off == JAS_CAST(jas_iccuint32_t, prevoff)) { JAS_CAST 381 3rdparty/libjasper/jas_icc.c for (i = 0; i < JAS_CAST(int, tagtab->numents); ++i) { JAS_CAST 404 3rdparty/libjasper/jas_icc.c if (i < JAS_CAST(int, tagtab->numents - 1)) { JAS_CAST 418 3rdparty/libjasper/jas_icc.c for (i = 0; i < JAS_CAST(int, tagtab->numents);) { JAS_CAST 420 3rdparty/libjasper/jas_icc.c assert(curoff == JAS_CAST(long, tagtabent->off)); JAS_CAST 431 3rdparty/libjasper/jas_icc.c while (i < JAS_CAST(int, tagtab->numents) && JAS_CAST 434 3rdparty/libjasper/jas_icc.c newoff = (i < JAS_CAST(int, tagtab->numents)) ? JAS_CAST 479 3rdparty/libjasper/jas_icc.c for (i = 0; i < JAS_CAST(int, tagtab->numents); ++i) { JAS_CAST 529 3rdparty/libjasper/jas_icc.c for (i = 0; i < JAS_CAST(long, tagtab->numents); ++i) { JAS_CAST 603 3rdparty/libjasper/jas_icc.c jas_icctagtabent_t *srctagtabent = JAS_CAST(jas_icctagtabent_t *, src); JAS_CAST 604 3rdparty/libjasper/jas_icc.c jas_icctagtabent_t *dsttagtabent = JAS_CAST(jas_icctagtabent_t *, dst); JAS_CAST 1008 3rdparty/libjasper/jas_icc.c if (JAS_CAST(int, 4 + 2 * curv->numents) != cnt) JAS_CAST 1047 3rdparty/libjasper/jas_icc.c for (i = 0; i < JAS_CAST(int, curv->numents); ++i) { JAS_CAST 1048 3rdparty/libjasper/jas_icc.c if (i < 3 || i >= JAS_CAST(int, curv->numents) - 3) { JAS_CAST 1096 3rdparty/libjasper/jas_icc.c JAS_CAST(int, txtdesc->asclen)) JAS_CAST 1105 3rdparty/libjasper/jas_icc.c JAS_CAST(int, txtdesc->uclen * 2)) JAS_CAST 1149 3rdparty/libjasper/jas_icc.c jas_stream_write(out, txtdesc->ucdata, txtdesc->uclen * 2) != JAS_CAST(int, txtdesc->uclen * 2) || JAS_CAST 1206 3rdparty/libjasper/jas_icc.c if (JAS_CAST(int, strlen(txt->string)) + 1 != cnt) JAS_CAST 1310 3rdparty/libjasper/jas_icc.c for (j = 0; j < JAS_CAST(int, lut8->numintabents); ++j) { JAS_CAST 1316 3rdparty/libjasper/jas_icc.c for (j = 0; j < JAS_CAST(int, lut8->numouttabents); ++j) { JAS_CAST 1325 3rdparty/libjasper/jas_icc.c if (JAS_CAST(int, 44 + lut8->numinchans * lut8->numintabents + JAS_CAST 1479 3rdparty/libjasper/jas_icc.c for (j = 0; j < JAS_CAST(int, lut16->numintabents); ++j) { JAS_CAST 1485 3rdparty/libjasper/jas_icc.c for (j = 0; j < JAS_CAST(int, lut16->numouttabents); ++j) { JAS_CAST 1494 3rdparty/libjasper/jas_icc.c if (JAS_CAST(int, 44 + 2 * (lut16->numinchans * lut16->numintabents + JAS_CAST 1612 3rdparty/libjasper/jas_icc.c *val = (tmp & 0x80000000) ? (-JAS_CAST(longlong, (((~tmp) & JAS_CAST 1613 3rdparty/libjasper/jas_icc.c 0x7fffffff) + 1))) : JAS_CAST(longlong, tmp); JAS_CAST 1694 3rdparty/libjasper/jas_icc.c if (!(in = jas_stream_memopen(JAS_CAST(char *, buf), len))) JAS_CAST 409 3rdparty/libjasper/jas_seq.c jas_matrix_set(matrix, i, j, JAS_CAST(jas_seqent_t, x)); JAS_CAST 436 3rdparty/libjasper/jas_seq.c JAS_CAST(long, x)); JAS_CAST 333 3rdparty/libjasper/jas_stream.c stream->obj_ = JAS_CAST(void *, fp); JAS_CAST 732 3rdparty/libjasper/jas_stream.c stream->bufbase_ = JAS_CAST(uchar *, buf); JAS_CAST 1101 3rdparty/libjasper/jas_stream.c jas_stream_fileobj_t *fileobj = JAS_CAST(jas_stream_fileobj_t *, obj); JAS_CAST 1107 3rdparty/libjasper/jas_stream.c jas_stream_fileobj_t *fileobj = JAS_CAST(jas_stream_fileobj_t *, obj); JAS_CAST 1113 3rdparty/libjasper/jas_stream.c jas_stream_fileobj_t *fileobj = JAS_CAST(jas_stream_fileobj_t *, obj); JAS_CAST 1119 3rdparty/libjasper/jas_stream.c jas_stream_fileobj_t *fileobj = JAS_CAST(jas_stream_fileobj_t *, obj); JAS_CAST 1136 3rdparty/libjasper/jas_stream.c fp = JAS_CAST(FILE *, obj); JAS_CAST 1143 3rdparty/libjasper/jas_stream.c fp = JAS_CAST(FILE *, obj); JAS_CAST 1150 3rdparty/libjasper/jas_stream.c fp = JAS_CAST(FILE *, obj); JAS_CAST 1157 3rdparty/libjasper/jas_stream.c fp = JAS_CAST(FILE *, obj); JAS_CAST 94 3rdparty/libjasper/jasper/jas_fix.h JAS_CAST(fix_t, 0) JAS_CAST 98 3rdparty/libjasper/jasper/jas_fix.h (JAS_CAST(fix_t, 1) << (fracbits)) JAS_CAST 102 3rdparty/libjasper/jasper/jas_fix.h (JAS_CAST(fix_t, 1) << ((fracbits) - 1)) JAS_CAST 110 3rdparty/libjasper/jasper/jas_fix.h JAS_CAST(fix_t, (x) << (fracbits)) JAS_CAST 114 3rdparty/libjasper/jasper/jas_fix.h JAS_CAST(int, (x) >> (fracbits)) JAS_CAST 118 3rdparty/libjasper/jasper/jas_fix.h (JAS_CAST(double, x) / (JAS_CAST(fix_t, 1) << (fracbits))) JAS_CAST 122 3rdparty/libjasper/jasper/jas_fix.h JAS_CAST(fix_t, ((x) * JAS_CAST(double, JAS_CAST(fix_t, 1) << (fracbits)))) JAS_CAST 162 3rdparty/libjasper/jasper/jas_fix.h JAS_CAST(fix_t, (JAS_CAST(bigfix_t, x) * JAS_CAST(bigfix_t, y)) >> \ JAS_CAST 168 3rdparty/libjasper/jasper/jas_fix.h ((JAS_CAST(bigfix_t, x) * JAS_CAST(bigfix_t, y) >> (fracbits)) == \ JAS_CAST 169 3rdparty/libjasper/jasper/jas_fix.h JAS_CAST(fix_t, (JAS_CAST(bigfix_t, x) * JAS_CAST(bigfix_t, y) >> \ JAS_CAST 171 3rdparty/libjasper/jasper/jas_fix.h JAS_CAST(fix_t, (JAS_CAST(bigfix_t, x) * JAS_CAST(bigfix_t, y) >> \ JAS_CAST 184 3rdparty/libjasper/jasper/jas_fix.h JAS_CAST(fix_t, ((x) * (y))) JAS_CAST 201 3rdparty/libjasper/jasper/jas_fix.h JAS_CAST(fix_t, (JAS_CAST(bigfix_t, x) << (fracbits)) / (y)) JAS_CAST 333 3rdparty/libjasper/jasper/jas_fix.h ((x) & (~((JAS_CAST(fix_t, 1) << (fracbits)) - 1))) JAS_CAST 595 3rdparty/libjasper/jp2_cod.c JAS_CAST(int, colr->iccplen)) != JAS_CAST(int, colr->iccplen)) JAS_CAST 974 3rdparty/libjasper/jp2_cod.c if (cdefent->channo == JAS_CAST(unsigned int, channo)) { JAS_CAST 228 3rdparty/libjasper/jp2_dec.c if (dec->ihdr->data.ihdr.numcmpts != JAS_CAST(uint, jas_image_numcmpts(dec->image))) { JAS_CAST 241 3rdparty/libjasper/jp2_dec.c for (i = 1; i < JAS_CAST(uint, jas_image_numcmpts(dec->image)); ++i) { JAS_CAST 264 3rdparty/libjasper/jp2_dec.c if (dec->bpcc->data.bpcc.numcmpts != JAS_CAST(uint, jas_image_numcmpts( JAS_CAST 271 3rdparty/libjasper/jp2_dec.c for (i = 0; i < JAS_CAST(uint, jas_image_numcmpts(dec->image)); ++i) { JAS_CAST 320 3rdparty/libjasper/jp2_dec.c dec->numchans = dec->cmap ? dec->cmap->data.cmap.numchans : JAS_CAST(uint, jas_image_numcmpts(dec->image)); JAS_CAST 326 3rdparty/libjasper/jp2_dec.c if (dec->cmap->data.cmap.ents[i].cmptno >= JAS_CAST(uint, jas_image_numcmpts(dec->image))) { JAS_CAST 382 3rdparty/libjasper/jp2_dec.c for (i = 0; i < JAS_CAST(uint, jas_image_numcmpts(dec->image)); ++i) { JAS_CAST 290 3rdparty/libjasper/jpc_cs.c if (JAS_CAST(ulong, jas_stream_tell(tmpstream)) != ms->len) { JAS_CAST 1103 3rdparty/libjasper/jpc_cs.c if (JAS_CAST(uint, jas_stream_read(in, ppm->data, ppm->len)) != ppm->len) { JAS_CAST 1123 3rdparty/libjasper/jpc_cs.c if (JAS_CAST(uint, jas_stream_write(out, (char *) ppm->data, ppm->len)) != ppm->len) { JAS_CAST 1172 3rdparty/libjasper/jpc_cs.c if (jas_stream_read(in, (char *) ppt->data, ppt->len) != JAS_CAST(int, ppt->len)) { JAS_CAST 1195 3rdparty/libjasper/jpc_cs.c if (jas_stream_write(out, (char *) ppt->data, ppt->len) != JAS_CAST(int, ppt->len)) { JAS_CAST 1410 3rdparty/libjasper/jpc_cs.c if (jas_stream_read(in, com->data, com->len) != JAS_CAST(int, com->len)) { JAS_CAST 1429 3rdparty/libjasper/jpc_cs.c if (jas_stream_write(out, com->data, com->len) != JAS_CAST(int, com->len)) { JAS_CAST 1479 3rdparty/libjasper/jpc_cs.c if (jas_stream_read(in, (char *) unk->data, ms->len) != JAS_CAST(int, ms->len)) { JAS_CAST 492 3rdparty/libjasper/jpc_dec.c if (JAS_CAST(int, sot->tileno) > dec->numtiles) { JAS_CAST 811 3rdparty/libjasper/jpc_dec.c prc->xstart = JAS_MAX(cbgxstart, JAS_CAST(uint_fast32_t, jas_seq2d_xstart(band->data))); JAS_CAST 812 3rdparty/libjasper/jpc_dec.c prc->ystart = JAS_MAX(cbgystart, JAS_CAST(uint_fast32_t, jas_seq2d_ystart(band->data))); JAS_CAST 813 3rdparty/libjasper/jpc_dec.c prc->xend = JAS_MIN(cbgxend, JAS_CAST(uint_fast32_t, jas_seq2d_xend(band->data))); JAS_CAST 814 3rdparty/libjasper/jpc_dec.c prc->yend = JAS_MIN(cbgyend, JAS_CAST(uint_fast32_t, jas_seq2d_yend(band->data))); JAS_CAST 1283 3rdparty/libjasper/jpc_dec.c if (JAS_CAST(int, coc->compno) > dec->numcomps) { JAS_CAST 1309 3rdparty/libjasper/jpc_dec.c if (JAS_CAST(int, rgn->compno) > dec->numcomps) { JAS_CAST 1358 3rdparty/libjasper/jpc_dec.c if (JAS_CAST(int, qcc->compno) > dec->numcomps) { JAS_CAST 1576 3rdparty/libjasper/jpc_dec.c if ((ccp->qsty != JPC_QCX_SIQNT && JAS_CAST(int, ccp->numstepsizes) < 3 * JAS_CAST 2279 3rdparty/libjasper/jpc_dec.c if (jas_stream_write(out, ent->data, ent->len) != JAS_CAST(int, ent->len)) { JAS_CAST 409 3rdparty/libjasper/jpc_enc.c for (cmptno = 0, ccp = cp->ccps; cmptno < JAS_CAST(int, cp->numcmpts); ++cmptno, JAS_CAST 663 3rdparty/libjasper/jpc_enc.c for (i = 0; i < JAS_CAST(int, tcp->numlyrs - 1); ++i) { JAS_CAST 945 3rdparty/libjasper/jpc_enc.c for (i = 0; i < JAS_CAST(int, cp->numcmpts); ++i) { JAS_CAST 965 3rdparty/libjasper/jpc_enc.c if (!(com->data = JAS_CAST(uchar *, jas_strdup(buf)))) { JAS_CAST 1140 3rdparty/libjasper/jpc_enc.c for (tileno = 0; tileno < JAS_CAST(int, cp->numtiles); ++tileno) { JAS_CAST 1217 3rdparty/libjasper/jpc_enc.c for (y = 0; y < JAS_CAST(uint_fast32_t, jas_matrix_numrows(band->data)); ++y) { JAS_CAST 1218 3rdparty/libjasper/jpc_enc.c for (x = 0; x < JAS_CAST(uint_fast32_t, jas_matrix_numcols(band->data)); ++x) { JAS_CAST 1303 3rdparty/libjasper/jpc_enc.c for (cmptno = 0; cmptno < JAS_CAST(int, cp->numcmpts); ++cmptno) { JAS_CAST 1334 3rdparty/libjasper/jpc_enc.c for (cmptno = 0, comp = tile->tcmpts; cmptno < JAS_CAST(int, cp->numcmpts); ++cmptno, ++comp) { JAS_CAST 1336 3rdparty/libjasper/jpc_enc.c if (JAS_CAST(int, ccps->numstepsizes) == comp->numstepsizes) { JAS_CAST 1338 3rdparty/libjasper/jpc_enc.c for (bandno = 0; bandno < JAS_CAST(int, ccps->numstepsizes); ++bandno) { JAS_CAST 1402 3rdparty/libjasper/jpc_enc.c if (tilehdrlen <= JAS_CAST(long, tile->lyrsizes[lyrno])) { JAS_CAST 154 3rdparty/libjasper/jpc_t2cod.c JAS_CAST(int, pchg->lyrnoend); ++pi->lyrno) { JAS_CAST 159 3rdparty/libjasper/jpc_t2cod.c && pi->compno < JAS_CAST(int, pchg->compnoend); ++pi->compno, JAS_CAST 200 3rdparty/libjasper/jpc_t2cod.c JAS_CAST(int, pchg->lyrnoend); ++pi->lyrno) { JAS_CAST 203 3rdparty/libjasper/jpc_t2cod.c pi->compno < JAS_CAST(int, pchg->compnoend); ++pi->compno, ++pi->picomp) { JAS_CAST 271 3rdparty/libjasper/jpc_t2cod.c pi->compno < JAS_CAST(int, pchg->compnoend) && pi->compno < JAS_CAST 299 3rdparty/libjasper/jpc_t2cod.c pi->numlyrs && pi->lyrno < JAS_CAST(int, pchg->lyrnoend); ++pi->lyrno) { JAS_CAST 365 3rdparty/libjasper/jpc_t2cod.c && pi->compno < JAS_CAST(int, pchg->compnoend); ++pi->compno, JAS_CAST 393 3rdparty/libjasper/jpc_t2cod.c pi->lyrno < JAS_CAST(int, pchg->lyrnoend); ++pi->lyrno) { JAS_CAST 432 3rdparty/libjasper/jpc_t2cod.c &pi->picomps[pi->compno]; pi->compno < JAS_CAST(int, pchg->compnoend); ++pi->compno, JAS_CAST 480 3rdparty/libjasper/jpc_t2cod.c pi->numlyrs && pi->lyrno < JAS_CAST(int, pchg->lyrnoend); ++pi->lyrno) { JAS_CAST 407 3rdparty/libjasper/jpc_t2dec.c if (jas_stream_gobble(in, bodylen) != JAS_CAST(int, bodylen)) {