Searched refs:upb_table_size (Results 1 – 4 of 4) sorted by relevance
4329 if (upb_table_size(t) == 0) { in isfull()4332 return ((double)(t->count + 1) / upb_table_size(t)) > MAX_LOAD; in isfull()4343 t->mask = upb_table_size(t) ? upb_table_size(t) - 1 : 0; in init()4347 bytes = upb_table_size(t) * sizeof(upb_tabent); in init()4364 upb_tabent *e = mutable_entries(t) + upb_table_size(t); in emptyent()4498 if (++i >= upb_table_size(t)) in next()4540 for (i = 0; i < upb_table_size(&t->t); i++) in upb_strtable_uninit2()4625 return i->index >= upb_table_size(&i->t->t) || in upb_strtable_done()4760 for (i = begin(&t->t); i < upb_table_size(&t->t); i = next(&t->t, i)) { in upb_inttable_insert2()4943 return i->index >= upb_table_size(&i->t->t) || in upb_inttable_done()
1054 UPB_INLINE size_t upb_table_size(const upb_table *t) {
4098 return (double)(t->count + 1) / upb_table_size(t) > MAX_LOAD; in isfull()4107 t->mask = upb_table_size(t) ? upb_table_size(t) - 1 : 0; in init()4108 bytes = upb_table_size(t) * sizeof(upb_tabent); in init()4122 upb_tabent *e = mutable_entries(t) + upb_table_size(t); in emptyent()4256 if (++i >= upb_table_size(t)) in next()4298 for (i = 0; i < upb_table_size(&t->t); i++) in upb_strtable_uninit()4378 return i->index >= upb_table_size(&i->t->t) || in upb_strtable_done()4509 for (i = begin(&t->t); i < upb_table_size(&t->t); i = next(&t->t, i)) { in upb_inttable_insert()4692 return i->index >= upb_table_size(&i->t->t) || in upb_inttable_done()
817 UPB_INLINE size_t upb_table_size(const upb_table *t) { in upb_table_size() function