Lines Matching refs:numents

215     prof->tagtab.numents = 0;  in jas_iccprof_create()
231 newprof->tagtab.numents = 0; in jas_iccprof_copy()
290 numtags = prof->tagtab.numents; in jas_iccprof_load()
379 tagtab->numents = prof->attrtab->numattrs; in jas_iccprof_save()
380 curoff = JAS_ICC_HDRLEN + 4 + 12 * tagtab->numents; in jas_iccprof_save()
381 for (i = 0; i < JAS_CAST(int, tagtab->numents); ++i) { in jas_iccprof_save()
404 if (i < JAS_CAST(int, tagtab->numents - 1)) { in jas_iccprof_save()
417 curoff = JAS_ICC_HDRLEN + 4 + 12 * tagtab->numents; in jas_iccprof_save()
418 for (i = 0; i < JAS_CAST(int, tagtab->numents);) { in jas_iccprof_save()
431 while (i < JAS_CAST(int, tagtab->numents) && in jas_iccprof_save()
434 newoff = (i < JAS_CAST(int, tagtab->numents)) ? in jas_iccprof_save()
477 if (jas_iccputuint32(out, tagtab->numents)) in jas_iccprof_puttagtab()
479 for (i = 0; i < JAS_CAST(int, tagtab->numents); ++i) { in jas_iccprof_puttagtab()
523 if (jas_iccgetuint32(in, &tagtab->numents)) in jas_iccprof_gettagtab()
525 if (!(tagtab->ents = jas_alloc2(tagtab->numents, in jas_iccprof_gettagtab()
529 for (i = 0; i < JAS_CAST(long, tagtab->numents); ++i) { in jas_iccprof_gettagtab()
597 qsort(tagtab->ents, tagtab->numents, sizeof(jas_icctagtabent_t), in jas_iccprof_sorttagtab()
996 curv->numents = 0; in jas_icccurv_input()
999 if (jas_iccgetuint32(in, &curv->numents)) in jas_icccurv_input()
1001 if (!(curv->ents = jas_alloc2(curv->numents, sizeof(jas_iccuint16_t)))) in jas_icccurv_input()
1003 for (i = 0; i < curv->numents; ++i) { in jas_icccurv_input()
1008 if (JAS_CAST(int, 4 + 2 * curv->numents) != cnt) in jas_icccurv_input()
1020 return 4 + 2 * curv->numents; in jas_icccurv_getsize()
1028 if (jas_iccputuint32(out, curv->numents)) in jas_icccurv_output()
1030 for (i = 0; i < curv->numents; ++i) { in jas_icccurv_output()
1043 fprintf(out, "number of entires = %d\n", (int)curv->numents); in jas_icccurv_dump()
1044 if (curv->numents == 1) { in jas_icccurv_dump()
1047 for (i = 0; i < JAS_CAST(int, curv->numents); ++i) { in jas_icccurv_dump()
1048 if (i < 3 || i >= JAS_CAST(int, curv->numents) - 3) { in jas_icccurv_dump()