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

/external/protobuf/php/ext/google/protobuf/
H A Dupb.c4101 static bool init(upb_table *t, upb_ctype_t ctype, uint8_t size_lg2) { argument
4106 t->size_lg2 = size_lg2;
4134 if (t->size_lg2 == 0) return NULL;
4303 bool upb_strtable_resize(upb_strtable *t, size_t size_lg2) { argument
4307 if (!init(&new_table.t, t->t.ctype, size_lg2))
4330 if (!upb_strtable_resize(t, t->t.size_lg2 + 1)) {
4507 if (!init(&new_table, t->t.ctype, t->t.size_lg2 + 1))
4618 int size_lg2; local
4619 for (size_lg2
[all...]
H A Dupb.h781 uint8_t size_lg2; /* Size of the hashtable part is 2^size_lg2 entries. */ member in struct:__anon18821
796 #define UPB_STRTABLE_INIT(count, mask, ctype, size_lg2, entries) \
797 {{count, mask, ctype, size_lg2, entries}}
809 #define UPB_INTTABLE_INIT(count, mask, ctype, size_lg2, ent, a, asize, acount) \
810 {{count, mask, ctype, size_lg2, ent}, a, asize, acount}
818 if (t->size_lg2 == 0)
821 return 1 << t->size_lg2;
950 bool upb_strtable_resize(upb_strtable *t, size_t size_lg2);
/external/protobuf/ruby/ext/google/protobuf_c/
H A Dupb.c4336 static bool init(upb_table *t, upb_ctype_t ctype, uint8_t size_lg2, argument
4342 t->size_lg2 = size_lg2;
4376 if (t->size_lg2 == 0) return NULL;
4545 bool upb_strtable_resize(upb_strtable *t, size_t size_lg2, upb_alloc *a) { argument
4551 if (!init(&new_table.t, t->t.ctype, size_lg2, a))
4577 if (!upb_strtable_resize(t, t->t.size_lg2 + 1, a)) {
4756 if (!init(&new_table, t->t.ctype, t->t.size_lg2 + 1, a)) {
4854 int size_lg2; local
4871 for (size_lg2
[all...]
H A Dupb.h992 uint8_t size_lg2; /* Size of the hashtable part is 2^size_lg2 entries. */ member in struct:__anon18878
1015 # define UPB_TABLE_INIT(count, mask, ctype, size_lg2, entries) \
1016 {count, mask, ctype, size_lg2, entries}
1021 # define UPB_TABLE_INIT(count, mask, ctype, size_lg2, entries) \
1022 {count, mask, ctype, size_lg2, entries, &upb_alloc_debugrefs}
1024 # define UPB_TABLE_INIT(count, mask, ctype, size_lg2, entries) \
1025 {count, mask, ctype, size_lg2, entries, NULL}
1033 #define UPB_STRTABLE_INIT(count, mask, ctype, size_lg2, entries) \
1034 {UPB_TABLE_INIT(count, mask, ctype, size_lg2, entrie
[all...]

Completed in 183 milliseconds