Home
last modified time | relevance | path

Searched refs:size_lg2 (Results 1 - 4 of 4) sorted by relevance

/third_party/protobuf/php/ext/google/protobuf/
H A Dphp-upb.c1477 static bool init(upb_table *t, uint8_t size_lg2, upb_alloc *a) { in init() argument
1481 t->size_lg2 = size_lg2; in init()
1511 if (t->size_lg2 == 0) return NULL; in findentry()
1681 bool upb_strtable_resize(upb_strtable *t, size_t size_lg2, upb_alloc *a) { in upb_strtable_resize() argument
1685 if (!init(&new_table.t, size_lg2, a)) in upb_strtable_resize()
1707 if (!upb_strtable_resize(t, t->t.size_lg2 + 1, a)) { in upb_strtable_insert3()
1882 if (!init(&new_table, t->t.size_lg2 + 1, a)) { in upb_inttable_insert2()
1965 int size_lg2; in upb_inttable_compact2() local
1980 for (size_lg2 in upb_inttable_compact2()
[all...]
H A Dphp-upb.h653 uint8_t size_lg2; /* Size of the hashtable part is 2^size_lg2 entries. */ member
678 if (t->size_lg2 == 0) in upb_table_size()
681 return 1 << t->size_lg2; in upb_table_size()
855 bool upb_strtable_resize(upb_strtable *t, size_t size_lg2, upb_alloc *a);
/third_party/protobuf/ruby/ext/google/protobuf_c/
H A Dupb.c1452 static bool init(upb_table *t, uint8_t size_lg2, upb_alloc *a) { in init() argument
1456 t->size_lg2 = size_lg2; in init()
1486 if (t->size_lg2 == 0) return NULL; in findentry()
1655 bool upb_strtable_resize(upb_strtable *t, size_t size_lg2, upb_alloc *a) { in upb_strtable_resize() argument
1659 if (!init(&new_table.t, size_lg2, a)) in upb_strtable_resize()
1681 if (!upb_strtable_resize(t, t->t.size_lg2 + 1, a)) { in upb_strtable_insert3()
1855 if (!init(&new_table, t->t.size_lg2 + 1, a)) { in upb_inttable_insert2()
1949 int size_lg2; in upb_inttable_compact2() local
1964 for (size_lg2 in upb_inttable_compact2()
[all...]
H A Dupb.h639 uint8_t size_lg2; /* Size of the hashtable part is 2^size_lg2 entries. */ member
664 if (t->size_lg2 == 0) in upb_table_size()
667 return 1 << t->size_lg2; in upb_table_size()
850 bool upb_strtable_resize(upb_strtable *t, size_t size_lg2, upb_alloc *a);

Completed in 51 milliseconds