Lines Matching refs:numattrs
376 if (!(tagtab->ents = jas_alloc2(prof->attrtab->numattrs, in jas_iccprof_save()
379 tagtab->numents = prof->attrtab->numattrs; in jas_iccprof_save()
678 tab->numattrs = 0; in jas_iccattrtab_create()
695 for (i = 0; i < attrtab->numattrs; ++i) { in jas_iccattrtab_copy()
708 while (tab->numattrs > 0) { in jas_iccattrtab_destroy()
723 fprintf(out, "numattrs=%d\n", attrtab->numattrs); in jas_iccattrtab_dump()
725 for (i = 0; i < attrtab->numattrs; ++i) { in jas_iccattrtab_dump()
745 assert(maxents >= tab->numattrs); in jas_iccattrtab_resize()
762 i = attrtab->numattrs; in jas_iccattrtab_add()
764 assert(i >= 0 && i <= attrtab->numattrs); in jas_iccattrtab_add()
765 if (attrtab->numattrs >= attrtab->maxattrs) { in jas_iccattrtab_add()
766 if (jas_iccattrtab_resize(attrtab, attrtab->numattrs + 32)) { in jas_iccattrtab_add()
772 n = attrtab->numattrs - i; in jas_iccattrtab_add()
779 ++attrtab->numattrs; in jas_iccattrtab_add()
807 if ((n = attrtab->numattrs - i - 1) > 0) in jas_iccattrtab_delete()
810 --attrtab->numattrs; in jas_iccattrtab_delete()
817 if (i < 0 || i >= attrtab->numattrs) in jas_iccattrtab_get()
833 for (i = 0; i < attrtab->numattrs; ++i) { in jas_iccattrtab_lookup()