Lines Matching refs:curoff
262 long curoff; in jas_iccprof_load() local
291 curoff = JAS_ICC_HDRLEN + 4 + 12 * numtags; in jas_iccprof_load()
310 reloff = tagtabent->off - curoff; in jas_iccprof_load()
314 curoff += reloff; in jas_iccprof_load()
320 prevoff = curoff; in jas_iccprof_load()
327 curoff += 8; in jas_iccprof_load()
342 curoff += len; in jas_iccprof_load()
363 long curoff; in jas_iccprof_save() local
380 curoff = JAS_ICC_HDRLEN + 4 + 12 * tagtab->numents; in jas_iccprof_save()
401 tagtabent->off = curoff; in jas_iccprof_save()
405 curoff = jas_iccpadtomult(curoff + tagtabent->len, 4); in jas_iccprof_save()
407 curoff += tagtabent->len; in jas_iccprof_save()
412 prof->hdr.size = curoff; in jas_iccprof_save()
417 curoff = JAS_ICC_HDRLEN + 4 + 12 * tagtab->numents; in jas_iccprof_save()
420 assert(curoff == JAS_CAST(long, tagtabent->off)); in jas_iccprof_save()
429 curoff += tagtabent->len; in jas_iccprof_save()
436 reloff = newoff - curoff; in jas_iccprof_save()
441 curoff += reloff; in jas_iccprof_save()