Searched refs:maxents (Results 1 – 3 of 3) sorted by relevance
142 int jpc_ppxstab_grow(jpc_ppxstab_t *tab, int maxents);2137 tab->maxents = 0; in jpc_ppxstab_create()2154 int jpc_ppxstab_grow(jpc_ppxstab_t *tab, int maxents) in jpc_ppxstab_grow() argument2157 if (tab->maxents < maxents) { in jpc_ppxstab_grow()2158 newents = jas_realloc2(tab->ents, maxents, sizeof(jpc_ppxstabent_t *)); in jpc_ppxstab_grow()2163 tab->maxents = maxents; in jpc_ppxstab_grow()2180 if (tab->numents >= tab->maxents) { in jpc_ppxstab_insert()2181 if (jpc_ppxstab_grow(tab, tab->maxents + 128)) { in jpc_ppxstab_insert()
115 int maxents; member
138 static int jas_iccattrtab_resize(jas_iccattrtab_t *tab, int maxents);742 static int jas_iccattrtab_resize(jas_iccattrtab_t *tab, int maxents) in jas_iccattrtab_resize() argument745 assert(maxents >= tab->numattrs); in jas_iccattrtab_resize()746 newattrs = jas_realloc2(tab->attrs, maxents, sizeof(jas_iccattr_t)); in jas_iccattrtab_resize()750 tab->maxattrs = maxents; in jas_iccattrtab_resize()